09-11-2015 03:45 AM
I am currently using Vivado 2015.1.
I have packaged some IP for our many different clients to build into their designs. The IP is configurable. Depending on how each client configures the IP, the IP needs different timing constraints. We currently put all possible constraints in a single "xdc.xdc" file that is packaged with the IP, but for some clients this results in many critical warnings as constraints can't be applied to their configuration of the IP.
Standard XDC files do not support "if" statements, so I can't use the "xdc.xdc" file. Unmanaged tcl in Vivado does support "if" statements, so I have written some "if" statements that determin the IP configuration and apply the correct constraints. However, I've only been able to do this manually - what is the best way to tie my tcl file to the IP packager flow such that it is always executed at the correct point in the flow?
Thanks in advance
09-11-2015 07:52 AM - edited 09-11-2015 07:55 AM
Currently in Vivado IP packager does not support this. We have an existing enhancement CR 856496 for this request.
This is in road map.
12-11-2020 03:19 AM
Was this ever implemented? I have a similar situation to the OP and have tried a number of different ways to get conditional constraints to work, including this, but
I still have this problem in Vivado 2020.1.