sonar/testbench.py
def add_endpoint(self, port, endpoint):
        """
        Add an endpoint to a port on the module

        Args:
            port (str): Name of the port
            endpoint (Endpoint): Endpoint to add
        """
        if port not in self.endpoints:
            self.endpoints[port] = []
        self.endpoints[port].append(endpoint)

        Add an endpoint to a port on the module

        Args:
            port (str): Name of the port
            endpoint (Endpoint): Endpoint to add
        
Add an endpoint to a port on the module
Add an endpoint to a port on the module
def add_endpoint(self, port, endpoint):
        if port not in self.endpoints:
            self.endpoints[port] = []
        self.endpoints[port].append(endpoint)
def add_endpoint ( self , port , endpoint ) : if port not in self . endpoints : self . endpoints [ port ] = [ ] self . endpoints [ port ] . append ( endpoint )
Add an endpoint to a port on the module
Add an endpoint to a port on the module
"""
        Add an endpoint to a port on the module

        Args:
            port (str): Name of the port
            endpoint (Endpoint): Endpoint to add
        """
self
port
Name of the port
Name of the port
endpoint
Endpoint to add
Endpoint to add