Re: [myhdl-list] intbv.saturate, intbv.wrap
Brought to you by:
jandecaluwe
From: Tom D. <TD...@di...> - 2007-06-30 20:41:16
|
On Saturday 30 June 2007 03:14:41 am Jan Decaluwe wrote: > Thomas Traber wrote: > > Jan suggested this feature request > > <https://sourceforge.net/tracker/?func=detail&atid=596335&aid=1740780&group >_id=91207> here on the list. > > It would be useful if anyone that is both doing DSP development and > using MyHDL takes a look at that feature request, and the discussions. We do a lot of DSP type modeling and logic, and I prefer the way MyHDL handles it now, which is throwing an error. In all the designs we have done, we either make sure an overflow won't happen or test and saturate. I can't see why you would want it to wrap around for a math application. I prefer to have my model stop on an overflow, so that i can fix the problem as I always consider it a problem if an overflow occurs that isn't saturated. Tom |