/* 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 "graphic" (version "1.4")) (symbol (rect 704 120 856 224) (text "alu" (rect 120 8 136 19)(font "Arial" )) (text "inst" (rect 104 88 122 99)(font "Arial" )) (port (pt 0 24) (input) (text "src A" (rect 0 0 28 11)(font "Arial" )) (text "src A" (rect 21 19 49 30)(font "Arial" )) (line (pt 0 24)(pt 16 24)(line_width 3)) ) (port (pt 0 80) (input) (text "src B" (rect 0 0 27 11)(font "Arial" )) (text "src B" (rect 21 75 48 86)(font "Arial" )) (line (pt 0 80)(pt 16 80)(line_width 3)) ) (port (pt 56 0) (input) (text "op" (rect 0 0 14 11)(font "Arial" )) (text "op" (rect 48 25 59 39)(font "Arial" )(vertical)) (line (pt 56 0)(pt 56 16)(line_width 3)) ) (port (pt 152 40) (output) (text "zero" (rect -104 0 -81 11)(font "Arial" )) (text "zero" (rect 96 32 119 43)(font "Arial" )) (line (pt 152 40)(pt 136 40)) ) (port (pt 152 56) (output) (text "result" (rect -104 0 -76 11)(font "Arial" )) (text "result" (rect 96 48 124 59)(font "Arial" )) (line (pt 152 56)(pt 136 56)(line_width 3)) ) (parameter "WORD" "8" "" (type "PARAMETER_SIGNED_DEC") ) (drawing (line (pt 16 8)(pt 136 32)) (line (pt 136 32)(pt 136 72)) (line (pt 16 96)(pt 136 72)) (line (pt 56 48)(pt 56 56)) (line (pt 16 8)(pt 16 40)) (line (pt 16 96)(pt 16 64)) (line (pt 16 64)(pt 56 56)) (line (pt 16 40)(pt 56 48)) ) (annotation_block (parameter)(rect 568 48 744 80)) ) (symbol (rect 928 64 1040 248) (text "memory" (rect 5 0 46 11)(font "Arial" )) (text "inst4" (rect 8 160 32 171)(font "Arial" )) (port (pt 48 0) (input) (text "clk" (rect 0 0 15 11)(font "Arial" )) (text "clk" (rect 40 25 51 40)(font "Arial" )(vertical)) (line (pt 48 0)(pt 48 16)) ) (port (pt 72 0) (input) (text "wr_en" (rect 0 0 31 11)(font "Arial" )) (text "wr_en" (rect 64 25 75 56)(font "Arial" )(vertical)) (line (pt 72 0)(pt 72 16)) ) (port (pt 0 80) (input) (text "addr" (rect 0 0 23 11)(font "Arial" )) (text "addr" (rect 24 72 47 83)(font "Arial" )) (line (pt 0 80)(pt 16 80)(line_width 3)) ) (port (pt 0 112) (input) (text "wr_data" (rect 0 0 42 11)(font "Arial" )) (text "wr_data" (rect 24 104 66 115)(font "Arial" )) (line (pt 0 112)(pt 16 112)(line_width 3)) ) (port (pt 112 80) (output) (text "rd_data" (rect -160 0 -120 11)(font "Arial" )) (text "rd_data" (rect 56 72 96 83)(font "Arial" )) (line (pt 112 80)(pt 96 80)(line_width 3)) ) (parameter "WORD" "8" "" (type "PARAMETER_SIGNED_DEC") ) (parameter "SIZE" "" "" (type "PARAMETER_SIGNED_DEC") ) (drawing (line (pt 40 16)(pt 48 24)) (line (pt 48 24)(pt 56 16)) (rectangle (rect 16 16 96 160)) ) (annotation_block (parameter)(rect 704 -16 880 32)) ) (symbol (rect -136 40 -16 200) (text "instr_mem" (rect 5 0 58 11)(font "Arial" )) (text "inst5" (rect 8 144 32 155)(font "Arial" )) (port (pt 64 0) (input) (text "clk" (rect 0 0 15 11)(font "Arial" )) (text "clk" (rect 56 25 67 40)(font "Arial" )(vertical)) (line (pt 64 0)(pt 64 17)) ) (port (pt 0 56) (input) (text "addr" (rect 0 0 23 11)(font "Arial" )) (text "addr" (rect 24 48 47 59)(font "Arial" )) (line (pt 0 56)(pt 16 56)(line_width 3)) ) (port (pt 120 56) (output) (text "instr" (rect -128 0 -106 11)(font "Arial" )) (text "instr" (rect 72 48 94 59)(font "Arial" )) (line (pt 120 56)(pt 104 56)(line_width 3)) ) (port (pt 120 72) (output) (text "imm" (rect -128 0 -106 11)(font "Arial" )) (text "imm" (rect 72 64 94 75)(font "Arial" )) (line (pt 120 72)(pt 104 72)(line_width 3)) ) (parameter "WORD" "8" "" (type "PARAMETER_SIGNED_DEC") ) (parameter "SIZE" "" "" (type "PARAMETER_SIGNED_DEC") ) (drawing (line (pt 56 16)(pt 64 24)) (line (pt 64 24)(pt 72 16)) (rectangle (rect 16 16 104 136)) ) (annotation_block (parameter)(rect -48 -32 128 16)) ) (symbol (rect 192 64 344 240) (text "reg_file" (rect 5 0 42 11)(font "Arial" )) (text "inst6" (rect 8 160 32 171)(font "Arial" )) (port (pt 72 0) (input) (text "clk" (rect 0 0 15 11)(font "Arial" )) (text "clk" (rect 64 24 75 39)(font "Arial" )(vertical)) (line (pt 72 0)(pt 72 17)) ) (port (pt 104 0) (input) (text "wr_en" (rect 0 0 31 11)(font "Arial" )) (text "wr_en" (rect 96 24 107 55)(font "Arial" )(vertical)) (line (pt 104 0)(pt 104 17)) ) (port (pt 0 48) (input) (text "rd_addr1" (rect 0 0 46 11)(font "Arial" )) (text "rd_addr1" (rect 24 40 70 51)(font "Arial" )) (line (pt 0 48)(pt 16 48)(line_width 3)) ) (port (pt 0 64) (input) (text "rd_addr2" (rect 0 0 46 11)(font "Arial" )) (text "rd_addr2" (rect 24 56 70 67)(font "Arial" )) (line (pt 0 64)(pt 16 64)(line_width 3)) ) (port (pt 0 80) (input) (text "wr_addr" (rect 0 0 41 11)(font "Arial" )) (text "wr_addr" (rect 24 72 65 83)(font "Arial" )) (line (pt 0 80)(pt 16 80)(line_width 3)) ) (port (pt 0 120) (input) (text "wr_data" (rect 0 0 42 11)(font "Arial" )) (text "wr_data" (rect 24 112 66 123)(font "Arial" )) (line (pt 0 120)(pt 16 120)(line_width 3)) ) (port (pt 152 96) (output) (text "rd_data2" (rect -152 0 -108 11)(font "Arial" )) (text "rd_data2" (rect 80 88 124 99)(font "Arial" )) (line (pt 152 96)(pt 136 96)(line_width 3)) ) (port (pt 152 80) (output) (text "rd_data1" (rect -152 0 -108 11)(font "Arial" )) (text "rd_data1" (rect 80 72 124 83)(font "Arial" )) (line (pt 152 80)(pt 136 80)(line_width 3)) ) (parameter "WORD" "8" "" (type "PARAMETER_SIGNED_DEC") ) (parameter "ADDR_SIZE" "2" "" (type "PARAMETER_SIGNED_DEC") ) (drawing (line (pt 64 16)(pt 72 24)) (line (pt 72 24)(pt 80 16)) (rectangle (rect 16 16 136 160)) ) (annotation_block (parameter)(rect 312 0 488 48)) ) (symbol (rect 16 48 112 160) (text "instDecoder" (rect 5 0 65 11)(font "Arial" )) (text "inst1" (rect 8 88 32 99)(font "Arial" )) (port (pt 0 48) (input) (text "instr" (rect 0 0 22 11)(font "Arial" )) (text "instr" (rect 21 43 43 54)(font "Arial" )) (line (pt 0 48)(pt 16 48)(line_width 3)) ) (port (pt 96 32) (output) (text "opcode" (rect -88 0 -51 11)(font "Arial" )) (text "opcode" (rect 48 24 85 35)(font "Arial" )) (line (pt 96 32)(pt 80 32)(line_width 3)) ) (port (pt 96 48) (output) (text "rs" (rect -88 0 -78 11)(font "Arial" )) (text "rs" (rect 64 40 74 51)(font "Arial" )) (line (pt 96 48)(pt 80 48)(line_width 3)) ) (port (pt 96 64) (output) (text "rt" (rect -88 0 -80 11)(font "Arial" )) (text "rt" (rect 64 56 72 67)(font "Arial" )) (line (pt 96 64)(pt 80 64)(line_width 3)) ) (drawing (line (pt 80 24)(pt 80 72)) (line (pt 80 72)(pt 16 80)) (line (pt 80 24)(pt 16 16)) (line (pt 16 16)(pt 16 80)) ) ) (symbol (rect 512 160 624 248) (text "BUSMUX" (rect 28 72 96 88)(font "Arial" (font_size 10))) (text "srcB_sel" (rect 3 -2 45 11)(font "Intel Clear" )) (port (pt 0 24) (input) (text "datab[WIDTH-1..0]" (rect 6 51 112 64)(font "Arial" (font_size 8))) (text "datab[]" (rect 6 24 46 37)(font "Arial" (font_size 8))) (line (pt 0 24)(pt 44 24)(line_width 3)) ) (port (pt 56 0) (input) (text "sel" (rect 59 70 76 83)(font "Arial" (font_size 8))) (text "sel" (rect 59 5 76 18)(font "Arial" (font_size 8))) (line (pt 56 0)(pt 56 16)) ) (port (pt 0 56) (input) (text "dataa[WIDTH-1..0]" (rect 6 19 112 32)(font "Arial" (font_size 8))) (text "dataa[]" (rect 6 56 46 69)(font "Arial" (font_size 8))) (line (pt 0 56)(pt 44 56)(line_width 3)) ) (port (pt 112 40) (output) (text "result[WIDTH-1..0]" (rect 75 35 181 48)(font "Arial" (font_size 8))) (text "result[]" (rect 75 40 113 53)(font "Arial" (font_size 8))) (line (pt 68 40)(pt 112 40)(line_width 3)) ) (parameter "WIDTH" "8" "Width of I/O, any integer > 0" " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64" ) (drawing (text "0" (rect 52 47 60 57)(font "Arial" (font_size 6))) (text "1" (rect 52 23 60 33)(font "Arial" (font_size 6))) (line (pt 68 24)(pt 68 56)) (line (pt 44 8)(pt 44 72)) (line (pt 44 72)(pt 68 56)) (line (pt 44 8)(pt 68 24)) ) (flipx) (annotation_block (parameter)(rect 592 88 714 118)) ) (symbol (rect 1128 88 1240 176) (text "BUSMUX" (rect 28 72 96 88)(font "Arial" (font_size 10))) (text "mem_to_reg" (rect 3 -2 67 11)(font "Intel Clear" )) (port (pt 0 24) (input) (text "datab[WIDTH-1..0]" (rect 6 51 112 64)(font "Arial" (font_size 8))) (text "datab[]" (rect 6 24 46 37)(font "Arial" (font_size 8))) (line (pt 0 24)(pt 44 24)(line_width 3)) ) (port (pt 56 0) (input) (text "sel" (rect 59 70 76 83)(font "Arial" (font_size 8))) (text "sel" (rect 59 5 76 18)(font "Arial" (font_size 8))) (line (pt 56 0)(pt 56 16)) ) (port (pt 0 56) (input) (text "dataa[WIDTH-1..0]" (rect 6 19 112 32)(font "Arial" (font_size 8))) (text "dataa[]" (rect 6 56 46 69)(font "Arial" (font_size 8))) (line (pt 0 56)(pt 44 56)(line_width 3)) ) (port (pt 112 40) (output) (text "result[WIDTH-1..0]" (rect 75 35 181 48)(font "Arial" (font_size 8))) (text "result[]" (rect 75 40 113 53)(font "Arial" (font_size 8))) (line (pt 68 40)(pt 112 40)(line_width 3)) ) (parameter "WIDTH" "8" "Width of I/O, any integer > 0" " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64" ) (drawing (text "0" (rect 52 47 60 57)(font "Arial" (font_size 6))) (text "1" (rect 52 23 60 33)(font "Arial" (font_size 6))) (line (pt 68 24)(pt 68 56)) (line (pt 44 8)(pt 44 72)) (line (pt 44 72)(pt 68 56)) (line (pt 44 8)(pt 68 24)) ) (flipx) (annotation_block (parameter)(rect 1240 56 1362 86)) ) (connector (pt 264 -64) (pt 264 64) ) (connector (pt -72 -64) (pt -72 40) ) (connector (pt -16 96) (pt 16 96) (bus) ) (connector (pt 112 96) (pt 160 96) (bus) ) (connector (pt 192 112) (pt 160 112) (bus) ) (connector (pt 192 144) (pt 160 144) (bus) ) (connector (pt 160 96) (pt 160 112) (bus) ) (connector (pt 160 112) (pt 160 144) (bus) ) (connector (pt 112 112) (pt 136 112) (bus) ) (connector (pt 136 112) (pt 136 128) (bus) ) (connector (pt 192 128) (pt 136 128) (bus) ) (connector (pt 976 -64) (pt 976 64) ) (connector (pt 928 144) (pt 896 144) (bus) ) (connector (pt -72 -64) (pt 264 -64) ) (connector (pt 264 -64) (pt 976 -64) ) (connector (pt 896 176) (pt 856 176) (bus) ) (connector (pt 344 144) (pt 704 144) (bus) ) (connector (pt 624 200) (pt 704 200) (bus) ) (connector (pt 1040 144) (pt 1128 144) (bus) ) (connector (pt 1128 112) (pt 1072 112) (bus) ) (connector (pt 1072 112) (pt 1072 48) (bus) ) (connector (pt 1072 48) (pt 896 48) (bus) ) (connector (pt 896 48) (pt 896 144) (bus) ) (connector (pt 896 144) (pt 896 176) (bus) ) (connector (pt 1240 128) (pt 1256 128) (bus) ) (connector (pt 1256 128) (pt 1256 360) (bus) ) (connector (pt 1256 360) (pt 160 360) (bus) ) (connector (pt 192 184) (pt 160 184) (bus) ) (connector (pt 160 184) (pt 160 360) (bus) ) (connector (pt -16 112) (pt 0 112) (bus) ) (connector (pt 0 264) (pt 0 112) (bus) ) (connector (pt 0 264) (pt 8 264) (bus) ) (connector (pt 928 176) (pt 912 176) (bus) ) (connector (pt 912 176) (pt 912 256) (bus) ) (connector (pt 912 256) (pt 480 256) (bus) ) (connector (pt 480 184) (pt 512 184) (bus) ) (connector (pt 344 160) (pt 480 160) (bus) ) (connector (pt 480 160) (pt 480 184) (bus) ) (connector (pt 480 184) (pt 480 256) (bus) ) (junction (pt 264 -64)) (junction (pt 160 112)) (junction (pt 896 144)) (junction (pt 480 184))