Re: [myhdl-list] MEP 107 - update assessment
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2012-06-18 18:20:50
|
On 06/18/2012 05:27 PM, Christopher Felton wrote: >> We could restrict the examples to instance variables, >> but add a note in the end that attribute lookup is >> general (as I think it can be without too much problems). >> This would include class attributes, but also lookup >> in modules or in NamedTuples. > > Sounds fine, will make the changes. > > NamedTuples? Would this cause confusion? A NamedTuple > access via attributes would convert via the lookup but > what happens if the NamedTuple is indexed? Would indexing > of a NamedTuple be supported? Also, wouldn't a NamedTuple > be identified by the converter as a MemObj? Forget about NamedTuples for the moment - I wrote it down without thinking it through. -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Python as a HDL: http://www.myhdl.org VHDL development, the modern way: http://www.sigasi.com World-class digital design: http://www.easics.com |