Merge pull request #193 from rdolbeau/ztex213-fix

ztex213 fix; propagate variant from targets to platform
This commit is contained in:
enjoy-digital 2021-03-28 18:25:23 +02:00 committed by GitHub
commit 3d43518006
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,