OpenROAD icon indicating copy to clipboard operation
OpenROAD copied to clipboard

set_debug_level DRT snapshot save directory

Open donn opened this issue 10 months ago • 3 comments

Description

When you set_debug_level DRT snapshot 1, the snapshots are saved to the current working directory.

An option to set where they go would be pretty cool.

Suggested Solution

drt::set_snapshot_directory or similar.

Additional Context

No response

donn avatar Feb 23 '25 12:02 donn

Willing to put time into this btw if you can give me a high-level description of how you want to do it.

donn avatar Feb 24 '25 10:02 donn

@osamahammad21 please provide guidance

maliberty avatar Feb 24 '25 18:02 maliberty

@donn you could add it as an argument in the detailed_route_debug command. You will need to add the corresponding variable in the RouterConfiguration object. finally you should use that path when writing the snapshot db file which happens at FlexDR::main()

osamahammad21 avatar Feb 24 '25 18:02 osamahammad21