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?

Status
Not open for further replies.

zzzhhh

Newbie level 5
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.
 

Simulation takes place on the host PC and doesn't use the development hardware. What are you exactly trying to achieve?
 

"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.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top