mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-03 02:05:21 +00:00
embench testbench no longer crashes.
This commit is contained in:
parent
26f9d1edae
commit
4d76e83318
@ -300,11 +300,11 @@ module testbench;
|
|||||||
|
|
||||||
if (!begin_signature_addr)
|
if (!begin_signature_addr)
|
||||||
$display("begin_signature addr not found in %s", ProgramLabelMapFile);
|
$display("begin_signature addr not found in %s", ProgramLabelMapFile);
|
||||||
else begin
|
else if (TEST != "embench") begin // *** quick hack for embench. need a better long term solution
|
||||||
CheckSignature(pathname, tests[test], riscofTest, begin_signature_addr, errors);
|
CheckSignature(pathname, tests[test], riscofTest, begin_signature_addr, errors);
|
||||||
end
|
end
|
||||||
if(errors > 0) totalerrors = totalerrors + 1;
|
if(errors > 0) totalerrors = totalerrors + 1;
|
||||||
test = test + 1;
|
test = test + 1; // *** this probably needs to be moved.
|
||||||
if (test == tests.size()) begin
|
if (test == tests.size()) begin
|
||||||
if (totalerrors == 0) $display("SUCCESS! All tests ran without failures.");
|
if (totalerrors == 0) $display("SUCCESS! All tests ran without failures.");
|
||||||
else $display("FAIL: %d test programs had errors", totalerrors);
|
else $display("FAIL: %d test programs had errors", totalerrors);
|
||||||
|
Loading…
Reference in New Issue
Block a user