aboutsummaryrefslogtreecommitdiffstats
path: root/common/nextpnr.h
diff options
context:
space:
mode:
authorD. Shah <dave@ds0.me>2021-02-03 19:51:39 +0000
committerD. Shah <dave@ds0.me>2021-02-05 19:19:17 +0000
commitd4363b7ee593ee84957dbe60969cf694903d70ad (patch)
tree3febd3477d0d1a2e800144d75109aef7071a95f0 /common/nextpnr.h
parentb866601b6398f90967c8ab120f9b9806869f94c4 (diff)
downloadnextpnr-d4363b7ee593ee84957dbe60969cf694903d70ad.tar.gz
nextpnr-d4363b7ee593ee84957dbe60969cf694903d70ad.tar.bz2
nextpnr-d4363b7ee593ee84957dbe60969cf694903d70ad.zip
ecp5: Use common wire/pip binding
Signed-off-by: D. Shah <dave@ds0.me>
Diffstat (limited to 'common/nextpnr.h')
-rw-r--r--common/nextpnr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h
index 263c8e13..4063999d 100644
--- a/common/nextpnr.h
+++ b/common/nextpnr.h
@@ -1156,7 +1156,7 @@ template <typename R> struct ArchBase : BaseCtx
return fnd == base_pip2net.end() ? nullptr : fnd->second;
}
virtual WireId getConflictingPipWire(PipId pip) const { return WireId(); }
- virtual NetInfo *getConflictingPipNet(PipId pip) const { return nullptr; }
+ virtual NetInfo *getConflictingPipNet(PipId pip) const { return getBoundPipNet(pip); }
virtual WireId getPipSrcWire(PipId pip) const = 0;
virtual WireId getPipDstWire(PipId pip) const = 0;
virtual DelayInfo getPipDelay(PipId pip) const = 0;