File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -467,13 +467,14 @@ def mock_array(name, config):
467467 "POWER_STAGE_STEM" : POWER_STAGE_STEM [stage ],
468468 "VCD_STIMULI" : "$(location :vcd_{variant}_{stage})" .format (variant = variant , stage = stage ),
469469 } | ({"openroad" : {}}.get (
470- "openroad" ,
470+ power_test ,
471471 {
472472 "OPENROAD_EXE" : "$(location //src/sta:opensta)" ,
473473 },
474474 )),
475475 data = [
476476 # FIXME this is a workaround to ensure that the OpenSTA runfiles are available
477+ ":opensta_runfiles" ,
477478 ":vcd_{variant}_{stage}" .format (variant = variant , stage = stage ),
478479 ":load_power.tcl" ,
479480 ] + ["{macro}_{variant}_{stage}" .format (
@@ -484,8 +485,7 @@ def mock_array(name, config):
484485 (["{variant}_{macro}_parasitics" .format (
485486 variant = (name + "_base" ) if macro == "Element" else variant ,
486487 macro = macro ,
487- ) for macro in MACROS ] if stage != "final" else []) +
488- (["//src/sta:opensta" ] if power_test != "openroad" else []),
488+ ) for macro in MACROS ] if stage != "final" else []),
489489 script = ":{power_test}.tcl" .format (power_test = power_test if power_test != "openroad" else "power" ),
490490 tags = ["manual" ],
491491 tools = ["//src/sta:opensta" ],
You can’t perform that action at this time.
0 commit comments