projects
/
ls2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcfaf91
)
add hack to modify VERSA_ECP5 85F platform to speed grade 7
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 22 Mar 2022 17:00:39 +0000
(17:00 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 22 Mar 2022 17:00:39 +0000
(17:00 +0000)
src/ls2.py
patch
|
blob
|
history
diff --git
a/src/ls2.py
b/src/ls2.py
index 269fdb5b78eb41895d656ab190d3cc9d597eb8d5..60aafd20ba96fce907afa70bd35d060aab4b57aa 100644
(file)
--- a/
src/ls2.py
+++ b/
src/ls2.py
@@
-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