OpenROAD-flow-scripts
OpenROAD-flow-scripts copied to clipboard
Manual macro placement configuration not read by RTLMP2
Subject
Describe the bug
Based fixed macro location with macro.cfg
RTLMP flow not placing in right co-ordinates.
Expected Behavior
Macros should be placed based on export MACRO_PLACEMENT = ./designs/$(PLATFORM)/$(DESIGN_NICKNAME)/macro.cfg
Environment
with latest master
To Reproduce
Due to file size limit uploaded here: https://drive.google.com/file/d/1Rvno9adoQkzrV6ewoT_LXogtc1EgWzr4/view?usp=share_link
Relevant log output
No response
Screenshots
No response
Additional Context
No response
If you manually place the macros then you shouldn't be using rtlmp.
Thanks @maliberty.
We have requested documentation for RTLMP tool from @ravi-varadarajan.
The issues was reported by Jignesh from USC_ext.
This is an enhancement request. mpl2 should be able to handle cases where some of the macros are pre-placed
The issue is that orfs doesn't call mpl2 when you give a config file as it assumes all macros are placed.
This check to read the manual macro placement is only for TMP and not for rtlmp2. I will add it to mpl2 too in macro_place.tcl. However we will need to support some of the macros being pre-placed in the flow. I will create an enhancement request and assign it to me.
@ravi-varadarajan Any update on this?
There are two different things here
- MACRO_PLACEMENT_TCL/MACRO_PLACEMENT should be used even if RTLMP_FLOW is set which is a trivial change. I can do this.
- mpl2 should support partial macro placement which is probably a lot of work. This will be an enhancement request to OR. @ravi-varadarajan did you open one as you said?