hwt/simulator/hdlSimulator.py
def read(self, sig) -> Value:
        """
        Read value from signal or interface
        """
        try:
            v = sig._val
        except AttributeError:
            v = sig._sigInside._val

        return v.clone()
def read(self, sig) -> Value:
        try:
            v = sig._val
        except AttributeError:
            v = sig._sigInside._val

        return v.clone()
def read ( self , sig ) -> Value : try : v = sig . _val except AttributeError : v = sig . _sigInside . _val return v . clone ( )
Read value from signal or interface
Read value from signal or interface