busybear: fix misaligned writing checking

This commit is contained in:
Noah Boorstin 2021-01-28 19:35:09 -05:00
parent beb93e2508
commit 4f84bd3c8f
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 8690
run 12422
#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 > 700) begin
(instrs < 1000 && instrs % 50 == 0)) begin
$display("loaded %0d instructions", instrs);
end
instrs += 1;