Commit aaa10c69 authored by Florent Kermarrec's avatar Florent Kermarrec
Browse files

platforms/colorlight_5a_75b: add default_clk_name/period

parent d8de4fbd
...@@ -151,6 +151,9 @@ _io_v7_0 = [ # Documented by @miek ...@@ -151,6 +151,9 @@ _io_v7_0 = [ # Documented by @miek
# Platform ----------------------------------------------------------------------------------------- # Platform -----------------------------------------------------------------------------------------
class Platform(LatticePlatform): class Platform(LatticePlatform):
default_clk_name = "clk25"
default_clk_period = 1e9/25e6
def __init__(self, revision="7.0"): def __init__(self, revision="7.0"):
assert revision in ["6.1", "7.0"] assert revision in ["6.1", "7.0"]
self.revision = revision self.revision = revision
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment