zero-day-labs / riscv-iommu

IOMMU IP compliant with the RISC-V IOMMU Specification v1.0
Apache License 2.0
66 stars 12 forks source link

[RTL] Fix for issue number 20 and 22 #24

Closed mhayat-10xe closed 2 days ago

mhayat-10xe commented 1 month ago

Description

This PR has the fix for issue #20 and #22.

Changes

  1. For issue #22, added the dc_fsc.mode inside {4:15} condition in the "DDT_ENTRY_MISCONFIGURED" check block and under that check added else if instead of if in the new check.
  2. Changed the unique to priority for issue #20.
malejo97 commented 2 days ago

Hi @mhayat-10xe. The PR looks good to me.