aboutsummaryrefslogtreecommitdiffstats
path: root/generic/arch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'generic/arch.cc')
-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;