Open infinitymdm opened 2 months ago
Hi @infinitymdm, thanks for your interest. As per the README, I have not yet been able to get this environment to compile with Verilator:
Last tested with Verilator v5.018 on Ubuntu 22.04.
Not yet compiling (working on it).
I appreciate you giving it a try with v5.029.
As far as I am aware, Verilator cannot yet handle UVM, even using uvm-verilator
from Antmicro. Note that the UVM environment in this repo has been cut down to create what I consider to be the basic-of-the-most-basic example of a "complete" UVM environment.
I am encouraged by the success you had compiling the environment (the errors are all run-time, not compile-time, which is an improvement over v5.018). Verilator is getting closer, but is not there yet.
Summary
When attempting to run the
run_verilator.sh
script with./run_verilator testname
, verilation completes but a runtime error is produced when attempting to run the file. The full verilation output is in the attached logfile. Just the runtime error is displayed below.full_verilation_log.txt
Software Configuration
Verilator: https://github.com/verilator/verilator/commit/4a589976041a4157c89b642d4757c3b99f32c5b4
UVM Library: https://github.com/antmicro/uvm-verilator/commit/2e667ac506c12e91d81bde62fe2c08d992731bd4
I also made a couple slight tweaks to the script (reduce error spam in UVM library, use all cores for verilation)
I've been trying to get my own UVM testbenches to work with verilator, and have run into the same runtime error there. Thought I'd give yours a try, but no luck apparently. Are you experiencing the same error?