Skip to content

Commit 3d3a17e

Browse files
committed
synthesis: remove superfluous blackbox command
blackbox is not necessary for BLOCKS since .lib files are loaded during synthesis and this will mark modules as blackbox Signed-off-by: Øyvind Harboe <[email protected]>
1 parent a078960 commit 3d3a17e

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

flow/scripts/synth_preamble.tcl

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,6 @@ if {[info exist ::env(PRESERVE_CELLS)]} {
5555
}
5656
}
5757

58-
59-
60-
if {[info exist ::env(BLOCKS)]} {
61-
hierarchy -check -top $::env(DESIGN_NAME)
62-
foreach block $::env(BLOCKS) {
63-
blackbox $block
64-
puts "blackboxing $block"
65-
}
66-
}
67-
6858
if {$::env(ABC_AREA)} {
6959
puts "Using ABC area script."
7060
set abc_script $::env(SCRIPTS_DIR)/abc_area.script
@@ -79,7 +69,8 @@ set abc_args [list -script $abc_script \
7969
-liberty $::env(DONT_USE_SC_LIB) \
8070
-constr $::env(OBJECTS_DIR)/abc.constr]
8171

82-
# Exclude dont_use cells
72+
# Exclude dont_use cells. This includes macros that are specified via
73+
# LIB_FILES and ADDITIONAL_LIBS that are included in LIB_FILES.
8374
if {[info exist ::env(DONT_USE_CELLS)] && $::env(DONT_USE_CELLS) != ""} {
8475
foreach cell $::env(DONT_USE_CELLS) {
8576
lappend abc_args -dont_use $cell

0 commit comments

Comments
 (0)