diff --git a/mibuild/platforms/kc705.py b/mibuild/platforms/kc705.py index b2df99d03..a146f1d67 100644 --- a/mibuild/platforms/kc705.py +++ b/mibuild/platforms/kc705.py @@ -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)) diff --git a/mibuild/xilinx/__init__.py b/mibuild/xilinx/__init__.py index 8f67a642e..af787b300 100644 --- a/mibuild/xilinx/__init__.py +++ b/mibuild/xilinx/__init__.py @@ -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