chipsalliance / riscv-dv

Random instruction generator for RISC-V processor verification
Apache License 2.0
1.03k stars 330 forks source link

Getting a lot of warning for riscv_arithmetic_basic_test #399

Closed danghai closed 4 years ago

danghai commented 4 years ago

I get a lot of warning for this test riscv_arithmetic_basic_test.

ai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 219
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff1a8963 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 219
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff1a8963 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 219
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff1a8963 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 219
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff1a8963 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 219
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff1a8963 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 219
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff1a8963 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 219
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff1a8963 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 219
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff1a8963 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 219
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff1a8963 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 219
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff1a8963 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 219
abdullahyildiz commented 4 years ago

@danghai,

Which tool (along with its version) are you using?

danghai commented 4 years ago

I use questa, and version 2019.4

abdullahyildiz commented 4 years ago

I don't remember experiencing such an issue when I try it on Synopsys VCS. Let me look at the verbose log file of the same case when VCS has been run.

danghai commented 4 years ago

It still has warning. Reopen the issue.

sa/riscv_instr.sv Line: 221
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff028c10 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 221
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff028c10 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 221
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff028c10 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 221
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff028c10 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 221
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff028c10 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 221
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff028c10 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 221
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff028c10 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 221
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff028c10 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 221
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff028c10 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 221
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
#    Time: 0 ns  Iteration: 61  Process: /uvm_pkg::uvm_task_phase::execute/#FORK#143(#ublk#215181159#143)_7feff028c10 File: /home/danghai/hhoangda/riscv-dv/src/isa/riscv_instr.sv Line: 221
# ** Warning: (vsim-3829) Non-existent associative array entry. Returning default value.
taoliug commented 4 years ago

please verify if it fixes the issue

danghai commented 4 years ago

Yes, It is fixed.