sonar/interfaces/axi4_stream.py
def _write(self, thread, payload):
        """
        Writes the given payload to the AXI4Stream stream.

        Args:
            payload (list): Directly assigns a list containing valid
                transaction dicts to be written

        Returns:
            dict: Dictionary representing the data transaction
        """

        transaction = {
            "interface": {
                "type": "axi4_stream",
                "name": self.name,
                "iClass": self.iClass,
                "payload": payload,
            }
        }
        for command in payload:
            if "endpoint_mode" not in command:
                command["endpoint_mode"] = 0
        thread._add_transaction(transaction)

        Writes the given payload to the AXI4Stream stream.

        Args:
            payload (list): Directly assigns a list containing valid
                transaction dicts to be written

        Returns:
            dict: Dictionary representing the data transaction
        
Writes the given payload to the AXI4Stream stream.
Writes the given payload to the AXI4Stream stream .
def _write(self, thread, payload):
        transaction = {
            "interface": {
                "type": "axi4_stream",
                "name": self.name,
                "iClass": self.iClass,
                "payload": payload,
            }
        }
        for command in payload:
            if "endpoint_mode" not in command:
                command["endpoint_mode"] = 0
        thread._add_transaction(transaction)
def _write ( self , thread , payload ) : transaction = { "interface" : { "type" : "axi4_stream" , "name" : self . name , "iClass" : self . iClass , "payload" : payload , } } for command in payload : if "endpoint_mode" not in command : command [ "endpoint_mode" ] = 0 thread . _add_transaction ( transaction )
Writes the given payload to the AXI4Stream stream.
Writes the given payload to the AXI4Stream stream .
"""
        Writes the given payload to the AXI4Stream stream.

        Args:
            payload (list): Directly assigns a list containing valid
                transaction dicts to be written

        Returns:
            dict: Dictionary representing the data transaction
        """
Dictionary representing the data transaction
Dictionary representing the data transaction
dict
self
thread
payload
Directly assigns a list containing valid
transaction dicts to be written
Directly assigns a list containing valid transaction dicts to be written