chipsalliance / aib-protocols

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AXI4-Stream UVM_ERROR in scoreboard: uvm_test_top.axist_scb [axist_scoreboard] Transmit tdata size 15

nij-intel opened this issue · comments

I am getting scoreboard UVM_ERROR for ./axist/tb_mf2.1_sh1_d6

./simv +UVM_TESTNAME=random_test +ntb_random_seed=11441320 +UVM_VERBOSITY=UVM_LOW +AIB_IF_COUNT=1 +AIB_CONFIG_DIR=./ +AIB_MASTER_CONFIG_FILE=./master_0_config_aib.dat +AIB_SLAVE_CONFIG_FILE=/nfs/sc/disks/swuser_work_ndoraira/csprs/eximius/0.8.14/aib/dv/data/dsp1_image/sl2_dsp1_fifo2x.dat -l ./logs/sim_random_test_m2s1.log

UVM_WARNING ./amba_svt/S-2021.06/axi_master_svt/sverilog/src/vcs/svt_axi_master.uvm.svp(622) @ 523072000: uvm_test_top.axi_env.axi_system_env.master[0].driver [manage_objections] Timed out due to bus inactivity(bus_inactivity_timeout='d256000). Dropping all objections
UVM_WARNING .//amba_svt/S-2021.06/axi_slave_svt/sverilog/src/vcs/svt_axi_slave.uvm.svp(532) @ 523516000: uvm_test_top.axi_env.axi_system_env.slave[0].driver [manage_objections] Timed out due to bus inactivity(bus_inactivity_timeout='d256000). Dropping all objections
UVM_INFO ./R-2020.12-SP1-1/linux64/suse/etc/uvm/base/uvm_objection.svh(1274) @ 523516000: reporter [TEST_DONE] 'run' phase is ready to proceed to the 'extract' phase
UVM_INFO ./0.8.14/llink/dv/axist/env/axist_scoreboard.sv(828) @ 523516000: uvm_test_top.axist_scb [extract_phase] Tdata size-- 15 and tkeep size-- 15
UVM_ERROR ./0.8.14/llink/dv/axist/env/axist_scoreboard.sv(830) @ 523516000: uvm_test_top.axist_scb [axist_scoreboard] Transmit tdata size 15
UVM_ERROR ./0.8.14/llink/dv/axist/env/axist_scoreboard.sv(833) @ 523516000: uvm_test_top.axist_scb [axist_scoreboard] Transmit tkeep size 15
UVM_INFO .//amba_svt/S-2021.06/axi_master_svt/sverilog/src/vcs/svt_axi_master.uvm.svp(622) @ 523516000: uvm_test_top.axi_env.axi_system_env.master[0].driver [report_phase] Number of exclusive read-write pair received - 'd0
UVM_INFO .//amba_svt/S-2021.06/axi_slave_svt/sverilog/src/vcs/svt_axi_slave.uvm.svp(337) @ 523516000: uvm_test_top.axi_env.axi_system_env.slave[0].driver [report_phase] Number of exclusive read-write pair received - 'd0
UVM_INFO ./0.8.14/aib/dv/aib_uvm/aib_master/aib_master_data/aib_master_data_monitor.svh(323) @ 523516000: uvm_test_top.m_env[0].m_master_data_agent[0].m_monitor [aib_master_data_monitor] Master Observed 0 data_in 0 data_out trans in simulation
UVM_INFO ./0.8.14/aib/dv/aib_uvm/aib_master/aib_master_data/aib_master_data_monitor.svh(323) @ 523516000: uvm_test_top.m_env[0].m_master_data_agent[1].m_monitor [aib_master_data_monitor] Master Observed 0 data_in 0 data_out trans in simulation
UVM_INFO ./0.8.14/aib/dv/aib_uvm/aib_slave/aib_slave_data/aib_slave_data_monitor.svh(320) @ 523516000: uvm_test_top.m_env[0].m_slave_data_agent[0].m_monitor [aib_slave_data_monitor] Slave Observed 261751 data_in 258457 data_out trans in simulation
UVM_INFO ./0.8.14/aib/dv/aib_uvm/aib_slave/aib_slave_data/aib_slave_data_monitor.svh(320) @ 523516000: uvm_test_top.m_env[0].m_slave_data_agent[1].m_monitor [aib_slave_data_monitor] Slave Observed 261751 data_in 258457 data_out trans in simulation
UVM_INFO ./0.8.14/aib/dv/tests/intel_aib_base_test.sv(284) @ 523516000: uvm_test_top [final_phase] intel_aib_base_test.sv Entered...
UVM_INFO ./0.8.14/aib/dv/tests/intel_aib_base_test.sv(293) @ 523516000: uvm_test_top [final_phase]

We were able to reproduce the issue and prove a fix. It was related to the DV scoreboard getting a little confused and not checking the very last packet. With the updated TB (next drop) the issue should be gone.

Note, this looks similar to the issue you reported previously, which we believed may be related to different VIPs. Note that the YO as provided had a bit of non-determinism. The latest DV changes have removed some of this non-determinism, which may make it easier to reproduce these issues going forward.

Fixed in 0.8.15

axist/tb_mf2.1_sh1_d256/logs/sim_random_test_m2s1.log:Number of demoted UVM_FATAL reports : 0
axist/tb_mf2.1_sh1_d256/logs/sim_random_test_m2s1.log:Number of demoted UVM_ERROR reports : 0
axist/tb_mf2.1_sh1_d256/logs/sim_random_test_m2s1.log:Number of caught UVM_FATAL reports : 0
axist/tb_mf2.1_sh1_d256/logs/sim_random_test_m2s1.log:Number of caught UVM_ERROR reports : 0
axist/tb_mf2.1_sh1_d256/logs/sim_random_test_m2s1.log:UVM_ERROR : 0
axist/tb_mf2.1_sh1_d256/logs/sim_random_test_m2s1.log:UVM_FATAL : 0
axist/tb_mf2.1_sh1_d256/logs/sim_zero_delay_random_test_m2s1.log:Number of demoted UVM_FATAL reports : 0
axist/tb_mf2.1_sh1_d256/logs/sim_zero_delay_random_test_m2s1.log:Number of demoted UVM_ERROR reports : 0
axist/tb_mf2.1_sh1_d256/logs/sim_zero_delay_random_test_m2s1.log:Number of caught UVM_FATAL reports : 0
axist/tb_mf2.1_sh1_d256/logs/sim_zero_delay_random_test_m2s1.log:Number of caught UVM_ERROR reports : 0
axist/tb_mf2.1_sh1_d256/logs/sim_zero_delay_random_test_m2s1.log:UVM_ERROR : 0
axist/tb_mf2.1_sh1_d256/logs/sim_zero_delay_random_test_m2s1.log:UVM_FATAL : 0
axist/tb_mf2.1_sh1_d64/logs/sim_random_test_m2s1.log:Number of demoted UVM_FATAL reports : 0
axist/tb_mf2.1_sh1_d64/logs/sim_random_test_m2s1.log:Number of demoted UVM_ERROR reports : 0
axist/tb_mf2.1_sh1_d64/logs/sim_random_test_m2s1.log:Number of caught UVM_FATAL reports : 0
axist/tb_mf2.1_sh1_d64/logs/sim_random_test_m2s1.log:Number of caught UVM_ERROR reports : 0
axist/tb_mf2.1_sh1_d64/logs/sim_random_test_m2s1.log:UVM_ERROR : 0
axist/tb_mf2.1_sh1_d64/logs/sim_random_test_m2s1.log:UVM_FATAL : 0
axist/tb_mf2.1_sh1_d64/logs/sim_zero_delay_random_test_m2s1.log:Number of demoted UVM_FATAL reports : 0
axist/tb_mf2.1_sh1_d64/logs/sim_zero_delay_random_test_m2s1.log:Number of demoted UVM_ERROR reports : 0
axist/tb_mf2.1_sh1_d64/logs/sim_zero_delay_random_test_m2s1.log:Number of caught UVM_FATAL reports : 0
axist/tb_mf2.1_sh1_d64/logs/sim_zero_delay_random_test_m2s1.log:Number of caught UVM_ERROR reports : 0
axist/tb_mf2.1_sh1_d64/logs/sim_zero_delay_random_test_m2s1.log:UVM_ERROR : 0
axist/tb_mf2.1_sh1_d64/logs/sim_zero_delay_random_test_m2s1.log:UVM_FATAL : 0