aboutsummaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/arch.cc2
-rw-r--r--generic/arch.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/generic/arch.cc b/generic/arch.cc
index 447aaa35..1a8b1a67 100644
--- a/generic/arch.cc
+++ b/generic/arch.cc
@@ -215,7 +215,7 @@ const std::vector<BelId> &Arch::getBelsByType(BelType type) const
BelType Arch::getBelType(BelId bel) const { return bels.at(bel).type; }
-WireId Arch::getWireBelPin(BelId bel, PortPin pin) const { return bels.at(bel).pins.at(pin).wire; }
+WireId Arch::getBelPinWire(BelId bel, PortPin pin) const { return bels.at(bel).pins.at(pin).wire; }
BelPin Arch::getBelPinUphill(WireId wire) const { return wires.at(wire).uphill_bel_pin; }
diff --git a/generic/arch.h b/generic/arch.h
index f4ca4383..7bcb965f 100644
--- a/generic/arch.h
+++ b/generic/arch.h
@@ -145,7 +145,7 @@ struct Arch : BaseCtx
const std::vector<BelId> &getBels() const;
const std::vector<BelId> &getBelsByType(BelType type) const;
BelType getBelType(BelId bel) const;
- WireId getWireBelPin(BelId bel, PortPin pin) const;
+ WireId getBelPinWire(BelId bel, PortPin pin) const;
BelPin getBelPinUphill(WireId wire) const;
const std::vector<BelPin> &getBelPinsDownhill(WireId wire) const;