lnls-dig / halcs

Hardware Abstraction Layer for Control Systems
GNU General Public License v3.0
1 stars 4 forks source link

[acq_core] Fix minimum pre_samples restriction #168

Closed lerwys closed 5 years ago

lerwys commented 5 years ago

Problem: ACQ gateware modules requires at least DDR3_PAYLOAD_SIZE bytes. The number of samples check is currently using more than the minimum when the number of samples is less than that.

Also, the data buffer must account for that "minimum" and shift the data when sending it back to the use