def create_programmer(self): if self.programmer == "xc3sprog": return XC3SProg("nexys4") elif self.programmer == "vivado": return VivadoProgrammer(flash_part="n25q128-3.3v-spi-x1_x2_x4") else: raise ValueError("{} programmer is not supported" .format(self.programmer))
def create_programmer(self): if self.programmer == "vivado": return VivadoProgrammer() elif self.programmer == "impact": return iMPACT() else: raise ValueError( "{} programmer is not supported".format(programmer))
def create_programmer(self): if self.programmer == "xc3sprog": 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))
def create_programmer(self): return VivadoProgrammer()
from migen.build.xilinx import VivadoProgrammer prog = VivadoProgrammer() prog.load_bitstream("./build/gateware/top.bit")