Skip to content

Merging 3 independent DCPs from separate SLRs #946

Answered by clavin-xlnx
adambagley asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, this sounds like the right strategy. Using MergeDesigns will combine two or more DCPs together but it is not yet smart enough to combine all the constraints on its own. You can also use RapidWright to combine the constraints, but you'll have to write a bit of code to do it. Each Design object has a map internally of all the XDC constraints. There are actually different groups of constraints that get applied at different times (see ConstraintGroup). The two key APIs would be:

  1. Design.getXDCConstraints(ConstraintGroup cg)
  2. Design.addXDCConstrint(ConstraintGroup cg, String... xdc)

With these two APIs you should be able to read the constraints off the source DCPs and add them to the dest…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@adambagley
Comment options

Answer selected by adambagley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants