sonar/interfaces/axi4_stream.py
def data_to_stream(self, thread, data, parsing_func=None, endian="little"):
        """
        Sends the data as a series of AXI4Stream transactions.

        Args:
            thread (Thread): Thread to stream the data in
            data (Any): Data to stream
            parsing_func (Func, optional): Defaults to None. Function that
                determines how the data is parsed. Must return a list of dicts
                representing valid AXI4Stream transactions. The default function
                assumes a binary string containing only tdata
            endian (str, optional): Defaults to 'little'. Must be little|big
        """
        transactions = []
        if parsing_func is None:
            parsing_func = self._f2s_bin_data
        transactions = parsing_func(data, endian)
        self._write(thread, transactions)

        Sends the data as a series of AXI4Stream transactions.

        Args:
            thread (Thread): Thread to stream the data in
            data (Any): Data to stream
            parsing_func (Func, optional): Defaults to None. Function that
                determines how the data is parsed. Must return a list of dicts
                representing valid AXI4Stream transactions. The default function
                assumes a binary string containing only tdata
            endian (str, optional): Defaults to 'little'. Must be little|big
        
Sends the data as a series of AXI4Stream transactions.
Sends the data as a series of AXI4Stream transactions .
def data_to_stream(self, thread, data, parsing_func=None, endian="little"):
        transactions = []
        if parsing_func is None:
            parsing_func = self._f2s_bin_data
        transactions = parsing_func(data, endian)
        self._write(thread, transactions)
def data_to_stream ( self , thread , data , parsing_func = None , endian = "little" ) : transactions = [ ] if parsing_func is None : parsing_func = self . _f2s_bin_data transactions = parsing_func ( data , endian ) self . _write ( thread , transactions )
Sends the data as a series of AXI4Stream transactions.
Sends the data as a series of AXI4Stream transactions .
"""
        Sends the data as a series of AXI4Stream transactions.

        Args:
            thread (Thread): Thread to stream the data in
            data (Any): Data to stream
            parsing_func (Func, optional): Defaults to None. Function that
                determines how the data is parsed. Must return a list of dicts
                representing valid AXI4Stream transactions. The default function
                assumes a binary string containing only tdata
            endian (str, optional): Defaults to 'little'. Must be little|big
        """
self
thread
Thread to stream the data in
Thread to stream the data in
data
Data to stream
Data to stream
parsing_func
Defaults to None. Function that
determines how the data is parsed. Must return a list of dicts
representing valid AXI4Stream transactions. The default function
assumes a binary string containing only tdata
Defaults to None . Function that determines how the data is parsed . Must return a list of dicts representing valid AXI4Stream transactions . The default function assumes a binary string containing only tdata
endian
Defaults to 'little'. Must be little|big
Defaults to ' little ' . Must be little|big