read seemingly complete
This commit is contained in:
parent
ad751a5039
commit
b95b2b962a
4 changed files with 82 additions and 39 deletions
|
@ -28,8 +28,11 @@ import Util((|>))
|
|||
import Types(DoubleWord)
|
||||
|
||||
type RegFileIdx = Unsigned 5
|
||||
data RegVal = Value RegFileIdx DoubleWord
|
||||
| Unpopulated RegFileIdx
|
||||
data RegVal = Value {
|
||||
regFileIdx :: RegFileIdx,
|
||||
regVal :: DoubleWord
|
||||
}
|
||||
| Unpopulated {regFileIdx :: RegFileIdx}
|
||||
deriving (Generic, Show, Eq, NFDataX)
|
||||
|
||||
type GPR = Vec 32 (Unsigned 64) -- General Purpose Registers
|
||||
|
|
Reference in a new issue