cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Voyager
Voyager
3,140 Views
Registered: ‎05-30-2017

LOC XST constraint with wildcard

Jump to solution

Hello,

I'm currently working on a design with Spartan 6 xc6slx150t-3fgg900, using ISE 14.7 and Verilog language. It is correct to write in a .v a constraint with the wildcard for example ( *LOC = "ILOGIC_X*Y*) or the wildcard can be used only in the .ufc? Thank you.

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Guide
Guide
5,427 Views
Registered: ‎01-23-2009

So, yes, it appears to be legal syntax, although I have never seen anyone use it.

 

Nonetheless, the "correct" way to force a flip-flop into the IOB is using the IOB property I described, not a LOC constraint with a wildcard.

 

Avrum

View solution in original post

4 Replies
Highlighted
Guide
Guide
3,128 Views
Registered: ‎01-23-2009

No. You cannot do this. It is not even legal in the UCF file; the LOC location must be a string with no wildcards.

 

If you want to force a flip-flop into the IOB (which is what the ILOGIC is), set the IOB=TRUE (or IOB=FORCE) property on the flip-flop. This CAN be done in the RTL.

 

(* IOB = "FORCE") reg my_iob_ff;

 

always @(posedge clk)

begin

  my_iob_ff <= (whatever);

end

 

This will force the flip-flop my_iob_ff into the IOB.

 

Avrum

Highlighted
Voyager
Voyager
3,040 Views
Registered: ‎05-30-2017

@avrumw,

thank you for the reply. Looking at https://www.xilinx.com/support/documentation/sw_manuals/xilinx11/cgd.pdf pg 124 it seem that using wildcards in LOCATION constraints in the .ucf file it is legal. What do you think? Thank you.

0 Kudos
Highlighted
Guide
Guide
5,428 Views
Registered: ‎01-23-2009

So, yes, it appears to be legal syntax, although I have never seen anyone use it.

 

Nonetheless, the "correct" way to force a flip-flop into the IOB is using the IOB property I described, not a LOC constraint with a wildcard.

 

Avrum

View solution in original post

Highlighted
Voyager
Voyager
2,988 Views
Registered: ‎05-30-2017

Thank you for the reply. I used the LOC constraint with wildcard because I wanted to force FFs and latches specifically in ILOGIC blocks. Thanks for the help!

0 Kudos