ELEC40006-P1-CW/alu.bsf

135 lines
4 KiB
Plaintext
Raw Normal View History

2020-06-04 15:33:27 +00:00
/*
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.
*/
/*
2020-06-14 14:27:44 +00:00
Copyright (C) 2018 Intel Corporation. All rights reserved.
2020-06-04 15:33:27 +00:00
Your use of Intel Corporation's design tools, logic functions
2020-06-14 14:27:44 +00:00
and other software and tools, and its AMPP partner logic
2020-06-04 15:33:27 +00:00
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 Intel Program License
Subscription Agreement, the Intel Quartus Prime License Agreement,
the Intel FPGA IP License Agreement, or other applicable license
agreement, including, without limitation, that your use is for
the sole purpose of programming logic devices manufactured by
Intel and sold by Intel or its authorized distributors. Please
2020-06-14 14:27:44 +00:00
refer to the applicable agreement for further details.
2020-06-04 15:33:27 +00:00
*/
(header "symbol" (version "1.1"))
(symbol
2020-06-14 14:27:44 +00:00
(rect 16 16 240 192)
2020-06-04 15:33:27 +00:00
(text "alu" (rect 5 0 15 12)(font "Arial" ))
2020-06-14 14:27:44 +00:00
(text "inst" (rect 8 160 20 172)(font "Arial" ))
2020-06-04 15:33:27 +00:00
(port
(pt 0 32)
(input)
(text "enable" (rect 0 0 24 12)(font "Arial" ))
(text "enable" (rect 21 27 45 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "Rs1[15..0]" (rect 0 0 40 12)(font "Arial" ))
(text "Rs1[15..0]" (rect 21 43 61 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "Rs2[15..0]" (rect 0 0 41 12)(font "Arial" ))
(text "Rs2[15..0]" (rect 21 59 62 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "Rd[15..0]" (rect 0 0 36 12)(font "Arial" ))
(text "Rd[15..0]" (rect 21 75 57 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
2020-06-14 14:27:44 +00:00
(text "instr[15..0]" (rect 0 0 40 12)(font "Arial" ))
(text "instr[15..0]" (rect 21 91 61 103)(font "Arial" ))
2020-06-04 15:33:27 +00:00
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "mulresult[31..0]" (rect 0 0 59 12)(font "Arial" ))
(text "mulresult[31..0]" (rect 21 107 80 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "exec2" (rect 0 0 23 12)(font "Arial" ))
(text "exec2" (rect 21 123 44 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
2020-06-08 11:10:14 +00:00
(port
(pt 0 144)
(input)
(text "stackout[15..0]" (rect 0 0 56 12)(font "Arial" ))
(text "stackout[15..0]" (rect 21 139 77 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 3))
)
2020-06-04 15:33:27 +00:00
(port
2020-06-14 14:27:44 +00:00
(pt 224 32)
2020-06-04 15:33:27 +00:00
(output)
(text "mul1[15..0]" (rect 0 0 41 12)(font "Arial" ))
2020-06-14 14:27:44 +00:00
(text "mul1[15..0]" (rect 162 27 203 39)(font "Arial" ))
(line (pt 224 32)(pt 208 32)(line_width 3))
2020-06-04 15:33:27 +00:00
)
(port
2020-06-14 14:27:44 +00:00
(pt 224 48)
2020-06-04 15:33:27 +00:00
(output)
(text "mul2[15..0]" (rect 0 0 42 12)(font "Arial" ))
2020-06-14 14:27:44 +00:00
(text "mul2[15..0]" (rect 161 43 203 55)(font "Arial" ))
(line (pt 224 48)(pt 208 48)(line_width 3))
2020-06-04 15:33:27 +00:00
)
(port
2020-06-14 14:27:44 +00:00
(pt 224 64)
2020-06-04 15:33:27 +00:00
(output)
(text "Rout[15..0]" (rect 0 0 43 12)(font "Arial" ))
2020-06-14 14:27:44 +00:00
(text "Rout[15..0]" (rect 160 59 203 71)(font "Arial" ))
(line (pt 224 64)(pt 208 64)(line_width 3))
2020-06-04 15:33:27 +00:00
)
(port
2020-06-14 14:27:44 +00:00
(pt 224 80)
2020-06-04 15:33:27 +00:00
(output)
(text "jump" (rect 0 0 18 12)(font "Arial" ))
2020-06-14 14:27:44 +00:00
(text "jump" (rect 185 75 203 87)(font "Arial" ))
(line (pt 224 80)(pt 208 80)(line_width 1))
2020-06-04 15:33:27 +00:00
)
(port
2020-06-14 14:27:44 +00:00
(pt 224 96)
2020-06-04 15:33:27 +00:00
(output)
(text "carry" (rect 0 0 22 12)(font "Arial" ))
2020-06-14 14:27:44 +00:00
(text "carry" (rect 181 91 203 103)(font "Arial" ))
(line (pt 224 96)(pt 208 96)(line_width 1))
)
(port
2020-06-14 14:27:44 +00:00
(pt 224 112)
(output)
(text "jumpflags[7..0]" (rect 0 0 57 12)(font "Arial" ))
2020-06-14 14:27:44 +00:00
(text "jumpflags[7..0]" (rect 146 107 203 119)(font "Arial" ))
(line (pt 224 112)(pt 208 112)(line_width 3))
)
(port
2020-06-14 14:27:44 +00:00
(pt 224 128)
(output)
(text "memaddr[10..0]" (rect 0 0 62 12)(font "Arial" ))
2020-06-14 14:27:44 +00:00
(text "memaddr[10..0]" (rect 141 123 203 135)(font "Arial" ))
(line (pt 224 128)(pt 208 128)(line_width 3))
2020-06-04 15:33:27 +00:00
)
(drawing
2020-06-14 14:27:44 +00:00
(rectangle (rect 16 16 208 160)(line_width 1))
2020-06-04 15:33:27 +00:00
)
)