add hack to modify VERSA_ECP5 85F platform to speed grade 7
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 22 Mar 2022 17:00:39 +0000 (17:00 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 22 Mar 2022 17:00:39 +0000 (17:00 +0000)
src/ls2.py

index 269fdb5b78eb41895d656ab190d3cc9d597eb8d5..60aafd20ba96fce907afa70bd35d060aab4b57aa 100644 (file)
@@ -573,6 +573,8 @@ def build_platform(fpga, firmware):
                 }.get(fpga, None)
     if platform_kls is not None:
         platform = platform_kls(toolchain=toolchain)
+        if fpga == 'versa_ecp5_85':
+            platform.speed = "7" # HACK. speed grade 7, sigh
     else:
         platform = None