ztex213 fix; propagate variant from targets to platform

This commit is contained in:
Romain Dolbeau 2021-03-27 11:01:27 +01:00
parent 7c537748a0
commit 73ce7f9df1
1 changed files with 2 additions and 2 deletions

View File

@ -64,8 +64,8 @@ class _CRG(Module):
# BaseSoC ------------------------------------------------------------------------------------------ # BaseSoC ------------------------------------------------------------------------------------------
class BaseSoC(SoCCore): class BaseSoC(SoCCore):
def __init__(self, sys_clk_freq=int(100e6), expansion="debug", **kwargs): def __init__(self, variant="ztex2.13a", sys_clk_freq=int(100e6), expansion="debug", **kwargs):
platform = ztex213.Platform(expansion=expansion) platform = ztex213.Platform(variant=variant, expansion=expansion)
# SoCCore ---------------------------------------------------------------------------------- # SoCCore ----------------------------------------------------------------------------------
SoCCore.__init__(self, platform, sys_clk_freq, SoCCore.__init__(self, platform, sys_clk_freq,