Passes all tests

This commit is contained in:
jl7719 2020-12-16 15:29:04 +00:00
parent 7185f7e7e6
commit ebe33ce56a
5 changed files with 4 additions and 11 deletions

View file

@ -1,4 +1,4 @@
3C05FFFF
3C04FFFF
04900004
00000000
24420001

View file

@ -1 +0,0 @@
3217031184

View file

@ -1,6 +0,0 @@
3C05BCF0
34A50014
00A01009
00000000
00000000
00000008

View file

@ -15,7 +15,7 @@ module mips_cpu_memory(
);
parameter INSTR_INIT_FILE = "";
parameter DATA_INIT_FILE = "";
reg [31:0] data_memory [0:31];
reg [31:0] data_memory [0:63];
reg [31:0] instr_memory [0:63];
initial begin

View file

@ -21,7 +21,7 @@
# branches
./test/test_mips_cpu_harvard.sh rtl beq #Pass
./test/test_mips_cpu_harvard.sh rtl bgez #Pass
#./test/test_mips_cpu_harvard.sh rtl bgezal #Place return address thing how??
./test/test_mips_cpu_harvard.sh rtl bgezal #Pass
./test/test_mips_cpu_harvard.sh rtl bgtz #Pass
./test/test_mips_cpu_harvard.sh rtl blez #Pass
./test/test_mips_cpu_harvard.sh rtl bltz #Pass
@ -30,7 +30,7 @@
# jumps
./test/test_mips_cpu_harvard.sh rtl j #Pass
#./test/test_mips_cpu_harvard.sh rtl jalr #Again how to link?
./test/test_mips_cpu_harvard.sh rtl jalr #Pass
./test/test_mips_cpu_harvard.sh rtl jal #Pass
./test/test_mips_cpu_harvard.sh rtl jr #Pass