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!

Reply

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

Highlighted
Contributor
Posts: 38
Registered: ‎02-06-2012

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

[ Edited ]

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.

Contributor
Posts: 38
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.
Explorer
Posts: 128
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