Forum Discussion
USB Mass storage device - Save data to file
- 2 years ago
Hi,
Probably that'll be easier by looping back the data and writing into text file using python.
Thanks,
Best Regards,
Sheng
Hi,
The Verilog File IO Operations usually being used/worked for testbench check this link https://www.chipverify.com/verilog/verilog-file-io-operations
If you want to run something on the board and output to be saved in a txt file, probably need to use embedded system. Here is a video link for your reference https://www.youtube.com/watch?v=kbIcXwtfBiY&t=414s
Thanks,
Best Regards,
Sheng
- antonto2 years ago
Occasional Contributor
Thank you for your response, i saw the video that you sent me and it was actually quite good I didnt know that you could do that. Sadly it uses C and i can only use python and SystemVerilog on my project. My project is basically to combine two boards, the DE10-Lite and SAMD21 M0. The SAMD21 board will send the inputs to the DE10-Lite which will do something and the goal was to save the output to a txt file. But now im thinking if i send the output back to the SAMD21 and then save it to a txt file wouldn't that be easier? Please tell me your opinion and will keep you updated after i do some testing.