You are on page 1of 29

Asynchronous FSMs and Verilog

PLD registered output

Outputs selection capability in CPLD

State Machine with Moore output

State Machine with Embedded Mealy output definitions (7.28)

Table 7.29. FSM with pipelined output definitions

Test Vectors

Test Vectors continued

Table for example state machine

FFs in libraries

Behavioral Verilog for DFF

Verilog for D FF

Verilog for D FF

Clock generation within a test bench

Moore FSM implied by Verilog coding style

Table for example FSM

Table 7.58. Verilog Program for FSM example

Synchronous and Asynchronous reset for FSMs in Verilog

Verilog code for pipelined output

Verilog FSM with pipelined outputs

Table 7.61. Simplified Verilog FSM design

Table 7.62. Alternative Verilog for ones-counting machine

Ones-Counting Machine

Fastest and smallest Verilog counting logic for ones-counting machine

Memory for lock machine

Explicit FF instantiation in Verilog

One-Hot encoding

Table 7.68. Test Bench for FSM of Table 7.58 (with synchronous reset added) or Table 7.60, 7.61, 7.66 or 7.57

SR latch

You might also like