예제 #1
0
    def __init__(self, initial_vidpid=None, pin_cfg="D0D2D3D4",
                 fpgalink_vidpid="1D50:602B:0002", flash_proxy_basename=None):
        """
        Parameters
        ----------
        initial_vidpid : string
            The USB vendor and product id of the device before fpgalink
            firmware is loaded onto the device.

            Format is vid:pid as 4 digit hex numbers.

        pin_cfg : string
            FPGALink pin configuration string describing how the JTAG interface
            is hooked up to the programmer.

        fpgalink_vidpid : string
            The USB vendor, product and device id of the device after the
            fpgalink firmware is loaded onto the device.

            Format is vid:pid:did as 4 digit hex numbers.
            Defaults to 1D50:602B:0002 which is the makestuff FPGALink device.
        """
        GenericProgrammer.__init__(self, flash_proxy_basename)
        self.initial_vidpid = initial_vidpid
        self.fpgalink_vidpid = fpgalink_vidpid
        self.pin_cfg = pin_cfg
예제 #2
0
    def __init__(self,
                 initial_vidpid=None,
                 pin_cfg="D0D2D3D4",
                 fpgalink_vidpid="1D50:602B:0002",
                 flash_proxy_basename=None):
        """
        Parameters
        ----------
        initial_vidpid : string
            The USB vendor and product id of the device before fpgalink
            firmware is loaded onto the device.

            Format is vid:pid as 4 digit hex numbers.

        pin_cfg : string
            FPGALink pin configuration string describing how the JTAG interface
            is hooked up to the programmer.

        fpgalink_vidpid : string
            The USB vendor, product and device id of the device after the
            fpgalink firmware is loaded onto the device.

            Format is vid:pid:did as 4 digit hex numbers.
            Defaults to 1D50:602B:0002 which is the makestuff FPGALink device.
        """
        GenericProgrammer.__init__(self, flash_proxy_basename)
        self.initial_vidpid = initial_vidpid
        self.fpgalink_vidpid = fpgalink_vidpid
        self.pin_cfg = pin_cfg
예제 #3
0
파일: programmer.py 프로젝트: cyrozap/migen
 def __init__(self, iceburn_path):
     GenericProgrammer.__init__(self)
     self.iceburn = iceburn_path
 def __init__(self, iceburn_path):
     GenericProgrammer.__init__(self)
     self.iceburn = iceburn_path
예제 #5
0
 def __init__(self, flash_proxy_basename=None):
     GenericProgrammer.__init__(self, flash_proxy_basename)
예제 #6
0
 def __init__(self, board, index, flash_proxy_basename=None):
     GenericProgrammer.__init__(self, flash_proxy_basename)
     self.board = board
     self.index = index
예제 #7
0
 def __init__(self, vivado_path="/opt/Xilinx/Vivado", vivado_ver=None,
              flash_part="n25q256-3.3v-spi-x1_x2_x4"):
     GenericProgrammer.__init__(self)
     self.vivado_path = vivado_path
     self.vivado_ver = vivado_ver
     self.flash_part = flash_part
예제 #8
0
 def __init__(self, flash_part="n25q256-3.3v-spi-x1_x2_x4"):
     GenericProgrammer.__init__(self)
     self.flash_part = flash_part
예제 #9
0
파일: openocd.py 프로젝트: 32bitmicro/migen
 def __init__(self, config, flash_proxy_basename=None):
     GenericProgrammer.__init__(self, flash_proxy_basename)
     self.config = config