Miodrag Vukovic
Miodrag Vukovic

Reputation: 19

VERILATOR: Terminal stuck after execution of helloworld SystemVerilog, with C++ wrapper

I am new to Verilator and encountered a problem with basic HelloWorld example. I was following the Verilator Manual and wanted to execute the basic Helloworld example with C++ wrapper program (2.1 Example C++ Execution). After invoking command

verilator -Wall --cc --exe --build sim_main.cpp our.v

an obj_dir directory was created with generated C++ code and after running Vrun file, my terminal gets stuck,blocked..whatever..does nothing.

I always have to CTRL-c and cancel it afterwards. I also tried with not using the -build in the command, and I manually compiled it. And still to no avail.

Has anyone encountered a problem like this, or does someone have any idea what is wrong? I'm using Ubuntu 20.04.3 LTS, and Verilator version 4.211 devel rev v4.210-78-g27d53691

Thanks.

Note: I had no problems during installation

Upvotes: 0

Views: 318

Answers (1)

Molly Zheng
Molly Zheng

Reputation: 3

I found that I just named "our.v" to "out.v". I corrected the file name and solved it. :)

Upvotes: 0

Related Questions