aboutsummaryrefslogtreecommitdiffstats
path: root/generic/arch.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-07-22 12:08:52 +0200
committerClifford Wolf <clifford@clifford.at>2018-07-22 12:08:52 +0200
commite13fc7edabb449d21ad6473bab23d5c1b2cf3761 (patch)
tree88fd3c6f3b69f9cc84bb0aad28f1649e5ddf6776 /generic/arch.h
parentb60c9485d2d324a221c7050aa6437b291b3dedf4 (diff)
downloadnextpnr-e13fc7edabb449d21ad6473bab23d5c1b2cf3761.tar.gz
nextpnr-e13fc7edabb449d21ad6473bab23d5c1b2cf3761.tar.bz2
nextpnr-e13fc7edabb449d21ad6473bab23d5c1b2cf3761.zip
Add Arch::getBelPins() to generic and iCE40 archs
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'generic/arch.h')
-rw-r--r--generic/arch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/arch.h b/generic/arch.h
index 2a74b1ae..e650906d 100644
--- a/generic/arch.h
+++ b/generic/arch.h
@@ -150,6 +150,7 @@ struct Arch : BaseCtx
PortType getBelPinType(BelId bel, PortPin pin) const;
BelPin getBelPinUphill(WireId wire) const NPNR_DEPRECATED;
const std::vector<BelPin> &getBelPinsDownhill(WireId wire) const NPNR_DEPRECATED;
+ std::vector<PortPin> getBelPins(BelId bel) const;
WireId getWireByName(IdString name) const;
IdString getWireName(WireId wire) const;