busybear: add more test instructions

currently testing first 1k instrs
This commit is contained in:
Noah Boorstin 2021-01-28 16:41:37 -05:00
parent 287cf4e5a6
commit beb93e2508
2 changed files with 2 additions and 2 deletions

View File

@ -131,6 +131,6 @@ add wave /testbench_busybear/InstrWName
#set DefaultRadix hexadecimal
#
#-- Run the Simulation
run 5240
run 8690
#run -all
##quit

View File

@ -171,7 +171,7 @@ module testbench_busybear();
// then expected PC value
scan_file_PC = $fscanf(data_file_PC, "%x\n", pcExpected);
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);
end
instrs += 1;