diff --git a/rtl/mips_cpu_bus.v b/rtl/mips_cpu_bus.v deleted file mode 100644 index 111a7b3..0000000 --- a/rtl/mips_cpu_bus.v +++ /dev/null @@ -1,16 +0,0 @@ -module mips_cpu_bus( - /* Standard signals */ - input logic clk, - input logic reset, - output logic active, - output logic[31:0] register_v0, - - /* Avalon memory mapped bus controller (master) */ - output logic[31:0] address, - output logic write, - output logic read, - input logic waitrequest, - output logic[31:0] writedata, - output logic[3:0] byteenable, - input logic[31:0] readdata -); diff --git a/test/test_mips_cpu_harvard.sh b/test/test_mips_cpu_harvard.sh index cddad0a..19cb6b7 100755 --- a/test/test_mips_cpu_harvard.sh +++ b/test/test_mips_cpu_harvard.sh @@ -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"};