From: Florent Kermarrec Date: Thu, 28 May 2020 13:31:33 +0000 (+0200) Subject: targets/nexys4ddr: fix sdcard assert. X-Git-Tag: 24jan2021_ls180~266 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c4f96318eca83dc03ff1aced6a5229fcc2c81239;p=litex.git targets/nexys4ddr: fix sdcard assert. --- diff --git a/litex/boards/targets/nexys4ddr.py b/litex/boards/targets/nexys4ddr.py index 161c11f2..30174113 100755 --- a/litex/boards/targets/nexys4ddr.py +++ b/litex/boards/targets/nexys4ddr.py @@ -104,7 +104,7 @@ def main(): soc = BaseSoC(sys_clk_freq=int(float(args.sys_clk_freq)), with_ethernet=args.with_ethernet, **soc_sdram_argdict(args)) - assert not (args.with_spi_sdcard and args.with_spi_sdcard) + assert not (args.with_spi_sdcard and args.with_sdcard) if args.with_spi_sdcard: soc.add_spi_sdcard() if args.with_sdcard: