platforms/colorlight_5a_75b: add default_clk_name/period
This commit is contained in:
parent
d8de4fbdfb
commit
aaa10c69eb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue