30
www.xilinx.com
Ethernet 1000BASE-X PCS/PMA or SGMII v7.0
UG145 January 18, 2006
Chapter 4:
Detailed Example Design
R
A ModelSim macro file that opens a wave window and adds signals of interest to it. It is
called by the
simulate_mti.do
macro file.
simulate_ncsim.sh
An IUS script file that compiles the Verilog sources and then runs the timing simulation to
completion.
wave_ncsim.sv
An IUS macro file that opens a wave window and adds signals of interest to it. It is called
by the
simulate_ncsim.sh
script file.
Implementation Scripts
Note:
These scripts are only present with the Full license.
The implementation script is either a shell script or batch file that processes the example
design through the Xilinx tool flow. It is located at:
UNIX:
<project_dir>
/
<component_name>
/implement/implement.sh
Windows:
<project_dir>
/
<component_name>
/implement/implement.bat
The implement script performs the following steps:
1.
The HDL example design files are synthesized using XST.
2.
Ngdbuild is run to consolidate the core netlist and the example design netlist into the
NGD file containing the entire design.
3.
The design is mapped to the target technology.
4.
The design is placed-and-routed on the target device.
5.
Static timing analysis is performed on the routed design using trce.
6.
A bitstream is generated.
7.
Netgen runs on the routed design to generate a VHDL or Verilog netlist (as
appropriate for the Design Entry project setting) and timing information in the form of
SDF files.
The Xilinx tool flow generates several output and report files. These are saved in the
following directory which is created by the implement script:
<project_dir>
/
<component_name>
/implement/results
Simulation Scripts
Functional simulation
The test script is a ModelSim or an IUS macro that automates the simulation of the test
bench. It is located at:
<project_dir>
/
<component_name>
/simulation/functional/
The test script performs the following tasks:
•
Compiles the structural UNISIM simulation model