User guide

15-5
SAIF Support
For more details on these task calls, refer to the Power Compiler
User Guide.
Note:
The $read_mpm_saif, $toggle_set, and $toggle_count
tasks in the PLI-based vpower.tab file are obsolete and no longer
supported.
Typical Flow to Dump the Backward SAIF File using
System Tasks
To generate a backward SAIF file using forward RTL SAIF file, do
the following:
initial begin
$read_rtl_saif(<inputFile>, <Scope>);
$set_toggle_region(<Scope>);
// initialization of Verilog signals, and then:
$toggle_start;
// testbench
$toggle_stop;
$toggle_report(<outputFile>, timeUnit, <Scope>);
end
To generate a backward SAIF file without using the forward RTL SAIF
file, do the following:
initial begin
$set_gate_level_monitoring("rtl_on");
$set_toggle_region(<Scope>);
// initialization of Verilog signals, and then:
$toggle_start;
// testbench
$toggle_stop;
$toggle_report(<outputFile>, timeUnit, <Scope>);
end