Table of Contents

FSM and Simulation

Fundamentals

Simulytion Cycle

Clocked Process Simulation (1)

FSM is fed with outputs from other registers

Clocked Process Simulation (2)

FSM is fed with asynchronous inputs

RTL-Simulation: Updaten Updaten+1 STATE
CLK, … X, … F(STATEold, Xold)
CLK, X, … F(STATEold, Xold)
X, … CLK, … F(STATEold, Xnew)

Clocked Process Simulation (3)

FSM is fed with asynchronous inputs

RTL-Simulation: Updaten Updaten+1 STATE
CLK, … X, … F(STATEold, Xold)
CLK, X, … F(STATEold, Xnew)
X, … CLK, … F(STATEold, Xnew)

Recommodations for Simulation

CLK <= not CLK after PERIOD/2 ;
process begin
    CLK <= not CLK ;
    wait for PERIOD/2 ;
end process ;
Δm,n ⇒ CLK in update list for Δm+i,1
Δm+i,1 ⇒ CLK update
Δm,n ⇒ CLK update (because of wait …)
Δm+i,1 ⇒ Update of signals in update list ⇒ Process execution
Δm+i,2 ⇒ CLK update