Cleaned up indentation in testbench-fp

This commit is contained in:
David Harris 2024-01-15 13:25:46 -08:00
parent da4eca4854
commit 0d56a281b9

View File

@ -964,7 +964,6 @@ module testbenchfp;
$display("inputs: %h %h %h\nSrcA: %h\n Res: %h %h\n Ans: %h %h", X, Y, Z, SrcA, Res, ResFlg, Ans, AnsFlg);
$stop;
end
end
if (TestVectors[VectorNum][0] === 1'bx & Tests[TestNum] !== "") begin // if reached the eof
// increment the test
@ -978,8 +977,7 @@ module testbenchfp;
// incemet the operation if all the rounding modes have been tested
if (FrmNum === 4) OpCtrlNum += 1;
// increment the rounding mode or loop back to rne
if (FrmNum < 4)
FrmNum += 1;
if (FrmNum < 4) FrmNum += 1;
else begin
FrmNum = 0;
// Add some time as a buffer between tests at the end of each test