mirror of
https://github.com/litex-hub/litex-boards.git
synced 2025-01-03 03:43:36 -05:00
ztex213 fix; propagate variant from targets to platform
This commit is contained in:
parent
7c537748a0
commit
73ce7f9df1
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue