bus architecture re-built I think
This commit is contained in:
parent
c8b192cade
commit
5552ad3d4a
9 changed files with 144 additions and 115 deletions
|
@ -5,8 +5,6 @@ module BusTypes(
|
|||
ReadRequest(..),
|
||||
BusResponse(..),
|
||||
BusVal(..),
|
||||
ReadResponse(..),
|
||||
WriteResponse(..)
|
||||
) where
|
||||
|
||||
import Clash.Prelude
|
||||
|
@ -42,11 +40,3 @@ data BusVal
|
|||
| BusDoubleWord DoubleWord
|
||||
| BusQuadWord QuadWord
|
||||
deriving (Generic, Show, Eq, NFDataX)
|
||||
|
||||
-- newtype ReadResponse = ReadResponse (BusResponse BusVal)
|
||||
-- deriving (Generic, Show, Eq, NFDataX)
|
||||
|
||||
type ReadResponse = Either BusError BusVal
|
||||
|
||||
newtype WriteResponse = WriteResponse (BusResponse ())
|
||||
deriving (Generic, Show, Eq, NFDataX)
|
||||
|
|
Reference in a new issue