aboutsummaryrefslogtreecommitdiffstats
path: root/mistral
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-12-22 14:06:33 +0000
committerGitHub <noreply@github.com>2021-12-22 14:06:33 +0000
commitde63b5b09a4d4373d872dd2bef3336760edad08f (patch)
treec46930f6cc737ffd22a1eb1c8fab513f4a09f088 /mistral
parentd2e193f2579e268ae5d54f2206ab621ce3465f80 (diff)
parent2c43ac992f841eb57ac3003acc2f3a5736ce4591 (diff)
downloadnextpnr-de63b5b09a4d4373d872dd2bef3336760edad08f.tar.gz
nextpnr-de63b5b09a4d4373d872dd2bef3336760edad08f.tar.bz2
nextpnr-de63b5b09a4d4373d872dd2bef3336760edad08f.zip
Merge pull request #887 from YosysHQ/gatecat/mistral-bit-update
mistral: Update to latest enum name
Diffstat (limited to 'mistral')
-rw-r--r--mistral/bitstream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mistral/bitstream.cc b/mistral/bitstream.cc
index e8c4dba7..eed508b3 100644
--- a/mistral/bitstream.cc
+++ b/mistral/bitstream.cc
@@ -123,7 +123,7 @@ struct MistralBitgen
break;
};
case CycloneV::FPLL: {
- if (pt == CycloneV::EXTSWITCH || (pt == CycloneV::CLKEN && pi < 2))
+ if (pt == CycloneV::EXTSWITCH0 || (pt == CycloneV::CLKEN && pi < 2))
cv->inv_set(pn2r.second, true);
break;
};