ELEC40006-P1-CW/alu.bsf

143 lines
4.2 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.
*/
/*
Copyright (C) 2019 Intel Corporation. All rights reserved.
2020-06-04 15:33:27 +00:00
Your use of Intel Corporation's design tools, logic functions
and other software and tools, and any 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
refer to the applicable agreement for further details, at
https://fpgasoftware.intel.com/eula.
2020-06-04 15:33:27 +00:00
*/
(header "symbol" (version "1.1"))
(symbol
(rect 16 16 248 224)
2020-06-04 15:33:27 +00:00
(text "alu" (rect 5 0 15 12)(font "Arial" ))
(text "inst" (rect 8 192 20 204)(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)
(text "opcode[5..0]" (rect 0 0 48 12)(font "Arial" ))
(text "opcode[5..0]" (rect 21 91 69 103)(font "Arial" ))
(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
(pt 0 160)
(input)
(text "memdatain[15..0]" (rect 0 0 67 12)(font "Arial" ))
(text "memdatain[15..0]" (rect 21 155 88 167)(font "Arial" ))
(line (pt 0 160)(pt 16 160)(line_width 3))
)
(port
(pt 232 32)
2020-06-04 15:33:27 +00:00
(output)
(text "mul1[15..0]" (rect 0 0 41 12)(font "Arial" ))
(text "mul1[15..0]" (rect 170 27 211 39)(font "Arial" ))
(line (pt 232 32)(pt 216 32)(line_width 3))
2020-06-04 15:33:27 +00:00
)
(port
(pt 232 48)
2020-06-04 15:33:27 +00:00
(output)
(text "mul2[15..0]" (rect 0 0 42 12)(font "Arial" ))
(text "mul2[15..0]" (rect 169 43 211 55)(font "Arial" ))
(line (pt 232 48)(pt 216 48)(line_width 3))
2020-06-04 15:33:27 +00:00
)
(port
(pt 232 64)
2020-06-04 15:33:27 +00:00
(output)
(text "Rout[15..0]" (rect 0 0 43 12)(font "Arial" ))
(text "Rout[15..0]" (rect 168 59 211 71)(font "Arial" ))
(line (pt 232 64)(pt 216 64)(line_width 3))
2020-06-04 15:33:27 +00:00
)
(port
(pt 232 80)
2020-06-04 15:33:27 +00:00
(output)
(text "jump" (rect 0 0 18 12)(font "Arial" ))
(text "jump" (rect 193 75 211 87)(font "Arial" ))
(line (pt 232 80)(pt 216 80)(line_width 1))
2020-06-04 15:33:27 +00:00
)
(port
(pt 232 96)
2020-06-04 15:33:27 +00:00
(output)
(text "carry" (rect 0 0 22 12)(font "Arial" ))
(text "carry" (rect 189 91 211 103)(font "Arial" ))
(line (pt 232 96)(pt 216 96)(line_width 1))
)
(port
(pt 232 112)
(output)
(text "jumpflags[7..0]" (rect 0 0 57 12)(font "Arial" ))
(text "jumpflags[7..0]" (rect 154 107 211 119)(font "Arial" ))
(line (pt 232 112)(pt 216 112)(line_width 3))
)
(port
(pt 232 128)
(output)
(text "memaddr[10..0]" (rect 0 0 62 12)(font "Arial" ))
(text "memaddr[10..0]" (rect 149 123 211 135)(font "Arial" ))
(line (pt 232 128)(pt 216 128)(line_width 3))
2020-06-04 15:33:27 +00:00
)
(drawing
(rectangle (rect 16 16 216 192)(line_width 1))
2020-06-04 15:33:27 +00:00
)
)