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

[hw,rv_core_ibex,rtl] Increase upper bound for cycles to wait in IbexIcacheScrambleKeyRequestAfterFenceI_A #20773

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

Razer6
Copy link
Member

@Razer6 Razer6 commented Jan 5, 2024

When OpenOCD issues a fence.i instruction as part of executing a program buffer through the DM the following assertion triggers:

[11-28 08:20:01] -I- xmsim: *E,ASRTST (/work/opentitan.integrated/hw/ip/rv_core_ibex/rtl/rv_core_ibex.sv,976): (time 10638803280 PS) Assertion top.u_rv_core_ibex.gen_icache_scramble_asserts.IbexIcacheScrambleKeyRequestAfterFenceI_A has failed (in 11 cycles)
[11-28 08:20:01] -I- UVM_ERROR ../../../opentitan.integrated/hw/ip/rv_core_ibex/rtl/rv_core_ibex.sv(976) @ 10638803280000: reporter [ASSERT FAILED] IbexIcacheScrambleKeyRequestAfterFenceI_A

I see upstream has increased this to 14 from 10 - 4e615de

We found that 14 wasn’t sufficient, but 20 works reliably.

@andreaskurth
Copy link
Contributor

@Razer6: Quick lint fails because the first line of the commit message is too long

@andreaskurth andreaskurth merged commit 02fddf6 into lowRISC:integrated_dev Jan 8, 2024
20 checks passed
@Razer6 Razer6 deleted the fix-assertion branch January 8, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants