Re: [myhdl-list] fixbv to current version of myhdl
Brought to you by:
jandecaluwe
From: Henry G. <he...@ca...> - 2015-05-03 08:57:23
|
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 |