The MIG Spartan-6 MCB design includes an option to generate the core with a debug port. Enabling the debug port provides the ability to view the behavior during hardware operation of common debug signals through the ChipScope tool. To enable the debug port, turn the Debug Signals for Memory Controller option to ON. This option is available on the FPGA Options screen of the MIG tool. Once the design is generated with this option enabled, generate a bitstream with the provided Example Design using the "ise_flow.bat" script file located in the output "example_design/par" directory. Running the Example Design with the debug port is the first step in any hardware debug. This is a known working design which can be configured to test for many different signal integrity issues.
This Answer Record provides useful information on using the debug port to correct specific types of problems such as calibration failures and bit errors.
NOTE: This Answer Record is part of the Xilinx MIG Solution Center (Xilinx Answer 34243). The Xilinx MIG Solution Center is available to address all questions related to MIG. Whether you are starting a new design with MIG or troubleshooting a problem, use the MIG Solution Center to guide you to the right information.
The data signals assigned in the debug port include the command path, write datapath, and read datapath signals as defined in the "Interface Details" section of the Spartan-6 FPGA Memory Controller User Guide (UG388):
http://www.xilinx.com/support/documentation/user_guides/ug388.pdf.
The trigger signals assigned in the trigger port include the calib_done and error (example_design only) signals. The trigger can be asserted separately on calib_done to debug calibration failures and error to debug data errors after calibration.
The Debug Port is enabled through the top-level RTL parameter DEBUG_PORT. Setting this to ON enables the port in the RTL. Additionally, CORE Generator interface command lines are required in the "ise_flow.bat" script file to generate the necessary cores to run in the ChipScope analyzer.
Using the Debug Port to Isolate a Write versus Read Problem:
Answer Number | 问答标题 | 问题版本 | 已解决问题的版本 |
---|---|---|---|
44093 | MIG Spartan-6 DDR2/DDR3 - Traffic Generator Details and Usage | N/A | N/A |
43520 | MIG Spartan-6 MCB - Board Debug (including general, calibration, and data error debug) | N/A | N/A |
AR# 43539 | |
---|---|
日期 | 12/15/2012 |
状态 | Active |
Type | 综合文章 |
器件 | |
IP |