Import simulation data in saif format
Syntax
read_saif [‑strip_path <arg>] [‑no_strip] [‑out_file <arg>] [‑quiet]
[‑verbose] <file>
Usage
Name | Description |
---|---|
[-strip_path]
|
Specifies the name of the instance of the current design as it appears in the SAIF file |
[-no_strip]
|
Do not strip first two levels of hierarchy from SAIF file |
[-out_file]
|
Specifies the name of the output file that contains nets that could not be matched |
[-quiet]
|
Ignore command errors |
[-verbose]
|
Suspend message limits during command execution |
<file>
|
Specifies the name of the SAIF file to be read |
Description
Reads a Switching Activity Interchange Format (SAIF) file for use during power analysis by the report_power
command, or power optimization by power_opt_design
. The read_saif
command will annotate the design nodes with activity from the SAIF file and estimate power appropriately.
Running report_power
or power_opt_design
after reading the SAIF file will use the activity rates from the specified file during optimization and analysis.
Arguments
-strip_path <arg>
- (Optional) Strip the specified instance path prefix from elements in the SAIF file to allow them to be mapped properly to instances in the current design.
read_saif
parser looks for design net names, which do not have a leading '/'.
-no_strip
- (Optional) Do not strip first two levels of hierarchy from the SAIF file.
-out_file <arg>
- (Optional) The name of an output file where unmatched nets and other messages are reported. This file is created during the import of the SAIF file. If the -out_file
option is not specified, the information is not saved to a file.
-quiet
- (Optional) Execute the command quietly, returning no messages from the command. The command also returns TCL_OK regardless of any errors encountered during execution.
-verbose
- (Optional) Temporarily override any message limits and return all messages from this command.
set_msg_config
command.
<file>
- (Required) The name of the SAIF file to read.
Examples
The following example:
read_saif -strip_path design/top/F1 C:/Data/design1.saif