mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Cleaned up indentation in testbench-fp
This commit is contained in:
parent
da4eca4854
commit
0d56a281b9
@ -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);
|
$display("inputs: %h %h %h\nSrcA: %h\n Res: %h %h\n Ans: %h %h", X, Y, Z, SrcA, Res, ResFlg, Ans, AnsFlg);
|
||||||
$stop;
|
$stop;
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
if (TestVectors[VectorNum][0] === 1'bx & Tests[TestNum] !== "") begin // if reached the eof
|
if (TestVectors[VectorNum][0] === 1'bx & Tests[TestNum] !== "") begin // if reached the eof
|
||||||
// increment the test
|
// increment the test
|
||||||
@ -978,8 +977,7 @@ module testbenchfp;
|
|||||||
// incemet the operation if all the rounding modes have been tested
|
// incemet the operation if all the rounding modes have been tested
|
||||||
if (FrmNum === 4) OpCtrlNum += 1;
|
if (FrmNum === 4) OpCtrlNum += 1;
|
||||||
// increment the rounding mode or loop back to rne
|
// increment the rounding mode or loop back to rne
|
||||||
if (FrmNum < 4)
|
if (FrmNum < 4) FrmNum += 1;
|
||||||
FrmNum += 1;
|
|
||||||
else begin
|
else begin
|
||||||
FrmNum = 0;
|
FrmNum = 0;
|
||||||
// Add some time as a buffer between tests at the end of each test
|
// Add some time as a buffer between tests at the end of each test
|
||||||
|
Loading…
Reference in New Issue
Block a user