hwt/hdl/statements.py
def _get_rtl_context(self):
        """
        get RtlNetlist context from signals
        """
        for sig in chain(self._inputs, self._outputs):
            if sig.ctx:
                return sig.ctx
            else:
                # Param instances does not have context
                continue
        raise HwtSyntaxError(
            "Statement does not have any signal in any context", self)
def _get_rtl_context(self):
        for sig in chain(self._inputs, self._outputs):
            if sig.ctx:
                return sig.ctx
            else:
                # Param instances does not have context
                continue
        raise HwtSyntaxError(
            "Statement does not have any signal in any context", self)
def _get_rtl_context ( self ) : for sig in chain ( self . _inputs , self . _outputs ) : if sig . ctx : return sig . ctx else : # Param instances does not have context continue raise HwtSyntaxError ( "Statement does not have any signal in any context" , self )
get RtlNetlist context from signals
get RtlNetlist context from signals