Merge branch 'main' into bus_wrapper

This commit is contained in:
Aadi Desai 2020-12-16 19:57:28 +00:00
commit a31ed073e1
7 changed files with 10 additions and 18 deletions

BIN
.DS_Store vendored

Binary file not shown.

1
.gitignore vendored
View file

@ -4,5 +4,4 @@ exec/*
*.out.txt
mips_cpu_harvard.vcd
.DS_Store
.DS_Store
inputs/.DS_Store

View file

@ -1,4 +1,4 @@
3404000F
3405000B
0085102A
00000008
00000008
0085102A

View file

@ -1,4 +1,4 @@
3404000a
34050009
0085102b
00000008
00000008
0085102b

View file

@ -1,4 +1,4 @@
34040005
34050002
00851026
00000008
00000008
00851026

View file

@ -1,13 +1,13 @@
#!/bin/bash
SRC_DIR=${1?Error: no source directory given in argument};
SRC=$(ls ${SRC_DIR} | grep -E "harvard|memory|alu|regfile|pc|control");
SRC=$(find ./${SRC_DIR}/*);
SRC_TEMP="";
for src in ${SRC}
do
SRC_TEMP+=${SRC_DIR}/${src}" ";
SRC_TEMP+=${src}" ";
done
SRC=${SRC_TEMP}
SRC=${SRC_TEMP};
INSTR=${2:-"No instruction specified: running all testcases"};

View file

@ -49,15 +49,8 @@ module mips_cpu_harvard_tb;
end
initial begin
$display("Initial Reset 0");
reset <= 0;
$display("Initial Reset 1");
@(posedge clk);
reset <= 1;
$display("Initial Reset 0: Start Program");
reset <= 1;
@(posedge clk);
reset <= 0;