Re: [myhdl-list] beginning with unittests
Brought to you by:
jandecaluwe
From: Martín G. <ga...@gm...> - 2010-11-04 22:40:31
|
On Thu, Nov 4, 2010 at 6:26 PM, Jan Decaluwe <ja...@ja...> wrote: > Perhaps because 0b0010 != 3 ? > > If this is the reason, why use all these different representations > for the same thing? > > Python 2.6 has bit representation for integer values. Any representation > should work with intbv's and in conversion. > > Jan > > right, and the best example of usefulness of unit test ;-) and, btw, thanks for the advice. |