aboutsummaryrefslogtreecommitdiffstats
path: root/dummy/chip.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dummy/chip.cc')
-rw-r--r--dummy/chip.cc94
1 files changed, 94 insertions, 0 deletions
diff --git a/dummy/chip.cc b/dummy/chip.cc
index b3d5b790..04961d25 100644
--- a/dummy/chip.cc
+++ b/dummy/chip.cc
@@ -21,10 +21,104 @@
Chip::Chip(ChipArgs) {}
+// ---------------------------------------------------------------
+
+BelId Chip::getBelByName(IdString name) const { return BelId(); }
+
+IdString Chip::getBelName(BelId bel) const { return IdString(); }
+
+void Chip::bindBel(BelId bel, IdString cell) {}
+
+void Chip::unbindBel(BelId bel) {}
+
+bool Chip::checkBelAvail(BelId bel) const { return false; }
+
+IdString Chip::getBelCell(BelId bel) const { return IdString(); }
+
const vector<BelId> &Chip::getBels() const
{
static vector<BelId> ret;
return ret;
}
+const vector<BelId> &Chip::getBelsByType(BelType type) const
+{
+ static vector<BelId> ret;
+ return ret;
+}
+
BelType Chip::getBelType(BelId bel) const { return BelType(); }
+
+WireId Chip::getWireBelPin(BelId bel, PortPin pin) const { return WireId(); }
+
+BelPin Chip::getBelPinUphill(WireId wire) const { return BelPin(); }
+
+const vector<BelPin> &Chip::getBelPinsDownhill(WireId wire) const
+{
+ static vector<BelPin> ret;
+ return ret;
+}
+
+// ---------------------------------------------------------------
+
+WireId Chip::getWireByName(IdString name) const { return WireId(); }
+
+IdString Chip::getWireName(WireId wire) const { return IdString(); }
+
+void Chip::bindWire(WireId wire, IdString net) {}
+
+void Chip::unbindWire(WireId wire) {}
+
+bool Chip::checkWireAvail(WireId wire) const { return false; }
+
+IdString Chip::getWireNet(WireId wire) const { return IdString(); }
+
+const vector<WireId> &Chip::getWires() const
+{
+ static vector<WireId> ret;
+ return ret;
+}
+
+// ---------------------------------------------------------------
+
+PipId Chip::getPipByName(IdString name) const { return PipId(); }
+
+IdString Chip::getPipName(PipId pip) const { return IdString(); }
+
+void Chip::bindPip(PipId pip, IdString net) {}
+
+void Chip::unbindPip(PipId pip) {}
+
+bool Chip::checkPipAvail(PipId pip) const { return false; }
+
+IdString Chip::getPipNet(PipId pip) const { return IdString(); }
+
+const vector<PipId> &Chip::getPips() const
+{
+ static vector<PipId> ret;
+ return ret;
+}
+
+WireId Chip::getPipSrcWire(PipId pip) const { return WireId(); }
+
+WireId Chip::getPipDstWire(PipId pip) const { return WireId(); }
+
+DelayInfo Chip::getPipDelay(PipId pip) const { return DelayInfo(); }
+
+const vector<PipId> &Chip::getPipsDownhill(WireId wire) const
+{
+ static vector<PipId> ret;
+ return ret;
+}
+
+const vector<PipId> &Chip::getPipsUphill(WireId wire) const
+{
+ static vector<PipId> ret;
+ return ret;
+}
+
+const vector<PipId> &Chip::getWireAliases(WireId wire) const
+{
+ static vector<PipId> ret;
+ return ret;
+}