-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Result of riscv_unaligned_load_store_test is inconsistent #2645
Comments
It seems the issue happens between the end of test and the end of simulation. UVM_INFO @ 672.000 ns : uvmt_cva6_firmware_test.sv(137) uvm_test_top [TEST] Started RUN "/gitlab-runner/runner_riscv-public/builds/yD5zmwgi3/7/riscv-ci/cva6/core/scoreboard.sv", 346: uvmt_cva6_tb.cva6_dut_wrap.cva6_tb_wrapper_i.i_cva6.issue_stage_i.i_scoreboard.genblk11[1].genblk1[2].unnamed$$_0: started at 48512000ps failed at 48512000ps Offending '(trans_id_i[1] != trans_id_i[2])' Fatal: "/gitlab-runner/runner_riscv-public/builds/yD5zmwgi3/7/riscv-ci/cva6/core/scoreboard.sv", 346: uvmt_cva6_tb.cva6_dut_wrap.cva6_tb_wrapper_i.i_cva6.issue_stage_i.i_scoreboard.genblk11[1].genblk1[2].unnamed$$_0: at time 48512000 ps Two or more functional units are retiring instructions with the same transaction id! $finish called from file "/gitlab-runner/runner_riscv-public/builds/yD5zmwgi3/7/riscv-ci/cva6/core/scoreboard.sv", line 346. uvmt_cva6_tb.end_of_test: *** Test Summary *** FFFFFFFF AAAAAA IIIIII LL EEEEEEEE DDDDDDD FF AA AA II LL EE DD DD FF AA AA II LL EE DD DD FFFFF AAAAAAAA II LL EEEEE DD DD FF AA AA II LL EE DD DD FF AA AA II LL EE DD DD FF AA AA IIIIII LLLLLLLL EEEEEEEE DDDDDDD ---------------------------------------------------------- SIMULATION FAILED - ABORTED ---------------------------------------------------------- $finish at simulation time 48512.000 ns |
@AyoubJalali can you have a look at this ? |
This is a RTL bug, an assertion failed for some reason that i don't know to be honest |
Close as duplicate of #2376 |
Is there an existing CVA6 bug for this?
Bug Description
The result of riscv_unaligned_load_store_test is inconsistent smoke-gen test is inconsistent.
The test completes in all cases but the result will sometimes be a failure.
The issue seems to be on master branch (currently b5b316a) and can be seen on the dashboard report of this PR : #2641 (see pipeline 48858 on the CVA6 dashboard) which has no reason to impact the results of tests executions.
I also saw that on latest (ff70060) pipeline of #2528 (pipeline 48965 on the CVA6 dashboard) though it is harder to say for sure since this PR changes RTL. Running the test another time gives a successful result.
The text was updated successfully, but these errors were encountered: