Beispiel #1
0
 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))
Beispiel #2
0
 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))
Beispiel #3
0
 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))
Beispiel #4
0
 def create_programmer(self):
     return VivadoProgrammer()
Beispiel #5
0
from migen.build.xilinx import VivadoProgrammer

prog = VivadoProgrammer()
prog.load_bitstream("./build/gateware/top.bit")