aboutsummaryrefslogtreecommitdiffstats
path: root/mistral/globals.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-05-15 09:58:00 +0100
committergatecat <gatecat@ds0.me>2021-05-15 14:54:33 +0100
commit4d32c4f2fcb5c5e5ca21100f4473acb2c4cda3b0 (patch)
treec8c0a5a58bb29e7b2a4b31f3917e9aa0e8f09e02 /mistral/globals.cc
parent511e46c40fb99b8b708e58b70fd9f4642222a67e (diff)
downloadnextpnr-4d32c4f2fcb5c5e5ca21100f4473acb2c4cda3b0.tar.gz
nextpnr-4d32c4f2fcb5c5e5ca21100f4473acb2c4cda3b0.tar.bz2
nextpnr-4d32c4f2fcb5c5e5ca21100f4473acb2c4cda3b0.zip
mistral: Disable global buffers that are currently broken
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'mistral/globals.cc')
-rw-r--r--mistral/globals.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/mistral/globals.cc b/mistral/globals.cc
index eee8d0a9..97e35518 100644
--- a/mistral/globals.cc
+++ b/mistral/globals.cc
@@ -26,6 +26,8 @@ NEXTPNR_NAMESPACE_BEGIN
void Arch::create_clkbuf(int x, int y)
{
for (int z = 0; z < 4; z++) {
+ if (z != 2)
+ continue; // TODO: why do other Zs not work?
// For now we only consider the input path from general routing, other inputs like dedicated clock pins are
// still a TODO
BelId bel = add_bel(x, y, id(stringf("CLKBUF[%d]", z)), id_MISTRAL_CLKENA);