From 73ce7f9df1f528580c5b72b5b68c4c435de2aba2 Mon Sep 17 00:00:00 2001 From: Romain Dolbeau Date: Sat, 27 Mar 2021 11:01:27 +0100 Subject: [PATCH] ztex213 fix; propagate variant from targets to platform --- litex_boards/targets/ztex213.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex_boards/targets/ztex213.py b/litex_boards/targets/ztex213.py index dbf4dcb..afe1f1d 100755 --- a/litex_boards/targets/ztex213.py +++ b/litex_boards/targets/ztex213.py @@ -64,8 +64,8 @@ class _CRG(Module): # BaseSoC ------------------------------------------------------------------------------------------ class BaseSoC(SoCCore): - def __init__(self, sys_clk_freq=int(100e6), expansion="debug", **kwargs): - platform = ztex213.Platform(expansion=expansion) + def __init__(self, variant="ztex2.13a", sys_clk_freq=int(100e6), expansion="debug", **kwargs): + platform = ztex213.Platform(variant=variant, expansion=expansion) # SoCCore ---------------------------------------------------------------------------------- SoCCore.__init__(self, platform, sys_clk_freq,