From ab60d911384cadb4dfed4f5f1c35ad95702b2764 Mon Sep 17 00:00:00 2001 From: John Simons Date: Tue, 5 Dec 2023 21:14:57 +0100 Subject: [PATCH] alinx_axau15: Fixed minor clock and sdcard reference issues --- litex_boards/targets/alinx_axau15.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/litex_boards/targets/alinx_axau15.py b/litex_boards/targets/alinx_axau15.py index c4b93d3..26c2fab 100755 --- a/litex_boards/targets/alinx_axau15.py +++ b/litex_boards/targets/alinx_axau15.py @@ -32,6 +32,9 @@ class _CRG(LiteXModule): self.cd_sys4x = ClockDomain() self.cd_idelay = ClockDomain() + # Clk. + clk200 = platform.request("sys_clk200") + # # # # PLL. self.pll = pll = USMMCM(speedgrade=-2) @@ -116,8 +119,7 @@ def main(): **parser.soc_argdict ) - soc.platform.add_extension(alinx_axau15._sdcard_pmod_io) - soc.add_spi_sdcard() + soc.add_sdcard() builder = Builder(soc, **parser.builder_argdict) if args.build: