Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to read/write file in host when running Verilog code in a development board?

zzzhhh

Newbie level 5
Joined
Mar 12, 2023
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
111
We know that Verilog has file I/O system task functuons. But in practical FPGA development on a development board connected to host PC with a micro-USB cable, say, a Xilinx Artix-7 board, how to read/write file in host PC when simulating Verilog code on the board using Vivado 2022.2? Thanks.
 
"Simulating Verilog code on the development board" is self-contradictory, you either run the code on the target FPGA or simulate it on the PC.

Presume you mean running the code on the FPGA, then you can't use Verilog file I/O, it's only a simulation feature. Data in- and output from your FPGA application can be performed through hardware communication channels, e.g. serial interface or ethernet, to a limited extent also through JTAG adapter and Vivado debug tools.
 

LaTeX Commands Quick-Menu:

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top