Skip to content

Commit

Permalink
POWERED_NETLIST_SIMULATION -> POWERED_NETLIST_SDF_FRIENDLY
Browse files Browse the repository at this point in the history
.pnl-sim -> .pnl-sdf
  • Loading branch information
kareefardi committed Nov 20, 2023
1 parent 6aa47ed commit 57e5933
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions openlane/common/design_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ class DesignFormat(Enum):
"pnl.v",
"Powered Verilog Netlist",
)
POWERED_NETLIST_SIMULATION: DesignFormatObject = DesignFormatObject(
"pnl-simulation",
"pnl-sim.v",
"Powered Verilog Netlist For Simulation (Without Fill Cells)",
POWERED_NETLIST_SDF_FRIENDLY: DesignFormatObject = DesignFormatObject(
"pnl-sdf-friendly",
"pnl-sdf.v",
"Powered Verilog Netlist For SDF Simulation (Without Fill Cells)",
folder_override="pnl",
)
POWERED_NETLIST_NO_PHYSICAL_CELLS: DesignFormatObject = DesignFormatObject(
Expand Down
6 changes: 3 additions & 3 deletions openlane/scripts/openroad/common/io.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,13 @@ proc write_views {args} {
write_verilog -include_pwr_gnd $::env(SAVE_POWERED_NETLIST)
}

if { [info exists ::env(SAVE_POWERED_NETLIST_SIMULATION)] } {
if { [info exists ::env(SAVE_POWERED_NETLIST_SDF_FRIENDLY)] } {
set exclude_cells "[join $::env(FILL_CELL)] [join $::env(DECAP_CELL)] [join $::env(FP_WELLTAP_CELL)] [join $::env(FP_ENDCAP_CELL)]"
puts "Writing nofill powered netlist to '$::env(SAVE_POWERED_NETLIST_SIMULATION)'…"
puts "Writing nofill powered netlist to '$::env(SAVE_POWERED_NETLIST_SDF_FRIENDLY)'…"
puts "Excluding $exclude_cells"
write_verilog -include_pwr_gnd \
-remove_cells "$exclude_cells"\
$::env(SAVE_POWERED_NETLIST_SIMULATION)
$::env(SAVE_POWERED_NETLIST_SDF_FRIENDLY)
}

if { [info exists ::env(SAVE_POWERED_NETLIST_NO_PHYSICAL_CELLS)] } {
Expand Down
2 changes: 1 addition & 1 deletion openlane/steps/openroad.py
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ class WriteViews(OpenROADStep):
id = "OpenROAD.WriteViews"
name = "OpenROAD Write Views"
outputs = OpenROADStep.outputs + [
DesignFormat.POWERED_NETLIST_SIMULATION,
DesignFormat.POWERED_NETLIST_SDF_FRIENDLY,
DesignFormat.POWERED_NETLIST_NO_PHYSICAL_CELLS,
DesignFormat.OPENROAD_LEF,
]
Expand Down

0 comments on commit 57e5933

Please sign in to comment.