17-30
VCD+ (vpd) File Generation
• Create a task in source:
task sigon_instreg;
begin
$vcdpluson(test.risc1.instreg);
end
endtask
Then call the task from source code.
initial
sigon_instreg;
Or, enter the task name at the simulator
interactive prompt.
C1> sigon_instreg;
• Using a shell command argument to enable task
execution:
vcs -f run.f +signal_on
initial
if ($test$plusargs("signal_on"))
sigon_instreg;
task sigon_instrg;
begin
$vcdpluson(test.risc1.instreg);
end
endtask
Comments to this Manuals