From 7ddcdbfed03abbb92d726b95d24e825041ff8617 Mon Sep 17 00:00:00 2001 From: David Shah Date: Thu, 26 Jul 2018 16:47:09 +0200 Subject: generic: Fixing build Signed-off-by: David Shah --- generic/arch.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'generic') 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; -- cgit v1.2.3