Re: [myhdl-list] fixbv to current version of myhdl
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2015-05-03 14:13:46
|
On 5/3/15 9:05 AM, Christopher Felton wrote: > On 5/2/15 1:47 PM, Jose M. Gomez Cama wrote: >> Dear Christopher, >> >> I have given a quick glance to resize. Have you though on the possibility to use Decimal? It provides similar functionality for rounding, and allows to have a larger number of bits than float. >> > > I don't think Decimal can be used for the `resize` > function but it should be leverage for the real > representation, simply because a `fixbv` can have > more precision than a float. I should clarify, Decimal would not be useful for the convertible version of `resize` but it would be useful in the current model where float is being used. Regards, Chris |