WangXuan95 / FPGA-ftdi245fifo

An FPGA-based FT232H/FT600 chip controller for rapid data transmission via USB. 使用FT232H/FT600芯片进行FPGA与电脑之间的高速数据传输。
https://gitee.com/wangxuan95/FPGA-ftdi245fifo
GNU General Public License v3.0
263 stars 82 forks source link

usb_rx_mass verificaton #16

Open jinz2014 opened 1 month ago

jinz2014 commented 1 month ago

Hello,

It will be helpful update the usb_rx_mass program in Python to verify the data read on a host match the data generated by the FPGA logic ? Currently, it checks the lengths of the data. Thanks.

       if expect_len != rx_len :
            print('*** expect_len (%d) and rx_len (%d) mismatch' % (expect_len, rx_len) )
            break