[myhdl-list] Re: 0.5dev3 testing
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2005-11-10 22:40:20
|
Tom Dillon wrote: > I had been using the following: > > Signal(intbv(0,min=0,max=2)) > > to get a 1 bit register or wire. > > With the development version I get a 2 bit signal. Is that intentional? > > I thought the range should be min <= Num < max. Tom: To understand whether this is expected or not, can you please tell me if you have *somewhere* in your MyHDL code, an intbv that can have negative values? Jan -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Losbergenlaan 16, B-3010 Leuven, Belgium Electronic design with Python: http://myhdl.jandecaluwe.com |