diff --git a/litex/build/lattice/trellis.py b/litex/build/lattice/trellis.py index 4cea92be6..2a03fa4c8 100644 --- a/litex/build/lattice/trellis.py +++ b/litex/build/lattice/trellis.py @@ -257,7 +257,7 @@ def trellis_argdict(args): "ignoreloops": args.nextpnr_ignoreloops, "bootaddr": args.ecppack_bootaddr, "spimode": args.ecppack_spimode, - "freq": float(args.ecppack_freq), + "freq": float(args.ecppack_freq) if args.ecppack_freq is not None else None, "compress": args.ecppack_compress, "seed": args.nextpnr_seed, }