aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-06-07 13:49:19 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-06-07 13:49:19 +0200
commit78e6631f766194c078b6cd32d520146e6ab257a4 (patch)
treea78b788c13978492fbb280d01f748658ec827c65 /common
parent54175f918760d3ee2a4d89f926f9e0652d223134 (diff)
downloadnextpnr-78e6631f766194c078b6cd32d520146e6ab257a4.tar.gz
nextpnr-78e6631f766194c078b6cd32d520146e6ab257a4.tar.bz2
nextpnr-78e6631f766194c078b6cd32d520146e6ab257a4.zip
Cleanup
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