cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
airtd
Participant
Participant
4,623 Views
Registered: ‎06-29-2010

How Can I Set A PIN to High or Low in UCF?

hi:

   I using Coregen produce a IBERT project , but , I have some control pins,eg: power up pin of external chip...

 But i found only a ucf and a ngc files is produced...

so, can i set a pin to high in UCF?

thanks a lot

0 Kudos
4 Replies
airtd
Participant
Participant
4,620 Views
Registered: ‎06-29-2010

e...I know that I can make a project with "ibert " as a instance, so i can control others pin;

:smileyhappy:

But...also the question, can I set a pin to High in UCF?

0 Kudos
gszakacs
Instructor
Instructor
4,613 Views
Registered: ‎08-14-2007

The UCF file cannot specify acive drive levels of pins, only pullup or pulldown.  Even so

if the pin is not included in the project top-level ports, the UCF file does not affect it, only

the bitgen options for unused IOBs.  You could use the FPGA editor to drive pins high

or low, but it would probably be easier to build the project including the IBERT than

to go through the pin editing unless it was only one or two pins.

 

Regards,

Gabor

-- Gabor
0 Kudos
airtd
Participant
Participant
4,584 Views
Registered: ‎06-29-2010

I know that, using FPGA EDITER is ok

and surely i will use the ibert as a instruction

:) thanks very much

0 Kudos
barriet
Xilinx Employee
Xilinx Employee
4,566 Views
Registered: ‎08-13-2007

Note that there may be another option, e.g. intercepting the output of IBERT, modifying the VHDL, and then rebuilding instead of directly using its bit file output.

http://www.xilinx.com/support/answers/31685.htm (ChipScope Pro IBERT, Virtex-5 FPGA - How can I use a SYSCLK outside the 50-100 MHz range?)

http://www.xilinx.com/support/answers/31684.htm (ChipScope Pro, Virtex-5 IBERT - Can I use the REFCLKOUT as my IBERT system clock? )
I've seen this done in 11.5 to add an output to control something on the board (e.g. mux or oscillator enable) or to change the clock infrastructure appropriately.

 

You do have to be careful because the batch file has a absolute PC-style path. If you run, this in cygwin shell, you'll get an ngdbuild:604 error as it can't find the IBERT cores because of this. Simply change it appropriately or copy the .bak to a .bat and slightly modify to be a simple script.

 

I've heard this may not work on 12.1, but haven't tried it though...

 

bt

0 Kudos