86 lines
2.6 KiB
Plaintext
86 lines
2.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-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 136 176)
|
|
(text "alu_slice" (rect 5 0 54 14)(font "Arial" (font_size 8)))
|
|
(text "inst" (rect 8 144 25 156)(font "Arial" ))
|
|
(port
|
|
(pt 0 32)
|
|
(input)
|
|
(text "cy_in" (rect 0 0 30 14)(font "Arial" (font_size 8)))
|
|
(text "cy_in" (rect 21 27 51 41)(font "Arial" (font_size 8)))
|
|
(line (pt 0 32)(pt 16 32))
|
|
)
|
|
(port
|
|
(pt 0 48)
|
|
(input)
|
|
(text "op1" (rect 0 0 21 14)(font "Arial" (font_size 8)))
|
|
(text "op1" (rect 21 43 42 57)(font "Arial" (font_size 8)))
|
|
(line (pt 0 48)(pt 16 48))
|
|
)
|
|
(port
|
|
(pt 0 64)
|
|
(input)
|
|
(text "op2" (rect 0 0 21 14)(font "Arial" (font_size 8)))
|
|
(text "op2" (rect 21 59 42 73)(font "Arial" (font_size 8)))
|
|
(line (pt 0 64)(pt 16 64))
|
|
)
|
|
(port
|
|
(pt 0 80)
|
|
(input)
|
|
(text "S" (rect 0 0 8 14)(font "Arial" (font_size 8)))
|
|
(text "S" (rect 21 75 29 89)(font "Arial" (font_size 8)))
|
|
(line (pt 0 80)(pt 16 80))
|
|
)
|
|
(port
|
|
(pt 0 96)
|
|
(input)
|
|
(text "V" (rect 0 0 9 14)(font "Arial" (font_size 8)))
|
|
(text "V" (rect 21 91 30 105)(font "Arial" (font_size 8)))
|
|
(line (pt 0 96)(pt 16 96))
|
|
)
|
|
(port
|
|
(pt 0 112)
|
|
(input)
|
|
(text "R" (rect 0 0 8 14)(font "Arial" (font_size 8)))
|
|
(text "R" (rect 21 107 29 121)(font "Arial" (font_size 8)))
|
|
(line (pt 0 112)(pt 16 112))
|
|
)
|
|
(port
|
|
(pt 120 32)
|
|
(output)
|
|
(text "result" (rect 0 0 31 14)(font "Arial" (font_size 8)))
|
|
(text "result" (rect 68 27 99 41)(font "Arial" (font_size 8)))
|
|
(line (pt 120 32)(pt 104 32))
|
|
)
|
|
(port
|
|
(pt 120 48)
|
|
(output)
|
|
(text "cy_out" (rect 0 0 38 14)(font "Arial" (font_size 8)))
|
|
(text "cy_out" (rect 61 43 99 57)(font "Arial" (font_size 8)))
|
|
(line (pt 120 48)(pt 104 48))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 104 144))
|
|
)
|
|
)
|