mirror of
https://github.com/supleed2/ELEC50010-IAC-CW.git
synced 2024-12-22 21:35:48 +00:00
Update harvard test script to match spec
main branch ignore bus implementation
This commit is contained in:
parent
252f630162
commit
1f7027f771
|
@ -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
|
||||
);
|
|
@ -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"};
|
||||
|
|
Loading…
Reference in a new issue