From b2b8a3cbefe795c75091a124d94a00ac63611520 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Sat, 14 Dec 2024 07:37:33 +0100 Subject: [PATCH] targets/digilent_genesys2.py: added toolchain option (#624) --- litex_boards/targets/digilent_genesys2.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/litex_boards/targets/digilent_genesys2.py b/litex_boards/targets/digilent_genesys2.py index aaaf95b..8909142 100755 --- a/litex_boards/targets/digilent_genesys2.py +++ b/litex_boards/targets/digilent_genesys2.py @@ -47,13 +47,13 @@ class _CRG(LiteXModule): # BaseSoC ------------------------------------------------------------------------------------------ class BaseSoC(SoCCore): - def __init__(self, sys_clk_freq=100e6, + def __init__(self, sys_clk_freq=100e6, toolchain="vivado", with_ethernet = False, with_etherbone = False, with_led_chaser = True, with_can = False, **kwargs): - platform = digilent_genesys2.Platform() + platform = digilent_genesys2.Platform(toolchain=toolchain) # CRG -------------------------------------------------------------------------------------- self.crg = _CRG(platform, sys_clk_freq) @@ -115,6 +115,7 @@ def main(): soc = BaseSoC( sys_clk_freq = args.sys_clk_freq, + toolchain = args.toolchain, with_ethernet = args.with_ethernet, with_etherbone = args.with_etherbone, with_can = args.with_can,