338 lines
9.1 KiB
Plaintext
338 lines
9.1 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 256 448)
|
|
(text "controller" (rect 5 0 40 12)(font "Arial" ))
|
|
(text "inst" (rect 8 416 20 428)(font "Arial" ))
|
|
(port
|
|
(pt 0 32)
|
|
(input)
|
|
(text "clk" (rect 0 0 10 12)(font "Arial" ))
|
|
(text "clk" (rect 21 27 31 39)(font "Arial" ))
|
|
(line (pt 0 32)(pt 16 32)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 48)
|
|
(input)
|
|
(text "t0" (rect 0 0 7 12)(font "Arial" ))
|
|
(text "t0" (rect 21 43 28 55)(font "Arial" ))
|
|
(line (pt 0 48)(pt 16 48)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 64)
|
|
(input)
|
|
(text "t1" (rect 0 0 5 12)(font "Arial" ))
|
|
(text "t1" (rect 21 59 26 71)(font "Arial" ))
|
|
(line (pt 0 64)(pt 16 64)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 80)
|
|
(input)
|
|
(text "t2" (rect 0 0 7 12)(font "Arial" ))
|
|
(text "t2" (rect 21 75 28 87)(font "Arial" ))
|
|
(line (pt 0 80)(pt 16 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 96)
|
|
(input)
|
|
(text "t3" (rect 0 0 7 12)(font "Arial" ))
|
|
(text "t3" (rect 21 91 28 103)(font "Arial" ))
|
|
(line (pt 0 96)(pt 16 96)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 112)
|
|
(input)
|
|
(text "t4" (rect 0 0 8 12)(font "Arial" ))
|
|
(text "t4" (rect 21 107 29 119)(font "Arial" ))
|
|
(line (pt 0 112)(pt 16 112)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 128)
|
|
(input)
|
|
(text "t5" (rect 0 0 7 12)(font "Arial" ))
|
|
(text "t5" (rect 21 123 28 135)(font "Arial" ))
|
|
(line (pt 0 128)(pt 16 128)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 144)
|
|
(input)
|
|
(text "t6" (rect 0 0 7 12)(font "Arial" ))
|
|
(text "t6" (rect 21 139 28 151)(font "Arial" ))
|
|
(line (pt 0 144)(pt 16 144)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 160)
|
|
(input)
|
|
(text "t7" (rect 0 0 7 12)(font "Arial" ))
|
|
(text "t7" (rect 21 155 28 167)(font "Arial" ))
|
|
(line (pt 0 160)(pt 16 160)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 176)
|
|
(input)
|
|
(text "i_LOAD" (rect 0 0 35 12)(font "Arial" ))
|
|
(text "i_LOAD" (rect 21 171 56 183)(font "Arial" ))
|
|
(line (pt 0 176)(pt 16 176)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 192)
|
|
(input)
|
|
(text "i_STORE" (rect 0 0 41 12)(font "Arial" ))
|
|
(text "i_STORE" (rect 21 187 62 199)(font "Arial" ))
|
|
(line (pt 0 192)(pt 16 192)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 208)
|
|
(input)
|
|
(text "i_ADD" (rect 0 0 29 12)(font "Arial" ))
|
|
(text "i_ADD" (rect 21 203 50 215)(font "Arial" ))
|
|
(line (pt 0 208)(pt 16 208)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 224)
|
|
(input)
|
|
(text "i_SUB" (rect 0 0 25 12)(font "Arial" ))
|
|
(text "i_SUB" (rect 21 219 46 231)(font "Arial" ))
|
|
(line (pt 0 224)(pt 16 224)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 240)
|
|
(input)
|
|
(text "i_AND" (rect 0 0 29 12)(font "Arial" ))
|
|
(text "i_AND" (rect 21 235 50 247)(font "Arial" ))
|
|
(line (pt 0 240)(pt 16 240)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 256)
|
|
(input)
|
|
(text "i_OR" (rect 0 0 22 12)(font "Arial" ))
|
|
(text "i_OR" (rect 21 251 43 263)(font "Arial" ))
|
|
(line (pt 0 256)(pt 16 256)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 272)
|
|
(input)
|
|
(text "i_NOT" (rect 0 0 27 12)(font "Arial" ))
|
|
(text "i_NOT" (rect 21 267 48 279)(font "Arial" ))
|
|
(line (pt 0 272)(pt 16 272)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 288)
|
|
(input)
|
|
(text "i_NEG" (rect 0 0 28 12)(font "Arial" ))
|
|
(text "i_NEG" (rect 21 283 49 295)(font "Arial" ))
|
|
(line (pt 0 288)(pt 16 288)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 304)
|
|
(input)
|
|
(text "i_HALT" (rect 0 0 34 12)(font "Arial" ))
|
|
(text "i_HALT" (rect 21 299 55 311)(font "Arial" ))
|
|
(line (pt 0 304)(pt 16 304)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 320)
|
|
(input)
|
|
(text "i_SHL" (rect 0 0 25 12)(font "Arial" ))
|
|
(text "i_SHL" (rect 21 315 46 327)(font "Arial" ))
|
|
(line (pt 0 320)(pt 16 320)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 336)
|
|
(input)
|
|
(text "i_SHR" (rect 0 0 28 12)(font "Arial" ))
|
|
(text "i_SHR" (rect 21 331 49 343)(font "Arial" ))
|
|
(line (pt 0 336)(pt 16 336)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 352)
|
|
(input)
|
|
(text "data_num[3..0]" (rect 0 0 60 12)(font "Arial" ))
|
|
(text "data_num[3..0]" (rect 21 347 81 359)(font "Arial" ))
|
|
(line (pt 0 352)(pt 16 352)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 240 32)
|
|
(output)
|
|
(text "en_ALU_D" (rect 0 0 49 12)(font "Arial" ))
|
|
(text "en_ALU_D" (rect 170 27 219 39)(font "Arial" ))
|
|
(line (pt 240 32)(pt 224 32)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 48)
|
|
(output)
|
|
(text "en_PC" (rect 0 0 28 12)(font "Arial" ))
|
|
(text "en_PC" (rect 191 43 219 55)(font "Arial" ))
|
|
(line (pt 240 48)(pt 224 48)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 64)
|
|
(output)
|
|
(text "en_AR" (rect 0 0 31 12)(font "Arial" ))
|
|
(text "en_AR" (rect 188 59 219 71)(font "Arial" ))
|
|
(line (pt 240 64)(pt 224 64)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 80)
|
|
(output)
|
|
(text "en_DR" (rect 0 0 30 12)(font "Arial" ))
|
|
(text "en_DR" (rect 189 75 219 87)(font "Arial" ))
|
|
(line (pt 240 80)(pt 224 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 96)
|
|
(output)
|
|
(text "clr_ME" (rect 0 0 30 12)(font "Arial" ))
|
|
(text "clr_ME" (rect 189 91 219 103)(font "Arial" ))
|
|
(line (pt 240 96)(pt 224 96)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 112)
|
|
(output)
|
|
(text "en_IR" (rect 0 0 25 12)(font "Arial" ))
|
|
(text "en_IR" (rect 194 107 219 119)(font "Arial" ))
|
|
(line (pt 240 112)(pt 224 112)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 128)
|
|
(output)
|
|
(text "w_RAM" (rect 0 0 36 12)(font "Arial" ))
|
|
(text "w_RAM" (rect 183 123 219 135)(font "Arial" ))
|
|
(line (pt 240 128)(pt 224 128)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 144)
|
|
(output)
|
|
(text "w_RAM_data[7..0]" (rect 0 0 79 12)(font "Arial" ))
|
|
(text "w_RAM_data[7..0]" (rect 140 139 219 151)(font "Arial" ))
|
|
(line (pt 240 144)(pt 224 144)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 240 160)
|
|
(output)
|
|
(text "w_RAM_addr[7..0]" (rect 0 0 80 12)(font "Arial" ))
|
|
(text "w_RAM_addr[7..0]" (rect 139 155 219 167)(font "Arial" ))
|
|
(line (pt 240 160)(pt 224 160)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 240 176)
|
|
(output)
|
|
(text "NP" (rect 0 0 12 12)(font "Arial" ))
|
|
(text "NP" (rect 207 171 219 183)(font "Arial" ))
|
|
(line (pt 240 176)(pt 224 176)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 192)
|
|
(output)
|
|
(text "clr_PC" (rect 0 0 28 12)(font "Arial" ))
|
|
(text "clr_PC" (rect 191 187 219 199)(font "Arial" ))
|
|
(line (pt 240 192)(pt 224 192)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 208)
|
|
(output)
|
|
(text "data_out[7..0]" (rect 0 0 54 12)(font "Arial" ))
|
|
(text "data_out[7..0]" (rect 165 203 219 215)(font "Arial" ))
|
|
(line (pt 240 208)(pt 224 208)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 240 224)
|
|
(output)
|
|
(text "clr_ACC" (rect 0 0 37 12)(font "Arial" ))
|
|
(text "clr_ACC" (rect 182 219 219 231)(font "Arial" ))
|
|
(line (pt 240 224)(pt 224 224)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 240)
|
|
(output)
|
|
(text "en_dBus" (rect 0 0 35 12)(font "Arial" ))
|
|
(text "en_dBus" (rect 184 235 219 247)(font "Arial" ))
|
|
(line (pt 240 240)(pt 224 240)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 256)
|
|
(output)
|
|
(text "en_ALU" (rect 0 0 36 12)(font "Arial" ))
|
|
(text "en_ALU" (rect 183 251 219 263)(font "Arial" ))
|
|
(line (pt 240 256)(pt 224 256)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 272)
|
|
(output)
|
|
(text "o_ADD" (rect 0 0 33 12)(font "Arial" ))
|
|
(text "o_ADD" (rect 186 267 219 279)(font "Arial" ))
|
|
(line (pt 240 272)(pt 224 272)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 288)
|
|
(output)
|
|
(text "o_SUB" (rect 0 0 29 12)(font "Arial" ))
|
|
(text "o_SUB" (rect 190 283 219 295)(font "Arial" ))
|
|
(line (pt 240 288)(pt 224 288)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 304)
|
|
(output)
|
|
(text "o_AND" (rect 0 0 33 12)(font "Arial" ))
|
|
(text "o_AND" (rect 186 299 219 311)(font "Arial" ))
|
|
(line (pt 240 304)(pt 224 304)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 320)
|
|
(output)
|
|
(text "o_OR" (rect 0 0 25 12)(font "Arial" ))
|
|
(text "o_OR" (rect 194 315 219 327)(font "Arial" ))
|
|
(line (pt 240 320)(pt 224 320)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 336)
|
|
(output)
|
|
(text "o_NOT" (rect 0 0 30 12)(font "Arial" ))
|
|
(text "o_NOT" (rect 189 331 219 343)(font "Arial" ))
|
|
(line (pt 240 336)(pt 224 336)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 352)
|
|
(output)
|
|
(text "o_NEG" (rect 0 0 31 12)(font "Arial" ))
|
|
(text "o_NEG" (rect 188 347 219 359)(font "Arial" ))
|
|
(line (pt 240 352)(pt 224 352)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 368)
|
|
(output)
|
|
(text "o_SHL" (rect 0 0 29 12)(font "Arial" ))
|
|
(text "o_SHL" (rect 190 363 219 375)(font "Arial" ))
|
|
(line (pt 240 368)(pt 224 368)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 240 384)
|
|
(output)
|
|
(text "o_SHR" (rect 0 0 31 12)(font "Arial" ))
|
|
(text "o_SHR" (rect 188 379 219 391)(font "Arial" ))
|
|
(line (pt 240 384)(pt 224 384)(line_width 1))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 224 416)(line_width 1))
|
|
)
|
|
)
|