Skip to content
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

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

Open
khandelwaltanuj opened this issue Oct 28, 2024 · 1 comment

Comments

@khandelwaltanuj
Copy link

khandelwaltanuj commented Oct 28, 2024

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

@khandelwaltanuj
Copy link
Author

Hi @cfuguet

Any update on this one please ?

Regards
Tanuj Khandelwal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant