Skip to content
Snippets Groups Projects
Commit aaa10c69 authored by Florent Kermarrec's avatar Florent Kermarrec
Browse files

platforms/colorlight_5a_75b: add default_clk_name/period

parent d8de4fbd
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment