From 83117bef66f5fbe27d98de8e30979e47d0a1ffbb Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Sun, 11 Nov 2018 10:19:17 -0800 Subject: [PATCH] Add missing APIs needed for router_improve --- xc7/arch.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/xc7/arch.h b/xc7/arch.h index 9d8c4251..092cd5f6 100644 --- a/xc7/arch.h +++ b/xc7/arch.h @@ -677,6 +677,11 @@ struct Arch : BaseCtx return wire_to_net[wire.index]; } + WireId getConflictingWireWire(WireId wire) const + { + return wire; + } + NetInfo *getConflictingWireNet(WireId wire) const { NPNR_ASSERT(wire != WireId()); @@ -773,6 +778,11 @@ struct Arch : BaseCtx return pip_to_net[pip.index]; } + WireId getConflictingPipWire(PipId pip) const + { + return WireId(); + } + NetInfo *getConflictingPipNet(PipId pip) const { NPNR_ASSERT(pip != PipId());