kc705: use string default arg
authorSebastien Bourdeauducq <sb@m-labs.hk>
Sat, 7 Jun 2014 11:41:46 +0000 (13:41 +0200)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Sat, 7 Jun 2014 11:41:46 +0000 (13:41 +0200)
mibuild/platforms/kc705.py

index e519fa9e9e8bf80dabd0432782c35dc7fa9ffffe..680de17b7520f6135781fea0257d51654ec2e9fe 100644 (file)
@@ -81,10 +81,7 @@ _io = [
                IOStandard("LVCMOS25")),
 ]
 
-def Platform(*args, toolchain=None, **kwargs):
-       if toolchain is None:
-               toolchain = "ise"
-
+def Platform(*args, toolchain="ise", **kwargs):
        if toolchain == "ise":
                xilinx_platform = XilinxISEPlatform
        elif toolchain == "vivado":