embeddedsw icon indicating copy to clipboard operation
embeddedsw copied to clipboard

This patch fixes a bug present in both xllfifo_interrupt_example.c

Open shearl opened this issue 6 years ago • 1 comments

and xllfifo_polling_example.c in which false positives can occur because the test transmit buffer is only filled with zeros. This patch also fixes a bug in xllfifo_interrupt_example.c in the receive data function in which it breaks the rule from pg080 which states: RDFO should be read before reading RLR. Reading RLR first will result in the RDFO being reset to zero. Without this fix, the test fails when the transmit buffer is filled with non-zero data.

shearl avatar Nov 07 '18 19:11 shearl

Hi @shearl , Thanks for sharing the fix. I will send the patches to xilinx internal mailing list and hopefully, it should get included in 2018.3 release.

radheyxilinx avatar Nov 08 '18 11:11 radheyxilinx