From 17f3590a7cff2c55f87f386fab32beb50996c673 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sun, 29 Mar 2015 12:15:39 +0200 Subject: [PATCH] platforms/kc705: add iMPACT programmer --- mibuild/platforms/kc705.py | 4 +++- mibuild/xilinx/__init__.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mibuild/platforms/kc705.py b/mibuild/platforms/kc705.py index b2df99d0..a146f1d6 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 8f67a642..af787b30 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 -- 2.30.2