AR# 6349


VCS - How do I back annotate the SDF file for timing simulation?


General Description:

How do I back annotate the SDF file for timing simulation using VCS?

There are two methods to back annotate delay values from an SDF file:

- Compiling the SDF file at compile-time

- Reading the ASCII SDF file at run-time


To compile the SDF file at compile time, use the +compsdf option as follows:

vcsi -R -f options.f +compsdf

VCS will default to an SDF file that has the same name as the top-level simulation netlist. If you want to use a different SDF file, specify the SDF file name after the +compsdf option; this requires no table files on the command line, VCS automatically determines the required capabilities.

To read the ASCII SDF file at run-time, you must provide a table file with the -P option as follows:

Create a PLI table file ( that maps the $sdf_annotate system task to the C function sdf_annotate_call. Use the -P switch to specify this file as follows:

vcs -P -y $XILINX/verilog/src/simprims +libext+.v time_sim.v

The following is an example of an entry in the file for your design:

$sdf_annotate call=sdf_ annotate_ call acc+=tchk, mp, mipb:%CELL+

AR# 6349
日期 12/15/2012
状态 Active
Type 综合文章
People Also Viewed