-
I want to get the name of an instance as it is in the Netlist & STA- without escape characters baked-in. In this Tcl script, I can iterate over both the OpenSTA read_db my_db.odb
foreach cell [get_cells *] {
puts "[get_property $cell name]"
}
foreach cell [[ord::get_db_block] getInsts] {
puts "[$cell getName] [$cell getConstName]"
}
Is there a way to get the "canonical" name from the DEF name in the db somehow? (Preferably in Python) |
Beta Was this translation helpful? Give feedback.
Answered by
maliberty
Mar 15, 2024
Replies: 1 comment 4 replies
-
I don't know what your input was but I would assume the odb names should match DEF. What are you expecting? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/The-OpenROAD-Project/OpenSTA/blob/073ff2e8c8c5469996fed1236f801b0b14064b0c/network/VerilogNamespace.cc#L68