05.08.2014 Views

ug900-vivado-logic-simulation

ug900-vivado-logic-simulation

ug900-vivado-logic-simulation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2: Understanding Simulation Components in Vivado<br />

During the BIT file download, the model processes each command and changes registers<br />

settings that mirror the hardware changes.<br />

You can monitor the CRC register as it actively accumulates a CRC value. The model also<br />

shows the Status Register bits being set as the device progresses through the different<br />

states of configuration.<br />

Debugging with the Model<br />

The SIM_CONFIGE2 model provides an example of a correct configuration. You can<br />

leverage this example to assist in the debug procedure if you encounter device<br />

programming issues.<br />

You can read the Status Register through JTAG using the Vivado Device Programmer tool.<br />

This register contains information relating to the current status of the device and is a useful<br />

debugging resource. If you encounter issues on the board, reading the Status Register in<br />

Vivado Device Programmer is one of the first debugging steps to take.<br />

After the status register is read, you can map it to the <strong>simulation</strong> to pinpoint the<br />

configuration stage of the device.<br />

For example, the GHIGH bit is set HIGH after the data load process completes successfully;<br />

if this bit is not set, then the data loading operation did not complete. You can also monitor<br />

the GTW, GWE, and DONE signals set in BitGen that are released in the start-up sequence.<br />

The SIM_CONFIGE2 model also allows for error injection. The active CRC <strong>logic</strong> detects any<br />

issue if the data load is paused and started again with any problems. It also detects bit flips<br />

manually inserted in the BIT file, and handles them just as the device would handle this<br />

error.<br />

Feature Support<br />

Each device-specific configuration user guide outlines the supported methods of<br />

interacting with each configuration interface.The table below shows which features<br />

discussed in the configuration user guides are supported.<br />

The SIM_CONFIGE2 model:<br />

• Does not support Readback of configuration data.<br />

• Does not store configuration data provided, although it does calculate a CRC value.<br />

• Can perform Readback on specific registers only to ensure that a valid command<br />

sequence and signal handling is provided to the device.<br />

• Is not intended to allow Readback data files to be produced.<br />

Logic Simulation www.xilinx.com<br />

Send Feedback<br />

38<br />

UG900 (v2014.1) April 23, 2014

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!