Open Licheng-Guo opened 3 days ago
Can you give a motivating use-case for when this method is useful?
The current design merger does not handle XDCs, thus the final output has obsolete constraints. One simple hack for now is to delete the ones no longer needed.
I think I'd like to see a testcase as part of this PR so it's no longer "untested".
I can put a test DCP into RapidWrightDCP repo and add a test here
@clavin-xlnx Since DesignTools is already so big, and since there could be more manipulation of the XDCs, perhaps we should create a new ConstraintTools class?
I think this is a good idea, we might need more XDC manipulation when stitching complex designs. I can move the utility over there
@clavin-xlnx Since
DesignTools
is already so big, and since there could be more manipulation of the XDCs, perhaps we should create a newConstraintTools
class?
Sure, I think a ConstraintsTools
class would be good, make sense to me.
Utility to delete a pblock.
Only tested on Vivado-generated pblocks, i.e., those existing in an out-of-box Vivado DCP