Re: [myhdl-list] modbv vs. intbv
Brought to you by:
jandecaluwe
From: Josy B. <jo...@c-...> - 2014-04-29 14:05:46
|
Guy Eschemann <guy <at> noasic.com> writes: > > > Hello, > I've been wondering about this:>>> from myhdl import * > >>> a = modbv(0, min = 0, max = 16) > >>> a > intbv(0) > > Why does the last command print "intbv(0)" instead of "modbv(0)"? > Regards, > Guy. modbv is derived from intbv and hasn't got it's own __repr__ function (yet?) so it uses the one from the intbv class. Regards, Josy ---------------------------------------------------------------------------- -- > Start Your Social Network Today - Download eXo Platform > Build your Enterprise Intranet with eXo Platform Software > Java Based Open Source Intranet - Social, Extensible, Cloud Ready > Get Started Now And Turn Your Intranet Into A Collaboration Platform > http://p.sf.net/sfu/ExoPlatform > > _______________________________________________ > myhdl-list mailing list > myhdl-list <at> lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/myhdl-list > |