openhwgroup / cva6

The CORE-V CVA6 is an Application class 6-stage RISC-V CPU capable of booting Linux
https://docs.openhwgroup.org/projects/cva6-user-manual/
Other
2.21k stars 672 forks source link

[BUG] Passive mode of AXI agents does not work anymore #1946

Open Gchauvon opened 6 months ago

Gchauvon commented 6 months ago

Is there an existing CVA6 bug for this?

Bug Description

When using cva6.py with --axi_active="no" and vcs-uvm tesbench simulation will fail or crash.

JeanRochCoulon commented 3 months ago

@AEzzejjari Can you status on this Github issue ?

AEzzejjari commented 3 months ago

There is a problem with the coverage in passive mode. Once we merge the new agent, the problem will be fixed.

dvusingh commented 3 months ago

Hi @AEzzejjari ,

I am facing the coverage related issue in case of passive mode, after taking the new agent changes. I am getting the below mentioned uvm_info when test starts and then timeout occurs.

UVM_INFO @ 105.500 ns : uvmt_cva6_firmware_test.sv(159) uvm_test_top [TEST] Started RUN UVM_INFO @ 783.500 ns : uvma_axi_covg.sv(265) uvm_test_top.env.axi_agent.axi_covg [uvma_axi_covg_c] READ ADDRESS ITEM DETECTED UVM_INFO @ 783.500 ns : uvme_axi_covg.sv(279) uvm_test_top.env.cov_model.axi_covg [uvme_axi_covg_c] READ ADDRESS ITEM DETECTED UVM_INFO @ 783.500 ns : uvme_axi_ext_covg.sv(272) uvm_test_top.env.cov_model.axi_ext_covg [uvme_axi_ext_covg_c] READ REQ ITEM DETECTED UVM_INFO @ 789.500 ns : uvme_axi_covg.sv(285) uvm_test_top.env.cov_model.axi_covg [uvme_axi_covg_c] READ DATA ITEM DETECTED

Also, when I am disabling the coverage ( cov_model_enabled=0) timeout error is coming.

Thanks