Re: [myhdl-list] fixbv to current version of myhdl
Brought to you by:
jandecaluwe
From: Jose M. G. C. <ch...@gm...> - 2015-05-03 13:50:03
|
Dear Henry, Being short, resize usually implies just an increment and some checks. So in most cases no pipelining is needed. 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;) On the other hand, there are pathological cases where a resize is done just after a large operation. In this case, just adding an intermediate register to store the result of the large operation, and doing the resize in the following clock tick, should suffice. At least, this is my experience. I do not if I have answered your question. If not, please do not hesitate to ask. Best, Jose M. > El 03/05/2015, a las 10:57, Henry Gomersall <he...@ca...> escribió: > >> On 02/05/15 19:01, Christopher Felton wrote: >> On 5/2/15 11:27 AM, Henry Gomersall wrote: >>>> On 02/05/15 16:47, Christopher Felton wrote: >>>>>> On 5/2/15 8:55 AM, Edward Vidal wrote: >>>>>>>>>> Chris, >>>>>>>>>> Athttp://dev.myhdl.org/meps/mep-111.html >>>>>>>>>> Limitations no resize (function yet). >>>>>>>>>> Is this still true? >>>>>> There is a resize function but it is not convertible >>>>>> at this point. I can make a convertible version but >>>>>> I didn't like how it worked out, been experimenting >>>>>> with other methods. The existing resize function >>>>>> can be used for modeling and testing at this point. >>>> >>>> How does it work? >> Here is the `model` how I thought it should >> work: >> https://github.com/cfelton/myhdl/blob/mep111_fixbv/myhdl/_resize.py > > So I was wondering about this. Is there not a problem in that the > performance of any converted implementation is so sensitive to e.g. the > number of pipeline registers? > > In my mind, it would make perfect sense to have this as a convertible, > parametrizable instance. > > It would be lovely to have as a simple function, but it's hard to get > away from the fact that there are design decisions intrinsic to a resize > that have quite a bearing on the RTL model. If I'm wrong on this, I'm > keen to be educated! > > Cheers, > > Henry > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > myhdl-list mailing list > myh...@li... > https://lists.sourceforge.net/lists/listinfo/myhdl-list |