05-14-2018 06:56 AM
So I've got about 1200 lines of code in our pin constraints file and everything is neatly categorized how I like it. I'm using 2018.1 and it seems to have some 'quirky behavior'
I've been running through implementation and working on my timing, I modify some of my constraints in the Vivado text editor, save, and rerun. My constraints say they've been modified and need to be saved, sounds correct since I changed some constraints so I say yes.
However, when I open my external editor it says that my pin constraint file has been modified and needs to be reloaded. Doing a compare between the old and new versions it looks like vivado took the liberty of rearranging all of my pins in a haphazzard manner. It looks like they're all there (thank goodness for git). But why were my pin constraints modified. My pin constraints are NOT the target constraint file.
How do I keep Vivado from modifying constraints it has no business modifying?
05-14-2018 06:01 PM
05-14-2018 07:35 AM - edited 05-14-2018 07:53 AM
XDC files are "managed" by Vivado, and represent a database dump of the in-memory constraints. If you want to preserve the format of your constraints, then change the extension to ".TCL" and set them as a pre-synthesis TCL script. Vivado doesn't attempt to manage external TCL scripts. Using this method, you can have different constraints for synthesis, placement, and routing. But bear in mind that constraints loaded in later will typically overwrite earlier ones on the same objects.
05-14-2018 06:01 PM
06-01-2018 04:01 AM
This topic is still open and is waiting for you.
If your question is answered and/or your issue is solved, please mark a response that resolved your issue, as Accepted Solution (more info on this can be found here: https://forums.xilinx.com/t5/help/faqpage/faq-category-id/solutions#solutions). This way, the topic can be completed then.
If this is not solved/answered, please reply in the thread.
Thanks in advance and have a great day.