Skip to content

Verilator 5.043 hangs at run time on this test #29

@svenka3

Description

@svenka3

Trying this example on latest Verilator (built from source).

Verilator version:

- V e r i l a t i o n   R e p o r t: Verilator 5.043 devel rev v5.042-114-gb9b6eb6 (mod)

First observation - on a 8 GB RAM, 4 core laptop (CentOS 7.9), it takes about 10 minutes to compile/elab. Is this expected? I felt it is lot for the given example, but will try a bigger machine later.

- Verilator: Built from 13.123 MB sources in 371 modules, into 25.211 MB in 2437 C++ files needing 12.202 MB
- Verilator: Walltime 703.944 s (elab=1.523, cvt=8.652, bld=691.968); cpu 13.260 s on 2 threads; alloced 514.113 MB
./obj_dir/Vtbench_top +UVM_TESTNAME=sig_model_test +UVM_PHASE_TRACE +UVM_VERBOSITY=UVM_DEBUG 

Now the main issue - test is hanging and does not seem to enter run_phase, see:

UVM_WARNING /home/srini/tools/chips_a_uvm_vlt_bcl/uvm-verilator/src/base/uvm_root.svh(549) @ 0: reporter [NO_DPI_USED] We are thinking of removing support for UVM_NO_DPI.  Please try this test without it and evaluate the impact
UVM_INFO /home/srini/tools/chips_a_uvm_vlt_bcl/uvm-verilator/src/base/uvm_root.svh(552) @ 0: reporter [NO_DPI_TSTNAME] UVM_NO_DPI defined--getting UVM_TESTNAME directly, without DPI
UVM_INFO @ 0: reporter [RNTST] Running test sig_model_test...
UVM_INFO sig_sequence.svh(6) @ 0: reporter [seq] Starting sig_sequence
UVM_INFO sig_model_test.svh(19) @ 0: uvm_test_top [uvm_test_top] connect_phase 
UVM_INFO /home/srini/tools/chips_a_uvm_vlt_bcl/uvm-verilator/src/base/uvm_traversal.svh(345) @ 0: reporter [UVM/COMP/NAMECHECK] This implementation of the component name checks requires DPI to be enabled
UVM_WARNING /home/srini/tools/chips_a_uvm_vlt_bcl/uvm-verilator/src/base/uvm_traversal.svh(314) @ 0: reporter [NO_VISIT_CHECK] Because UVM_REGEX_NO_DPI is defined, no uvm component name constraints will be checked
UVM_INFO sig_model_test.svh(24) @ 0: uvm_test_top [uvm_test_top] start_of_simulation_phase 
UVM_INFO /home/srini/tools/chips_a_uvm_vlt_bcl/uvm-verilator/src/seq/uvm_sequencer_base.svh(1462) @ 0: uvm_test_top.env.sig_agnt_d.sequencer [PHASESEQ] No default phase sequence for phase 'run'
UVM_INFO /home/srini/tools/chips_a_uvm_vlt_bcl/uvm-verilator/src/seq/uvm_sequencer_base.svh(1462) @ 0: uvm_test_top.env.sig_agnt_m.sequencer [PHASESEQ] No default phase sequence for phase 'run'
UVM_INFO /home/srini/tools/chips_a_uvm_vlt_bcl/uvm-verilator/src/seq/uvm_sequencer_base.svh(1462) @ 0: uvm_test_top.env.sig_agnt_d.sequencer [PHASESEQ] No default phase sequence for phase 'pre_reset'
UVM_INFO /home/srini/tools/chips_a_uvm_vlt_bcl/uvm-verilator/src/seq/uvm_sequencer_base.svh(1462) @ 0: uvm_test_top.env.sig_agnt_m.sequencer [PHASESEQ] No default phase sequence for phase 'pre_reset'

I don't see any run_phase messages (added few prints).

Any hints please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions