87 lines
2.8 KiB
Plaintext
87 lines
2.8 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-2013 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.2"))
|
||
|
|
(symbol
|
||
|
|
(rect 16 16 200 144)
|
||
|
|
(text "alu_shifter_core" (rect 5 0 98 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "inst" (rect 8 112 25 124)(font "Arial" ))
|
||
|
|
(port
|
||
|
|
(pt 0 32)
|
||
|
|
(input)
|
||
|
|
(text "db[7..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "db[7..0]" (rect 21 27 63 41)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 32)(pt 16 32)(line_width 3))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 48)
|
||
|
|
(input)
|
||
|
|
(text "shift_in" (rect 0 0 41 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "shift_in" (rect 21 43 62 57)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 48)(pt 16 48))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 64)
|
||
|
|
(input)
|
||
|
|
(text "shift_left" (rect 0 0 49 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "shift_left" (rect 21 59 70 73)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 64)(pt 16 64))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 80)
|
||
|
|
(input)
|
||
|
|
(text "shift_right" (rect 0 0 56 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "shift_right" (rect 21 75 77 89)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 80)(pt 16 80))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 184 32)
|
||
|
|
(output)
|
||
|
|
(text "shift_db0" (rect 0 0 53 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "shift_db0" (rect 110 27 163 41)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 184 32)(pt 168 32))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 184 48)
|
||
|
|
(output)
|
||
|
|
(text "shift_db7" (rect 0 0 53 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "shift_db7" (rect 110 43 163 57)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 184 48)(pt 168 48))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 184 64)
|
||
|
|
(output)
|
||
|
|
(text "out_low[3..0]" (rect 0 0 74 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "out_low[3..0]" (rect 89 59 163 73)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 184 64)(pt 168 64)(line_width 3))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 184 80)
|
||
|
|
(output)
|
||
|
|
(text "out_high[3..0]" (rect 0 0 76 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "out_high[3..0]" (rect 87 75 163 89)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 184 80)(pt 168 80)(line_width 3))
|
||
|
|
)
|
||
|
|
(drawing
|
||
|
|
(rectangle (rect 16 16 168 112))
|
||
|
|
)
|
||
|
|
(fill (color 217 255 255))
|
||
|
|
)
|