Fixed recurrent issue with testbench where it would never stop

This commit is contained in:
slmnemo 2022-06-03 18:56:24 -07:00
parent 8c84d5fdc7
commit 3fe78c9084

View File

@ -666,7 +666,7 @@ module testbench;
// turn on waves
if (AttemptedInstructionCount == INSTR_WAVEON) $stop;
// end sim
if ((AttemptedInstructionCount == INSTR_LIMIT) & (INSTR_LIMIT!=0)) $stop;
if ((AttemptedInstructionCount == INSTR_LIMIT) & (INSTR_LIMIT!=0)) begin $stop; $stop; end
fault = 0;
if (`DEBUG_TRACE >= 1) begin
`checkEQ("PCW",PCW,ExpectedPCW)