Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Timothy Pearson
litex-boards
Commits
aaa10c69
Commit
aaa10c69
authored
4 years ago
by
Florent Kermarrec
Browse files
Options
Download
Email Patches
Plain Diff
platforms/colorlight_5a_75b: add default_clk_name/period
parent
d8de4fbd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
litex_boards/platforms/colorlight_5a_75b.py
litex_boards/platforms/colorlight_5a_75b.py
+3
-0
No files found.
litex_boards/platforms/colorlight_5a_75b.py
View file @
aaa10c69
...
...
@@ -151,6 +151,9 @@ _io_v7_0 = [ # Documented by @miek
# Platform -----------------------------------------------------------------------------------------
class
Platform
(
LatticePlatform
):
default_clk_name
=
"clk25"
default_clk_period
=
1e9
/
25e6
def
__init__
(
self
,
revision
=
"7.0"
):
assert
revision
in
[
"6.1"
,
"7.0"
]
self
.
revision
=
revision
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment