예제 #1
0
class DigilentAdeptSvfProgrammer(UdXilinxProgrammer):
    def __init__(self, cfg_manager, xilinx_impact_device):
        super(DigilentAdeptSvfProgrammer,
              self).__init__(cfg_manager, xilinx_impact_device)
        self._digilent_adept = DigilentAdept(cfg_manager)

    @Override(UdXilinxProgrammer)
    def program(self, file_name):
        # self._xilinx_impact_device.source2svf(file_name)
        # svf_file_name = file_name.replace("."+self._xilinx_impact_device.get_suffix(), ".svf")
        # self._digilent_adept.program_device(svf_file_name)
        self._digilent_adept.program_device(file_name)
예제 #2
0
class DigilentAdeptSvfProgrammer(UdXilinxProgrammer):

    def __init__(self, cfg_manager, xilinx_impact_device):
        super(DigilentAdeptSvfProgrammer, self).__init__(cfg_manager, xilinx_impact_device)
        self._digilent_adept = DigilentAdept(cfg_manager)

    @Override(UdXilinxProgrammer)
    def program(self, file_name):
        # self._xilinx_impact_device.source2svf(file_name)
        # svf_file_name = file_name.replace("."+self._xilinx_impact_device.get_suffix(), ".svf")
        # self._digilent_adept.program_device(svf_file_name)
        self._digilent_adept.program_device(file_name)
예제 #3
0
 def __init__(self, cfg_manager, xilinx_impact_device):
     super(DigilentAdeptSvfProgrammer,
           self).__init__(cfg_manager, xilinx_impact_device)
     self._digilent_adept = DigilentAdept(cfg_manager)
예제 #4
0
 def __init__(self, cfg_manager, xilinx_impact_device):
     super(DigilentAdeptSvfProgrammer, self).__init__(cfg_manager, xilinx_impact_device)
     self._digilent_adept = DigilentAdept(cfg_manager)