From: Florent Kermarrec Date: Sun, 29 Mar 2015 10:15:39 +0000 (+0200) Subject: platforms/kc705: add iMPACT programmer X-Git-Tag: 24jan2021_ls180~2099^2~144^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=17f3590a7cff2c55f87f386fab32beb50996c673;p=litex.git platforms/kc705: add iMPACT programmer --- 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