177 行
5.6 KiB
Plaintext
177 行
5.6 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 264 224)
|
|
(text "shiftable_register" (rect 5 0 104 14)(font "Arial" (font_size 8)))
|
|
(text "inst" (rect 8 144 25 156)(font "Arial" ))
|
|
(port
|
|
(pt 32 160)
|
|
(input)
|
|
(text "D7" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
|
|
(text "D7" (rect 24 121 38 136)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 32 160)(pt 32 144)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 48 160)
|
|
(input)
|
|
(text "D6" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
|
|
(text "D6" (rect 40 121 54 136)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 48 160)(pt 48 144)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 64 160)
|
|
(input)
|
|
(text "D5" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
|
|
(text "D5" (rect 56 121 70 136)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 64 160)(pt 64 144)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 80 160)
|
|
(input)
|
|
(text "D4" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
|
|
(text "D4" (rect 72 121 86 136)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 80 160)(pt 80 144)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 96 160)
|
|
(input)
|
|
(text "D3" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
|
|
(text "D3" (rect 88 121 102 136)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 96 160)(pt 96 144)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 112 160)
|
|
(input)
|
|
(text "D2" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
|
|
(text "D2" (rect 104 121 118 136)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 112 160)(pt 112 144)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 128 160)
|
|
(input)
|
|
(text "D1" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
|
|
(text "D1" (rect 120 121 134 136)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 128 160)(pt 128 144)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 144 160)
|
|
(input)
|
|
(text "D0" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
|
|
(text "D0" (rect 136 121 150 136)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 144 160)(pt 144 144)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 200 48)
|
|
(input)
|
|
(text "LM" (rect -120 0 -104 14)(font "Arial" (font_size 8)))
|
|
(text "LM" (rect 160 40 176 54)(font "Arial" (font_size 8)))
|
|
(line (pt 200 48)(pt 184 48)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 200 64)
|
|
(input)
|
|
(text "DM" (rect -120 0 -103 14)(font "Arial" (font_size 8)))
|
|
(text "DM" (rect 159 56 176 70)(font "Arial" (font_size 8)))
|
|
(line (pt 184 64)(pt 200 64)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 200 80)
|
|
(input)
|
|
(text "RM" (rect -120 0 -103 14)(font "Arial" (font_size 8)))
|
|
(text "RM" (rect 159 72 176 86)(font "Arial" (font_size 8)))
|
|
(line (pt 200 80)(pt 184 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 200 96)
|
|
(input)
|
|
(text "CK" (rect -120 0 -104 14)(font "Arial" (font_size 8)))
|
|
(text "CK" (rect 160 88 176 102)(font "Arial" (font_size 8)))
|
|
(line (pt 184 96)(pt 200 96)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 200 112)
|
|
(input)
|
|
(text "CLR" (rect -120 0 -97 14)(font "Arial" (font_size 8)))
|
|
(text "CLR" (rect 153 104 176 118)(font "Arial" (font_size 8)))
|
|
(line (pt 184 112)(pt 200 112)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 32 0)
|
|
(output)
|
|
(text "Y7" (rect 224 0 240 14)(font "Arial" (font_size 8)))
|
|
(text "Y7" (rect 24 24 38 40)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 32 0)(pt 32 16)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 48 0)
|
|
(output)
|
|
(text "Y6" (rect 224 0 240 14)(font "Arial" (font_size 8)))
|
|
(text "Y6" (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 "Y5" (rect 224 0 240 14)(font "Arial" (font_size 8)))
|
|
(text "Y5" (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 "Y4" (rect 224 0 240 14)(font "Arial" (font_size 8)))
|
|
(text "Y4" (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 "Y3" (rect 224 0 240 14)(font "Arial" (font_size 8)))
|
|
(text "Y3" (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 "Y2" (rect 224 0 240 14)(font "Arial" (font_size 8)))
|
|
(text "Y2" (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 "Y1" (rect 224 0 240 14)(font "Arial" (font_size 8)))
|
|
(text "Y1" (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 "Y0" (rect 224 0 240 14)(font "Arial" (font_size 8)))
|
|
(text "Y0" (rect 136 24 150 40)(font "Arial" (font_size 8))(vertical))
|
|
(line (pt 144 0)(pt 144 16)(line_width 1))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 184 144)(line_width 1))
|
|
)
|
|
)
|