kc705: use string default arg

This commit is contained in:
Sebastien Bourdeauducq 2014-06-07 13:41:46 +02:00
parent be0d86f57f
commit 26717a49fe
1 changed files with 1 additions and 4 deletions

View File

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