Error running Example C++ Execution from manual
Added by Muhammad Ali about 1 year ago
Hi,
I have closely followed the manual, installation was successful. I built from source and make test was successful.
I am getting the following error when I am trying to compile the our.v file:
our.v:3: Unterminated string our.v:2: syntax error, unexpected IDENTIFIER Cannot continue Command Failed /home/verilator_bin -Wall --cc our.v --exe sim_main.cpp
my verilator version is: Verilator 3.811+ devel rev verilator_3_811-6-ga176054
Anyone have any ideas?
Thanks!
Replies (2)
RE: Error running Example C++ Execution from manual - Added by Wilson Snyder about 1 year ago
The code should be this, maybe it's mistyped or the version you're looking at has extra backslashes:
module our;
initial begin $display("Hello World"); $finish; end
endmodule
RE: Error running Example C++ Execution from manual - Added by Muhammad Ali about 1 year ago
Thanks a lot. That was it. It had extra backslashes. The example is at the following link:
(1-2/2)
![[logo]](/img/veripool_small.png)