GBS
|
Data Types | |
type | state_machine |
State machine class. More... | |
Enumerations | |
enum | { state_p2n , state_core , state_n2p } |
Functions/Subroutines | |
subroutine | init (this, all_states) |
Initialize the state machine object and activate first state. More... | |
subroutine | print (this) |
Print current state machine object status. More... | |
logical function | is_state_p2n (this) |
Check if current active state is p2n. More... | |
logical function | is_state_core (this) |
Check if current active state is core. More... | |
logical function | is_state_n2p (this) |
Check if current active state is n2p. More... | |
subroutine | activate_state_p2n (this) |
Activate state p2n. More... | |
subroutine | activate_state_core (this) |
Activate state core. More... | |
subroutine | activate_state_n2p (this) |
Activate state n2p. More... | |
Variables | |
integer, parameter | num_states = 3 |
|
private |
Activate state core.
|
private |
Activate state n2p.
|
private |
Activate state p2n.
|
private |
Initialize the state machine object and activate first state.
|
private |
Check if current active state is core.
|
private |
Check if current active state is n2p.
|
private |
Check if current active state is p2n.
|
private |
Print current state machine object status.
|
private |