sonar/testbench.py
def default(cls, module_name):
        """
        Initializes a Testbench with default metadata values

        Args:
            module_name (str): Name of the DUT module

        Returns:
            Testbench: the Testbench object represents the whole testbench
        """

        testbench = cls()
        testbench.metadata = {
            "Module_Name": module_name,
            "Timescale": "1ns / 1ps",
            "Time_Format": {"unit": "1us", "precision": 3},
            "Flag_Count": 1,
            "Timeout_Value": "10s",  # arbitrary large amount
            "Headers": [],
            "Company": None,
            "Engineer": None,
            "Project_Name": None,
            "Target_Devices": None,
            "Tool_Versions": None,
            "Description": None,
            "Dependencies": None,
        }
        return testbench

        Initializes a Testbench with default metadata values

        Args:
            module_name (str): Name of the DUT module

        Returns:
            Testbench: the Testbench object represents the whole testbench
        
Initializes a Testbench with default metadata values
Initializes a Testbench with default metadata values
def default(cls, module_name):
        testbench = cls()
        testbench.metadata = {
            "Module_Name": module_name,
            "Timescale": "1ns / 1ps",
            "Time_Format": {"unit": "1us", "precision": 3},
            "Flag_Count": 1,
            "Timeout_Value": "10s",  
            "Headers": [],
            "Company": None,
            "Engineer": None,
            "Project_Name": None,
            "Target_Devices": None,
            "Tool_Versions": None,
            "Description": None,
            "Dependencies": None,
        }
        return testbench
def default ( cls , module_name ) : testbench = cls ( ) testbench . metadata = { "Module_Name" : module_name , "Timescale" : "1ns / 1ps" , "Time_Format" : { "unit" : "1us" , "precision" : 3 } , "Flag_Count" : 1 , "Timeout_Value" : "10s" , "Headers" : [ ] , "Company" : None , "Engineer" : None , "Project_Name" : None , "Target_Devices" : None , "Tool_Versions" : None , "Description" : None , "Dependencies" : None , } return testbench
Initializes a Testbench with default metadata values
Initializes a Testbench with default metadata values
"""
        Initializes a Testbench with default metadata values

        Args:
            module_name (str): Name of the DUT module

        Returns:
            Testbench: the Testbench object represents the whole testbench
        """ # arbitrary large amount
the Testbench object represents the whole testbench
the Testbench object represents the whole testbench
Testbench
cls
module_name
Name of the DUT module
Name of the DUT module