palaniappan-r's picture
Add markdown sources
d59bb1b verified

Disable LEF Warning Messages

Tool: OpenDB

Subcategory: Warnings and messages

Conversation

abaababa

Hi all,

I am trying to load custom lef/lib files for pnr, and my lef files contain some properties unsupported by openroad. I got too much warning messages from this and the unsupported properties didn't have effect on my pnr results. Is there any way to disable the LEF warning messages temporarily? I checked the documents but failed to find an option that can turn off the warnings. Sorry if I missed it from the documents.

Thanks in advance!

maliberty

There is no method to do that currently. No single message will print more than 1k times.

luarss

@maliberty Correct me if I am wrong, but doesn't Tcl function suppress_message do this?

Edit: i guess there's no function that achieves full suppression for all warnings, what OP requested

https://github.com/The-OpenROAD-Project/OpenROAD/blob/28892de3bef1af52f3371d547f752acf0af20021/test/helpers.tcl#L203

Corresponding source: https://github.com/The-OpenROAD-Project/OpenROAD/blob/master/src/utl/src/Logger.cpp