platforms/colorlight_5a_75b: add default_clk_name/period

This commit is contained in:
Florent Kermarrec 2020-02-27 11:16:49 +01:00
parent d8de4fbdfb
commit aaa10c69eb
1 changed files with 3 additions and 0 deletions

View File

@ -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