64 lines
2.2 KiB
Plaintext
64 lines
2.2 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-2007 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 152 176)
|
||
|
(text "ALU" (rect 5 0 29 14)(font "Arial" (font_size 8)))
|
||
|
(text "inst" (rect 8 96 25 108)(font "Arial" ))
|
||
|
(port
|
||
|
(pt 0 32)
|
||
|
(input)
|
||
|
(text "a[31..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
|
||
|
(text "A" (rect 8 16 17 30)(font "Arial" (font_size 8)))
|
||
|
(line (pt 0 32)(pt 24 32)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 0 80)
|
||
|
(input)
|
||
|
(text "b[31..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
|
||
|
(text "B" (rect 8 64 16 78)(font "Arial" (font_size 8)))
|
||
|
(line (pt 0 80)(pt 24 80)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 48 0)
|
||
|
(input)
|
||
|
(text "op[5..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
|
||
|
(text "OP" (rect 56 8 70 24)(font "Arial" (font_size 8))(vertical))
|
||
|
(line (pt 48 0)(pt 48 32)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 88 56)
|
||
|
(output)
|
||
|
(text "s[31..0]" (rect -48 0 -6 14)(font "Arial" (font_size 8)))
|
||
|
(text "S" (rect 72 40 80 54)(font "Arial" (font_size 8)))
|
||
|
(line (pt 88 56)(pt 64 56)(line_width 3))
|
||
|
)
|
||
|
(drawing
|
||
|
(line (pt 24 48)(pt 40 56)(line_width 1))
|
||
|
(line (pt 40 56)(pt 24 64)(line_width 1))
|
||
|
(line (pt 24 64)(pt 24 96)(line_width 1))
|
||
|
(line (pt 24 48)(pt 24 16)(line_width 1))
|
||
|
(line (pt 64 72)(pt 64 40)(line_width 1))
|
||
|
(line (pt 64 40)(pt 24 16)(line_width 1))
|
||
|
(line (pt 64 72)(pt 24 96)(line_width 1))
|
||
|
)
|
||
|
)
|