Open Baungarten-CINVESTAV opened 9 months ago
@openroadie Can you please look into this error message?
This is a correct error message to prevent the resizer/optimizer from inserting buffers in perpetuity to meet the max transition time requirement. The way to avoid this issue is to set the max transition time to be a more reasonable value.
How to rectify this error
https://github.com/The-OpenROAD-Project/OpenLane/issues/1982#issuecomment-1716951805
"The way to avoid this issue is to set the max transition time to be a more reasonable value".
"The way to avoid this issue is to set the max transition time to be a more reasonable value".
where should i change it
Looks like it is coming from the .lib file(s). Look for "max_transition". You may want to figure out how these files were generated and why this transition time was consider appropriate before making modifications.
Check sram .lib max_transition value
I compared the constraints of the previous version and the newest version and I noticed that the newest version didn't add automatically the constraint "MAX_TRANSITION_CONSTRAINT", the previous version added "MAX_TRANSITION_CONSTRAINT" with a value of 0.75 so I add that to my constraints file (JSON):
"MAX_TRANSITION_CONSTRAINT": 0.75
But the result was the same:
I attached the .lib file of the SRAM and checked for the "max_transition" There are 5 match that takes values from 0.5 to 0.04. Honestly, I don't know what those values mean, and I don't know if I can modify them.
I just hit the same issue
@Baungarten-CINVESTAV I will try after doing a
cd sram
sed -i 's/max_transition : 0.04/max_transition : 0.75/g' */*.lib
If I remember correctly I solved the error by removing the "EXTRA_LIBS", this is used for time analysis and the OpenLane documentation indicates that it is optional.
@NSampathIIITB ~SDC constraints should overwrite the constraints set by modules in EXTRA_LIBS
. The problem here is that~ CLOCK_PORT
is not defined correctly. If you take a look at the log file of the failing step, you will notice the following:
[WARNING STA-0337] port 'clk' not found.
[INFO]: Setting output delay to: 2.0
[INFO]: Setting input delay to: 2.0
[INFO]: Setting max fanout to: 10
[WARNING STA-0337] port 'clk' not found.
[INFO]: Setting load to: 0.033442
[INFO]: Setting clock uncertainty to: 0.25
[INFO]: Setting clock transition to: 0.15
[WARNING STA-0559] transition time can not be specified for virtual clocks.
~Hence the transition time set in the constraints wasn't applied.~ If you change CLOCK_PORT
to clk0
, you will not face the error above.
Edit:
Although fixing CLOCK_PORT
passes the error, SDC overwriting max transition is not exactly what's happening here. I will investigate and report.
Description
Hi all,
I create this issues due to i'm working on a project with OpenRAM, i create a module that combine two SRAM macros to work as one, the problem comes when i update OpenLane last week an the same project now doesn't work.
I get the following error message:![image](https://github.com/The-OpenROAD-Project/OpenLane/assets/101527680/da8d5d33-5f70-47e8-8429-2df127e89321)
Expected Behavior
Environment report
Reproduction material
I attach the project: SRAM_32_1024_2_row.zip
Relevant log output