Re: [myhdl-list] Bit-wise inversion issue
Brought to you by:
jandecaluwe
From: Tom D. <TD...@di...> - 2008-02-28 22:11:16
|
On Thursday 28 February 2008 03:36:37 pm Jan Decaluwe wrote: > Tom Dillon wrote: > > I don't think the sliced result gets ._nrbits .min or .max set. > > > > I think it should, at least for clarification. > > Actually a slice returns a new intbv with _nrbits, min and max set. > (this is the idiomatic way to create an "unsigned", hardware-oriented > intbv). > sorry, I misunderstood the example I ran to come to the conclusion they weren't set. I was wrong, it seems fine to me the way it is. |