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

PTW protocol violation if during pipeline flush #61

Closed
zarubaf opened this issue Jul 16, 2018 · 0 comments
Closed

PTW protocol violation if during pipeline flush #61

zarubaf opened this issue Jul 16, 2018 · 0 comments
Assignees

Comments

@zarubaf
Copy link
Contributor

zarubaf commented Jul 16, 2018

The PTW has an illegal state in which it can violate the req, gnt protocol (from PTE_LOOKUP to IDLE during flush).

https://github.com/pulp-platform/ariane/blob/838b04a96c45cee81ce658492baf74f117357dd2/src/ptw.sv#L331-L338

Example execution trace:

1127755000     112766 U 0000000000005fce 0 00000013 nop                                 
1127765000     112767 U 0000000000005fd0 0 00ee579b srliw            a5, t3, 0xe         x15 =0000000000000000 t3  :0000000000000000
1127775000     112768 U 0000000000005fd4 0 0000100f fence.i                             
1132915000     113282 U 0000000000005fd8 0 40755b3b sraw             s6, a0, t2          x22 =ffffffffffffffff a0  :ffffffffffffffff t2  :0000000000000000
1132925000     113283 U 0000000000005fdc 0 12000073 sfence.vma                          
1133245000     113315 U 0000000000005fe0 0 00000000 INVALID                             
Exception @1133245000, PC: 0000000000005fe0, Cause: Instruction Page Fault, 
tval: 0000000000005fe0
@zarubaf zarubaf added the bug label Jul 16, 2018
@zarubaf zarubaf self-assigned this Jul 16, 2018
zarubaf added a commit that referenced this issue Jul 16, 2018
OttG pushed a commit to OttG/cva6 that referenced this issue Jul 6, 2021
OttG pushed a commit to OttG/cva6 that referenced this issue Jul 6, 2021
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