예제 #1
0
파일: arty_a7.py 프로젝트: yangyt96/migen
 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))
예제 #2
0
파일: ac701.py 프로젝트: yangyt96/migen
 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))
예제 #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))
예제 #4
0
 def create_programmer(self):
     return VivadoProgrammer()
예제 #5
0
from migen.build.xilinx import VivadoProgrammer

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