initial support for exceptions
This commit is contained in:
parent
5552ad3d4a
commit
88ec010f98
9 changed files with 116 additions and 42 deletions
|
@ -3,7 +3,13 @@
|
|||
{-# LANGUAGE TypeOperators #-}
|
||||
{-# LANGUAGE ConstraintKinds #-}
|
||||
|
||||
module Simulation(Args(..), simulation, Simulation(..)) where
|
||||
module Simulation(
|
||||
Args(..),
|
||||
simulation,
|
||||
RISCVCPU(..),
|
||||
Machine(..),
|
||||
Simulation(..)
|
||||
) where
|
||||
|
||||
import qualified Prelude as P
|
||||
import Peripherals.Setup(setupPeripherals, InitializedPeripherals(..))
|
||||
|
@ -12,7 +18,6 @@ import Clash.Prelude
|
|||
import Bus(Peripherals(..))
|
||||
import Cpu(
|
||||
RISCVCPU(..),
|
||||
RISCVCPU (RISCVCPU),
|
||||
riscvCPUInit)
|
||||
import Fetch(fetchInstruction, FetchResult (Instruction, Misaligned))
|
||||
import Isa.Decode(decode)
|
||||
|
|
Reference in a new issue