mirror of
https://github.com/supleed2/ELEC40006-P1-CW.git
synced 2024-11-10 02:05:48 +00:00
212 lines
6 KiB
Plaintext
212 lines
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) 2018 Intel Corporation. All rights reserved.
|
|
Your use of Intel 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 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.
|
|
*/
|
|
(header "symbol" (version "1.1"))
|
|
(symbol
|
|
(rect 16 16 224 416)
|
|
(text "DECODE" (rect 5 0 47 12)(font "Arial" ))
|
|
(text "inst" (rect 8 384 20 396)(font "Arial" ))
|
|
(port
|
|
(pt 0 32)
|
|
(input)
|
|
(text "instr[15..0]" (rect 0 0 40 12)(font "Arial" ))
|
|
(text "instr[15..0]" (rect 21 27 61 39)(font "Arial" ))
|
|
(line (pt 0 32)(pt 16 32)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 0 48)
|
|
(input)
|
|
(text "FETCH" (rect 0 0 33 12)(font "Arial" ))
|
|
(text "FETCH" (rect 21 43 54 55)(font "Arial" ))
|
|
(line (pt 0 48)(pt 16 48)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 64)
|
|
(input)
|
|
(text "EXEC1" (rect 0 0 30 12)(font "Arial" ))
|
|
(text "EXEC1" (rect 21 59 51 71)(font "Arial" ))
|
|
(line (pt 0 64)(pt 16 64)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 80)
|
|
(input)
|
|
(text "EXEC2" (rect 0 0 31 12)(font "Arial" ))
|
|
(text "EXEC2" (rect 21 75 52 87)(font "Arial" ))
|
|
(line (pt 0 80)(pt 16 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 96)
|
|
(input)
|
|
(text "COND_result" (rect 0 0 55 12)(font "Arial" ))
|
|
(text "COND_result" (rect 21 91 76 103)(font "Arial" ))
|
|
(line (pt 0 96)(pt 16 96)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 32)
|
|
(output)
|
|
(text "R0_count" (rect 0 0 40 12)(font "Arial" ))
|
|
(text "R0_count" (rect 147 27 187 39)(font "Arial" ))
|
|
(line (pt 208 32)(pt 192 32)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 48)
|
|
(output)
|
|
(text "R0_en" (rect 0 0 28 12)(font "Arial" ))
|
|
(text "R0_en" (rect 159 43 187 55)(font "Arial" ))
|
|
(line (pt 208 48)(pt 192 48)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 64)
|
|
(output)
|
|
(text "R1_en" (rect 0 0 27 12)(font "Arial" ))
|
|
(text "R1_en" (rect 160 59 187 71)(font "Arial" ))
|
|
(line (pt 208 64)(pt 192 64)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 80)
|
|
(output)
|
|
(text "R2_en" (rect 0 0 28 12)(font "Arial" ))
|
|
(text "R2_en" (rect 159 75 187 87)(font "Arial" ))
|
|
(line (pt 208 80)(pt 192 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 96)
|
|
(output)
|
|
(text "R3_en" (rect 0 0 28 12)(font "Arial" ))
|
|
(text "R3_en" (rect 159 91 187 103)(font "Arial" ))
|
|
(line (pt 208 96)(pt 192 96)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 112)
|
|
(output)
|
|
(text "R4_en" (rect 0 0 29 12)(font "Arial" ))
|
|
(text "R4_en" (rect 158 107 187 119)(font "Arial" ))
|
|
(line (pt 208 112)(pt 192 112)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 128)
|
|
(output)
|
|
(text "R5_en" (rect 0 0 28 12)(font "Arial" ))
|
|
(text "R5_en" (rect 159 123 187 135)(font "Arial" ))
|
|
(line (pt 208 128)(pt 192 128)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 144)
|
|
(output)
|
|
(text "R6_en" (rect 0 0 28 12)(font "Arial" ))
|
|
(text "R6_en" (rect 159 139 187 151)(font "Arial" ))
|
|
(line (pt 208 144)(pt 192 144)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 160)
|
|
(output)
|
|
(text "R7_en" (rect 0 0 28 12)(font "Arial" ))
|
|
(text "R7_en" (rect 159 155 187 167)(font "Arial" ))
|
|
(line (pt 208 160)(pt 192 160)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 176)
|
|
(output)
|
|
(text "s1[2..0]" (rect 0 0 28 12)(font "Arial" ))
|
|
(text "s1[2..0]" (rect 159 171 187 183)(font "Arial" ))
|
|
(line (pt 208 176)(pt 192 176)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 208 192)
|
|
(output)
|
|
(text "s2[2..0]" (rect 0 0 29 12)(font "Arial" ))
|
|
(text "s2[2..0]" (rect 158 187 187 199)(font "Arial" ))
|
|
(line (pt 208 192)(pt 192 192)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 208 208)
|
|
(output)
|
|
(text "s3[2..0]" (rect 0 0 29 12)(font "Arial" ))
|
|
(text "s3[2..0]" (rect 158 203 187 215)(font "Arial" ))
|
|
(line (pt 208 208)(pt 192 208)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 208 224)
|
|
(output)
|
|
(text "s4" (rect 0 0 10 12)(font "Arial" ))
|
|
(text "s4" (rect 177 219 187 231)(font "Arial" ))
|
|
(line (pt 208 224)(pt 192 224)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 240)
|
|
(output)
|
|
(text "RAMd_wren" (rect 0 0 54 12)(font "Arial" ))
|
|
(text "RAMd_wren" (rect 133 235 187 247)(font "Arial" ))
|
|
(line (pt 208 240)(pt 192 240)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 256)
|
|
(output)
|
|
(text "RAMd_en" (rect 0 0 44 12)(font "Arial" ))
|
|
(text "RAMd_en" (rect 143 251 187 263)(font "Arial" ))
|
|
(line (pt 208 256)(pt 192 256)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 272)
|
|
(output)
|
|
(text "RAMi_en" (rect 0 0 41 12)(font "Arial" ))
|
|
(text "RAMi_en" (rect 146 267 187 279)(font "Arial" ))
|
|
(line (pt 208 272)(pt 192 272)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 288)
|
|
(output)
|
|
(text "ALU_en" (rect 0 0 36 12)(font "Arial" ))
|
|
(text "ALU_en" (rect 151 283 187 295)(font "Arial" ))
|
|
(line (pt 208 288)(pt 192 288)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 304)
|
|
(output)
|
|
(text "E2" (rect 0 0 11 12)(font "Arial" ))
|
|
(text "E2" (rect 176 299 187 311)(font "Arial" ))
|
|
(line (pt 208 304)(pt 192 304)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 320)
|
|
(output)
|
|
(text "stack_en" (rect 0 0 36 12)(font "Arial" ))
|
|
(text "stack_en" (rect 151 315 187 327)(font "Arial" ))
|
|
(line (pt 208 320)(pt 192 320)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 336)
|
|
(output)
|
|
(text "stack_rst" (rect 0 0 37 12)(font "Arial" ))
|
|
(text "stack_rst" (rect 150 331 187 343)(font "Arial" ))
|
|
(line (pt 208 336)(pt 192 336)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 208 352)
|
|
(output)
|
|
(text "stack_rw" (rect 0 0 36 12)(font "Arial" ))
|
|
(text "stack_rw" (rect 151 347 187 359)(font "Arial" ))
|
|
(line (pt 208 352)(pt 192 352)(line_width 1))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 192 384)(line_width 1))
|
|
)
|
|
)
|