Assume there is a file in host Windows 10 PC which contains only a byte. A Basys 3 Artix-7 FPGA Developer Board is connected to the host through a micro-USB cable. I would like to program FPGA so that it can read the byte in the file in host (since micro-USB cable is the only connection between host and Basys 3, FPGA will read through this micro-USB cable), and then display its value in decimal form on LED. Is there any way to do it? I know Verilog has system task functions for file I/O, but not sure if they are applicable in this scenario. Thanks for your help.
Question
zzzhhh
Assume there is a file in host Windows 10 PC which contains only a byte. A Basys 3 Artix-7 FPGA Developer Board is connected to the host through a micro-USB cable. I would like to program FPGA so that it can read the byte in the file in host (since micro-USB cable is the only connection between host and Basys 3, FPGA will read through this micro-USB cable), and then display its value in decimal form on LED. Is there any way to do it? I know Verilog has system task functions for file I/O, but not sure if they are applicable in this scenario. Thanks for your help.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now