hwt/hdl/operator.py
def registerSignals(self, outputs=[]):
        """
        Register potential signals to drivers/endpoints
        """
        for o in self.operands:
            if isinstance(o, RtlSignalBase):
                if o in outputs:
                    o.drivers.append(self)
                else:
                    o.endpoints.append(self)
            elif isinstance(o, Value):
                pass
            else:
                raise NotImplementedError(
                    "Operator operands can be"
                    " only signal or values got:%r" % (o))
def registerSignals(self, outputs=[]):
        """
        Register potential signals to drivers/endpoints
        """
        for o in self.operands:
            if isinstance(o, RtlSignalBase):
                if o in outputs:
                    o.drivers.append(self)
                else:
                    o.endpoints.append(self)
            elif isinstance(o, Value):
                pass
            else:
                raise NotImplementedError(
                    "Operator operands can be"
                    " only signal or values got:%r" % (o))
def registerSignals ( self , outputs = [ ] ) : for o in self . operands : if isinstance ( o , RtlSignalBase ) : if o in outputs : o . drivers . append ( self ) else : o . endpoints . append ( self ) elif isinstance ( o , Value ) : pass else : raise NotImplementedError ( "Operator operands can be" " only signal or values got:%r" % ( o ) )
Register potential signals to drivers/endpoints
Register potential signals to drivers / endpoints