Single cycle setBounds checking if the request is in bounds (#10)

This commit is contained in:
PeterRugg
2022-10-25 20:02:43 +01:00
committed by GitHub
parent be80fbe51c
commit 7d9fdce16a
2 changed files with 52 additions and 4 deletions

View File

@@ -104,6 +104,7 @@ typedef struct {
typedef struct {
capT cap;
Bool exact;
Bool inBounds;
Bit #(addrW) length;
Bit #(addrW) mask;
} SetBoundsReturn #(type capT, numeric type addrW) deriving (Bits, Eq, FShow);