platforms/kc705: add iMPACT programmer
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Sun, 29 Mar 2015 10:15:39 +0000 (12:15 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Sun, 29 Mar 2015 10:15:39 +0000 (12:15 +0200)
mibuild/platforms/kc705.py
mibuild/xilinx/__init__.py

index b2df99d03bc00b359859f890140e88c8499b5aff..a146f1d674214e3ef3384123b483592f7c2c12fe 100644 (file)
@@ -1,5 +1,5 @@
 from mibuild.generic_platform import *
-from mibuild.xilinx import XilinxPlatform, XC3SProg, VivadoProgrammer
+from mibuild.xilinx import XilinxPlatform, XC3SProg, VivadoProgrammer, iMPACT
 from mibuild.xilinx.ise import XilinxISEToolchain
 
 _io = [
@@ -391,6 +391,8 @@ class Platform(XilinxPlatform):
                        return XC3SProg("jtaghs1_fast", "bscan_spi_kc705.bit")
                elif self.programmer == "vivado":
                        return VivadoProgrammer()
+               elif self.programmer == "impact":
+                       return iMPACT()
                else:
                        raise ValueError("{} programmer is not supported".format(programmer))
 
index 8f67a642eede7b7a6d885993a26b734a88d1e16f..af787b30075bdec105c633c58665a0784f79b790 100644 (file)
@@ -1,2 +1,2 @@
 from mibuild.xilinx.platform import XilinxPlatform
-from mibuild.xilinx.programmer import UrJTAG, XC3SProg, FpgaProg, VivadoProgrammer
+from mibuild.xilinx.programmer import UrJTAG, XC3SProg, FpgaProg, VivadoProgrammer, iMPACT