The-OpenROAD-Project / RePlAce

RePlAce global placement tool
BSD 3-Clause "New" or "Revised" License
206 stars 75 forks source link

RePlAce crashes for a small (less than 200) instance count design #15

Closed kunalg123 closed 5 years ago

kunalg123 commented 5 years ago

Hi I created a very small testcase (using all opensource libraries) , about 200 instances, and ReplAce crashes. I am attaching testcase below (def and lef's all are opensource- map9v3_osu.tar.gz

Can you please take a look? I am passing floor-plan def which has all UNPLACED cells, whereas the testcase which is there in the RePlAce package has an input def which has PLACED cells. Am I missing anything?

mgwoo commented 5 years ago

Thanks for reporting this issue. Previously, I ignored the nets with "+ USE XXX" statement in DEF.

I've fixed this in below commit. https://github.com/abk-openroad/RePlAce/commit/c089737d859519a114dcc3c8983970f613bb70d7 Below is visualized result of your design; map9v3_osu.

map9v3_osu

Note that your design is very small, so RePlAce needs "-skipIP" command to converge the nesterov iteration.

Closed

kunalg123 commented 5 years ago

Thanks a lot Mingyu. It works fine now How did create the visualization? I used -plot option, but it gets stuck at Iter 9 for long time

On Tue, Dec 11, 2018 at 11:25 PM Mingyu Woo notifications@github.com wrote:

Thanks for reporting this issue. Previously, I ignored the nets with "+ USE XXX" statement in DEF.

I've fixed this in below commit. c089737 https://github.com/abk-openroad/RePlAce/commit/c089737d859519a114dcc3c8983970f613bb70d7 Below is visualized result of your design; map9v3_osu.

[image: map9v3_osu] https://user-images.githubusercontent.com/31026877/49819585-af854280-fd2a-11e8-815e-55342d5983cb.gif

Note that your design is very small, so RePlAce needs "-skipIP" command to converge the nesterov iteration.

Closed

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/abk-openroad/RePlAce/issues/15#issuecomment-446298157, or mute the thread https://github.com/notifications/unsubscribe-auth/AcSRfU8WKjfk3JwAoBqhVXgcP6PBoxTcks5u3_GcgaJpZM4ZNTUb .

-- Thanks & Regards Kunal P Ghosh (www.vlsisystemdesign.com)

"A pessimist always sees difficulty in every opportunity, An optimist always sees opportunity in every difficulty"

mgwoo commented 5 years ago

It happens when the bin size is below 64, DrawArrowDensity() in plot.cpp. I'll try to figure out this later.