Skip to content

Commit

Permalink
Merge pull request #629 from trabucayre/genesys_toolchain_arg
Browse files Browse the repository at this point in the history
targets/digilent_genesys2.py: added toolchain option (#624)
  • Loading branch information
trabucayre authored Dec 17, 2024
2 parents 4e2d8bd + b2b8a3c commit 89d96a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions litex_boards/targets/digilent_genesys2.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ def __init__(self, platform, sys_clk_freq):
# 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)
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 89d96a3

Please sign in to comment.