Hi all, I would like to do something like this:
******************** class HelloWorld (object): def __init__(self,clk): self.clk = clk @always(self.clk.posedge) def sayHello(self): print "%s Hello World!" % now() ******************** Problem is however I can't refer to self in the decorator call. Is there any workarround? thanks a lot, pieter -- http://mail.python.org/mailman/listinfo/python-list