mirror of
https://github.com/supleed2/ELEC50010-IAC-CW.git
synced 2024-09-19 19:46:17 +00:00
Passes all tests
This commit is contained in:
parent
7185f7e7e6
commit
ebe33ce56a
|
@ -1,4 +1,4 @@
|
||||||
3C05FFFF
|
3C04FFFF
|
||||||
04900004
|
04900004
|
||||||
00000000
|
00000000
|
||||||
24420001
|
24420001
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
3217031184
|
|
|
@ -1,6 +0,0 @@
|
||||||
3C05BCF0
|
|
||||||
34A50014
|
|
||||||
00A01009
|
|
||||||
00000000
|
|
||||||
00000000
|
|
||||||
00000008
|
|
|
@ -15,7 +15,7 @@ module mips_cpu_memory(
|
||||||
);
|
);
|
||||||
parameter INSTR_INIT_FILE = "";
|
parameter INSTR_INIT_FILE = "";
|
||||||
parameter DATA_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];
|
reg [31:0] instr_memory [0:63];
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
# branches
|
# branches
|
||||||
./test/test_mips_cpu_harvard.sh rtl beq #Pass
|
./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 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 bgtz #Pass
|
||||||
./test/test_mips_cpu_harvard.sh rtl blez #Pass
|
./test/test_mips_cpu_harvard.sh rtl blez #Pass
|
||||||
./test/test_mips_cpu_harvard.sh rtl bltz #Pass
|
./test/test_mips_cpu_harvard.sh rtl bltz #Pass
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
# jumps
|
# jumps
|
||||||
./test/test_mips_cpu_harvard.sh rtl j #Pass
|
./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 jal #Pass
|
||||||
./test/test_mips_cpu_harvard.sh rtl jr #Pass
|
./test/test_mips_cpu_harvard.sh rtl jr #Pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue