Re: [myhdl-list] fixbv to current version of myhdl
Brought to you by:
jandecaluwe
From: Henry G. <he...@ca...> - 2015-05-03 14:59:21
|
On 03/05/15 14:49, Jose M. Gomez Cama wrote: > Being short, resize usually implies just an increment and some checks. So in most cases no pipelining is needed. Ah yes, I realise I've been misinterpreting what is needed by a resize... Essentially I need the more general case to be implemented in hardware, similar to floating point. Actually, it really is floating point I need :) (but a distinctly restricted type of floating point) - the normalize and count operation. That's a count leading zeros, left shift, and then a round to even (or whatever rounding scheme). > > Or being a bad guy, if we do not parametrise the pipeline for multiply or divide which usually will require pipelining, why shall be done for resize;) I agree. Any real convertible implementation would have to handle multiply and divide as explicit operations. To some extent, the multiply can be inferred and can be done in a single clock cycle when DSP slices are available, so might still be useful. You make an important point though. Cheers, Henry |