From ac075f18c70950b1d071e49697f03a964527a391 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 12 Nov 2020 14:26:17 +0100 Subject: [PATCH] platforms/crosslink_nx_evn/vip: add default_clk. --- litex_boards/platforms/crosslink_nx_evn.py | 3 +++ litex_boards/platforms/crosslink_nx_vip.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/litex_boards/platforms/crosslink_nx_evn.py b/litex_boards/platforms/crosslink_nx_evn.py index d918c8b..fea222e 100644 --- a/litex_boards/platforms/crosslink_nx_evn.py +++ b/litex_boards/platforms/crosslink_nx_evn.py @@ -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) diff --git a/litex_boards/platforms/crosslink_nx_vip.py b/litex_boards/platforms/crosslink_nx_vip.py index b492511..326b912 100644 --- a/litex_boards/platforms/crosslink_nx_vip.py +++ b/litex_boards/platforms/crosslink_nx_vip.py @@ -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)