targets/xilinx_zybo_z7: adding missing variant parameter to the platform

This commit is contained in:
Gwenhael Goavec-Merou 2022-12-14 07:47:09 +01:00
parent a92fdffb35
commit 4e06e5ff9c
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class _CRG(LiteXModule):
class BaseSoC(SoCCore): class BaseSoC(SoCCore):
def __init__(self, sys_clk_freq=100e6, variant="z7-10", with_ps7=False, with_led_chaser=True, **kwargs): def __init__(self, sys_clk_freq=100e6, variant="z7-10", with_ps7=False, with_led_chaser=True, **kwargs):
platform = digilent_zybo_z7.Platform() platform = digilent_zybo_z7.Platform(variant=variant)
self.builder = None self.builder = None
# CRG -------------------------------------------------------------------------------------- # CRG --------------------------------------------------------------------------------------
use_ps7_clk = (kwargs.get("cpu_type", None) == "zynq7000") use_ps7_clk = (kwargs.get("cpu_type", None) == "zynq7000")