Moved the pdte/ddte reserved check directly underneath the pdte/ddte validity check to ensure the second check activates only if the first validity check fails.
Introduced a condition within this block: if ddt_walk is high, cause_code will be set to "DDT Entry Misconfigured"; otherwise, it will be set to "PDT Entry Misconfigured".
Description
This PR has the fix for issue #17 and #18.
Changes
ddt_walk
is high,cause_code
will be set to "DDT Entry Misconfigured"; otherwise, it will be set to "PDT Entry Misconfigured".