Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulk data from PC to FPGA with slow user logic #34

Open
quangdaovu opened this issue Dec 7, 2018 · 1 comment
Open

Bulk data from PC to FPGA with slow user logic #34

quangdaovu opened this issue Dec 7, 2018 · 1 comment

Comments

@quangdaovu
Copy link

Hi,

Firstly, please pardon me for my bad English. Secondly, also pardon me for my ironic questions (since I don't have enough time to carefully read and understand everything about riffa).

I'm now integrating my logic into RIFFA by modifing chnl_tester.v. The requirement is send 1 bulk data through PCI (1K of packet, each packet is 48 bytes) and then wait for its bulk responses. Normally my logic will process one packet in around 0.5ms (which is pretty slow in compared with RIFFA's performance). Since I don't really understand about how RIFFA works, is it ok to read one packet, wait for my logic to finish processing it, and then read another packet? Is there any chance of losing data? Do I have to read all the bulk data at once?

Thanks a lot for your help.
Your sincerely,
Quang Dao

@Johnhave
Copy link

Johnhave commented Jan 2, 2019

Hi,
I have done similar question. That is, send and receive piece by piece. Each piece has 128 bits. When PC call the 'fpga_recv', system would wait and not receive until the signal 'CHNL_TX_DATA_REN' as well as 'CHNL_TX_DATA_VALID' is high. Therefore, you just need to manage the two signals with your ip cores.
Best wishes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants