374 lines
11 KiB
Text
374 lines
11 KiB
Text
/*
|
|
WARNING: Do NOT edit the input and output ports in this file in a text
|
|
editor if you plan to continue editing the block that represents it in
|
|
the Block Editor! File corruption is VERY likely to occur.
|
|
*/
|
|
/*
|
|
Copyright (C) 1991-2009 Altera Corporation
|
|
Your use of Altera Corporation's design tools, logic functions
|
|
and other software and tools, and its AMPP partner logic
|
|
functions, and any output files from any of the foregoing
|
|
(including device programming or simulation files), and any
|
|
associated documentation or information are expressly subject
|
|
to the terms and conditions of the Altera Program License
|
|
Subscription Agreement, Altera MegaCore Function License
|
|
Agreement, or other applicable license agreement, including,
|
|
without limitation, that your use is for the sole purpose of
|
|
programming logic devices manufactured by Altera and sold by
|
|
Altera or its authorized distributors. Please refer to the
|
|
applicable agreement for further details.
|
|
*/
|
|
//#pragma file_not_in_maxplusii_format
|
|
(header "graphic" (version "1.3"))
|
|
(pin
|
|
(input)
|
|
(rect 624 640 792 656)
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
|
(text "A" (rect 5 0 12 12)(font "Arial" ))
|
|
(pt 168 8)
|
|
(drawing
|
|
(line (pt 92 12)(pt 117 12)(line_width 1))
|
|
(line (pt 92 4)(pt 117 4)(line_width 1))
|
|
(line (pt 121 8)(pt 168 8)(line_width 1))
|
|
(line (pt 92 12)(pt 92 4)(line_width 1))
|
|
(line (pt 117 4)(pt 121 8)(line_width 1))
|
|
(line (pt 117 12)(pt 121 8)(line_width 1))
|
|
)
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
|
(annotation_block (location)(rect 312 488 360 504))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 624 656 792 672)
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
|
(text "B" (rect 5 0 12 12)(font "Arial" ))
|
|
(pt 168 8)
|
|
(drawing
|
|
(line (pt 92 12)(pt 117 12)(line_width 1))
|
|
(line (pt 92 4)(pt 117 4)(line_width 1))
|
|
(line (pt 121 8)(pt 168 8)(line_width 1))
|
|
(line (pt 92 12)(pt 92 4)(line_width 1))
|
|
(line (pt 117 4)(pt 121 8)(line_width 1))
|
|
(line (pt 117 12)(pt 121 8)(line_width 1))
|
|
)
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
|
(annotation_block (location)(rect 312 504 360 520))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 624 672 792 688)
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
|
(text "C" (rect 5 0 13 12)(font "Arial" ))
|
|
(pt 168 8)
|
|
(drawing
|
|
(line (pt 92 12)(pt 117 12)(line_width 1))
|
|
(line (pt 92 4)(pt 117 4)(line_width 1))
|
|
(line (pt 121 8)(pt 168 8)(line_width 1))
|
|
(line (pt 92 12)(pt 92 4)(line_width 1))
|
|
(line (pt 117 4)(pt 121 8)(line_width 1))
|
|
(line (pt 117 12)(pt 121 8)(line_width 1))
|
|
)
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
|
(annotation_block (location)(rect 312 520 360 536))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 624 688 792 704)
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
|
(text "D" (rect 5 0 13 12)(font "Arial" ))
|
|
(pt 168 8)
|
|
(drawing
|
|
(line (pt 92 12)(pt 117 12)(line_width 1))
|
|
(line (pt 92 4)(pt 117 4)(line_width 1))
|
|
(line (pt 121 8)(pt 168 8)(line_width 1))
|
|
(line (pt 92 12)(pt 92 4)(line_width 1))
|
|
(line (pt 117 4)(pt 121 8)(line_width 1))
|
|
(line (pt 117 12)(pt 121 8)(line_width 1))
|
|
)
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
|
(annotation_block (location)(rect 312 536 360 552))
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 1040 640 1216 656)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "QA" (rect 90 0 105 12)(font "Arial" ))
|
|
(pt 0 8)
|
|
(drawing
|
|
(line (pt 0 8)(pt 52 8)(line_width 1))
|
|
(line (pt 52 4)(pt 78 4)(line_width 1))
|
|
(line (pt 52 12)(pt 78 12)(line_width 1))
|
|
(line (pt 52 12)(pt 52 4)(line_width 1))
|
|
(line (pt 78 4)(pt 82 8)(line_width 1))
|
|
(line (pt 82 8)(pt 78 12)(line_width 1))
|
|
(line (pt 78 12)(pt 82 8)(line_width 1))
|
|
)
|
|
(annotation_block (location)(rect 952 488 992 504))
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 1040 656 1216 672)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "QB" (rect 90 0 105 12)(font "Arial" ))
|
|
(pt 0 8)
|
|
(drawing
|
|
(line (pt 0 8)(pt 52 8)(line_width 1))
|
|
(line (pt 52 4)(pt 78 4)(line_width 1))
|
|
(line (pt 52 12)(pt 78 12)(line_width 1))
|
|
(line (pt 52 12)(pt 52 4)(line_width 1))
|
|
(line (pt 78 4)(pt 82 8)(line_width 1))
|
|
(line (pt 82 8)(pt 78 12)(line_width 1))
|
|
(line (pt 78 12)(pt 82 8)(line_width 1))
|
|
)
|
|
(annotation_block (location)(rect 952 504 992 520))
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 1040 672 1216 688)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "QC" (rect 90 0 106 12)(font "Arial" ))
|
|
(pt 0 8)
|
|
(drawing
|
|
(line (pt 0 8)(pt 52 8)(line_width 1))
|
|
(line (pt 52 4)(pt 78 4)(line_width 1))
|
|
(line (pt 52 12)(pt 78 12)(line_width 1))
|
|
(line (pt 52 12)(pt 52 4)(line_width 1))
|
|
(line (pt 78 4)(pt 82 8)(line_width 1))
|
|
(line (pt 82 8)(pt 78 12)(line_width 1))
|
|
(line (pt 78 12)(pt 82 8)(line_width 1))
|
|
)
|
|
(annotation_block (location)(rect 952 520 992 536))
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 1040 688 1216 704)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "QD" (rect 90 0 106 12)(font "Arial" ))
|
|
(pt 0 8)
|
|
(drawing
|
|
(line (pt 0 8)(pt 52 8)(line_width 1))
|
|
(line (pt 52 4)(pt 78 4)(line_width 1))
|
|
(line (pt 52 12)(pt 78 12)(line_width 1))
|
|
(line (pt 52 12)(pt 52 4)(line_width 1))
|
|
(line (pt 78 4)(pt 82 8)(line_width 1))
|
|
(line (pt 82 8)(pt 78 12)(line_width 1))
|
|
(line (pt 78 12)(pt 82 8)(line_width 1))
|
|
)
|
|
(annotation_block (location)(rect 952 536 992 552))
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 1040 704 1216 720)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "QE" (rect 90 0 105 12)(font "Arial" ))
|
|
(pt 0 8)
|
|
(drawing
|
|
(line (pt 0 8)(pt 52 8)(line_width 1))
|
|
(line (pt 52 4)(pt 78 4)(line_width 1))
|
|
(line (pt 52 12)(pt 78 12)(line_width 1))
|
|
(line (pt 52 12)(pt 52 4)(line_width 1))
|
|
(line (pt 78 4)(pt 82 8)(line_width 1))
|
|
(line (pt 82 8)(pt 78 12)(line_width 1))
|
|
(line (pt 78 12)(pt 82 8)(line_width 1))
|
|
)
|
|
(annotation_block (location)(rect 952 552 1000 568))
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 1040 720 1216 736)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "QF" (rect 90 0 105 12)(font "Arial" ))
|
|
(pt 0 8)
|
|
(drawing
|
|
(line (pt 0 8)(pt 52 8)(line_width 1))
|
|
(line (pt 52 4)(pt 78 4)(line_width 1))
|
|
(line (pt 52 12)(pt 78 12)(line_width 1))
|
|
(line (pt 52 12)(pt 52 4)(line_width 1))
|
|
(line (pt 78 4)(pt 82 8)(line_width 1))
|
|
(line (pt 82 8)(pt 78 12)(line_width 1))
|
|
(line (pt 78 12)(pt 82 8)(line_width 1))
|
|
)
|
|
(annotation_block (location)(rect 952 568 1000 584))
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 1040 736 1216 752)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "QG" (rect 90 0 106 12)(font "Arial" ))
|
|
(pt 0 8)
|
|
(drawing
|
|
(line (pt 0 8)(pt 52 8)(line_width 1))
|
|
(line (pt 52 4)(pt 78 4)(line_width 1))
|
|
(line (pt 52 12)(pt 78 12)(line_width 1))
|
|
(line (pt 52 12)(pt 52 4)(line_width 1))
|
|
(line (pt 78 4)(pt 82 8)(line_width 1))
|
|
(line (pt 82 8)(pt 78 12)(line_width 1))
|
|
(line (pt 78 12)(pt 82 8)(line_width 1))
|
|
)
|
|
(annotation_block (location)(rect 952 584 1000 600))
|
|
)
|
|
(symbol
|
|
(rect 888 624 1008 784)
|
|
(text "7446" (rect 45 0 78 16)(font "Arial" (font_size 10)))
|
|
(text "inst" (rect 3 149 17 159)(font "Arial" (font_size 6)))
|
|
(port
|
|
(pt 0 72)
|
|
(input)
|
|
(text "D" (rect 22 65 30 79)(font "Arial" (font_size 8)))
|
|
(text "D" (rect 22 65 30 79)(font "Arial" (font_size 8)))
|
|
(line (pt 0 72)(pt 16 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 56)
|
|
(input)
|
|
(text "C" (rect 22 49 30 63)(font "Arial" (font_size 8)))
|
|
(text "C" (rect 22 49 30 63)(font "Arial" (font_size 8)))
|
|
(line (pt 0 56)(pt 16 56)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 40)
|
|
(input)
|
|
(text "B" (rect 22 33 30 47)(font "Arial" (font_size 8)))
|
|
(text "B" (rect 22 33 30 47)(font "Arial" (font_size 8)))
|
|
(line (pt 0 40)(pt 16 40)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 88)
|
|
(input)
|
|
(text "LTN" (rect 22 81 44 95)(font "Arial" (font_size 8)))
|
|
(text "LTN" (rect 22 81 44 95)(font "Arial" (font_size 8)))
|
|
(line (pt 0 88)(pt 8 88)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 24)
|
|
(input)
|
|
(text "A" (rect 22 17 31 31)(font "Arial" (font_size 8)))
|
|
(text "A" (rect 22 17 31 31)(font "Arial" (font_size 8)))
|
|
(line (pt 0 24)(pt 16 24)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 104)
|
|
(input)
|
|
(text "RBIN" (rect 22 97 49 111)(font "Arial" (font_size 8)))
|
|
(text "RBIN" (rect 22 97 49 111)(font "Arial" (font_size 8)))
|
|
(line (pt 0 104)(pt 8 104)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 120)
|
|
(input)
|
|
(text "BIN" (rect 22 113 40 127)(font "Arial" (font_size 8)))
|
|
(text "BIN" (rect 22 113 40 127)(font "Arial" (font_size 8)))
|
|
(line (pt 0 120)(pt 8 120)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 120 56)
|
|
(output)
|
|
(text "OC" (rect 83 47 100 61)(font "Arial" (font_size 8)))
|
|
(text "OC" (rect 83 47 100 61)(font "Arial" (font_size 8)))
|
|
(line (pt 104 56)(pt 120 56)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 120 72)
|
|
(output)
|
|
(text "OD" (rect 83 63 100 77)(font "Arial" (font_size 8)))
|
|
(text "OD" (rect 83 63 100 77)(font "Arial" (font_size 8)))
|
|
(line (pt 104 72)(pt 120 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 120 88)
|
|
(output)
|
|
(text "OE" (rect 83 79 99 93)(font "Arial" (font_size 8)))
|
|
(text "OE" (rect 83 79 99 93)(font "Arial" (font_size 8)))
|
|
(line (pt 104 88)(pt 120 88)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 120 136)
|
|
(output)
|
|
(text "RBON" (rect 67 127 101 141)(font "Arial" (font_size 8)))
|
|
(text "RBON" (rect 67 127 101 141)(font "Arial" (font_size 8)))
|
|
(line (pt 112 136)(pt 120 136)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 120 24)
|
|
(output)
|
|
(text "OA" (rect 83 17 101 31)(font "Arial" (font_size 8)))
|
|
(text "OA" (rect 83 17 101 31)(font "Arial" (font_size 8)))
|
|
(line (pt 104 24)(pt 120 24)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 120 40)
|
|
(output)
|
|
(text "OB" (rect 83 31 100 45)(font "Arial" (font_size 8)))
|
|
(text "OB" (rect 83 31 100 45)(font "Arial" (font_size 8)))
|
|
(line (pt 104 40)(pt 120 40)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 120 104)
|
|
(output)
|
|
(text "OF" (rect 84 96 100 110)(font "Arial" (font_size 8)))
|
|
(text "OF" (rect 84 96 100 110)(font "Arial" (font_size 8)))
|
|
(line (pt 104 104)(pt 120 104)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 120 120)
|
|
(output)
|
|
(text "OG" (rect 83 111 101 125)(font "Arial" (font_size 8)))
|
|
(text "OG" (rect 83 111 101 125)(font "Arial" (font_size 8)))
|
|
(line (pt 104 120)(pt 120 120)(line_width 1))
|
|
)
|
|
(drawing
|
|
(text "BCD TO 7SEG" (rect 28 145 108 159)(font "Arial" (font_size 8)))
|
|
(line (pt 16 144)(pt 104 144)(line_width 1))
|
|
(line (pt 16 16)(pt 104 16)(line_width 1))
|
|
(line (pt 104 144)(pt 104 16)(line_width 1))
|
|
(line (pt 16 144)(pt 16 16)(line_width 1))
|
|
(circle (rect 8 116 16 124)(line_width 1))
|
|
(circle (rect 104 132 112 140)(line_width 1))
|
|
(circle (rect 8 100 16 108)(line_width 1))
|
|
(circle (rect 8 84 16 92)(line_width 1))
|
|
)
|
|
)
|
|
(connector
|
|
(pt 888 648)
|
|
(pt 792 648)
|
|
)
|
|
(connector
|
|
(pt 888 664)
|
|
(pt 792 664)
|
|
)
|
|
(connector
|
|
(pt 888 680)
|
|
(pt 792 680)
|
|
)
|
|
(connector
|
|
(pt 888 696)
|
|
(pt 792 696)
|
|
)
|
|
(connector
|
|
(pt 1008 648)
|
|
(pt 1040 648)
|
|
)
|
|
(connector
|
|
(pt 1008 664)
|
|
(pt 1040 664)
|
|
)
|
|
(connector
|
|
(pt 1008 680)
|
|
(pt 1040 680)
|
|
)
|
|
(connector
|
|
(pt 1008 696)
|
|
(pt 1040 696)
|
|
)
|
|
(connector
|
|
(pt 1008 712)
|
|
(pt 1040 712)
|
|
)
|
|
(connector
|
|
(pt 1008 728)
|
|
(pt 1040 728)
|
|
)
|
|
(connector
|
|
(pt 1008 744)
|
|
(pt 1040 744)
|
|
)
|