cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
3,525 Views
Registered: ‎02-06-2012

IP Packager: adding timing constraints in XDC which depend on IP settings

Hello,

 

I have packaged a custom IP which may (or may not) contain some blocks, in this case CDC synchronisation units depending on IP settings. For example if user ticks a "Asynchronous regs" option in my IP it will generate some blocks named U0/cdc/wsync_reg.

I have also packaged the _clocks.xdc file which contains "set_max_delay" timing constraints for this block - in the same way how Xilinx FIFO IP does.

The problem is that when IP user doesn't use this "Asynchronous regs" option, the CDC blocks are not synthesized, but the XDC file still has timing contraints for them, which generates a lot of "Critical Warning: no cells matched ..." messages during implementation.

 

Is there a way to work around this?

I know I can't use conditional expression like 'if' in XDC files. So I have two alternatives:

1. Use a TCL file - _clocks.tcl. But I saw people complaining that constraint scoping doesn't work for TCL files.

2. Relevant 'set_max_delay' lines in _clocks.xdc should be generated or deleted at IP configuration time. Again in similar way that I see some Xilinx IPs do. But I have no idea if/how I can do that.

0 Kudos
4 Replies
Highlighted
Adventurer
Adventurer
2,615 Views
Registered: ‎02-06-2012

Re: IP Packager: adding timing constraints in XDC which depend on IP settings

Ping...
Is there really no way to do this?
I thought that maybe I can add some kind of post-generate TCL files to modify my XDC, but I can't find any info if Vivado allows adding such hooks.
0 Kudos
Highlighted
Explorer
Explorer
2,573 Views
Registered: ‎04-22-2015

Re: IP Packager: adding timing constraints in XDC which depend on IP settings

Bump, I am running into exactly the same problem.

 

Anyone have ideas?

 

ken

0 Kudos
Highlighted
262 Views
Registered: ‎11-18-2019

Re: IP Packager: adding timing constraints in XDC which depend on IP settings

Similar problem! Sad...
0 Kudos
Highlighted
Observer
Observer
99 Views
Registered: ‎05-04-2018

Re: IP Packager: adding timing constraints in XDC which depend on IP settings

same problem here

0 Kudos