From: Sebastien Bourdeauducq Date: Mon, 17 Feb 2014 16:40:15 +0000 (+0100) Subject: mibuild/generic_platform: fix default value for connectors X-Git-Tag: 24jan2021_ls180~2099^2~378 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf6ab2b4f67382661fa183d01b7443c2aeb2cadd;p=litex.git mibuild/generic_platform: fix default value for connectors --- diff --git a/mibuild/generic_platform.py b/mibuild/generic_platform.py index e6bb3c35..d51ab63a 100644 --- a/mibuild/generic_platform.py +++ b/mibuild/generic_platform.py @@ -169,7 +169,7 @@ class ConstraintManager: return self.platform_commands class GenericPlatform: - def __init__(self, device, io, default_crg_factory=None, connectors=None, name=None): + def __init__(self, device, io, default_crg_factory=None, connectors=[], name=None): self.device = device self.constraint_manager = ConstraintManager(io, connectors) self.default_crg_factory = default_crg_factory