package fsm
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
trait
EntryPoint extends AnyRef
This trait indicate the entry point of the state machine
- class State extends Area with ScalaLocated
- class StateBoot extends State
- trait StateCompletionTrait extends AnyRef
-
class
StateDelay extends State with StateCompletionTrait
State Delay
State Delay
val fsm = new StateMachine { ... val sDelay: State = new StateDelay(10 us){ whenCompleted { goto(sIdle) } } ... }
Example: -
class
StateFsm[T <: StateMachineAccessor] extends State with StateCompletionTrait
Use to execute a State machine into a stateMachine
-
class
StateMachine extends Area with StateMachineAccessor with ScalaLocated
State machine
State machine
val fsm = new StateMachine { val sIdle: State = StateEntryPoint{ ... } val sState1: State = new State { whenIsActive{ goto(sIdle) } } ... }
Example: - trait StateMachineAccessor extends AnyRef
- class StateMachineEnum extends SpinalEnum
- class StateMachineSharableRegUInt extends AnyRef
- class StateMachineSlave extends StateMachine
-
case class
StateMachineTask(priority: Int, body: () ⇒ Unit) extends Product with Serializable
State
-
class
StateParallelFsm extends State with StateCompletionTrait
Run several state machine in parallel
Value Members
- object State
-
object
StateEntryPoint
Define the Entry point state
- object StateMachineCondLargeExample
- object StateMachineCondTransExample
- object StateMachineSharableUIntKey
- object StateMachineSimExample
- object StateMachineSimExample2
- object StateMachineSimpleExample
- object StateMachineStyle1
- object StateMachineStyle2
- object StateMachineStyle3
- object StateMachineTry2Example
- object StateMachineTry3Example
- object StateMachineTry6Example
- object StateMachineTryExample
- object StateMachineWithInnerExample
-
object
StatesSerialFsm
Run several state machine in Serie