Skip to content

Commit 9395b2a

Browse files
committed
gpl: include the consideration of debug group,
when this group is present, instances will be placed together with the set of instances that belong to no group, associated with no region. Signed-off-by: Augusto Berndt <[email protected]>
1 parent 6ff8cb4 commit 9395b2a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/gpl/src/placerBase.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,9 @@ void PlacerBase::init()
10151015
continue;
10161016
}
10171017

1018-
if (inst->dbInst() && inst->dbInst()->getGroup() != group_) {
1018+
if ((inst->dbInst() && inst->dbInst()->getGroup() != group_)
1019+
&& inst->dbInst()->getGroup()->getType()
1020+
!= odb::dbGroupType::VISUAL_DEBUG) {
10191021
continue;
10201022
}
10211023

@@ -1196,7 +1198,9 @@ void PlacerBase::initInstsForUnusableSites()
11961198
if (!inst->isFixed()) {
11971199
continue;
11981200
}
1199-
if (inst->dbInst() && inst->dbInst()->getGroup() != group_) {
1201+
if ((inst->dbInst() && inst->dbInst()->getGroup() != group_)
1202+
&& inst->dbInst()->getGroup()->getType()
1203+
!= odb::dbGroupType::VISUAL_DEBUG) {
12001204
continue;
12011205
}
12021206
std::pair<int, int> pairX = getMinMaxIdx(

0 commit comments

Comments
 (0)