UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 8110

Virtex-5 / Spartan-3/E/A Configuration - Using LOUT writes for debugging purposes in Serial Modes

Description

I need to debug my bitstream. How can I use LOUT writes in serial modes for debugging purposes?

Solution

The LOUT configuration register is a pipeline register to the DOUT pin. Embedding LOUTwrites in the bitstream will allow you to see when the downloading has reached a certain point. Accordingly, it will also mean that the device is synchronized.

The best way to embed a LOUT write is to use a text editor to place it into the ".rbt" file; however, it must be inserted between two packets. Refer to (Xilinx XAPP138): "Virtex FPGA Series Configuration and Readback" for a description of packets and the bitstream format.

The packet header for an LOUT write of 1 32-bit word is 0x30010001. This must be followed by a single DWord of data. This data can be anything, which is useful when debugging. LOUT writes can be embedded anywhere in the bitstream, and can be invaluable for verification of successful downloads.

See (Xilinx Answer 7891) for further details.

AR# 8110
Date Created 08/21/2007
Last Updated 12/15/2012
Status Active
Type General Article