def METHOD_NAME(args):
    return {
        **yosys_nextpnr_argdict(args),
        "bootaddr":     args.ecppack_bootaddr,
        "spimode":      args.ecppack_spimode,
        "freq":         float(args.ecppack_freq) if args.ecppack_freq is not None else None,
        "compress":     args.ecppack_compress,
    }