mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-03 02:05:21 +00:00
busybear: add more test instructions
currently testing first 1k instrs
This commit is contained in:
parent
9c0580f2e1
commit
df1d174aea
@ -131,6 +131,6 @@ add wave /testbench_busybear/InstrWName
|
|||||||
#set DefaultRadix hexadecimal
|
#set DefaultRadix hexadecimal
|
||||||
#
|
#
|
||||||
#-- Run the Simulation
|
#-- Run the Simulation
|
||||||
run 5240
|
run 8690
|
||||||
#run -all
|
#run -all
|
||||||
##quit
|
##quit
|
||||||
|
@ -171,7 +171,7 @@ module testbench_busybear();
|
|||||||
// then expected PC value
|
// then expected PC value
|
||||||
scan_file_PC = $fscanf(data_file_PC, "%x\n", pcExpected);
|
scan_file_PC = $fscanf(data_file_PC, "%x\n", pcExpected);
|
||||||
if (instrs < 10 || (instrs < 100 && instrs % 10 == 0) ||
|
if (instrs < 10 || (instrs < 100 && instrs % 10 == 0) ||
|
||||||
(instrs < 1000 && instrs % 50 == 0) || instrs > 205) begin
|
(instrs < 1000 && instrs % 50 == 0) || instrs > 700) begin
|
||||||
$display("loaded %0d instructions", instrs);
|
$display("loaded %0d instructions", instrs);
|
||||||
end
|
end
|
||||||
instrs += 1;
|
instrs += 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user