I want to be able to pass information from System Verilog testbench to a c++ program through a pipe. Is there a way to implement this.
0
votes
1 Answers
1
votes
If you are running on Linux, you can a named pipe file and have your testbench write to it. Then you can use that file as input to your program.
But a much more efficient solution is using SystemVerilog's DPI to pass the information by linking your C++ program into the simulation.