sonar/testbench.py
def asdict(self):
        """
        Converts the object to a dictionary

        Returns:
            dict: Dictionary representing the object
        """
        module = {}
        module["name"] = self.name
        module["ports"] = self.ports.asdict()
        module["parameters"] = self.parameters
        module["endpoints"] = self.endpoints
        module["type"] = self.type
        return module

        Converts the object to a dictionary

        Returns:
            dict: Dictionary representing the object
        
Converts the object to a dictionary
Converts the object to a dictionary
def asdict(self):
        module = {}
        module["name"] = self.name
        module["ports"] = self.ports.asdict()
        module["parameters"] = self.parameters
        module["endpoints"] = self.endpoints
        module["type"] = self.type
        return module
def asdict ( self ) : module = { } module [ "name" ] = self . name module [ "ports" ] = self . ports . asdict ( ) module [ "parameters" ] = self . parameters module [ "endpoints" ] = self . endpoints module [ "type" ] = self . type return module
Converts the object to a dictionary
Converts the object to a dictionary
"""
        Converts the object to a dictionary

        Returns:
            dict: Dictionary representing the object
        """
Dictionary representing the object
Dictionary representing the object
dict
self