Fix the logic to add the placement constraints to your XDC.
- Select the macros from the find results.
- Right click and select Fix Cells (shown in the following figure).
Recommended: Analyze the placement based on hierarchy name and highlight before fixing the placement.