OpenROAD icon indicating copy to clipboard operation
OpenROAD copied to clipboard

defRWarning.log only logs warnings of the last 'read_def -child'

Open stefanottili opened this issue 1 year ago • 7 comments

Describe the bug

when reading multiple def files using 'read_def -child', warnings get written to defRWarning.log

  1. But this file get's overwritten by each new read_def, so one only get's the warnings from the last file read.

  2. [WARNING ODB-0149] DEF parser returns an error! but these don't show up in defRWarning.log

[WARNING ODB-0100] error: netlist component-pin (blockanme, pinname) is not defined [WARNING ODB-0100] message limit reached, this message will no longer print [WARNING ODB-0149] DEF parser returns an error!

some warnings caused by read_def get written to openroad -log log, some into defRWarning.log

Seems there are two different warnings, one from the parser, one from odb, so I assume this is "by design"

Expected Behavior

multiple 'read_def -child' commands should append warnings to defRWarning.log instead of 'restarting it for every read_def'

Environment

v2.0-9834-g36bd481ac
MacBook M1 Ventura

To Reproduce

.

Relevant log output

No response

Screenshots

No response

Additional Context

No response

stefanottili avatar Aug 10 '23 03:08 stefanottili