diff --git a/inputs/bltzal/bltzal-1.txt b/inputs/bltzal/bltzal-1.txt index 56ff984..218fca4 100644 --- a/inputs/bltzal/bltzal-1.txt +++ b/inputs/bltzal/bltzal-1.txt @@ -1,4 +1,4 @@ -3C05FFFF +3C04FFFF 04900004 00000000 24420001 diff --git a/inputs/jalr/jalr-2.ref.txt b/inputs/jalr/jalr-2.ref.txt deleted file mode 100644 index 65d2cb8..0000000 --- a/inputs/jalr/jalr-2.ref.txt +++ /dev/null @@ -1 +0,0 @@ -3217031184 \ No newline at end of file diff --git a/inputs/jalr/jalr-2.txt b/inputs/jalr/jalr-2.txt deleted file mode 100644 index 6cb84fc..0000000 --- a/inputs/jalr/jalr-2.txt +++ /dev/null @@ -1,6 +0,0 @@ -3C05BCF0 -34A50014 -00A01009 -00000000 -00000000 -00000008 \ No newline at end of file diff --git a/rtl/mips_cpu_memory.v b/rtl/mips_cpu_memory.v index 6582e50..230b311 100644 --- a/rtl/mips_cpu_memory.v +++ b/rtl/mips_cpu_memory.v @@ -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 diff --git a/test/test_mips_cpu_custom.sh b/test/test_mips_cpu_custom.sh index 125930a..0027de0 100755 --- a/test/test_mips_cpu_custom.sh +++ b/test/test_mips_cpu_custom.sh @@ -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