aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/nextpnr.cc5
-rw-r--r--common/nextpnr.h4
2 files changed, 5 insertions, 4 deletions
diff --git a/common/nextpnr.cc b/common/nextpnr.cc
index 09fff8d1..09d8349f 100644
--- a/common/nextpnr.cc
+++ b/common/nextpnr.cc
@@ -454,7 +454,7 @@ DecalXY BaseCtx::constructDecalXY(DecalId decal, float x, float y)
return dxy;
}
-void BaseCtx::commonInfoToAttributes()
+void BaseCtx::archInfoToAttributes()
{
for (auto &cell : cells) {
auto ci = cell.second.get();
@@ -498,7 +498,7 @@ void BaseCtx::commonInfoToAttributes()
}
}
-void BaseCtx::attributesToCommonInfo()
+void BaseCtx::attributesToArchInfo()
{
for (auto &cell : cells) {
auto ci = cell.second.get();
@@ -544,6 +544,7 @@ void BaseCtx::attributesToCommonInfo()
}
}
}
+ getCtx()->assignArchInfo();
}
NEXTPNR_NAMESPACE_END
diff --git a/common/nextpnr.h b/common/nextpnr.h
index f7f135fb..8e47dcda 100644
--- a/common/nextpnr.h
+++ b/common/nextpnr.h
@@ -682,8 +682,8 @@ struct BaseCtx
// Workaround for lack of wrappable constructors
DecalXY constructDecalXY(DecalId decal, float x, float y);
- void commonInfoToAttributes();
- void attributesToCommonInfo();
+ void archInfoToAttributes();
+ void attributesToArchInfo();
};
NEXTPNR_NAMESPACE_END