mirror of
https://github.com/litex-hub/litex-boards.git
synced 2025-01-03 03:43:36 -05:00
platforms/crosslink_nx_evn/vip: add default_clk.
This commit is contained in:
parent
f3ccd140c2
commit
ac075f18c7
2 changed files with 6 additions and 0 deletions
|
@ -246,6 +246,9 @@ serial_pmods = [
|
|||
# Platform -----------------------------------------------------------------------------------------
|
||||
|
||||
class Platform(LatticePlatform):
|
||||
default_clk_name = "clk12"
|
||||
default_clk_period = 1e9/12e6
|
||||
|
||||
def __init__(self, device="LIFCL", **kwargs):
|
||||
assert device in ["LIFCL"]
|
||||
LatticePlatform.__init__(self, device + "-40-9BG400C", _io, _connectors, toolchain="radiant", **kwargs)
|
||||
|
|
|
@ -199,6 +199,9 @@ _connectors = [
|
|||
# Platform -----------------------------------------------------------------------------------------
|
||||
|
||||
class Platform(LatticePlatform):
|
||||
default_clk_name = "clk12"
|
||||
default_clk_period = 1e9/12e6
|
||||
|
||||
def __init__(self, device="LIFCL", **kwargs):
|
||||
assert device in ["LIFCL"]
|
||||
LatticePlatform.__init__(self, device + "-40-9BG400C", _io, _connectors, toolchain="radiant", **kwargs)
|
||||
|
|
Loading…
Reference in a new issue