aboutsummaryrefslogtreecommitdiffstats
path: root/dummy/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'dummy/arch.h')
-rw-r--r--dummy/arch.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/dummy/arch.h b/dummy/arch.h
index 5bdf633e..2a778689 100644
--- a/dummy/arch.h
+++ b/dummy/arch.h
@@ -88,10 +88,11 @@ struct Arch : BaseCtx
BelId getBelByName(IdString name) const;
IdString getBelName(BelId bel) const;
uint32_t getBelChecksum(BelId bel) const;
- void bindBel(BelId bel, IdString cell);
+ void bindBel(BelId bel, IdString cell, PlaceStrength strength);
void unbindBel(BelId bel);
bool checkBelAvail(BelId bel) const;
- IdString getBelCell(BelId bel, bool conflicting = false) const;
+ IdString getBoundBelCell(BelId bel) const;
+ IdString getConflictingBelCell(BelId bel) const;
const std::vector<BelId> &getBels() const;
const std::vector<BelId> &getBelsByType(BelType type) const;
BelType getBelType(BelId bel) const;
@@ -102,19 +103,21 @@ struct Arch : BaseCtx
WireId getWireByName(IdString name) const;
IdString getWireName(WireId wire) const;
uint32_t getWireChecksum(WireId wire) const;
- void bindWire(WireId wire, IdString net);
+ void bindWire(WireId wire, IdString net, PlaceStrength strength);
void unbindWire(WireId wire);
bool checkWireAvail(WireId wire) const;
- IdString getWireNet(WireId wire, bool conflicting = false) const;
+ IdString getBoundWireNet(WireId wire) const;
+ IdString getConflictingWireNet(WireId wire) const;
const std::vector<WireId> &getWires() const;
PipId getPipByName(IdString name) const;
IdString getPipName(PipId pip) const;
uint32_t getPipChecksum(PipId pip) const;
- void bindPip(PipId pip, IdString net);
+ void bindPip(PipId pip, IdString net, PlaceStrength strength);
void unbindPip(PipId pip);
bool checkPipAvail(PipId pip) const;
- IdString getPipNet(PipId pip, bool conflicting = false) const;
+ IdString getBoundPipNet(PipId pip) const;
+ IdString getConflictingPipNet(PipId pip) const;
const std::vector<PipId> &getPips() const;
WireId getPipSrcWire(PipId pip) const;
WireId getPipDstWire(PipId pip) const;