Skip to content

Not throwing error when trans_type == UNTRANSLATED_RX and pte.x is 0 #39

@mhayat-10xe

Description

@mhayat-10xe

I wrote an assertion that states:

If ddtc_miss(sva internal signal) rises then in the same cycle ddt_walk should go high as well.

Below is the counter-example of the assertion failure, you can see that ddtc_miss rises in cycle 16 but ddt_walk didn't rise here. After doing a "why analysis" I found the reason for assertion failure. The reason for the failure is that while loading dc when we have a translation of pdtp.ppn, trans_type is UNTRANSLATED_RX and pte.x == 0 that should result in a page fault exception but IOMMU asserted the updated_dc_o signal which is wrong.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions