12.07.2015 Views

Configuration Handbook - Kamami.pl

Configuration Handbook - Kamami.pl

Configuration Handbook - Kamami.pl

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Board Layout TipsBoard LayoutTipsEven though the DCLK signal (used in synchronous configurationschemes) is typically a low frequency signal, it drives edge-triggered pinson the Altera FPGA. Therefore, any overshoot, undershoot, ringing, orother noise can affect configuration. When designing the board, lay outthe DCLK trace using the same techniques used to lay out a clock line. Thesame ap<strong>pl</strong>ies for the TCK pin. Since DATA set-up and hold times are inrelation to the DCLK signal, make sure these traces are laid outaccordingly.When configuring multi<strong>pl</strong>e devices in a configuration chain, Alterarecommends that the DCLK, DATA0, (DATA[7..0]), nCONFIG,nSTATUS, and CONF_DONE signals are tied together for every device inthe configuration chain. This ensures that configuration begins and endsat the same time for each device. Additionally, if one device detects anerror and pulls nSTATUS low, all devices in the chain will reset and restartconfiguration. For debugging purposes in your prototypingenvironment, it may be useful for each device to have its own pull-up toV CC for the nSTATUS and CONF_DONE signals. This will allow you todetermine which device is signaling an error during configuration bymonitoring each nSTATUS line individually or if one device is notreleasing its CONF_DONE pin.In multi-device configuration chains, the configuration signals mayrequire buffering to ensure signal integrity and prevent clock skewproblems. Specifically, ensure that the DCLK and DATA lines are bufferedfor every fourth device. For multi-device JTAG chains, ensure that theTCK, TDI, and TMS lines are buffered for every device.When using a configuration device, it is important to realize that after theconfiguration device sends all its configuration data, it will wait a limitedamount of time for its nCS pin (tie to the FPGA’s CONF_DONE pin) to reacha logic high. Enhanced configuration devices wait for 64 DCLK cycles afterthe last configuration bit was sent for CONF_DONE to reach a high state.EPC2 devices wait for 16 DCLK cycles. If the configuration device does notsee a logic high on nCS after sending all its configuration data, it willsignal an error by driving its OE pin (tied to the FPGA’s nSTATUS pin)low. Therefore, if there is a long trace length between the nCS andCONF_DONE pin this could cause a configuration error since the addedcapacitance of a longer trace contributes to a slower rise time on theCONF_DONE signal.DebuggingSuggestionsIf you are experiencing problems configuring your Altera FPGA, thereare a number of actions you can take to try to identify your problem. Ifyou have not already done so, you should read the appropriate devicefamily chapters.11–2 Altera Corporation<strong>Configuration</strong> <strong>Handbook</strong>, Volume 2 April 2007

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

Saved successfully!

Ooh no, something went wrong!