OpenROAD-flow-scripts icon indicating copy to clipboard operation
OpenROAD-flow-scripts copied to clipboard

Facing error in floorplan of RePlace diverged at initial iteration. Re-run with a smaller init_density_penalty value

Open VanshikaTanwar opened this issue 2 years ago • 14 comments

Subject

Describe the bug

When I am running my design using sky130hd then it's showing error in floorplan step and as I have tried adding and changing the different values of init density penalty and also, place_denaitu but still same error is coming Of [ERROR GPL-0304] Replace diverged at initial iteration . Re-run with a smaller init_density_penalty value .

Expected Behavior

Have tried all solutions but not able to solve this error Please help me to solve this error .

Environment

Linux (Ubuntu 20.04 ) version 
Python 3.8 version

To Reproduce

...

Relevant log output

No response

Screenshots

16797250920877915064134400593994

Config.mk pic

16797251509488920088581633926329

16797252544194451291227642476442

tdms_place.tcl 16797252206661018202603403634903

Additional Context

Please help me how to resolve this error ?

VanshikaTanwar avatar Mar 25 '23 06:03 VanshikaTanwar

Run make floorplan_issue and attach the test case. Screenshot won't help to fix the issue.

vijayank88 avatar Mar 25 '23 07:03 vijayank88

floorplan is not able to execute because there is no command present in top level makefile of my design

16797506064685863420847537759638

16797506523354148049301556694793

VanshikaTanwar avatar Mar 25 '23 13:03 VanshikaTanwar

The screen shots suggest he is using openfasoc. @msaligane is there a way to package an issue from fasoc?

maliberty avatar Mar 25 '23 16:03 maliberty

Looking at the density it's extremely sparse at 0.8%, maybe that is contributing to the issue

gadfort avatar Mar 25 '23 17:03 gadfort

So, what should I do now sir ,to solve this error ?

VanshikaTanwar avatar Mar 26 '23 10:03 VanshikaTanwar

You need to find a way to produce a standalone test case. Without one nothing can be done. I don't use fasoc so I have no idea how to do so with those scripts.

maliberty avatar Mar 26 '23 11:03 maliberty

Hi all, I see a similar issue here: https://github.com/The-OpenROAD-Project/OpenROAD/issues/1296

Eyantra698Sumanto avatar Mar 26 '23 14:03 Eyantra698Sumanto

@Eyantra698Sumanto #1296 was closed a long time ago. How is that related?

maliberty avatar Mar 26 '23 16:03 maliberty

@maliberty The above screenshot and the #1296 both show the "RePlace diverged at the initial iteration" hence I was wondering.

Eyantra698Sumanto avatar Mar 26 '23 17:03 Eyantra698Sumanto

FYI while I think the fix in the PR is wrong, the test case in https://github.com/The-OpenROAD-Project/OpenROAD/pull/2370 still reproduces. In that case the issue is explained in: https://github.com/The-OpenROAD-Project/OpenROAD/pull/2370#issuecomment-1294796770

antonblanchard avatar Mar 27 '23 10:03 antonblanchard

The screen shots suggest he is using openfasoc. @msaligane is there a way to package an issue from fasoc?

@maliberty we do not have that yet. Maybe something to add @lulu9312

msaligane avatar Mar 29 '23 02:03 msaligane

@msaligane Correct we don't have this generator yet. @VanshikaTanwar In second screenshot, for your config.mk file I see PLACE_DENSITY is commented. Maybe you should try uncommenting it. Also to run the make floorplan_issue command you need to go to flow/ directory.

lulu9312 avatar Mar 29 '23 02:03 lulu9312

@lulu9312 Sir, I already tried uncommenting that PLACE_DENSITY and assigned different values to it but still the same error persist .

Ok sir I will run the make floorplan_issue and then share the SS /file of it what it generates after this command .

VanshikaTanwar avatar Mar 29 '23 06:03 VanshikaTanwar

@VanshikaTanwar Is that resolved?

vijayank88 avatar Jul 17 '23 09:07 vijayank88