1
0

Merge pull request #414 from ucb-bar/sanity-check-debug

Sanity check compile-time vs simulation-time options
This commit is contained in:
Scott Johnson 2016-10-24 15:58:29 -07:00 committed by GitHub
commit b9a082223c

View File

@ -67,7 +67,15 @@ module TestDriver;
`define VCDPLUSCLOSE $dumpoff;
`endif
`else
// No +define+DEBUG
`define VCDPLUSCLOSE
if ($test$plusargs("vcdplusfile=") || $test$plusargs("vcdfile="))
begin
$fdisplay(stderr, "Error: +vcdfile or +vcdplusfile requested but compile did not have +define+DEBUG enabled");
$fatal;
end
`endif
end