OpenLane icon indicating copy to clipboard operation
OpenLane copied to clipboard

Use .odb rather than .def between OR steps

Open maliberty opened this issue 3 years ago • 3 comments

Prompt

Between steps using openroad the intermediate files should be a .odb rather than a .def. We are storing additional information that can't be represented in def (guides, hierarchy, etc). ORFS has already made the switch as a reference.

Proposal

Use read_db / write_db rather than read_def / write_def

maliberty avatar Jun 22 '22 20:06 maliberty

This has been proposed before. I'd like to do it, but then I'd have to account for "contamination" for if the DEFs are manipulated outside of OpenROAD. But it would be good not just for the additional information, but also just for performance reasons.

donn avatar Jun 23 '22 10:06 donn

If required you could always write_def and read_def for outside manipulation. Better would be to rewrite such as an openroad tcl using the odb apis instead.

Should I take your comment as a rejection or just a concern?

maliberty avatar Jun 23 '22 13:06 maliberty

Concern. It's definitely planned. Just that it's going to be quite a lift.

donn avatar Jun 23 '22 13:06 donn