1555 行
39 KiB
Plaintext
1555 行
39 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 368 488 384 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "A0" (rect 0 112 12 124)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 352 488 368 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "A1" (rect 0 112 12 124)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 336 488 352 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "A2" (rect 0 112 12 124)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 320 488 336 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "A3" (rect 0 112 12 124)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 304 488 320 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "A4" (rect 0 112 12 124)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 288 488 304 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "A5" (rect 0 112 12 124)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 272 488 288 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "A6" (rect 0 112 12 124)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 256 488 272 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "A7" (rect 0 112 12 124)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 608 488 624 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "B0" (rect 0 112 12 124)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 592 488 608 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "B1" (rect 0 112 12 124)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 576 488 592 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "B2" (rect 0 112 12 124)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 560 488 576 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "B3" (rect 0 112 12 124)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 544 488 560 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "B4" (rect 0 112 12 124)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 528 488 544 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "B5" (rect 0 112 12 124)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 512 488 528 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "B6" (rect 0 112 12 124)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 496 488 512 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "B7" (rect 0 112 12 124)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 736 488 752 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "CPR0" (rect 0 134 12 163)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 768 488 784 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "CPR1" (rect 0 134 12 163)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 800 488 816 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "CPR2" (rect 0 134 12 163)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 704 488 720 656)
|
|
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
|
|
(text "CLR" (rect 0 134 12 156)(font "Arial" )(vertical))
|
|
(pt 8 0)
|
|
(drawing
|
|
(line (pt 12 76)(pt 12 51)(line_width 1))
|
|
(line (pt 4 76)(pt 4 51)(line_width 1))
|
|
(line (pt 8 47)(pt 8 0)(line_width 1))
|
|
(line (pt 12 76)(pt 4 76)(line_width 1))
|
|
(line (pt 4 51)(pt 8 47)(line_width 1))
|
|
(line (pt 12 51)(pt 8 47)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 432 -280 448 -104)
|
|
(text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical))
|
|
(text "Q0" (rect 2 5 14 19)(font "Arial" )(vertical))
|
|
(pt 8 176)
|
|
(drawing
|
|
(line (pt 8 176)(pt 8 124)(line_width 1))
|
|
(line (pt 4 124)(pt 4 98)(line_width 1))
|
|
(line (pt 12 124)(pt 12 98)(line_width 1))
|
|
(line (pt 12 124)(pt 4 124)(line_width 1))
|
|
(line (pt 4 98)(pt 8 94)(line_width 1))
|
|
(line (pt 8 94)(pt 12 98)(line_width 1))
|
|
(line (pt 12 98)(pt 8 94)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 416 -280 432 -104)
|
|
(text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical))
|
|
(text "Q1" (rect 2 5 14 19)(font "Arial" )(vertical))
|
|
(pt 8 176)
|
|
(drawing
|
|
(line (pt 8 176)(pt 8 124)(line_width 1))
|
|
(line (pt 4 124)(pt 4 98)(line_width 1))
|
|
(line (pt 12 124)(pt 12 98)(line_width 1))
|
|
(line (pt 12 124)(pt 4 124)(line_width 1))
|
|
(line (pt 4 98)(pt 8 94)(line_width 1))
|
|
(line (pt 8 94)(pt 12 98)(line_width 1))
|
|
(line (pt 12 98)(pt 8 94)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 400 -280 416 -104)
|
|
(text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical))
|
|
(text "Q2" (rect 2 5 14 19)(font "Arial" )(vertical))
|
|
(pt 8 176)
|
|
(drawing
|
|
(line (pt 8 176)(pt 8 124)(line_width 1))
|
|
(line (pt 4 124)(pt 4 98)(line_width 1))
|
|
(line (pt 12 124)(pt 12 98)(line_width 1))
|
|
(line (pt 12 124)(pt 4 124)(line_width 1))
|
|
(line (pt 4 98)(pt 8 94)(line_width 1))
|
|
(line (pt 8 94)(pt 12 98)(line_width 1))
|
|
(line (pt 12 98)(pt 8 94)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 384 -280 400 -104)
|
|
(text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical))
|
|
(text "Q3" (rect 2 5 14 19)(font "Arial" )(vertical))
|
|
(pt 8 176)
|
|
(drawing
|
|
(line (pt 8 176)(pt 8 124)(line_width 1))
|
|
(line (pt 4 124)(pt 4 98)(line_width 1))
|
|
(line (pt 12 124)(pt 12 98)(line_width 1))
|
|
(line (pt 12 124)(pt 4 124)(line_width 1))
|
|
(line (pt 4 98)(pt 8 94)(line_width 1))
|
|
(line (pt 8 94)(pt 12 98)(line_width 1))
|
|
(line (pt 12 98)(pt 8 94)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 368 -280 384 -104)
|
|
(text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical))
|
|
(text "Q4" (rect 2 5 14 19)(font "Arial" )(vertical))
|
|
(pt 8 176)
|
|
(drawing
|
|
(line (pt 8 176)(pt 8 124)(line_width 1))
|
|
(line (pt 4 124)(pt 4 98)(line_width 1))
|
|
(line (pt 12 124)(pt 12 98)(line_width 1))
|
|
(line (pt 12 124)(pt 4 124)(line_width 1))
|
|
(line (pt 4 98)(pt 8 94)(line_width 1))
|
|
(line (pt 8 94)(pt 12 98)(line_width 1))
|
|
(line (pt 12 98)(pt 8 94)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 352 -280 368 -104)
|
|
(text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical))
|
|
(text "Q5" (rect 2 5 14 19)(font "Arial" )(vertical))
|
|
(pt 8 176)
|
|
(drawing
|
|
(line (pt 8 176)(pt 8 124)(line_width 1))
|
|
(line (pt 4 124)(pt 4 98)(line_width 1))
|
|
(line (pt 12 124)(pt 12 98)(line_width 1))
|
|
(line (pt 12 124)(pt 4 124)(line_width 1))
|
|
(line (pt 4 98)(pt 8 94)(line_width 1))
|
|
(line (pt 8 94)(pt 12 98)(line_width 1))
|
|
(line (pt 12 98)(pt 8 94)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 336 -280 352 -104)
|
|
(text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical))
|
|
(text "Q6" (rect 2 5 14 19)(font "Arial" )(vertical))
|
|
(pt 8 176)
|
|
(drawing
|
|
(line (pt 8 176)(pt 8 124)(line_width 1))
|
|
(line (pt 4 124)(pt 4 98)(line_width 1))
|
|
(line (pt 12 124)(pt 12 98)(line_width 1))
|
|
(line (pt 12 124)(pt 4 124)(line_width 1))
|
|
(line (pt 4 98)(pt 8 94)(line_width 1))
|
|
(line (pt 8 94)(pt 12 98)(line_width 1))
|
|
(line (pt 12 98)(pt 8 94)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 320 -280 336 -104)
|
|
(text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical))
|
|
(text "Q7" (rect 2 5 14 19)(font "Arial" )(vertical))
|
|
(pt 8 176)
|
|
(drawing
|
|
(line (pt 8 176)(pt 8 124)(line_width 1))
|
|
(line (pt 4 124)(pt 4 98)(line_width 1))
|
|
(line (pt 12 124)(pt 12 98)(line_width 1))
|
|
(line (pt 12 124)(pt 4 124)(line_width 1))
|
|
(line (pt 4 98)(pt 8 94)(line_width 1))
|
|
(line (pt 8 94)(pt 12 98)(line_width 1))
|
|
(line (pt 12 98)(pt 8 94)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
)
|
|
(symbol
|
|
(rect 312 104 696 192)
|
|
(text "ALU_parallel_8b" (rect 5 0 98 14)(font "Arial" (font_size 8)))
|
|
(text "inst" (rect 8 72 25 84)(font "Arial" ))
|
|
(port
|
|
(pt 144 88)
|
|
(input)
|
|
(text "A0" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
|
|
(text "A0" (rect 136 48 150 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 144 88)(pt 144 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 272 88)
|
|
(input)
|
|
(text "B0" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
|
|
(text "B0" (rect 264 49 278 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 272 88)(pt 272 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 128 88)
|
|
(input)
|
|
(text "A1" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
|
|
(text "A1" (rect 120 48 134 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 128 88)(pt 128 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 256 88)
|
|
(input)
|
|
(text "B1" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
|
|
(text "B1" (rect 248 49 262 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 256 88)(pt 256 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 112 88)
|
|
(input)
|
|
(text "A2" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
|
|
(text "A2" (rect 104 48 118 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 112 88)(pt 112 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 88)
|
|
(input)
|
|
(text "B2" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
|
|
(text "B2" (rect 232 49 246 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 240 88)(pt 240 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 96 88)
|
|
(input)
|
|
(text "A3" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
|
|
(text "A3" (rect 88 48 102 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 96 88)(pt 96 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 224 88)
|
|
(input)
|
|
(text "B3" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
|
|
(text "B3" (rect 216 49 230 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 224 88)(pt 224 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 288 88)
|
|
(input)
|
|
(text "C0" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
|
|
(text "C0" (rect 280 49 294 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 288 88)(pt 288 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 304 88)
|
|
(input)
|
|
(text "M" (rect 0 -328 9 -314)(font "Arial" (font_size 8)))
|
|
(text "M" (rect 296 55 310 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 304 88)(pt 304 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 320 88)
|
|
(input)
|
|
(text "S3" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
|
|
(text "S3" (rect 312 49 326 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 320 88)(pt 320 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 336 88)
|
|
(input)
|
|
(text "S2" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
|
|
(text "S2" (rect 328 49 342 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 336 88)(pt 336 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 352 88)
|
|
(input)
|
|
(text "S1" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
|
|
(text "S1" (rect 344 49 358 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 352 88)(pt 352 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 368 88)
|
|
(input)
|
|
(text "S0" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
|
|
(text "S0" (rect 360 49 374 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 368 88)(pt 368 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 80 88)
|
|
(input)
|
|
(text "A4" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
|
|
(text "A4" (rect 72 48 86 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 80 88)(pt 80 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 88)
|
|
(input)
|
|
(text "B4" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
|
|
(text "B4" (rect 200 49 214 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 208 88)(pt 208 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 64 88)
|
|
(input)
|
|
(text "A5" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
|
|
(text "A5" (rect 56 48 70 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 64 88)(pt 64 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 192 88)
|
|
(input)
|
|
(text "B5" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
|
|
(text "B5" (rect 184 49 198 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 192 88)(pt 192 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 48 88)
|
|
(input)
|
|
(text "A6" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
|
|
(text "A6" (rect 40 48 54 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 48 88)(pt 48 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 176 88)
|
|
(input)
|
|
(text "B6" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
|
|
(text "B6" (rect 168 49 182 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 176 88)(pt 176 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 32 88)
|
|
(input)
|
|
(text "A7" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
|
|
(text "A7" (rect 24 48 38 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 32 88)(pt 32 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 160 88)
|
|
(input)
|
|
(text "B7" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
|
|
(text "B7" (rect 152 49 166 64)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 160 88)(pt 160 72)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 160 0)
|
|
(output)
|
|
(text "F0" (rect 168 0 182 14)(font "Arial" (font_size 8)))
|
|
(text "F0" (rect 152 24 166 38)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 160 0)(pt 160 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 144 0)
|
|
(output)
|
|
(text "F1" (rect 168 0 182 14)(font "Arial" (font_size 8)))
|
|
(text "F1" (rect 136 24 150 38)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 144 0)(pt 144 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 128 0)
|
|
(output)
|
|
(text "F2" (rect 168 0 182 14)(font "Arial" (font_size 8)))
|
|
(text "F2" (rect 120 24 134 38)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 128 0)(pt 128 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 112 0)
|
|
(output)
|
|
(text "F3" (rect 168 0 182 14)(font "Arial" (font_size 8)))
|
|
(text "F3" (rect 104 24 118 38)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 112 0)(pt 112 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 32 0)
|
|
(output)
|
|
(text "C8" (rect 168 0 183 14)(font "Arial" (font_size 8)))
|
|
(text "C8" (rect 24 24 38 39)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 32 0)(pt 32 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 96 0)
|
|
(output)
|
|
(text "F4" (rect 168 0 182 14)(font "Arial" (font_size 8)))
|
|
(text "F4" (rect 88 24 102 38)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 96 0)(pt 96 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 80 0)
|
|
(output)
|
|
(text "F5" (rect 168 0 182 14)(font "Arial" (font_size 8)))
|
|
(text "F5" (rect 72 24 86 38)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 80 0)(pt 80 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 64 0)
|
|
(output)
|
|
(text "F6" (rect 168 0 182 14)(font "Arial" (font_size 8)))
|
|
(text "F6" (rect 56 24 70 38)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 64 0)(pt 64 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 48 0)
|
|
(output)
|
|
(text "F7" (rect 168 0 182 14)(font "Arial" (font_size 8)))
|
|
(text "F7" (rect 40 24 54 38)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 48 0)(pt 48 16)(line_width 1))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 384 72)(line_width 1))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 200 328 424 424)
|
|
(text "register_8b" (rect 0 27 14 91)(font "Arial" (font_size 8))(vertical))
|
|
(text "R0" (rect 208 65 220 79)(font "Arial" )(vertical))
|
|
(port
|
|
(pt 32 96)
|
|
(input)
|
|
(text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8)))
|
|
(text "CLR" (rect 27 52 41 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 32 96)(pt 32 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 48 96)
|
|
(input)
|
|
(text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "CP" (rect 43 60 57 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 48 96)(pt 48 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 64 96)
|
|
(input)
|
|
(text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D7" (rect 59 60 73 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 64 96)(pt 64 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 80 96)
|
|
(input)
|
|
(text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D6" (rect 75 60 89 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 80 96)(pt 80 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 96 96)
|
|
(input)
|
|
(text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D5" (rect 91 60 105 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 96 96)(pt 96 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 112 96)
|
|
(input)
|
|
(text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D4" (rect 107 60 121 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 112 96)(pt 112 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 128 96)
|
|
(input)
|
|
(text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D3" (rect 123 60 137 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 128 96)(pt 128 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 144 96)
|
|
(input)
|
|
(text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D2" (rect 139 60 153 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 144 96)(pt 144 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 160 96)
|
|
(input)
|
|
(text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D1" (rect 155 60 169 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 160 96)(pt 160 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 176 96)
|
|
(input)
|
|
(text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D0" (rect 171 60 185 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 176 96)(pt 176 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 32 0)
|
|
(output)
|
|
(text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q7" (rect 27 21 41 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 32 0)(pt 32 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 48 0)
|
|
(output)
|
|
(text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q6" (rect 43 21 57 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 48 0)(pt 48 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 64 0)
|
|
(output)
|
|
(text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q5" (rect 59 21 73 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 64 0)(pt 64 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 80 0)
|
|
(output)
|
|
(text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q4" (rect 75 21 89 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 80 0)(pt 80 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 96 0)
|
|
(output)
|
|
(text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q3" (rect 91 21 105 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 96 0)(pt 96 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 112 0)
|
|
(output)
|
|
(text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q2" (rect 107 21 121 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 112 0)(pt 112 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 128 0)
|
|
(output)
|
|
(text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q1" (rect 123 21 137 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 128 0)(pt 128 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 144 0)
|
|
(output)
|
|
(text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q0" (rect 139 21 153 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 144 0)(pt 144 16)(line_width 1))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 208 80)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
)
|
|
(symbol
|
|
(rect 440 328 664 424)
|
|
(text "register_8b" (rect 0 27 14 91)(font "Arial" (font_size 8))(vertical))
|
|
(text "R1" (rect 208 65 220 79)(font "Arial" )(vertical))
|
|
(port
|
|
(pt 32 96)
|
|
(input)
|
|
(text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8)))
|
|
(text "CLR" (rect 27 52 41 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 32 96)(pt 32 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 48 96)
|
|
(input)
|
|
(text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "CP" (rect 43 60 57 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 48 96)(pt 48 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 64 96)
|
|
(input)
|
|
(text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D7" (rect 59 60 73 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 64 96)(pt 64 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 80 96)
|
|
(input)
|
|
(text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D6" (rect 75 60 89 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 80 96)(pt 80 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 96 96)
|
|
(input)
|
|
(text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D5" (rect 91 60 105 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 96 96)(pt 96 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 112 96)
|
|
(input)
|
|
(text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D4" (rect 107 60 121 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 112 96)(pt 112 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 128 96)
|
|
(input)
|
|
(text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D3" (rect 123 60 137 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 128 96)(pt 128 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 144 96)
|
|
(input)
|
|
(text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D2" (rect 139 60 153 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 144 96)(pt 144 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 160 96)
|
|
(input)
|
|
(text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D1" (rect 155 60 169 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 160 96)(pt 160 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 176 96)
|
|
(input)
|
|
(text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D0" (rect 171 60 185 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 176 96)(pt 176 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 32 0)
|
|
(output)
|
|
(text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q7" (rect 27 21 41 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 32 0)(pt 32 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 48 0)
|
|
(output)
|
|
(text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q6" (rect 43 21 57 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 48 0)(pt 48 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 64 0)
|
|
(output)
|
|
(text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q5" (rect 59 21 73 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 64 0)(pt 64 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 80 0)
|
|
(output)
|
|
(text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q4" (rect 75 21 89 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 80 0)(pt 80 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 96 0)
|
|
(output)
|
|
(text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q3" (rect 91 21 105 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 96 0)(pt 96 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 112 0)
|
|
(output)
|
|
(text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q2" (rect 107 21 121 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 112 0)(pt 112 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 128 0)
|
|
(output)
|
|
(text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q1" (rect 123 21 137 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 128 0)(pt 128 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 144 0)
|
|
(output)
|
|
(text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q0" (rect 139 21 153 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 144 0)(pt 144 16)(line_width 1))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 208 80)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
)
|
|
(symbol
|
|
(rect 296 -64 520 32)
|
|
(text "register_8b" (rect 0 27 14 91)(font "Arial" (font_size 8))(vertical))
|
|
(text "R2" (rect 208 65 220 79)(font "Arial" )(vertical))
|
|
(port
|
|
(pt 32 96)
|
|
(input)
|
|
(text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8)))
|
|
(text "CLR" (rect 27 52 41 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 32 96)(pt 32 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 48 96)
|
|
(input)
|
|
(text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "CP" (rect 43 60 57 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 48 96)(pt 48 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 64 96)
|
|
(input)
|
|
(text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D7" (rect 59 60 73 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 64 96)(pt 64 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 80 96)
|
|
(input)
|
|
(text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D6" (rect 75 60 89 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 80 96)(pt 80 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 96 96)
|
|
(input)
|
|
(text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D5" (rect 91 60 105 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 96 96)(pt 96 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 112 96)
|
|
(input)
|
|
(text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D4" (rect 107 60 121 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 112 96)(pt 112 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 128 96)
|
|
(input)
|
|
(text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D3" (rect 123 60 137 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 128 96)(pt 128 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 144 96)
|
|
(input)
|
|
(text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D2" (rect 139 60 153 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 144 96)(pt 144 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 160 96)
|
|
(input)
|
|
(text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D1" (rect 155 60 169 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 160 96)(pt 160 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 176 96)
|
|
(input)
|
|
(text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "D0" (rect 171 60 185 75)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 176 96)(pt 176 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 32 0)
|
|
(output)
|
|
(text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q7" (rect 27 21 41 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 32 0)(pt 32 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 48 0)
|
|
(output)
|
|
(text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q6" (rect 43 21 57 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 48 0)(pt 48 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 64 0)
|
|
(output)
|
|
(text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q5" (rect 59 21 73 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 64 0)(pt 64 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 80 0)
|
|
(output)
|
|
(text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q4" (rect 75 21 89 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 80 0)(pt 80 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 96 0)
|
|
(output)
|
|
(text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q3" (rect 91 21 105 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 96 0)(pt 96 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 112 0)
|
|
(output)
|
|
(text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q2" (rect 107 21 121 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 112 0)(pt 112 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 128 0)
|
|
(output)
|
|
(text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q1" (rect 123 21 137 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 128 0)(pt 128 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 144 0)
|
|
(output)
|
|
(text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
|
(text "Q0" (rect 139 21 153 37)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 144 0)(pt 144 16)(line_width 1))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 208 80)(line_width 1))
|
|
)
|
|
(rotate90)
|
|
)
|
|
(symbol
|
|
(rect 776 240 808 272)
|
|
(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
|
|
(text "inst3" (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 776 176 808 192)
|
|
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
|
|
(text "inst4" (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))
|
|
)
|
|
)
|
|
(connector
|
|
(pt 344 192)
|
|
(pt 344 200)
|
|
)
|
|
(connector
|
|
(pt 360 192)
|
|
(pt 360 208)
|
|
)
|
|
(connector
|
|
(pt 376 192)
|
|
(pt 376 216)
|
|
)
|
|
(connector
|
|
(pt 392 192)
|
|
(pt 392 224)
|
|
)
|
|
(connector
|
|
(pt 408 192)
|
|
(pt 408 232)
|
|
)
|
|
(connector
|
|
(pt 424 192)
|
|
(pt 424 240)
|
|
)
|
|
(connector
|
|
(pt 440 192)
|
|
(pt 440 248)
|
|
)
|
|
(connector
|
|
(pt 456 192)
|
|
(pt 456 256)
|
|
)
|
|
(connector
|
|
(pt 472 192)
|
|
(pt 472 328)
|
|
)
|
|
(connector
|
|
(pt 488 192)
|
|
(pt 488 328)
|
|
)
|
|
(connector
|
|
(pt 504 192)
|
|
(pt 504 328)
|
|
)
|
|
(connector
|
|
(pt 520 192)
|
|
(pt 520 328)
|
|
)
|
|
(connector
|
|
(pt 536 192)
|
|
(pt 536 328)
|
|
)
|
|
(connector
|
|
(pt 552 192)
|
|
(pt 552 328)
|
|
)
|
|
(connector
|
|
(pt 568 192)
|
|
(pt 568 328)
|
|
)
|
|
(connector
|
|
(pt 584 192)
|
|
(pt 584 328)
|
|
)
|
|
(connector
|
|
(pt 344 200)
|
|
(pt 232 200)
|
|
)
|
|
(connector
|
|
(pt 232 200)
|
|
(pt 232 328)
|
|
)
|
|
(connector
|
|
(pt 360 208)
|
|
(pt 248 208)
|
|
)
|
|
(connector
|
|
(pt 248 208)
|
|
(pt 248 328)
|
|
)
|
|
(connector
|
|
(pt 376 216)
|
|
(pt 264 216)
|
|
)
|
|
(connector
|
|
(pt 264 216)
|
|
(pt 264 328)
|
|
)
|
|
(connector
|
|
(pt 392 224)
|
|
(pt 280 224)
|
|
)
|
|
(connector
|
|
(pt 280 224)
|
|
(pt 280 328)
|
|
)
|
|
(connector
|
|
(pt 408 232)
|
|
(pt 296 232)
|
|
)
|
|
(connector
|
|
(pt 296 232)
|
|
(pt 296 328)
|
|
)
|
|
(connector
|
|
(pt 424 240)
|
|
(pt 312 240)
|
|
)
|
|
(connector
|
|
(pt 312 240)
|
|
(pt 312 328)
|
|
)
|
|
(connector
|
|
(pt 440 248)
|
|
(pt 328 248)
|
|
)
|
|
(connector
|
|
(pt 328 248)
|
|
(pt 328 328)
|
|
)
|
|
(connector
|
|
(pt 456 256)
|
|
(pt 344 256)
|
|
)
|
|
(connector
|
|
(pt 344 256)
|
|
(pt 344 328)
|
|
)
|
|
(connector
|
|
(pt 360 104)
|
|
(pt 360 32)
|
|
)
|
|
(connector
|
|
(pt 376 104)
|
|
(pt 376 32)
|
|
)
|
|
(connector
|
|
(pt 392 104)
|
|
(pt 392 32)
|
|
)
|
|
(connector
|
|
(pt 408 104)
|
|
(pt 408 32)
|
|
)
|
|
(connector
|
|
(pt 424 104)
|
|
(pt 424 32)
|
|
)
|
|
(connector
|
|
(pt 440 104)
|
|
(pt 440 32)
|
|
)
|
|
(connector
|
|
(pt 456 104)
|
|
(pt 456 32)
|
|
)
|
|
(connector
|
|
(pt 472 104)
|
|
(pt 472 32)
|
|
)
|
|
(connector
|
|
(pt 328 -64)
|
|
(pt 328 -104)
|
|
)
|
|
(connector
|
|
(pt 344 -64)
|
|
(pt 344 -104)
|
|
)
|
|
(connector
|
|
(pt 360 -64)
|
|
(pt 360 -104)
|
|
)
|
|
(connector
|
|
(pt 376 -64)
|
|
(pt 376 -104)
|
|
)
|
|
(connector
|
|
(pt 392 -64)
|
|
(pt 392 -104)
|
|
)
|
|
(connector
|
|
(pt 408 -64)
|
|
(pt 408 -104)
|
|
)
|
|
(connector
|
|
(pt 424 -64)
|
|
(pt 424 -104)
|
|
)
|
|
(connector
|
|
(pt 440 -64)
|
|
(pt 440 -104)
|
|
)
|
|
(connector
|
|
(pt 344 32)
|
|
(pt 344 72)
|
|
)
|
|
(connector
|
|
(pt 344 72)
|
|
(pt 728 72)
|
|
)
|
|
(connector
|
|
(pt 328 32)
|
|
(pt 328 88)
|
|
)
|
|
(connector
|
|
(pt 328 88)
|
|
(pt 712 88)
|
|
)
|
|
(connector
|
|
(pt 232 424)
|
|
(pt 232 440)
|
|
)
|
|
(connector
|
|
(pt 472 424)
|
|
(pt 472 440)
|
|
)
|
|
(connector
|
|
(pt 232 440)
|
|
(pt 472 440)
|
|
)
|
|
(connector
|
|
(pt 472 440)
|
|
(pt 712 440)
|
|
)
|
|
(connector
|
|
(pt 488 424)
|
|
(pt 488 456)
|
|
)
|
|
(connector
|
|
(pt 728 72)
|
|
(pt 728 440)
|
|
)
|
|
(connector
|
|
(pt 248 424)
|
|
(pt 248 472)
|
|
)
|
|
(connector
|
|
(pt 264 424)
|
|
(pt 264 488)
|
|
)
|
|
(connector
|
|
(pt 280 424)
|
|
(pt 280 488)
|
|
)
|
|
(connector
|
|
(pt 296 424)
|
|
(pt 296 488)
|
|
)
|
|
(connector
|
|
(pt 312 424)
|
|
(pt 312 488)
|
|
)
|
|
(connector
|
|
(pt 328 424)
|
|
(pt 328 488)
|
|
)
|
|
(connector
|
|
(pt 344 424)
|
|
(pt 344 488)
|
|
)
|
|
(connector
|
|
(pt 360 424)
|
|
(pt 360 488)
|
|
)
|
|
(connector
|
|
(pt 376 424)
|
|
(pt 376 488)
|
|
)
|
|
(connector
|
|
(pt 504 424)
|
|
(pt 504 488)
|
|
)
|
|
(connector
|
|
(pt 520 424)
|
|
(pt 520 488)
|
|
)
|
|
(connector
|
|
(pt 536 424)
|
|
(pt 536 488)
|
|
)
|
|
(connector
|
|
(pt 552 424)
|
|
(pt 552 488)
|
|
)
|
|
(connector
|
|
(pt 568 424)
|
|
(pt 568 488)
|
|
)
|
|
(connector
|
|
(pt 584 424)
|
|
(pt 584 488)
|
|
)
|
|
(connector
|
|
(pt 600 424)
|
|
(pt 600 488)
|
|
)
|
|
(connector
|
|
(pt 616 424)
|
|
(pt 616 488)
|
|
)
|
|
(connector
|
|
(pt 488 456)
|
|
(pt 776 456)
|
|
)
|
|
(connector
|
|
(pt 776 456)
|
|
(pt 776 488)
|
|
)
|
|
(connector
|
|
(pt 808 440)
|
|
(pt 808 488)
|
|
)
|
|
(connector
|
|
(pt 728 440)
|
|
(pt 808 440)
|
|
)
|
|
(connector
|
|
(pt 248 472)
|
|
(pt 744 472)
|
|
)
|
|
(connector
|
|
(pt 744 472)
|
|
(pt 744 488)
|
|
)
|
|
(connector
|
|
(pt 712 88)
|
|
(pt 712 440)
|
|
)
|
|
(connector
|
|
(pt 712 440)
|
|
(pt 712 488)
|
|
)
|
|
(connector
|
|
(pt 632 192)
|
|
(pt 632 208)
|
|
)
|
|
(connector
|
|
(pt 792 208)
|
|
(pt 792 192)
|
|
)
|
|
(connector
|
|
(pt 680 192)
|
|
(pt 680 208)
|
|
)
|
|
(connector
|
|
(pt 632 208)
|
|
(pt 680 208)
|
|
)
|
|
(connector
|
|
(pt 680 208)
|
|
(pt 792 208)
|
|
)
|
|
(connector
|
|
(pt 600 192)
|
|
(pt 600 224)
|
|
)
|
|
(connector
|
|
(pt 616 192)
|
|
(pt 616 224)
|
|
)
|
|
(connector
|
|
(pt 648 192)
|
|
(pt 648 224)
|
|
)
|
|
(connector
|
|
(pt 664 192)
|
|
(pt 664 224)
|
|
)
|
|
(connector
|
|
(pt 600 224)
|
|
(pt 616 224)
|
|
)
|
|
(connector
|
|
(pt 616 224)
|
|
(pt 648 224)
|
|
)
|
|
(connector
|
|
(pt 792 224)
|
|
(pt 792 240)
|
|
)
|
|
(connector
|
|
(pt 648 224)
|
|
(pt 664 224)
|
|
)
|
|
(connector
|
|
(pt 664 224)
|
|
(pt 792 224)
|
|
)
|
|
(junction (pt 472 440))
|
|
(junction (pt 712 440))
|
|
(junction (pt 680 208))
|
|
(junction (pt 616 224))
|
|
(junction (pt 648 224))
|
|
(junction (pt 664 224))
|