Skip to content

Commit 73e3d92

Browse files
authored
Merge pull request #6624 from gadfort/fix-modinst-lookup
dbSta: fix modinst lookup
2 parents 89fe9a8 + 19421e7 commit 73e3d92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dbSta/src/dbSta.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ proc report_cell_usage { args } {
9393

9494
set module [[ord::get_db_block] getTopModule]
9595
if { $args != "" } {
96-
set modinst [[ord::get_db_block] findModInst $args]
96+
set modinst [[ord::get_db_block] findModInst [lindex $args 0]]
9797
if { $modinst == "NULL" } {
9898
sta_error 1002 "Unable to find $args"
9999
}

0 commit comments

Comments
 (0)