Read top level spef when using STA_MULTICORNER_READ_LIBS (#1830)

This commit is contained in:
Kareem Farid
2023-05-31 14:38:01 +03:00
committed by GitHub
parent 6bb1e0dd91
commit e910d115dc

View File

@@ -25,6 +25,13 @@ if { [file tail [info nameofexecutable]] == "sta" } {
if { $::env(STA_MULTICORNER_READ_LIBS) } {
read_libs {*}$arg_list
read_netlist ;# also reads sdc
set corners [sta::corners]
if { [info exists ::env(CURRENT_SPEF)] } {
foreach corner $corners {
puts "read_spef -corner [$corner name] $::env(CURRENT_SPEF)"
read_spef -corner [$corner name] $::env(CURRENT_SPEF)
}
}
} else {
read_libs -no_extra {*}$arg_list
read_netlist -all ;# also reads sdc