XAUI v12.3 Product Guide
129
PG053 April 6, 2016
Appendix C:
Debugging Designs
Questa SIM Debug
X-Ref Target - Figure C-1
Figure C
‐
1:
Questa SIM Debug Flow Diagram
Questa SIM
Simulation Debug
Check for the latest
supported versions of Questa
SIM in the XAUI Datasheet. Is
this version being used?
Do you get errors referring to
failing to access library?
No
No
No
Yes
Need to compile and map the
proper libraries. See "Compiling
Simulation Libraries Section."
Do you get errors indicating
"GTEX2_CHANNEL" or other elements like
"BUFG" not defined?
Are you able to transmit and
recieve frames on the XGMII interface?
No
No
.
Yes
Does simulating the XAUI Example
Design give the expected output?
Yes
See Simulating the XAUI Example
Design in the XAUI Getting Stated Guide.
Yes
For verilog simulations add the "-L" switch
with the appropriate library reference to the
vsim command line. For example: -L secureip
or -L unisims_ver. See the Example Design
simulate_mti.do for an example.
Update to this version.
No
.
Yes
If problem is more design specific, open
a case with Xilinx Technical Support
and include a wlf file dump of the simulation.
For the best results, dump the entire design
hierarchy
If using VHDL, do you have a
mixed-mode simulation license?
Obtain a mixed-mode
simulation license.
Yes
IEEE 1735 encrypted HDL is
used for RTL simulation
X13670
A Verilog license is required to
simulate with the SecureIP
models. If the user design
uses VHDL, a mixed-mode
simulation license is required
The XAUI Example design should
allow the user to quickly determine
if the simulator is set up correctly,
the XAUI core will achive Link OK
status and recieve and transmit four
frames
If the libraries are not compiled and
mapped correctly, it will cause errors
such as:
# ** Error: (vopt-19) Failed to access
library 'secureip' at "secureip".
# N o such file or directory.
(errno = ENOENT)
# ** Error: ../../example_design/
xaui_core_block.v(820):
Library secureip not found.
To model the transceivers, the
SecureIP models are used. These
models must be referenced during the
vsim call. Also, it is necessary to
reference the unisims library.
Check that the link status is OK:
- Syncronization and Alignment have
been achieved
- Remote Faults are not being received
See the following debug sections for more
details