diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-11-11 17:28:41 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-11-11 17:28:41 +0100 |
commit | f93129634b479ba54d8e33186eb79f412eaeb4a9 (patch) | |
tree | 9f38835ee9187160307f89132cac0e57c7a3aebf /generic/arch.h | |
parent | ee8826b6e86fdce793a4c58ee685bd6cae5d796e (diff) | |
download | nextpnr-f93129634b479ba54d8e33186eb79f412eaeb4a9.tar.gz nextpnr-f93129634b479ba54d8e33186eb79f412eaeb4a9.tar.bz2 nextpnr-f93129634b479ba54d8e33186eb79f412eaeb4a9.zip |
Add getConflictingWireWire() arch API, streamline getConflictingXY semantic
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'generic/arch.h')
-rw-r--r-- | generic/arch.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/arch.h b/generic/arch.h index d64d03c3..9311464e 100644 --- a/generic/arch.h +++ b/generic/arch.h @@ -172,6 +172,7 @@ struct Arch : BaseCtx void unbindWire(WireId wire); bool checkWireAvail(WireId wire) const; NetInfo *getBoundWireNet(WireId wire) const; + WireId getConflictingWireWire(WireId wire) const { return wire; } NetInfo *getConflictingWireNet(WireId wire) const; DelayInfo getWireDelay(WireId wire) const { return DelayInfo(); } const std::vector<WireId> &getWires() const; @@ -186,8 +187,8 @@ struct Arch : BaseCtx void unbindPip(PipId pip); bool checkPipAvail(PipId pip) const; NetInfo *getBoundPipNet(PipId pip) const; - NetInfo *getConflictingPipNet(PipId pip) const; WireId getConflictingPipWire(PipId pip) const; + NetInfo *getConflictingPipNet(PipId pip) const; const std::vector<PipId> &getPips() const; Loc getPipLocation(PipId pip) const; WireId getPipSrcWire(PipId pip) const; |