191 行
6.0 KiB
Plaintext
191 行
6.0 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.
|
|
*/
|
|
(header "symbol" (version "1.1"))
|
|
(symbol
|
|
(rect 64 64 304 192)
|
|
(text "shiftable_register" (rect 5 0 104 14)(font "Arial" (font_size 8)))
|
|
(text "inst" (rect 8 112 25 124)(font "Arial" ))
|
|
(port
|
|
(pt 48 128)
|
|
(input)
|
|
(text "D7" (rect 0 -160 15 -146)(font "Arial" (font_size 8)))
|
|
(text "D7" (rect 40 89 54 104)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 48 128)(pt 48 112)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 64 128)
|
|
(input)
|
|
(text "D6" (rect 0 -160 15 -146)(font "Arial" (font_size 8)))
|
|
(text "D6" (rect 56 89 70 104)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 64 128)(pt 64 112)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 80 128)
|
|
(input)
|
|
(text "D5" (rect 0 -160 15 -146)(font "Arial" (font_size 8)))
|
|
(text "D5" (rect 72 89 86 104)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 80 128)(pt 80 112)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 96 128)
|
|
(input)
|
|
(text "D4" (rect 0 -160 15 -146)(font "Arial" (font_size 8)))
|
|
(text "D4" (rect 88 89 102 104)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 96 128)(pt 96 112)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 112 128)
|
|
(input)
|
|
(text "D3" (rect 0 -160 15 -146)(font "Arial" (font_size 8)))
|
|
(text "D3" (rect 104 89 118 104)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 112 128)(pt 112 112)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 128 128)
|
|
(input)
|
|
(text "D2" (rect 0 -160 15 -146)(font "Arial" (font_size 8)))
|
|
(text "D2" (rect 120 89 134 104)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 128 128)(pt 128 112)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 144 128)
|
|
(input)
|
|
(text "D1" (rect 0 -160 15 -146)(font "Arial" (font_size 8)))
|
|
(text "D1" (rect 136 89 150 104)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 144 128)(pt 144 112)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 160 128)
|
|
(input)
|
|
(text "D0" (rect 0 -160 15 -146)(font "Arial" (font_size 8)))
|
|
(text "D0" (rect 152 89 166 104)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 160 128)(pt 160 112)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 32)
|
|
(input)
|
|
(text "LM" (rect -144 0 -128 14)(font "Arial" (font_size 8)))
|
|
(text "LM" (rect 200 24 216 38)(font "Arial" (font_size 8)))
|
|
(line (pt 224 32)(pt 240 32)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 48)
|
|
(input)
|
|
(text "DM" (rect -144 0 -127 14)(font "Arial" (font_size 8)))
|
|
(text "DM" (rect 199 40 216 54)(font "Arial" (font_size 8)))
|
|
(line (pt 224 48)(pt 240 48)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 64)
|
|
(input)
|
|
(text "RM" (rect -144 0 -127 14)(font "Arial" (font_size 8)))
|
|
(text "RM" (rect 199 56 216 70)(font "Arial" (font_size 8)))
|
|
(line (pt 224 64)(pt 240 64)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 80)
|
|
(input)
|
|
(text "CK" (rect -144 0 -128 14)(font "Arial" (font_size 8)))
|
|
(text "CK" (rect 200 72 216 86)(font "Arial" (font_size 8)))
|
|
(line (pt 224 80)(pt 240 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 96)
|
|
(input)
|
|
(text "CLR" (rect -144 0 -121 14)(font "Arial" (font_size 8)))
|
|
(text "CLR" (rect 193 88 216 102)(font "Arial" (font_size 8)))
|
|
(line (pt 224 96)(pt 240 96)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 176 128)
|
|
(input)
|
|
(text "L" (rect 0 -160 7 -146)(font "Arial" (font_size 8)))
|
|
(text "L" (rect 168 97 182 104)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 176 128)(pt 176 112)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 32 128)
|
|
(input)
|
|
(text "R" (rect 0 -160 8 -146)(font "Arial" (font_size 8)))
|
|
(text "R" (rect 24 96 38 104)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 32 128)(pt 32 112)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 48 0)
|
|
(output)
|
|
(text "Y7" (rect 288 0 304 14)(font "Arial" (font_size 8)))
|
|
(text "Y7" (rect 40 24 54 40)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 48 0)(pt 48 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 64 0)
|
|
(output)
|
|
(text "Y6" (rect 288 0 304 14)(font "Arial" (font_size 8)))
|
|
(text "Y6" (rect 56 24 70 40)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 64 0)(pt 64 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 80 0)
|
|
(output)
|
|
(text "Y5" (rect 288 0 304 14)(font "Arial" (font_size 8)))
|
|
(text "Y5" (rect 72 24 86 40)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 80 0)(pt 80 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 96 0)
|
|
(output)
|
|
(text "Y4" (rect 288 0 304 14)(font "Arial" (font_size 8)))
|
|
(text "Y4" (rect 88 24 102 40)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 96 0)(pt 96 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 112 0)
|
|
(output)
|
|
(text "Y3" (rect 288 0 304 14)(font "Arial" (font_size 8)))
|
|
(text "Y3" (rect 104 24 118 40)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 112 0)(pt 112 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 128 0)
|
|
(output)
|
|
(text "Y2" (rect 288 0 304 14)(font "Arial" (font_size 8)))
|
|
(text "Y2" (rect 120 24 134 40)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 128 0)(pt 128 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 144 0)
|
|
(output)
|
|
(text "Y1" (rect 288 0 304 14)(font "Arial" (font_size 8)))
|
|
(text "Y1" (rect 136 24 150 40)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 144 0)(pt 144 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 160 0)
|
|
(output)
|
|
(text "Y0" (rect 288 0 304 14)(font "Arial" (font_size 8)))
|
|
(text "Y0" (rect 152 24 166 40)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 160 0)(pt 160 16)(line_width 1))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 224 112)(line_width 1))
|
|
)
|
|
)
|