Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add +nowarn8888 argument for backannoted

...

Then, in the simulation script, netlist must be compiled instead of all design files and SDF option added linking the top instance in the simulation command as follows:

Code Block
breakoutModewide
#Compile nx file
vlib nx
vcom -work nx -2008 nxmap-dbg-22.1.0.1/share/backannoted/nxLibrary-Medium.vhdp
#Compile design file
vlib work
vcom -work work -2008 top_routed.vhd
#Compile testbench
vcom -work work -2008 tb_top.vhd
#Simulate
vsim +nowarn8888 -t 1ps -lib work work.tb_top -sdfmax sim/:tb_top:i_top_0=top_routed.sdf

+nowarn8888 argument is used in order to remove all warning related to negative timing delay.

Note

Path to module depends on PathSeparator and DatasetSeparator variables in modelsim.ini

This example is given with the following variables:

PathSeparator = :

DatasetSeparator= /

...