Skip to content

[reset on the fly] In the case of CONFIG3_EMBEDDED, a spurious assertion for unsolicited response

Hi @cfuguet

In the case of CONFIG3_EMBEDDED, when I am doing a reset on the fly I am getting an issue with an assertion which detect an unsolicited response.

** Error: uc_handler: unexpected response from memory

Time: 6487500 ps Started: 6487500 ps Scope: top.dut.hpdcache_uc_i File: /home/360.1.361-EPI/users/tk223379/cv-hpdcache-verif/modules/hpdcache/rtl/src/hpdcache_uncached.sv Line: 988 Expr: mem_resp_write_valid_i~|mem_resp_read_valid_i|uc_fsm_q==UC_MEM_WAIT_RSP

A simple grep tells me as if all the responses have been received.

[tk223379@nc020 simu]$ grep "MEMORY RESPONSE MODEL" output/test_hpdcache_multiple_load_store_requests_1195284185.log | grep REQ | wc -l 150 [tk223379@nc020 simu]$ grep "MEMORY RESPONSE MODEL" output/test_hpdcache_multiple_load_store_requests_1195284185.log | grep RSP | wc -l 150

To reproduce the error please check following in my fork and SHA. [tk223379@nc020 simu]$ git remote get-url origin git@github.com:khandelwaltanuj/cv-hpdcache-verif.git [tk223379@nc020 simu]$ git rev-parse HEAD 1fe96205106ae4e5374eac10d153d3adca980c75

To compile and run the test

python3 $PROJECT_DIR/scripts/sim/compile.py --cfg CONFIG3_EMBEDDED python3 $PROJECT_DIR/scripts/sim/run_test.py --test_name test_hpdcache_multiple_load_store_requests --seed 1195284185 --batch 1 --debug "UVM_DEBUG"

The logs and wlf are generated in a directory called "output".

Thanks and best regards, Tanuj Khandelwal