Blame | Last modification | View Log | Download | RSS feed | ?url?
/*
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-2006 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 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.
*/
(header "graphic" (version "1.3"))
(pin
(input)
(rect -104 48 64 64)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk1" (rect 5 0 25 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
(input)
(rect -104 256 64 272)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clksel" (rect 5 0 33 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
(input)
(rect -104 328 64 344)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk2" (rect 5 0 25 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
(input)
(rect -104 400 64 416)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "divsel" (rect 5 0 34 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 760 80 936 96)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "clkout" (rect 90 0 119 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 192 80 256 160)
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst" (rect 3 68 20 80)(font "Arial" ))
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
(line (pt 32 80)(pt 32 76)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(line (pt 0 40)(pt 12 40)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 12 24)(line_width 1))
)
(port
(pt 32 0)
(input)
(text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
(line (pt 32 4)(pt 32 0)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(line (pt 52 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 12 12)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 52 68)(line_width 1))
(line (pt 52 68)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 12 12)(line_width 1))
(line (pt 19 40)(pt 12 47)(line_width 1))
(line (pt 12 32)(pt 20 40)(line_width 1))
(circle (rect 28 4 36 12)(line_width 1))
(circle (rect 28 68 36 76)(line_width 1))
)
)
(symbol
(rect 272 80 336 160)
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst1" (rect 3 68 26 80)(font "Arial" ))
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
(line (pt 32 80)(pt 32 76)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(line (pt 0 40)(pt 12 40)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 12 24)(line_width 1))
)
(port
(pt 32 0)
(input)
(text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
(line (pt 32 4)(pt 32 0)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(line (pt 52 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 12 12)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 52 68)(line_width 1))
(line (pt 52 68)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 12 12)(line_width 1))
(line (pt 19 40)(pt 12 47)(line_width 1))
(line (pt 12 32)(pt 20 40)(line_width 1))
(circle (rect 28 4 36 12)(line_width 1))
(circle (rect 28 68 36 76)(line_width 1))
)
)
(symbol
(rect 208 64 240 80)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst2" (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 288 64 320 80)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst3" (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 208 160 240 176)
(text "VCC" (rect 5 6 25 16)(font "Arial" (font_size 6)))
(text "inst4" (rect 6 -1 29 11)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 8 -3 13 9)(font "Courier New" (bold))(invisible))
(line (pt 16 0)(pt 16 8)(line_width 1))
)
(drawing
(line (pt 24 8)(pt 8 8)(line_width 1))
)
(rotate180)
)
(symbol
(rect 288 160 320 176)
(text "VCC" (rect 5 6 25 16)(font "Arial" (font_size 6)))
(text "inst5" (rect 6 -1 29 11)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 8 -3 13 9)(font "Courier New" (bold))(invisible))
(line (pt 16 0)(pt 16 8)(line_width 1))
)
(drawing
(line (pt 24 8)(pt 8 8)(line_width 1))
)
(rotate180)
)
(symbol
(rect 192 232 256 312)
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst6" (rect 3 68 26 80)(font "Arial" ))
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
(line (pt 32 80)(pt 32 76)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(line (pt 0 40)(pt 12 40)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 12 24)(line_width 1))
)
(port
(pt 32 0)
(input)
(text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
(line (pt 32 4)(pt 32 0)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(line (pt 52 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 12 12)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 52 68)(line_width 1))
(line (pt 52 68)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 12 12)(line_width 1))
(line (pt 19 40)(pt 12 47)(line_width 1))
(line (pt 12 32)(pt 20 40)(line_width 1))
(circle (rect 28 4 36 12)(line_width 1))
(circle (rect 28 68 36 76)(line_width 1))
)
)
(symbol
(rect 272 232 336 312)
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst7" (rect 3 68 26 80)(font "Arial" ))
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
(line (pt 32 80)(pt 32 76)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(line (pt 0 40)(pt 12 40)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 12 24)(line_width 1))
)
(port
(pt 32 0)
(input)
(text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
(line (pt 32 4)(pt 32 0)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(line (pt 52 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 12 12)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 52 68)(line_width 1))
(line (pt 52 68)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 12 12)(line_width 1))
(line (pt 19 40)(pt 12 47)(line_width 1))
(line (pt 12 32)(pt 20 40)(line_width 1))
(circle (rect 28 4 36 12)(line_width 1))
(circle (rect 28 68 36 76)(line_width 1))
)
)
(symbol
(rect 208 216 240 232)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst8" (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 288 216 320 232)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst9" (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 208 312 240 328)
(text "VCC" (rect 5 6 25 16)(font "Arial" (font_size 6)))
(text "inst10" (rect 6 -1 35 11)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 8 -3 13 9)(font "Courier New" (bold))(invisible))
(line (pt 16 0)(pt 16 8)(line_width 1))
)
(drawing
(line (pt 24 8)(pt 8 8)(line_width 1))
)
(rotate180)
)
(symbol
(rect 288 312 320 328)
(text "VCC" (rect 5 6 25 16)(font "Arial" (font_size 6)))
(text "inst11" (rect 6 -1 35 11)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 8 -3 13 9)(font "Courier New" (bold))(invisible))
(line (pt 16 0)(pt 16 8)(line_width 1))
)
(drawing
(line (pt 24 8)(pt 8 8)(line_width 1))
)
(rotate180)
)
(symbol
(rect 104 80 168 128)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst12" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 112 232 176 280)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst13" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 368 328 432 376)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst14" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 368 16 432 64)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst15" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 344 112 376 160)
(text "NOT" (rect 22 1 32 21)(font "Arial" (font_size 6))(vertical))
(text "inst17" (rect -1 3 11 32)(font "Arial" )(vertical))
(port
(pt 16 0)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 13 2 25 13)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 16 0)(pt 16 13)(line_width 1))
)
(port
(pt 16 48)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 13 32 25 49)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 16 39)(pt 16 48)(line_width 1))
)
(drawing
(line (pt 7 13)(pt 25 13)(line_width 1))
(line (pt 25 13)(pt 16 31)(line_width 1))
(line (pt 7 13)(pt 16 31)(line_width 1))
(circle (rect 12 31 20 39)(line_width 1))
)
(rotate270)
)
(symbol
(rect 344 200 376 248)
(text "NOT" (rect 0 27 10 47)(font "Arial" (font_size 6))(vertical))
(text "inst18" (rect 21 16 33 45)(font "Arial" )(vertical))
(port
(pt 16 48)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 7 35 19 46)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 16 48)(pt 16 35)(line_width 1))
)
(port
(pt 16 0)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 7 -1 19 16)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 16 9)(pt 16 0)(line_width 1))
)
(drawing
(line (pt 25 35)(pt 7 35)(line_width 1))
(line (pt 7 35)(pt 16 17)(line_width 1))
(line (pt 25 35)(pt 16 17)(line_width 1))
(circle (rect 12 9 20 17)(line_width 1))
)
(rotate90)
)
(symbol
(rect 56 200 88 248)
(text "NOT" (rect 0 27 10 47)(font "Arial" (font_size 6))(vertical))
(text "inst19" (rect 21 16 33 45)(font "Arial" )(vertical))
(port
(pt 16 48)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 7 35 19 46)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 16 48)(pt 16 35)(line_width 1))
)
(port
(pt 16 0)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 7 -1 19 16)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 16 9)(pt 16 0)(line_width 1))
)
(drawing
(line (pt 25 35)(pt 7 35)(line_width 1))
(line (pt 7 35)(pt 16 17)(line_width 1))
(line (pt 25 35)(pt 16 17)(line_width 1))
(circle (rect 12 9 20 17)(line_width 1))
)
(rotate90)
)
(symbol
(rect 80 40 128 72)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst20" (rect 3 21 32 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 80 320 128 352)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst21" (rect 3 21 32 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 536 72 600 152)
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst22" (rect 3 68 32 80)(font "Arial" ))
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
(line (pt 32 80)(pt 32 76)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(line (pt 0 40)(pt 12 40)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 12 24)(line_width 1))
)
(port
(pt 32 0)
(input)
(text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
(line (pt 32 4)(pt 32 0)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(line (pt 52 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 12 12)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 52 68)(line_width 1))
(line (pt 52 68)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 12 12)(line_width 1))
(line (pt 19 40)(pt 12 47)(line_width 1))
(line (pt 12 32)(pt 20 40)(line_width 1))
(circle (rect 28 4 36 12)(line_width 1))
(circle (rect 28 68 36 76)(line_width 1))
)
)
(symbol
(rect 552 56 584 72)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst23" (rect 3 5 32 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 552 152 584 168)
(text "VCC" (rect 5 6 25 16)(font "Arial" (font_size 6)))
(text "inst24" (rect 6 -1 35 11)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 8 -3 13 9)(font "Courier New" (bold))(invisible))
(line (pt 16 0)(pt 16 8)(line_width 1))
)
(drawing
(line (pt 24 8)(pt 8 8)(line_width 1))
)
(rotate180)
)
(symbol
(rect 544 16 592 48)
(text "NOT" (rect 27 22 47 32)(font "Arial" (font_size 6)))
(text "inst29" (rect 16 -1 45 11)(font "Arial" ))
(port
(pt 48 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 35 13 46 25)(font "Courier New" (bold))(invisible))
(line (pt 48 16)(pt 35 16)(line_width 1))
)
(port
(pt 0 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect -1 13 16 25)(font "Courier New" (bold))(invisible))
(line (pt 9 16)(pt 0 16)(line_width 1))
)
(drawing
(line (pt 35 7)(pt 35 25)(line_width 1))
(line (pt 35 25)(pt 17 16)(line_width 1))
(line (pt 35 7)(pt 17 16)(line_width 1))
(circle (rect 9 12 17 20)(line_width 1))
)
(rotate180)
)
(symbol
(rect 480 240 512 256)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst26" (rect 3 5 32 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 480 336 512 352)
(text "VCC" (rect 5 6 25 16)(font "Arial" (font_size 6)))
(text "inst27" (rect 6 -1 35 11)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 8 -3 13 9)(font "Courier New" (bold))(invisible))
(line (pt 16 0)(pt 16 8)(line_width 1))
)
(drawing
(line (pt 24 8)(pt 8 8)(line_width 1))
)
(rotate180)
)
(symbol
(rect 560 240 592 256)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst30" (rect 3 5 32 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 560 336 592 352)
(text "VCC" (rect 5 6 25 16)(font "Arial" (font_size 6)))
(text "inst35" (rect 6 -1 35 11)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 8 -3 13 9)(font "Courier New" (bold))(invisible))
(line (pt 16 0)(pt 16 8)(line_width 1))
)
(drawing
(line (pt 24 8)(pt 8 8)(line_width 1))
)
(rotate180)
)
(symbol
(rect 464 256 528 336)
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst36" (rect 3 68 32 80)(font "Arial" ))
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
(line (pt 32 80)(pt 32 76)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(line (pt 0 40)(pt 12 40)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 12 24)(line_width 1))
)
(port
(pt 32 0)
(input)
(text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
(line (pt 32 4)(pt 32 0)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(line (pt 52 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 12 12)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 52 68)(line_width 1))
(line (pt 52 68)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 12 12)(line_width 1))
(line (pt 19 40)(pt 12 47)(line_width 1))
(line (pt 12 32)(pt 20 40)(line_width 1))
(circle (rect 28 4 36 12)(line_width 1))
(circle (rect 28 68 36 76)(line_width 1))
)
)
(symbol
(rect 544 256 608 336)
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst37" (rect 3 68 32 80)(font "Arial" ))
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
(line (pt 32 80)(pt 32 76)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(line (pt 0 40)(pt 12 40)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 12 24)(line_width 1))
)
(port
(pt 32 0)
(input)
(text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
(line (pt 32 4)(pt 32 0)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(line (pt 52 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 12 12)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 52 68)(line_width 1))
(line (pt 52 68)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 12 12)(line_width 1))
(line (pt 19 40)(pt 12 47)(line_width 1))
(line (pt 12 32)(pt 20 40)(line_width 1))
(circle (rect 28 4 36 12)(line_width 1))
(circle (rect 28 68 36 76)(line_width 1))
)
)
(symbol
(rect 448 24 512 72)
(text "NOR2" (rect 1 0 26 10)(font "Arial" (font_size 6)))
(text "inst39" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 54 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 12 36)(pt 23 36)(line_width 1))
(line (pt 12 13)(pt 23 13)(line_width 1))
(arc (pt 46 24)(pt 23 13)(rect -6 13 53 72)(line_width 1))
(arc (pt 5 29)(pt 5 19)(rect -16 8 17 41)(line_width 1))
(arc (pt 23 35)(pt 46 24)(rect -6 -23 53 36)(line_width 1))
(circle (rect 46 20 54 28)(line_width 1))
)
)
(symbol
(rect 632 48 752 128)
(text "21mux" (rect 41 0 87 16)(font "Arial" (font_size 10)))
(text "inst16" (rect 3 69 32 81)(font "Arial" ))
(port
(pt 0 56)
(input)
(text "S" (rect 22 48 30 62)(font "Arial" (font_size 8)))
(text "S" (rect 22 48 30 62)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 16 56)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "B" (rect 22 32 30 46)(font "Arial" (font_size 8)))
(text "B" (rect 22 32 30 46)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "A" (rect 22 16 31 30)(font "Arial" (font_size 8)))
(text "A" (rect 22 16 31 30)(font "Arial" (font_size 8)))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 120 40)
(output)
(text "Y" (rect 93 32 102 46)(font "Arial" (font_size 8)))
(text "Y" (rect 93 32 102 46)(font "Arial" (font_size 8)))
(line (pt 104 40)(pt 120 40)(line_width 1))
)
(drawing
(text "MULTIPLEXER" (rect 30 65 109 79)(font "Arial" (font_size 8)))
(line (pt 16 64)(pt 104 64)(line_width 1))
(line (pt 16 16)(pt 104 16)(line_width 1))
(line (pt 16 64)(pt 16 16)(line_width 1))
(line (pt 104 64)(pt 104 16)(line_width 1))
)
)
(symbol
(rect 504 184 568 232)
(text "NOR2" (rect 38 38 63 48)(font "Arial" (font_size 6)))
(text "inst38" (rect 32 -1 61 11)(font "Arial" ))
(port
(pt 64 16)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 45 13 62 25)(font "Courier New" (bold))(invisible))
(line (pt 64 16)(pt 50 16)(line_width 1))
)
(port
(pt 64 32)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 45 29 62 41)(font "Courier New" (bold))(invisible))
(line (pt 64 32)(pt 50 32)(line_width 1))
)
(port
(pt 0 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect -1 21 16 33)(font "Courier New" (bold))(invisible))
(line (pt 10 24)(pt 0 24)(line_width 1))
)
(drawing
(line (pt 52 12)(pt 41 12)(line_width 1))
(line (pt 52 35)(pt 41 35)(line_width 1))
(arc (pt 18 24)(pt 41 35)(rect 11 -24 70 35)(line_width 1))
(arc (pt 59 19)(pt 59 29)(rect 47 7 80 40)(line_width 1))
(arc (pt 41 13)(pt 18 24)(rect 11 12 70 71)(line_width 1))
(circle (rect 10 20 18 28)(line_width 1))
)
(rotate180)
)
(connector
(pt 192 272)
(pt 184 272)
)
(connector
(pt 184 272)
(pt 184 336)
)
(connector
(pt 176 256)
(pt 192 256)
)
(connector
(pt 264 272)
(pt 272 272)
)
(connector
(pt 264 272)
(pt 264 336)
)
(connector
(pt 256 256)
(pt 272 256)
)
(connector
(pt 336 256)
(pt 360 256)
)
(connector
(pt 360 200)
(pt 360 192)
)
(connector
(pt 72 264)
(pt 72 248)
)
(connector
(pt 96 112)
(pt 104 112)
)
(connector
(pt 112 248)
(pt 104 248)
)
(connector
(pt 184 120)
(pt 192 120)
)
(connector
(pt 184 56)
(pt 184 120)
)
(connector
(pt 168 104)
(pt 192 104)
)
(connector
(pt 264 120)
(pt 272 120)
)
(connector
(pt 264 120)
(pt 264 56)
)
(connector
(pt 256 104)
(pt 272 104)
)
(connector
(pt 360 160)
(pt 360 184)
)
(connector
(pt 96 192)
(pt 96 112)
)
(connector
(pt 104 96)
(pt 72 96)
)
(connector
(pt 72 200)
(pt 72 96)
)
(connector
(pt 336 104)
(pt 360 104)
)
(connector
(pt 360 48)
(pt 368 48)
)
(connector
(pt 360 344)
(pt 368 344)
)
(connector
(pt 432 352)
(pt 440 352)
)
(connector
(pt 64 264)
(pt 72 264)
)
(connector
(pt 72 264)
(pt 112 264)
)
(connector
(pt 128 56)
(pt 184 56)
)
(connector
(pt 184 56)
(pt 264 56)
)
(connector
(pt 72 32)
(pt 368 32)
)
(connector
(pt 360 48)
(pt 360 104)
)
(connector
(pt 360 104)
(pt 360 112)
)
(connector
(pt 72 360)
(pt 368 360)
)
(connector
(pt 360 248)
(pt 360 256)
)
(connector
(pt 184 336)
(pt 264 336)
)
(connector
(pt 128 336)
(pt 184 336)
)
(connector
(pt 360 256)
(pt 360 344)
)
(connector
(pt 96 192)
(pt 360 192)
)
(connector
(pt 104 248)
(pt 104 184)
)
(connector
(pt 360 184)
(pt 104 184)
)
(connector
(pt 72 32)
(pt 72 56)
)
(connector
(pt 72 336)
(pt 72 360)
)
(connector
(pt 64 336)
(pt 72 336)
)
(connector
(pt 72 336)
(pt 80 336)
)
(connector
(pt 440 56)
(pt 448 56)
)
(connector
(pt 440 352)
(pt 440 56)
)
(connector
(pt 432 40)
(pt 448 40)
)
(connector
(pt 536 96)
(pt 528 96)
)
(connector
(pt 528 96)
(pt 528 32)
)
(connector
(pt 528 32)
(pt 544 32)
)
(connector
(pt 600 96)
(pt 608 96)
)
(connector
(pt 512 48)
(pt 520 48)
)
(connector
(pt 520 112)
(pt 536 112)
)
(connector
(pt 64 56)
(pt 72 56)
)
(connector
(pt 72 56)
(pt 80 56)
)
(connector
(pt 520 48)
(pt 520 112)
)
(connector
(pt 520 112)
(pt 520 176)
)
(connector
(pt 592 32)
(pt 608 32)
)
(connector
(pt 64 408)
(pt 448 408)
)
(connector
(pt 448 280)
(pt 464 280)
)
(connector
(pt 448 408)
(pt 448 280)
)
(connector
(pt 456 296)
(pt 464 296)
)
(connector
(pt 456 360)
(pt 536 360)
)
(connector
(pt 528 280)
(pt 544 280)
)
(connector
(pt 536 296)
(pt 544 296)
)
(connector
(pt 536 360)
(pt 536 296)
)
(connector
(pt 456 296)
(pt 456 360)
)
(connector
(pt 504 208)
(pt 456 208)
)
(connector
(pt 456 208)
(pt 456 296)
)
(connector
(pt 608 72)
(pt 632 72)
)
(connector
(pt 608 32)
(pt 608 72)
)
(connector
(pt 576 176)
(pt 576 200)
)
(connector
(pt 576 200)
(pt 568 200)
)
(connector
(pt 608 216)
(pt 568 216)
)
(connector
(pt 608 72)
(pt 608 96)
)
(connector
(pt 608 96)
(pt 608 216)
)
(connector
(pt 616 176)
(pt 616 88)
)
(connector
(pt 520 176)
(pt 576 176)
)
(connector
(pt 576 176)
(pt 616 176)
)
(connector
(pt 616 88)
(pt 632 88)
)
(connector
(pt 608 280)
(pt 624 280)
)
(connector
(pt 624 280)
(pt 624 104)
)
(connector
(pt 624 104)
(pt 632 104)
)
(connector
(pt 752 88)
(pt 760 88)
)
(junction (pt 184 336))
(junction (pt 72 264))
(junction (pt 184 56))
(junction (pt 360 104))
(junction (pt 360 256))
(junction (pt 72 56))
(junction (pt 72 336))
(junction (pt 520 112))
(junction (pt 608 72))
(junction (pt 456 296))
(junction (pt 608 96))
(junction (pt 576 176))