Answers Database


Foundation Simulator 2.1i: Functional Simulation works with script file but Timing Simulation does not


Record #7749

Product Family: Software

Product Line: Aldec

Product Part: Foundation Logic Simulator

Product Version: 2.1i

Problem Title:
Foundation Simulator 2.1i: Functional Simulation works with script file but Timing Simulation does not



Problem Description:
Urgency: standard

General Description: When functional simulation is done using a
script file (which calls other script files), everything runs fine.
However, when timing simulation is done using the exact same
script file(s), the simulator complains about "Unknown signal or
net name". In addition, the nets can be seen in Epic.


Solution 1:

Do the timing simulation with hierarchy being preserved
(Implementation Options -> Simulation Options -> Select EDIF tab,
unselect the Retain Hierarchy in Netlist). Load the script file. You
may get warnings about busses because the hierarchy has changed,
so if you have a signal, for example, called U1/ID[15:0], you can
clear up the warning by simply changing this to ID[15:0]. This will
give the signals that you wanted to show up without modification
to the script file(s).



Solution 2:

If there are only a few signals that you cannot get to show up,
there is a way to do a mix of manual adding / script file. This
should be done with the hierarchy retained.

First, manually select the signal. To do this, scroll through the
hierarchy in the Component Selection Window until you find the
macro with the signal. Click on this top level should give a list of
signals on the left. In there should be the desired signal. Clear
the simulation window, then add the desired signals.

Second, remove the delete_signals line from the script file. When
the script file is run, the signal will already be in place and the error
about not being able to add the signal can be ignored.




End of Record #7749 - Last Modified: 10/04/99 11:47

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips!