sonar/testbench.py
def add_delay(self, delay):
        """
        Add a timed delay to the thread

        Args:
            delay (str): String representing delay length e.g. '40ns'
        """

        self.commands.append({"delay": delay})
        self._print_timestamp()

        Add a timed delay to the thread

        Args:
            delay (str): String representing delay length e.g. '40ns'
        
Add a timed delay to the thread
Add a timed delay to the thread
def add_delay(self, delay):
        self.commands.append({"delay": delay})
        self._print_timestamp()
def add_delay ( self , delay ) : self . commands . append ( { "delay" : delay } ) self . _print_timestamp ( )
Add a timed delay to the thread
Add a timed delay to the thread
"""
        Add a timed delay to the thread

        Args:
            delay (str): String representing delay length e.g. '40ns'
        """
self
delay
String representing delay length e.g.
String representing delay length e . g .