Skip to content

Commit

Permalink
Add support for multiple liberty files in OpenSTA.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 613350388
  • Loading branch information
mikesinouye authored and copybara-github committed Mar 6, 2024
1 parent cfc7e2f commit a4223b5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion xls/synthesis/openroad/sta_by_stage.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,22 @@
# NETLIST = synthesized netlist (Verilog)
# TOP = top module in NETLIST
# LIBERTY = liberty file for the target technology library
# ADDITIONAL_LIBERTIES = all lib files required for the design, e.g. multi Vt.
# LOGFILE = file for analysis output

set sta_log $::env(LOGFILE)
set netlist $::env(NETLIST)
set liberty $::env(LIBERTY)
set top $::env(TOP)
set all_liberties [split $::env(ADDITIONAL_LIBERTIES) ","]
lappend all_liberties $liberty

sta::redirect_file_begin $sta_log

read_liberty $liberty
foreach lib $all_liberties {
puts "reading lib file: $lib"
read_liberty $lib
}

#
# Force ps for time units regardless of Liberty default
Expand Down

0 comments on commit a4223b5

Please sign in to comment.