initial support for Bus types
This commit is contained in:
parent
66464daf0c
commit
21a3ee7f7a
4 changed files with 59 additions and 3 deletions
15
bs/Types.bs
Normal file
15
bs/Types.bs
Normal file
|
@ -0,0 +1,15 @@
|
|||
package Types(
|
||||
Pc, Insn, Addr,
|
||||
Byte, HalfWord, FullWord, DoubleWord, QuadWord
|
||||
)
|
||||
where
|
||||
|
||||
type Byte = UInt 8
|
||||
type HalfWord = UInt 16
|
||||
type FullWord = UInt 32
|
||||
type DoubleWord = UInt 64
|
||||
type QuadWord = UInt 128
|
||||
type Insn = FullWord
|
||||
|
||||
type Pc = DoubleWord
|
||||
type Addr = DoubleWord
|
Reference in a new issue