Skip to content

Commit 03d87de

Browse files
committed
synopsys synthesis fix
1 parent e5ae46e commit 03d87de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hw/syn/synopsys/project.tcl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,9 @@ set _bbmods [split [string map {, " "} [string trim $BB_MODULES]]]
256256
foreach m $_bbmods {
257257
if {$m eq ""} continue
258258
set cells [get_cells -hier -filter "ref_name==$m" -quiet]
259+
if {![llength $cells]} {
260+
set cells [get_cells -hier -filter "ref_name=~${m}*" -quiet]
261+
}
259262
if {[llength $cells]} {
260263
puts "INFO: Applying 'dont_touch' to cell $m"
261264
set_dont_touch $cells

0 commit comments

Comments
 (0)