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# 22940

MIG - How to set up each I/O's IOBDELAY_TYPE and IOBDELAY_VALUE

Description


In MIG, IOBDELAY_TYPE and IOBDELAY_VALUE are set inside the one HDL file (for example, "v4_dq_iob.v"). In this case, if I set a FIXED delay value, then it applies to all I/Os.



Is there some way to set up each I/O's IOBDELAY_TYPE and IOBDELAY_VALUE based on the files generated by MIG?

Solution


It could be done in an "ncd" file with FPGA Editor to script.



1. Finish PAR with the original files generated by MIG.

2. Open the "ncd" file in FPGA Editor and create a sample "scr" file.



The "scr" file will be used to record the steps in FPGA Editor and for scripting later. It will be more convenient when getting the "scr" file example.



Use "Record" to start recording the modification in FPGA Editor. Select into IOB and modify IOBDELAY_TYPE and IOBDELAY_VALUE. Use "End" in FPGA Editor command line to end recording.



3. Open the "scr" file with Notepad. The example "scr" file contents will be similar to the following:



open -color design ./fpga1_top_pnr.ncd ./fpga1_top_pnr.pcf -nomd

setattr main edit-mode Read-Write



select -k comp 'ila0_trig0<1>'

setattr comp ila0_trig0<1> Config CLKDIVINV:CLKDIV\ IDELAYMUX:1\ IDELMUX:0\ IMUX:1\ IOBDELAY_TYPE:FIXED\ IOBDELAY_VALUE:10

block apply





Then add other I/O components requiring modification, and modify their IOBDELAY_TYPE and IOBDELAY_VALUE values.



4. Use fpga_edline with modified "scr" file and the "ncd" file in DOS command line. The details about fpga_edline could be found in "fpga_edline -h" in DOS command line. After that, the new "ncd" file with required I/O's IOBDELAY_TYPE and IOBDELAY_VALUE will be generated.
AR# 22940
Date Created 09/04/2007
Last Updated 08/24/2010
Status Archive
Type General Article