Skip to content

Commit

Permalink
Merge pull request The-OpenROAD-Project#1809 from rovinski/master
Browse files Browse the repository at this point in the history
syn: Use the dont_use flags in the abc pass
  • Loading branch information
vvbandeira authored Feb 20, 2024
2 parents 067099e + 0ff0acd commit 5ee4676
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions flow/scripts/synth_preamble.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ set abc_args [list -script $abc_script \
-liberty $::env(DONT_USE_SC_LIB) \
-constr $::env(OBJECTS_DIR)/abc.constr]

# Exclude dont_use cells
if {[info exist ::env(DONT_USE_CELLS)] && $::env(DONT_USE_CELLS) != ""} {
foreach cell $::env(DONT_USE_CELLS) {
lappend abc_args -dont_use $cell
}
}

if {[info exist ::env(SDC_FILE_CLOCK_PERIOD)] && [file isfile $::env(SDC_FILE_CLOCK_PERIOD)]} {
puts "\[FLOW\] Extracting clock period from SDC file: $::env(SDC_FILE_CLOCK_PERIOD)"
set fp [open $::env(SDC_FILE_CLOCK_PERIOD) r]
Expand Down

0 comments on commit 5ee4676

Please sign in to comment.