platforms/kc705: add iMPACT programmer

This commit is contained in:
Florent Kermarrec 2015-03-29 12:15:39 +02:00
parent 72fae61525
commit 17f3590a7c
2 changed files with 4 additions and 2 deletions

View 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))

View 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