Re: [myhdl-list] Default value of intbv - proposed change
Brought to you by:
jandecaluwe
From: Kevin S. <sta...@gm...> - 2010-10-13 04:43:59
|
Jan, Any reason to not model signal resolution with 'Z', 'H', 'L' as in VHDL, or is this handled in some other manner? Kevin On Sun, Oct 10, 2010 at 3:24 PM, Jan Decaluwe <ja...@ja...> wrote: > There is just one last thing I'd like to change > before feature-freezing 0.7. > > At some point the default intbv value was 0, but > then I changed it to None. I thought this would be > necessary to support tristates. > > In the mean time, tristates can be supported rather well > by ShadowSignals, and the None default for intbv's doesn't > really make sense. It only takes away some performance > due to superfluous testing. > > I propose to change the default value back to 0. > > The difference: > > intbv() currently has None as initial value > would now have 0 as initial value > > Objections? > > Jan > > -- > 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 > Analog design automation: http://www.mephisto-da.com > World-class digital design: http://www.easics.com > > > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > myhdl-list mailing list > myh...@li... > https://lists.sourceforge.net/lists/listinfo/myhdl-list > -- Kevin R. Stanton c | 734•846•3915 e | sta...@gm... |