enhance error message when debug enabled
This commit enhances the error message when the user enables waveform dump at runtime but forgets to enable the compile time define.
This commit is contained in:
parent
42e5e92d43
commit
904f0f3d93
@ -51,7 +51,7 @@ module TestDriver;
|
||||
`ifdef VCS
|
||||
$vcdplusfile(vcdplusfile);
|
||||
`else
|
||||
$fdisplay(stderr, "Error: +vcdplusfile is VCS-only; use +vcdfile instead");
|
||||
$fdisplay(stderr, "Error: +vcdplusfile is VCS-only; use +vcdfile instead or recompile with VCS=1");
|
||||
$fatal;
|
||||
`endif
|
||||
end
|
||||
@ -63,7 +63,7 @@ module TestDriver;
|
||||
$fsdbDumpvars("+all");
|
||||
//$fsdbDumpSVA;
|
||||
`else
|
||||
$fdisplay(stderr, "Error: +fsdbfile is FSDB-only; use +vcdfile or +vcdplus instead");
|
||||
$fdisplay(stderr, "Error: +fsdbfile is FSDB-only; use +vcdfile/+vcdplus instead or recompile with FSDB=1");
|
||||
$fatal;
|
||||
`endif
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user