src.services.flc_mini.communication_service package

Submodules

src.services.flc_mini.communication_service.base module

src.services.flc_mini.communication_service.setup_communication module

src.services.flc_mini.communication_service.write_functions module

src.services.flc_mini.communication_service.write_functions.req_data_from_fpga_BRAM(hi: HardwareInterface, BRAM_sel: int, len: int)
src.services.flc_mini.communication_service.write_functions.req_data_from_fpga_reg(hi: HardwareInterface, register: int)
src.services.flc_mini.communication_service.write_functions.rst_communication(hi: HardwareInterface)

Reset communication: function to reset communication with FPGA :param hi: selected hardware interface :type hi: HardwareInterface

src.services.flc_mini.communication_service.write_functions.setup_flc_mini(hi: HardwareInterface)
src.services.flc_mini.communication_service.write_functions.write_data_to_fpga_BRAM(hi: HardwareInterface, bram_sel: int, addres_depth: int, data: list)

Write data to FPGA BRAM: function to write data into FPGA BRAM with :param hi: selected hardware interface :type hi: HardwareInterface :param sel_reg: selected BRAM block :type sel_reg: int :param addres_depth: depth of the address :type addres_depth: int :param data: data to be written :type data: list of integers

src.services.flc_mini.communication_service.write_functions.write_data_to_fpga_reg(hi: HardwareInterface, select_reg, write_reg, data=None, data_mask=None)

Write data to FPGA: function to write data into FPGA registers with :param select_reg: _description_ :type select_reg: _type_ :param write_reg: _description_ :type write_reg: _type_ :param data: _description_. Defaults to None. :type data: _type_, optional :param data_mask: _description_. Defaults to None. :type data_mask: _type_, optional

Function writes:
  • write data0 (in case data is not None and data_mask is not None)

  • write data1 (select_reg)

  • write data2 (write_reg)

  • reset data2 (reset write_reg)

  • reset data1 (reset select_reg)

Module contents