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 /ecp5/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 'ecp5/arch.h')
-rw-r--r-- | ecp5/arch.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/ecp5/arch.h b/ecp5/arch.h index c9b1bf43..bd4881c2 100644 --- a/ecp5/arch.h +++ b/ecp5/arch.h @@ -619,6 +619,11 @@ struct Arch : BaseCtx return wire_to_net.at(wire); } + WireId getConflictingWireWire(WireId wire) const + { + return wire; + } + NetInfo *getConflictingWireNet(WireId wire) const { NPNR_ASSERT(wire != WireId()); @@ -724,6 +729,11 @@ struct Arch : BaseCtx return pip_to_net.at(pip); } + WireId getConflictingPipWire(PipId pip) const + { + return WireId(); + } + NetInfo *getConflictingPipNet(PipId pip) const { NPNR_ASSERT(pip != PipId()); @@ -733,11 +743,6 @@ struct Arch : BaseCtx return pip_to_net.at(pip); } - WireId getConflictingPipWire(PipId pip) const - { - return WireId(); - } - AllPipRange getPips() const { AllPipRange range; |