Re: [myhdl-list] Proposal: SignalType symbol
Brought to you by:
jandecaluwe
From: Tom D. <TD...@Di...> - 2010-06-09 21:36:30
|
Jan, OK, I think I get it now. Your factory function Signal() must return the correct class object based upon the parameters passed to it. So Signal is just a function now that returns a class object so there is no such thing as an instance of it. That is confusing, especially when you assume that Signal was a class. I would say the SignalType solution is good. Just out of curiosity, how do you define that SignalType symbol. Tom |