aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.cc
diff options
context:
space:
mode:
authorSerge Bazanski <serge@bazanski.pl>2018-07-14 20:24:20 +0100
committerSerge Bazanski <serge@bazanski.pl>2018-07-14 20:24:20 +0100
commit59a790cd00421d14120927fbb1718da8cd77e3c4 (patch)
tree1fef01a39c3856341bcbfb6f9c5ed8d97622127d /ice40/arch.cc
parent1b5c1b028e0a44c6171aa2b95809e2b6edb9c13c (diff)
downloadnextpnr-59a790cd00421d14120927fbb1718da8cd77e3c4.tar.gz
nextpnr-59a790cd00421d14120927fbb1718da8cd77e3c4.tar.bz2
nextpnr-59a790cd00421d14120927fbb1718da8cd77e3c4.zip
Refactor IdString functionality into IdStringDB
This lets us more precisely control the lifetime of IdString databases in contexts/arches.
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r--ice40/arch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc
index adc37dbd..c9cda40d 100644
--- a/ice40/arch.cc
+++ b/ice40/arch.cc
@@ -102,7 +102,7 @@ BelType Arch::belTypeFromId(IdString type) const
// -----------------------------------------------------------------------
-void IdString::initialize_arch(const BaseCtx *ctx)
+void IdString::initialize_arch(const IdStringDB *ctx)
{
#define X(t) initialize_add(ctx, #t, PIN_##t);
#include "portpins.inc"