1110 lines
28 KiB
Text
1110 lines
28 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 72 32 240 48)
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
|
(text "H" (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)))
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 72 64 248 80)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "pin_name1" (rect 90 0 143 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))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 400 64 496 160)
|
|
(text "DiviseurDeFrequence" (rect 5 0 127 14)(font "Arial" (font_size 8)))
|
|
(text "inst" (rect 8 80 25 92)(font "Arial" ))
|
|
(port
|
|
(pt 0 32)
|
|
(input)
|
|
(text "H" (rect 0 0 8 14)(font "Arial" (font_size 8)))
|
|
(text "H" (rect 21 27 29 41)(font "Arial" (font_size 8)))
|
|
(line (pt 0 32)(pt 16 32)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 96 32)
|
|
(output)
|
|
(text "100Hz" (rect 0 0 36 14)(font "Arial" (font_size 8)))
|
|
(text "100Hz" (rect 39 27 75 41)(font "Arial" (font_size 8)))
|
|
(line (pt 96 32)(pt 80 32)(line_width 1))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 80 80)(line_width 1))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 496 328 600 504)
|
|
(text "74168" (rect 33 0 74 16)(font "Arial" (font_size 10)))
|
|
(text "inst1" (rect 3 165 26 177)(font "Arial" ))
|
|
(port
|
|
(pt 0 24)
|
|
(input)
|
|
(text "D0" (rect 20 18 35 32)(font "Arial" (font_size 8)))
|
|
(text "D0" (rect 20 18 35 32)(font "Arial" (font_size 8)))
|
|
(line (pt 0 24)(pt 16 24)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 40)
|
|
(input)
|
|
(text "D1" (rect 20 34 35 48)(font "Arial" (font_size 8)))
|
|
(text "D1" (rect 20 34 35 48)(font "Arial" (font_size 8)))
|
|
(line (pt 0 40)(pt 16 40)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 56)
|
|
(input)
|
|
(text "D2" (rect 20 50 35 64)(font "Arial" (font_size 8)))
|
|
(text "D2" (rect 20 50 35 64)(font "Arial" (font_size 8)))
|
|
(line (pt 0 56)(pt 16 56)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 72)
|
|
(input)
|
|
(text "D3" (rect 20 66 35 80)(font "Arial" (font_size 8)))
|
|
(text "D3" (rect 20 66 35 80)(font "Arial" (font_size 8)))
|
|
(line (pt 0 72)(pt 16 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 88)
|
|
(input)
|
|
(text "U/DN" (rect 20 82 48 96)(font "Arial" (font_size 8)))
|
|
(text "U/DN" (rect 20 82 48 96)(font "Arial" (font_size 8)))
|
|
(line (pt 0 88)(pt 16 88)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 120)
|
|
(input)
|
|
(text "ENPN" (rect 20 114 50 128)(font "Arial" (font_size 8)))
|
|
(text "ENPN" (rect 20 114 50 128)(font "Arial" (font_size 8)))
|
|
(line (pt 0 120)(pt 8 120)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 152)
|
|
(input)
|
|
(text "CLK" (rect 20 144 43 158)(font "Arial" (font_size 8)))
|
|
(text "CLK" (rect 20 144 43 158)(font "Arial" (font_size 8)))
|
|
(line (pt 0 152)(pt 16 152)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 104)
|
|
(input)
|
|
(text "ENTN" (rect 20 98 50 112)(font "Arial" (font_size 8)))
|
|
(text "ENTN" (rect 20 98 50 112)(font "Arial" (font_size 8)))
|
|
(line (pt 0 104)(pt 8 104)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 136)
|
|
(input)
|
|
(text "LDN" (rect 20 130 43 144)(font "Arial" (font_size 8)))
|
|
(text "LDN" (rect 20 130 43 144)(font "Arial" (font_size 8)))
|
|
(line (pt 0 136)(pt 8 136)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 104 104)
|
|
(output)
|
|
(text "Q3" (rect 69 97 87 112)(font "Arial" (font_size 9)))
|
|
(text "Q3" (rect 69 97 87 112)(font "Arial" (font_size 9)))
|
|
(line (pt 88 104)(pt 104 104)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 104 120)
|
|
(output)
|
|
(text "TCN" (rect 61 112 90 127)(font "Arial" (font_size 9)))
|
|
(text "TCN" (rect 61 112 90 127)(font "Arial" (font_size 9)))
|
|
(line (pt 96 120)(pt 104 120)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 104 72)
|
|
(output)
|
|
(text "Q1" (rect 68 64 86 79)(font "Arial" (font_size 9)))
|
|
(text "Q1" (rect 68 64 86 79)(font "Arial" (font_size 9)))
|
|
(line (pt 88 72)(pt 104 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 104 56)
|
|
(output)
|
|
(text "Q0" (rect 68 49 86 64)(font "Arial" (font_size 9)))
|
|
(text "Q0" (rect 68 49 86 64)(font "Arial" (font_size 9)))
|
|
(line (pt 88 56)(pt 104 56)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 104 88)
|
|
(output)
|
|
(text "Q2" (rect 68 81 86 96)(font "Arial" (font_size 9)))
|
|
(text "Q2" (rect 68 81 86 96)(font "Arial" (font_size 9)))
|
|
(line (pt 88 88)(pt 104 88)(line_width 1))
|
|
)
|
|
(drawing
|
|
(text "COUNTER" (rect 30 161 86 175)(font "Arial" (font_size 8)))
|
|
(line (pt 16 160)(pt 16 16)(line_width 1))
|
|
(line (pt 88 160)(pt 88 16)(line_width 1))
|
|
(line (pt 16 16)(pt 88 16)(line_width 1))
|
|
(line (pt 16 160)(pt 88 160)(line_width 1))
|
|
(circle (rect 8 100 16 108)(line_width 1))
|
|
(circle (rect 8 116 16 124)(line_width 1))
|
|
(circle (rect 8 132 16 140)(line_width 1))
|
|
(circle (rect 88 116 96 124)(line_width 1))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 112 116 144 132)
|
|
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
|
|
(text "inst5" (rect 3 5 26 17)(font "Arial" )(invisible))
|
|
(port
|
|
(pt 16 16)
|
|
(output)
|
|
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
|
|
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
|
|
(line (pt 16 16)(pt 16 8)(line_width 1))
|
|
)
|
|
(drawing
|
|
(line (pt 8 8)(pt 24 8)(line_width 1))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 232 156 264 188)
|
|
(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
|
|
(text "inst6" (rect 3 21 26 33)(font "Arial" )(invisible))
|
|
(port
|
|
(pt 16 0)
|
|
(output)
|
|
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
|
|
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
|
|
(line (pt 16 8)(pt 16 0)(line_width 1))
|
|
)
|
|
(drawing
|
|
(line (pt 8 8)(pt 16 16)(line_width 1))
|
|
(line (pt 16 16)(pt 24 8)(line_width 1))
|
|
(line (pt 8 8)(pt 24 8)(line_width 1))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 744 328 848 504)
|
|
(text "74168" (rect 33 0 74 16)(font "Arial" (font_size 10)))
|
|
(text "inst2" (rect 3 165 26 177)(font "Arial" ))
|
|
(port
|
|
(pt 0 24)
|
|
(input)
|
|
(text "D0" (rect 20 18 35 32)(font "Arial" (font_size 8)))
|
|
(text "D0" (rect 20 18 35 32)(font "Arial" (font_size 8)))
|
|
(line (pt 0 24)(pt 16 24)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 40)
|
|
(input)
|
|
(text "D1" (rect 20 34 35 48)(font "Arial" (font_size 8)))
|
|
(text "D1" (rect 20 34 35 48)(font "Arial" (font_size 8)))
|
|
(line (pt 0 40)(pt 16 40)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 56)
|
|
(input)
|
|
(text "D2" (rect 20 50 35 64)(font "Arial" (font_size 8)))
|
|
(text "D2" (rect 20 50 35 64)(font "Arial" (font_size 8)))
|
|
(line (pt 0 56)(pt 16 56)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 72)
|
|
(input)
|
|
(text "D3" (rect 20 66 35 80)(font "Arial" (font_size 8)))
|
|
(text "D3" (rect 20 66 35 80)(font "Arial" (font_size 8)))
|
|
(line (pt 0 72)(pt 16 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 88)
|
|
(input)
|
|
(text "U/DN" (rect 20 82 48 96)(font "Arial" (font_size 8)))
|
|
(text "U/DN" (rect 20 82 48 96)(font "Arial" (font_size 8)))
|
|
(line (pt 0 88)(pt 16 88)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 120)
|
|
(input)
|
|
(text "ENPN" (rect 20 114 50 128)(font "Arial" (font_size 8)))
|
|
(text "ENPN" (rect 20 114 50 128)(font "Arial" (font_size 8)))
|
|
(line (pt 0 120)(pt 8 120)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 152)
|
|
(input)
|
|
(text "CLK" (rect 20 144 43 158)(font "Arial" (font_size 8)))
|
|
(text "CLK" (rect 20 144 43 158)(font "Arial" (font_size 8)))
|
|
(line (pt 0 152)(pt 16 152)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 104)
|
|
(input)
|
|
(text "ENTN" (rect 20 98 50 112)(font "Arial" (font_size 8)))
|
|
(text "ENTN" (rect 20 98 50 112)(font "Arial" (font_size 8)))
|
|
(line (pt 0 104)(pt 8 104)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 136)
|
|
(input)
|
|
(text "LDN" (rect 20 130 43 144)(font "Arial" (font_size 8)))
|
|
(text "LDN" (rect 20 130 43 144)(font "Arial" (font_size 8)))
|
|
(line (pt 0 136)(pt 8 136)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 104 104)
|
|
(output)
|
|
(text "Q3" (rect 69 97 87 112)(font "Arial" (font_size 9)))
|
|
(text "Q3" (rect 69 97 87 112)(font "Arial" (font_size 9)))
|
|
(line (pt 88 104)(pt 104 104)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 104 120)
|
|
(output)
|
|
(text "TCN" (rect 61 112 90 127)(font "Arial" (font_size 9)))
|
|
(text "TCN" (rect 61 112 90 127)(font "Arial" (font_size 9)))
|
|
(line (pt 96 120)(pt 104 120)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 104 72)
|
|
(output)
|
|
(text "Q1" (rect 68 64 86 79)(font "Arial" (font_size 9)))
|
|
(text "Q1" (rect 68 64 86 79)(font "Arial" (font_size 9)))
|
|
(line (pt 88 72)(pt 104 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 104 56)
|
|
(output)
|
|
(text "Q0" (rect 68 49 86 64)(font "Arial" (font_size 9)))
|
|
(text "Q0" (rect 68 49 86 64)(font "Arial" (font_size 9)))
|
|
(line (pt 88 56)(pt 104 56)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 104 88)
|
|
(output)
|
|
(text "Q2" (rect 68 81 86 96)(font "Arial" (font_size 9)))
|
|
(text "Q2" (rect 68 81 86 96)(font "Arial" (font_size 9)))
|
|
(line (pt 88 88)(pt 104 88)(line_width 1))
|
|
)
|
|
(drawing
|
|
(text "COUNTER" (rect 30 161 86 175)(font "Arial" (font_size 8)))
|
|
(line (pt 16 160)(pt 16 16)(line_width 1))
|
|
(line (pt 88 160)(pt 88 16)(line_width 1))
|
|
(line (pt 16 16)(pt 88 16)(line_width 1))
|
|
(line (pt 16 160)(pt 88 160)(line_width 1))
|
|
(circle (rect 8 100 16 108)(line_width 1))
|
|
(circle (rect 8 116 16 124)(line_width 1))
|
|
(circle (rect 8 132 16 140)(line_width 1))
|
|
(circle (rect 88 116 96 124)(line_width 1))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 624 448 672 480)
|
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
|
|
(text "inst3" (rect 3 21 26 33)(font "Arial" ))
|
|
(port
|
|
(pt 0 16)
|
|
(input)
|
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
|
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 16)(pt 13 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 48 16)
|
|
(output)
|
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
|
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
|
|
(line (pt 39 16)(pt 48 16)(line_width 1))
|
|
)
|
|
(drawing
|
|
(line (pt 13 25)(pt 13 7)(line_width 1))
|
|
(line (pt 13 7)(pt 31 16)(line_width 1))
|
|
(line (pt 13 25)(pt 31 16)(line_width 1))
|
|
(circle (rect 31 12 39 20)(line_width 1))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 744 104 864 264)
|
|
(text "7446" (rect 45 0 78 16)(font "Arial" (font_size 10)))
|
|
(text "inst4" (rect 3 149 26 161)(font "Arial" ))
|
|
(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))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 1048 104 1168 264)
|
|
(text "7446" (rect 45 0 78 16)(font "Arial" (font_size 10)))
|
|
(text "inst7" (rect 3 149 26 161)(font "Arial" ))
|
|
(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))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 240 328 344 504)
|
|
(text "74168" (rect 33 0 74 16)(font "Arial" (font_size 10)))
|
|
(text "inst8" (rect 3 165 26 177)(font "Arial" ))
|
|
(port
|
|
(pt 0 24)
|
|
(input)
|
|
(text "D0" (rect 20 18 35 32)(font "Arial" (font_size 8)))
|
|
(text "D0" (rect 20 18 35 32)(font "Arial" (font_size 8)))
|
|
(line (pt 0 24)(pt 16 24)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 40)
|
|
(input)
|
|
(text "D1" (rect 20 34 35 48)(font "Arial" (font_size 8)))
|
|
(text "D1" (rect 20 34 35 48)(font "Arial" (font_size 8)))
|
|
(line (pt 0 40)(pt 16 40)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 56)
|
|
(input)
|
|
(text "D2" (rect 20 50 35 64)(font "Arial" (font_size 8)))
|
|
(text "D2" (rect 20 50 35 64)(font "Arial" (font_size 8)))
|
|
(line (pt 0 56)(pt 16 56)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 72)
|
|
(input)
|
|
(text "D3" (rect 20 66 35 80)(font "Arial" (font_size 8)))
|
|
(text "D3" (rect 20 66 35 80)(font "Arial" (font_size 8)))
|
|
(line (pt 0 72)(pt 16 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 88)
|
|
(input)
|
|
(text "U/DN" (rect 20 82 48 96)(font "Arial" (font_size 8)))
|
|
(text "U/DN" (rect 20 82 48 96)(font "Arial" (font_size 8)))
|
|
(line (pt 0 88)(pt 16 88)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 120)
|
|
(input)
|
|
(text "ENPN" (rect 20 114 50 128)(font "Arial" (font_size 8)))
|
|
(text "ENPN" (rect 20 114 50 128)(font "Arial" (font_size 8)))
|
|
(line (pt 0 120)(pt 8 120)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 152)
|
|
(input)
|
|
(text "CLK" (rect 20 144 43 158)(font "Arial" (font_size 8)))
|
|
(text "CLK" (rect 20 144 43 158)(font "Arial" (font_size 8)))
|
|
(line (pt 0 152)(pt 16 152)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 104)
|
|
(input)
|
|
(text "ENTN" (rect 20 98 50 112)(font "Arial" (font_size 8)))
|
|
(text "ENTN" (rect 20 98 50 112)(font "Arial" (font_size 8)))
|
|
(line (pt 0 104)(pt 8 104)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 136)
|
|
(input)
|
|
(text "LDN" (rect 20 130 43 144)(font "Arial" (font_size 8)))
|
|
(text "LDN" (rect 20 130 43 144)(font "Arial" (font_size 8)))
|
|
(line (pt 0 136)(pt 8 136)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 104 104)
|
|
(output)
|
|
(text "Q3" (rect 69 97 87 112)(font "Arial" (font_size 9)))
|
|
(text "Q3" (rect 69 97 87 112)(font "Arial" (font_size 9)))
|
|
(line (pt 88 104)(pt 104 104)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 104 120)
|
|
(output)
|
|
(text "TCN" (rect 61 112 90 127)(font "Arial" (font_size 9)))
|
|
(text "TCN" (rect 61 112 90 127)(font "Arial" (font_size 9)))
|
|
(line (pt 96 120)(pt 104 120)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 104 72)
|
|
(output)
|
|
(text "Q1" (rect 68 64 86 79)(font "Arial" (font_size 9)))
|
|
(text "Q1" (rect 68 64 86 79)(font "Arial" (font_size 9)))
|
|
(line (pt 88 72)(pt 104 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 104 56)
|
|
(output)
|
|
(text "Q0" (rect 68 49 86 64)(font "Arial" (font_size 9)))
|
|
(text "Q0" (rect 68 49 86 64)(font "Arial" (font_size 9)))
|
|
(line (pt 88 56)(pt 104 56)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 104 88)
|
|
(output)
|
|
(text "Q2" (rect 68 81 86 96)(font "Arial" (font_size 9)))
|
|
(text "Q2" (rect 68 81 86 96)(font "Arial" (font_size 9)))
|
|
(line (pt 88 88)(pt 104 88)(line_width 1))
|
|
)
|
|
(drawing
|
|
(text "COUNTER" (rect 30 161 86 175)(font "Arial" (font_size 8)))
|
|
(line (pt 16 160)(pt 16 16)(line_width 1))
|
|
(line (pt 88 160)(pt 88 16)(line_width 1))
|
|
(line (pt 16 16)(pt 88 16)(line_width 1))
|
|
(line (pt 16 160)(pt 88 160)(line_width 1))
|
|
(circle (rect 8 100 16 108)(line_width 1))
|
|
(circle (rect 8 116 16 124)(line_width 1))
|
|
(circle (rect 8 132 16 140)(line_width 1))
|
|
(circle (rect 88 116 96 124)(line_width 1))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 368 448 416 480)
|
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
|
|
(text "inst9" (rect 3 21 26 33)(font "Arial" ))
|
|
(port
|
|
(pt 0 16)
|
|
(input)
|
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
|
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 16)(pt 13 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 48 16)
|
|
(output)
|
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
|
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
|
|
(line (pt 39 16)(pt 48 16)(line_width 1))
|
|
)
|
|
(drawing
|
|
(line (pt 13 25)(pt 13 7)(line_width 1))
|
|
(line (pt 13 7)(pt 31 16)(line_width 1))
|
|
(line (pt 13 25)(pt 31 16)(line_width 1))
|
|
(circle (rect 31 12 39 20)(line_width 1))
|
|
)
|
|
)
|
|
(connector
|
|
(text "H" (rect 360 80 368 92)(font "Arial" ))
|
|
(pt 400 96)
|
|
(pt 352 96)
|
|
)
|
|
(connector
|
|
(text "100Hz" (rect 504 80 534 92)(font "Arial" ))
|
|
(pt 496 96)
|
|
(pt 552 96)
|
|
)
|
|
(connector
|
|
(pt 128 140)
|
|
(pt 176 140)
|
|
)
|
|
(connector
|
|
(text "VCC" (rect 176 112 188 135)(font "Arial" )(vertical))
|
|
(pt 128 132)
|
|
(pt 128 140)
|
|
)
|
|
(connector
|
|
(pt 248 148)
|
|
(pt 296 148)
|
|
)
|
|
(connector
|
|
(text "GND" (rect 264 119 276 143)(font "Arial" )(vertical))
|
|
(pt 248 156)
|
|
(pt 248 148)
|
|
)
|
|
(connector
|
|
(pt 496 432)
|
|
(pt 480 432)
|
|
)
|
|
(connector
|
|
(pt 480 432)
|
|
(pt 480 448)
|
|
)
|
|
(connector
|
|
(text "VCC" (rect 455 400 478 412)(font "Arial" ))
|
|
(pt 456 416)
|
|
(pt 496 416)
|
|
)
|
|
(connector
|
|
(pt 600 448)
|
|
(pt 608 448)
|
|
)
|
|
(connector
|
|
(text "GND" (rect 456 432 480 444)(font "Arial" ))
|
|
(pt 448 448)
|
|
(pt 480 448)
|
|
)
|
|
(connector
|
|
(pt 480 448)
|
|
(pt 496 448)
|
|
)
|
|
(connector
|
|
(pt 600 384)
|
|
(pt 640 384)
|
|
)
|
|
(connector
|
|
(pt 600 400)
|
|
(pt 656 400)
|
|
)
|
|
(connector
|
|
(pt 600 416)
|
|
(pt 664 416)
|
|
)
|
|
(connector
|
|
(pt 600 432)
|
|
(pt 672 432)
|
|
)
|
|
(connector
|
|
(pt 744 432)
|
|
(pt 728 432)
|
|
)
|
|
(connector
|
|
(pt 728 432)
|
|
(pt 728 448)
|
|
)
|
|
(connector
|
|
(text "VCC" (rect 703 400 726 412)(font "Arial" ))
|
|
(pt 704 416)
|
|
(pt 744 416)
|
|
)
|
|
(connector
|
|
(text "GND" (rect 704 432 728 444)(font "Arial" ))
|
|
(pt 696 448)
|
|
(pt 728 448)
|
|
)
|
|
(connector
|
|
(pt 728 448)
|
|
(pt 744 448)
|
|
)
|
|
(connector
|
|
(pt 640 384)
|
|
(pt 640 128)
|
|
)
|
|
(connector
|
|
(pt 656 400)
|
|
(pt 656 144)
|
|
)
|
|
(connector
|
|
(pt 664 416)
|
|
(pt 664 160)
|
|
)
|
|
(connector
|
|
(pt 672 432)
|
|
(pt 672 176)
|
|
)
|
|
(connector
|
|
(pt 672 176)
|
|
(pt 744 176)
|
|
)
|
|
(connector
|
|
(pt 664 160)
|
|
(pt 744 160)
|
|
)
|
|
(connector
|
|
(pt 656 144)
|
|
(pt 744 144)
|
|
)
|
|
(connector
|
|
(pt 640 128)
|
|
(pt 744 128)
|
|
)
|
|
(connector
|
|
(pt 744 192)
|
|
(pt 728 192)
|
|
)
|
|
(connector
|
|
(text "VCC" (rect 696 192 719 204)(font "Arial" ))
|
|
(pt 744 208)
|
|
(pt 728 208)
|
|
)
|
|
(connector
|
|
(pt 728 208)
|
|
(pt 704 208)
|
|
)
|
|
(connector
|
|
(pt 744 224)
|
|
(pt 728 224)
|
|
)
|
|
(connector
|
|
(pt 728 192)
|
|
(pt 728 208)
|
|
)
|
|
(connector
|
|
(pt 728 208)
|
|
(pt 728 224)
|
|
)
|
|
(connector
|
|
(pt 848 384)
|
|
(pt 968 384)
|
|
)
|
|
(connector
|
|
(pt 848 400)
|
|
(pt 976 400)
|
|
)
|
|
(connector
|
|
(pt 848 416)
|
|
(pt 984 416)
|
|
)
|
|
(connector
|
|
(pt 848 432)
|
|
(pt 992 432)
|
|
)
|
|
(connector
|
|
(pt 968 384)
|
|
(pt 968 128)
|
|
)
|
|
(connector
|
|
(pt 976 400)
|
|
(pt 976 144)
|
|
)
|
|
(connector
|
|
(pt 984 416)
|
|
(pt 984 160)
|
|
)
|
|
(connector
|
|
(pt 1048 192)
|
|
(pt 1032 192)
|
|
)
|
|
(connector
|
|
(pt 1048 224)
|
|
(pt 1032 224)
|
|
)
|
|
(connector
|
|
(pt 992 176)
|
|
(pt 992 432)
|
|
)
|
|
(connector
|
|
(text "VCC" (rect 1008 192 1031 204)(font "Arial" ))
|
|
(pt 1008 208)
|
|
(pt 1032 208)
|
|
)
|
|
(connector
|
|
(pt 1032 208)
|
|
(pt 1048 208)
|
|
)
|
|
(connector
|
|
(pt 1032 192)
|
|
(pt 1032 208)
|
|
)
|
|
(connector
|
|
(pt 1032 208)
|
|
(pt 1032 224)
|
|
)
|
|
(connector
|
|
(pt 992 176)
|
|
(pt 1048 176)
|
|
)
|
|
(connector
|
|
(pt 984 160)
|
|
(pt 1048 160)
|
|
)
|
|
(connector
|
|
(pt 976 144)
|
|
(pt 1048 144)
|
|
)
|
|
(connector
|
|
(pt 968 128)
|
|
(pt 1048 128)
|
|
)
|
|
(connector
|
|
(text "a" (rect 872 112 877 124)(font "Arial" ))
|
|
(pt 864 128)
|
|
(pt 912 128)
|
|
)
|
|
(connector
|
|
(text "b" (rect 872 128 877 140)(font "Arial" ))
|
|
(pt 864 144)
|
|
(pt 912 144)
|
|
)
|
|
(connector
|
|
(text "c" (rect 872 144 877 156)(font "Arial" ))
|
|
(pt 864 160)
|
|
(pt 912 160)
|
|
)
|
|
(connector
|
|
(text "d" (rect 872 160 877 172)(font "Arial" ))
|
|
(pt 864 176)
|
|
(pt 912 176)
|
|
)
|
|
(connector
|
|
(text "e" (rect 872 176 877 188)(font "Arial" ))
|
|
(pt 864 192)
|
|
(pt 912 192)
|
|
)
|
|
(connector
|
|
(text "f" (rect 872 192 876 204)(font "Arial" ))
|
|
(pt 864 208)
|
|
(pt 912 208)
|
|
)
|
|
(connector
|
|
(text "g" (rect 872 208 877 220)(font "Arial" ))
|
|
(pt 864 224)
|
|
(pt 912 224)
|
|
)
|
|
(connector
|
|
(text "A" (rect 1176 112 1183 124)(font "Arial" ))
|
|
(pt 1168 128)
|
|
(pt 1200 128)
|
|
)
|
|
(connector
|
|
(text "B" (rect 1176 128 1183 140)(font "Arial" ))
|
|
(pt 1168 144)
|
|
(pt 1200 144)
|
|
)
|
|
(connector
|
|
(text "C" (rect 1176 144 1184 156)(font "Arial" ))
|
|
(pt 1168 160)
|
|
(pt 1200 160)
|
|
)
|
|
(connector
|
|
(text "D" (rect 1176 160 1184 172)(font "Arial" ))
|
|
(pt 1168 176)
|
|
(pt 1200 176)
|
|
)
|
|
(connector
|
|
(text "E" (rect 1176 176 1183 188)(font "Arial" ))
|
|
(pt 1168 192)
|
|
(pt 1200 192)
|
|
)
|
|
(connector
|
|
(text "F" (rect 1176 192 1183 204)(font "Arial" ))
|
|
(pt 1168 208)
|
|
(pt 1200 208)
|
|
)
|
|
(connector
|
|
(text "G" (rect 1176 208 1184 220)(font "Arial" ))
|
|
(pt 1168 224)
|
|
(pt 1200 224)
|
|
)
|
|
(connector
|
|
(text "VCC" (rect 200 448 223 460)(font "Arial" ))
|
|
(pt 240 464)
|
|
(pt 192 464)
|
|
)
|
|
(connector
|
|
(pt 240 432)
|
|
(pt 224 432)
|
|
)
|
|
(connector
|
|
(pt 224 432)
|
|
(pt 224 448)
|
|
)
|
|
(connector
|
|
(text "VCC" (rect 199 400 222 412)(font "Arial" ))
|
|
(pt 200 416)
|
|
(pt 240 416)
|
|
)
|
|
(connector
|
|
(text "GND" (rect 200 432 224 444)(font "Arial" ))
|
|
(pt 192 448)
|
|
(pt 224 448)
|
|
)
|
|
(connector
|
|
(pt 224 448)
|
|
(pt 240 448)
|
|
)
|
|
(connector
|
|
(pt 344 448)
|
|
(pt 360 448)
|
|
)
|
|
(connector
|
|
(text "100Hz" (rect 202 464 232 476)(font "Arial" ))
|
|
(pt 192 480)
|
|
(pt 240 480)
|
|
)
|
|
(connector
|
|
(text "100Hz" (rect 456 464 486 476)(font "Arial" ))
|
|
(pt 496 480)
|
|
(pt 448 480)
|
|
)
|
|
(connector
|
|
(pt 360 448)
|
|
(pt 360 464)
|
|
)
|
|
(connector
|
|
(pt 360 464)
|
|
(pt 368 464)
|
|
)
|
|
(connector
|
|
(pt 416 464)
|
|
(pt 496 464)
|
|
)
|
|
(connector
|
|
(pt 608 448)
|
|
(pt 608 464)
|
|
)
|
|
(connector
|
|
(pt 608 464)
|
|
(pt 624 464)
|
|
)
|
|
(connector
|
|
(text "VCC" (rect 704 448 727 460)(font "Arial" ))
|
|
(pt 672 464)
|
|
(pt 744 464)
|
|
)
|
|
(connector
|
|
(text "100Hz" (rect 705 464 735 476)(font "Arial" ))
|
|
(pt 704 480)
|
|
(pt 744 480)
|
|
)
|
|
(junction (pt 480 448))
|
|
(junction (pt 728 448))
|
|
(junction (pt 728 208))
|
|
(junction (pt 1032 208))
|
|
(junction (pt 224 448))
|