Because the standard grid is simple and relative, you can define the RLOC properties for an RPM directly in the RTL source file.
Because the RPM_GRID coordinates must be extracted from the target device, you will probably need to:
- Iterate on the design to find the right RPM_GRID values after synthesis.
- Add the coordinates as properties in the RTL source files.
- Resynthesize the netlist before placement.