After debugging your design using RTL simulation, you can compile it using synthesis and implement it in an FPGA using the Xilinx software. You must implement your design before performing timing simulation.
Use DC Shell commands or Design Analyzer, as described in the Synthesizing Your Design chapter, to create the XNF or EDIF netlist file required by the Xilinx software. This gate-level netlist file contains components from the appropriate library but not timing information. The Xilinx software processes the netlist file and places the logical design into the physical architecture of your target FPGA.
After the Xilinx software implements the design, the actual target device timing information is available for timing simulation.
Using the Calc design as an example, the following steps provide an overview of the implementation procedure.
When simulating, you must analyze your design's modules according to hierarchical precedence with the lowest first (structural netlist first, followed by the testbench).
vhdlan -i routed_design.vhd
vhdlan -i testbench.vhd
VHDLAN can analyze your design in compiled or interpretive modes. While the compiled mode usually accelerates simulation run times, it reduces debugger visibility into the simulation. For more information, refer to the Synopsys documentation.
The VHDL Simulator launches and reads in the testbench, the back-annotated VHDL model for your placed and routed design, and the associated SDF file.
For timing simulation, the simulator starts in the same way as for RTL simulation, but with the addition of the following two command line options.
The following examples illustrate these two command line options.
Where instance_name is the instance name of the unit under test in your testbench.
You can also specify the -sdf_top and -sdf options in the arguments field of the initial window that appears when you start VHDLDBX.
The Calc tutorial provides the tim_sim.csh script file. This script provides the necessary steps to perform a timing simulation with the VSS simulator. You can modify this script to use with your designs. You can use the same testbench you used to perform an RTL simulation to perform a timing simulation.
See the FPGA Compiler and Design Compiler Tutorial for XC4000E/L/EX/XL/XLA/XV Designs chapter for more information.