Skip to content

Commit 36fb38c

Browse files
committed
Merge remote-tracking branch 'origin/master' into HEAD
2 parents b8f2575 + fcf8b41 commit 36fb38c

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

flow/scripts/floorplan.tcl

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,9 @@ if {$use_floorplan_def} {
7373
-site $::env(PLACE_SITE) \
7474
{*}$additional_args
7575
} elseif {$use_core_utilization} {
76-
set aspect_ratio 1.0
77-
if {[env_var_exists_and_non_empty "CORE_ASPECT_RATIO"]} {
78-
set aspect_ratio $::env(CORE_ASPECT_RATIO)
79-
}
80-
set core_margin 1.0
81-
if {[env_var_exists_and_non_empty "CORE_MARGIN"]} {
82-
set core_margin $::env(CORE_MARGIN)
83-
}
8476
initialize_floorplan -utilization $::env(CORE_UTILIZATION) \
85-
-aspect_ratio $aspect_ratio \
86-
-core_space $core_margin \
77+
-aspect_ratio $::env(CORE_ASPECT_RATIO) \
78+
-core_space $::env(CORE_MARGIN) \
8779
-site $::env(PLACE_SITE) \
8880
{*}$additional_args
8981
} else {

flow/scripts/variables.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,7 @@ CORE_ASPECT_RATIO:
695695
`CORE_UTILIZATION` is undefined.
696696
stages:
697697
- floorplan
698+
default: 1.0
698699
tunable: 1
699700
CORE_MARGIN:
700701
description: >
@@ -705,6 +706,7 @@ CORE_MARGIN:
705706
is undefined.
706707
stages:
707708
- floorplan
709+
default: 1.0
708710
tunable: 1
709711
DIE_AREA:
710712
description: >

0 commit comments

Comments
 (0)