OpenROAD icon indicating copy to clipboard operation
OpenROAD copied to clipboard

GUI Feature: load a new DEF without having to close the app

Open mbalestrini opened this issue 3 years ago • 3 comments

It would be good to be able to load a new DEF or reset the internal database to load new content without having to close the app.

mbalestrini avatar Nov 17 '21 22:11 mbalestrini

I agree. Do you want to just load a new DEF or a whole new PDK (e.g. lef, lib)?

maliberty avatar Nov 17 '21 23:11 maliberty

I found myself trying to load a new DEF more than loading the whole PDK. But if I had to choose just one option maybe doing a whole reset is more flexible. And can load everything again.

mbalestrini avatar Nov 18 '21 18:11 mbalestrini

Current ODB just generates an error when attempting to load new DEFs (https://github.com/The-OpenROAD-Project/OpenROAD/blob/f8c243bd63829123a58a9c22112c8d76b681522a/src/odb/src/defin/definReader.cpp#L1630 this is in the form of a printf instead of going to the logger). So that would need to be updated to support replacing the whole design over again (somehow).

The callbacks from ODB probably need to be expended to include information about the impending removal of the design (so all pointers can be cleared before ODB removes them), otherwise, I think the changes to the GUI would be fairly small to support this.

gadfort avatar Nov 22 '21 19:11 gadfort