Vending Machine Circuit

3/13/98


Click here to start


Table of Contents

Vending Machine Circuit

Map design to registered PLD

Retime design

Retimed PLD implementation

Vending machine as a Mealy machine

Synchronous (or registered) Mealy machine

FSM design: A 5-step process

Guideline #1: Separate data path and control

Guideline #2: Encode the FSM states carefully

State encoding is hard

One-hot encoding: A simple design approach

A detailed FSM design example

Understand the problem

Separate data path and control

Draw a state diagram

Refine diagram; generate state table

Encode state table

Encode state table (con’t)

Controller implementation

Design the data path

Author: Carl Ebeling

Email: cse-webmaster@cs.washington.edu

Home Page: http://www.cs.washington.edu//education/courses//370/CurrentQtr