aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/arch.h
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-02-11 17:56:19 +0000
committerDavid Shah <davey1576@gmail.com>2019-02-24 10:28:25 +0100
commit63e1f02c65d07325447772f0351631152969e919 (patch)
tree9d9ea7fc494fbf3ebbcdc131814ae28ba678f7ba /ecp5/arch.h
parentdb1666fc3d22c33f49237096428da4be3d760632 (diff)
downloadnextpnr-63e1f02c65d07325447772f0351631152969e919.tar.gz
nextpnr-63e1f02c65d07325447772f0351631152969e919.tar.bz2
nextpnr-63e1f02c65d07325447772f0351631152969e919.zip
ecp5: Helper functions for DQS and ECLK
Signed-off-by: David Shah <dave@ds0.me>
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 61cc8283..6a2f2bf5 100644
--- a/ecp5/arch.h
+++ b/ecp5/arch.h
@@ -1006,6 +1006,10 @@ struct Arch : BaseCtx
GlobalInfoPOD globalInfoAtLoc(Location loc);
+ bool getPIODQSGroup(BelId pio, bool &dqsright, int &dqsrow);
+ BelId getDQSBUF(bool dqsright, int dqsrow);
+ WireId getBankECLK(int bank, int eclk);
+
// Apply LPF constraints to the context
bool applyLPF(std::string filename, std::istream &in);