Update harvard test script to match spec

main branch ignore bus implementation
This commit is contained in:
jl7719 2020-12-16 16:46:27 +00:00
parent 252f630162
commit 1f7027f771
2 changed files with 3 additions and 19 deletions

View file

@ -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
);

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"};