Before you use the log_saif command, you must call open_saif. The log_saif command does not return any object or value.
- Compile your RTL code with the
-debug typicaloption to enable SAIF dumping:xvlog -sv <fileName>.sv xelab -debug typical top -s mysim xsim mysim - Use the following Tcl command to start SAIF dumping:
open_saif <saif_file_name> - Add the scopes and signals to be generated by typing one of the following Tcl commands:
log_saif [get_objects]To recursively log all instances, use the Tcl command:
log_saif [get_objects -r *] - Run the simulation (use any of the run commands).
- Import simulation data into an SAIF format using the following Tcl command:
close_saif