aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/arch.h
diff options
context:
space:
mode:
authorEddie Hung <e.hung@imperial.ac.uk>2018-07-23 18:22:32 -0700
committerEddie Hung <e.hung@imperial.ac.uk>2018-07-23 18:22:32 -0700
commit9149012fd1555e4e47d65988612be8da514ec0fb (patch)
treeae837431fd8535c605e7aa30a7e6d225ba919056 /ecp5/arch.h
parent30ec1cfbd7dd02578fa2a3e33612e863f01ea959 (diff)
parent139f7e0903b6c299b7c85bebfd7674933e952a50 (diff)
downloadnextpnr-9149012fd1555e4e47d65988612be8da514ec0fb.tar.gz
nextpnr-9149012fd1555e4e47d65988612be8da514ec0fb.tar.bz2
nextpnr-9149012fd1555e4e47d65988612be8da514ec0fb.zip
Merge remote-tracking branch 'origin/master' into redist_slack
Diffstat (limited to 'ecp5/arch.h')
-rw-r--r--ecp5/arch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ecp5/arch.h b/ecp5/arch.h
index 38362d6b..c2efb2bd 100644
--- a/ecp5/arch.h
+++ b/ecp5/arch.h
@@ -733,6 +733,10 @@ struct Arch : BaseCtx
BelId getPackagePinBel(const std::string &pin) const;
std::string getBelPackagePin(BelId bel) const;
+ int getPioBelBank(BelId bel) const;
+ // For getting GCLK, PLL, Vref, etc, pins
+ std::string getPioFunctionName(BelId bel) const;
+ BelId getPioByFunctionName(const std::string &name) const;
PortType getBelPinType(BelId bel, PortPin pin) const;