Martin Braun
4e2da5912b
fpga: Fix overflows in quarterrate downconverter
...
The 1/4-rate downconverter naively negated the input signals (y = -x)
which doesn't work when the signal is at full scale. In particular,
signals that are at full negative scale get converted to zeros (even
though 2's complement would be to return the same number, although that
would also be incorrect).
This fix changes it such that the smallest negative value gets converted
to the largest positive value.
This is not a mathematical correction inversion, but a minor amplitude
distortion. However, since we're already at full scale, and thus
probably clipping, this is preferable to the incorrect resolution of the
regular inversion. Put differently, there is no better value in this
case.
Original-commit: 8bd982745e6247cf3cf3da52925c65126287428a
2022-12-02 11:42:44 -08:00
..
2022-12-02 11:42:44 -08:00
2021-11-04 11:04:54 -05:00
2021-10-28 23:15:41 -05:00
2020-04-14 16:37:43 -05:00
2022-08-29 17:01:45 -05:00
2022-11-13 16:47:57 -06:00
2022-09-01 14:41:55 -05:00
2022-08-29 17:01:45 -05:00
2020-08-23 13:52:26 -05:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-05-28 15:12:20 -05:00
2020-01-28 09:35:36 -08:00
2022-02-10 18:11:41 -07:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-05-28 15:12:20 -05:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2021-08-08 14:59:26 -05:00
2021-08-08 14:59:26 -05:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2021-08-08 14:59:26 -05:00
2021-08-08 14:59:26 -05:00
2021-08-08 14:59:26 -05:00
2021-08-08 14:59:26 -05:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-03-23 08:23:51 -05:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2022-01-25 14:09:15 -07:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2021-10-27 07:56:09 -07:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-05-19 14:22:55 -05:00