[Libre-soc-dev] clamping/saturation semantics

Luke Kenneth Casson Leighton lkcl at lkcl.net
Sat Dec 12 10:53:34 GMT 2020

On 12/11/20, Jacob Lifshay <programmerjake at gmail.com> wrote:

>> * saturation is done on the result at the **source** elwidth
> This would be a problem. For many cases, dst width != src width.

yep got it now, sat must be at dest width.  please check page?

also should op be always done at src width?

in SV spec it states ops to be done at dest width.  clearly not for
sat ops.  which has me wondering if all ops should be done at

including FP.


More information about the Libre-soc-dev mailing list