clean up warnings a bit
This commit is contained in:
parent
30650b870c
commit
67b44dedc0
8 changed files with 12 additions and 32 deletions
|
@ -7,18 +7,15 @@ module Fetch(
|
|||
) where
|
||||
|
||||
import Clash.Prelude
|
||||
import Types(Mem, Addr, Insn)
|
||||
import Bus(ReadResponse, WriteResponse, read)
|
||||
import Types(Addr, Insn)
|
||||
import Bus(read)
|
||||
import Bus(Peripherals(..))
|
||||
import BusTypes(
|
||||
ReadRequest(..),
|
||||
TransactionSize(..),
|
||||
BusVal(..),
|
||||
BusError(..))
|
||||
import Exceptions(Exception(..), exceptionCode, isSynchronousException)
|
||||
|
||||
import GHC.IO (IO)
|
||||
import GHC.Base (Applicative(pure))
|
||||
import Exceptions(Exception(..))
|
||||
|
||||
data FetchResult = Instruction Insn
|
||||
| InstructionException Exception
|
||||
|
|
Reference in a new issue