Description
There is an issue in the data reading logic when precision == 16.
In this configuration, each 32-bit word is split into two 16-bit samples:
- Bits 15:0 →
stream_data_fifo
- Bits 31:16 →
stream_data_fifo_backup
However, the current implementation reads samples only from stream_data_fifo, causing half of the samples to be skipped.
Current Behavior
When precision == 16:
This results in incomplete and incorrect data processing.
Expected Behavior
Description
There is an issue in the data reading logic when
precision == 16.In this configuration, each 32-bit word is split into two 16-bit samples:
stream_data_fifostream_data_fifo_backupHowever, the current implementation reads samples only from
stream_data_fifo, causing half of the samples to be skipped.Current Behavior
When
precision == 16:Samples are read in the following order:
Samples stored in
stream_data_fifo_backupare ignoredThis results in incomplete and incorrect data processing.
Expected Behavior
Samples should be read in the correct order:
stream_data_fifostream_data_fifo_backupstream_data_fifostream_data_fifo_backupNo samples should be skipped when
precision == 16