1005 行
25 KiB
Plaintext
1005 行
25 KiB
Plaintext
/*
|
|
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 32 40 200 56)
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
|
(text "CP" (rect 5 0 20 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 32 8 200 24)
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
|
(text "CLR" (rect 5 0 27 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 32 80 200 96)
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
|
(text "D7" (rect 5 0 19 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 32 176 200 192)
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
|
(text "D6" (rect 5 0 19 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 32 272 200 288)
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
|
(text "D5" (rect 5 0 19 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 32 368 200 384)
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
|
(text "D4" (rect 5 0 19 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 32 464 200 480)
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
|
(text "D3" (rect 5 0 19 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 32 560 200 576)
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
|
(text "D2" (rect 5 0 19 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 32 656 200 672)
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
|
(text "D1" (rect 5 0 19 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 32 752 200 768)
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
|
(text "D0" (rect 5 0 19 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 464 80 640 96)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "Q7" (rect 90 0 104 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))
|
|
)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 464 176 640 192)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "Q6" (rect 90 0 104 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))
|
|
)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 464 272 640 288)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "Q5" (rect 90 0 104 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))
|
|
)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 464 368 640 384)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "Q4" (rect 90 0 104 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))
|
|
)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 464 464 640 480)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "Q3" (rect 90 0 104 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))
|
|
)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 464 560 640 576)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "Q2" (rect 90 0 104 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))
|
|
)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 464 656 640 672)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "Q1" (rect 90 0 104 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))
|
|
)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 464 752 640 768)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "Q0" (rect 90 0 104 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 344 64 408 144)
|
|
(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 344 160 408 240)
|
|
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
|
|
(text "inst2" (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 344 256 408 336)
|
|
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
|
|
(text "inst3" (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 344 352 408 432)
|
|
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
|
|
(text "inst4" (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 344 448 408 528)
|
|
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
|
|
(text "inst5" (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 344 544 408 624)
|
|
(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 344 640 408 720)
|
|
(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 344 736 408 816)
|
|
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
|
|
(text "inst8" (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))
|
|
)
|
|
)
|
|
(connector
|
|
(pt 200 88)
|
|
(pt 344 88)
|
|
)
|
|
(connector
|
|
(pt 408 88)
|
|
(pt 464 88)
|
|
)
|
|
(connector
|
|
(pt 200 184)
|
|
(pt 344 184)
|
|
)
|
|
(connector
|
|
(pt 408 184)
|
|
(pt 464 184)
|
|
)
|
|
(connector
|
|
(pt 200 280)
|
|
(pt 344 280)
|
|
)
|
|
(connector
|
|
(pt 408 280)
|
|
(pt 464 280)
|
|
)
|
|
(connector
|
|
(pt 200 376)
|
|
(pt 344 376)
|
|
)
|
|
(connector
|
|
(pt 408 376)
|
|
(pt 464 376)
|
|
)
|
|
(connector
|
|
(pt 200 472)
|
|
(pt 344 472)
|
|
)
|
|
(connector
|
|
(pt 408 472)
|
|
(pt 464 472)
|
|
)
|
|
(connector
|
|
(pt 200 568)
|
|
(pt 344 568)
|
|
)
|
|
(connector
|
|
(pt 408 568)
|
|
(pt 464 568)
|
|
)
|
|
(connector
|
|
(pt 200 664)
|
|
(pt 344 664)
|
|
)
|
|
(connector
|
|
(pt 408 664)
|
|
(pt 464 664)
|
|
)
|
|
(connector
|
|
(pt 200 760)
|
|
(pt 344 760)
|
|
)
|
|
(connector
|
|
(pt 408 760)
|
|
(pt 464 760)
|
|
)
|
|
(connector
|
|
(pt 200 48)
|
|
(pt 248 48)
|
|
)
|
|
(connector
|
|
(pt 248 776)
|
|
(pt 344 776)
|
|
)
|
|
(connector
|
|
(pt 344 680)
|
|
(pt 248 680)
|
|
)
|
|
(connector
|
|
(pt 344 584)
|
|
(pt 248 584)
|
|
)
|
|
(connector
|
|
(pt 344 488)
|
|
(pt 248 488)
|
|
)
|
|
(connector
|
|
(pt 344 392)
|
|
(pt 248 392)
|
|
)
|
|
(connector
|
|
(pt 344 296)
|
|
(pt 248 296)
|
|
)
|
|
(connector
|
|
(pt 344 200)
|
|
(pt 248 200)
|
|
)
|
|
(connector
|
|
(pt 344 104)
|
|
(pt 248 104)
|
|
)
|
|
(connector
|
|
(pt 376 728)
|
|
(pt 280 728)
|
|
)
|
|
(connector
|
|
(pt 376 152)
|
|
(pt 280 152)
|
|
)
|
|
(connector
|
|
(pt 376 632)
|
|
(pt 280 632)
|
|
)
|
|
(connector
|
|
(pt 376 536)
|
|
(pt 280 536)
|
|
)
|
|
(connector
|
|
(pt 376 440)
|
|
(pt 280 440)
|
|
)
|
|
(connector
|
|
(pt 376 248)
|
|
(pt 280 248)
|
|
)
|
|
(connector
|
|
(pt 376 816)
|
|
(pt 376 832)
|
|
)
|
|
(connector
|
|
(pt 280 832)
|
|
(pt 376 832)
|
|
)
|
|
(connector
|
|
(pt 376 344)
|
|
(pt 280 344)
|
|
)
|
|
(connector
|
|
(pt 200 16)
|
|
(pt 376 16)
|
|
)
|
|
(connector
|
|
(pt 280 40)
|
|
(pt 376 40)
|
|
)
|
|
(connector
|
|
(pt 248 680)
|
|
(pt 248 776)
|
|
)
|
|
(connector
|
|
(pt 248 584)
|
|
(pt 248 680)
|
|
)
|
|
(connector
|
|
(pt 248 488)
|
|
(pt 248 584)
|
|
)
|
|
(connector
|
|
(pt 248 392)
|
|
(pt 248 488)
|
|
)
|
|
(connector
|
|
(pt 248 48)
|
|
(pt 248 104)
|
|
)
|
|
(connector
|
|
(pt 248 104)
|
|
(pt 248 200)
|
|
)
|
|
(connector
|
|
(pt 248 200)
|
|
(pt 248 296)
|
|
)
|
|
(connector
|
|
(pt 248 296)
|
|
(pt 248 392)
|
|
)
|
|
(connector
|
|
(pt 376 720)
|
|
(pt 376 728)
|
|
)
|
|
(connector
|
|
(pt 376 728)
|
|
(pt 376 736)
|
|
)
|
|
(connector
|
|
(pt 376 144)
|
|
(pt 376 152)
|
|
)
|
|
(connector
|
|
(pt 376 152)
|
|
(pt 376 160)
|
|
)
|
|
(connector
|
|
(pt 376 624)
|
|
(pt 376 632)
|
|
)
|
|
(connector
|
|
(pt 376 632)
|
|
(pt 376 640)
|
|
)
|
|
(connector
|
|
(pt 376 528)
|
|
(pt 376 536)
|
|
)
|
|
(connector
|
|
(pt 376 536)
|
|
(pt 376 544)
|
|
)
|
|
(connector
|
|
(pt 376 432)
|
|
(pt 376 440)
|
|
)
|
|
(connector
|
|
(pt 376 440)
|
|
(pt 376 448)
|
|
)
|
|
(connector
|
|
(pt 376 240)
|
|
(pt 376 248)
|
|
)
|
|
(connector
|
|
(pt 376 248)
|
|
(pt 376 256)
|
|
)
|
|
(connector
|
|
(pt 280 632)
|
|
(pt 280 728)
|
|
)
|
|
(connector
|
|
(pt 280 728)
|
|
(pt 280 832)
|
|
)
|
|
(connector
|
|
(pt 376 336)
|
|
(pt 376 344)
|
|
)
|
|
(connector
|
|
(pt 376 344)
|
|
(pt 376 352)
|
|
)
|
|
(connector
|
|
(pt 280 440)
|
|
(pt 280 536)
|
|
)
|
|
(connector
|
|
(pt 280 536)
|
|
(pt 280 632)
|
|
)
|
|
(connector
|
|
(pt 280 40)
|
|
(pt 280 152)
|
|
)
|
|
(connector
|
|
(pt 280 152)
|
|
(pt 280 248)
|
|
)
|
|
(connector
|
|
(pt 280 248)
|
|
(pt 280 344)
|
|
)
|
|
(connector
|
|
(pt 280 344)
|
|
(pt 280 440)
|
|
)
|
|
(connector
|
|
(pt 376 16)
|
|
(pt 376 40)
|
|
)
|
|
(connector
|
|
(pt 376 40)
|
|
(pt 376 64)
|
|
)
|
|
(junction (pt 248 680))
|
|
(junction (pt 248 584))
|
|
(junction (pt 248 488))
|
|
(junction (pt 248 392))
|
|
(junction (pt 248 296))
|
|
(junction (pt 248 104))
|
|
(junction (pt 248 200))
|
|
(junction (pt 376 728))
|
|
(junction (pt 376 152))
|
|
(junction (pt 376 632))
|
|
(junction (pt 376 536))
|
|
(junction (pt 376 440))
|
|
(junction (pt 376 248))
|
|
(junction (pt 280 632))
|
|
(junction (pt 280 536))
|
|
(junction (pt 280 728))
|
|
(junction (pt 376 344))
|
|
(junction (pt 280 440))
|
|
(junction (pt 280 344))
|
|
(junction (pt 280 152))
|
|
(junction (pt 280 248))
|
|
(junction (pt 376 40))
|