initial support for Bus types

This commit is contained in:
Yehowshua Immanuel 2025-03-14 19:46:08 -04:00
parent 66464daf0c
commit 21a3ee7f7a
4 changed files with 59 additions and 3 deletions

15
bs/Types.bs Normal file
View 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