aboutsummaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-07-26 16:47:09 +0200
committerDavid Shah <davey1576@gmail.com>2018-07-26 16:47:09 +0200
commit7ddcdbfed03abbb92d726b95d24e825041ff8617 (patch)
treececf3837d06c5d6a1246ea4a903d423906ef2b56 /generic
parent467e0926f920f23b7cb2241cf52dbcfe84646fed (diff)
downloadnextpnr-7ddcdbfed03abbb92d726b95d24e825041ff8617.tar.gz
nextpnr-7ddcdbfed03abbb92d726b95d24e825041ff8617.tar.bz2
nextpnr-7ddcdbfed03abbb92d726b95d24e825041ff8617.zip
generic: Fixing build
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'generic')
-rw-r--r--generic/arch.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/arch.cc b/generic/arch.cc
index 580fae43..5c9864ab 100644
--- a/generic/arch.cc
+++ b/generic/arch.cc
@@ -41,7 +41,7 @@ void Arch::addPip(IdString name, IdString type, IdString srcWire, IdString dstWi
NPNR_ASSERT(pips.count(name) == 0);
PipInfo &pi = pips[name];
pi.name = name;
- wi.type = type;
+ pi.type = type;
pi.srcWire = srcWire;
pi.dstWire = dstWire;
pi.delay = delay;
@@ -56,7 +56,7 @@ void Arch::addAlias(IdString name, IdString type, IdString srcWire, IdString dst
NPNR_ASSERT(pips.count(name) == 0);
PipInfo &pi = pips[name];
pi.name = name;
- wi.type = type;
+ pi.type = type;
pi.srcWire = srcWire;
pi.dstWire = dstWire;
pi.delay = delay;