Fix Issue #541 where FlagMatch was not added which I forgot (apologies)

This commit is contained in:
James E. Stine 2024-01-09 08:57:41 -06:00
parent f91b749f91
commit cfb27de8a3

View File

@ -968,7 +968,7 @@ module testbenchfp;
~((ResFlg === AnsFlg | AnsFlg === 5'bx)) ) begin
// ResMatch checks the result as well. It is checked within the
// test to avoid issues related when the values change tests (e.g., f16_eq_rne -> f16_eq_rz)
if (~(ResMatch)) begin
if (~(ResMatch & FlagMatch)) begin
errors += 1;
$display("\nError in %s", Tests[TestNum]);
$display("TestNum %d OpCtrl %d", TestNum, OpCtrl[TestNum]);