Finite State Machine with Datapath



In this chapter, we introduce an important building block for efficient custom hardware design: the Finite State Machine with Datapath (FSMD). An FSMD combines a controller, modeled as a finite state machine (FSM) and a datapath. The datapath receives commands from the controller and performs operations as a result of executing those commands. The controller uses the results of datapath operations to make decisions and to steer control flow. The FSMD model will be used throughout the remainder of the book as the reference model for the ‘hardware’ part of hardware/software codesign. We will introduce a syntax for FSMD by means of the GEZEL language. The cosimulation tools used in conjunction with this book rely on the GEZEL language. We will discuss several alternate language mappings for the FSMD language in GEZEL, including VHDL, Verilog, and SystemC. Thus, GEZEL is used as a generic shorthand modeling mechanism for FSMD. Finally, we will also describe a few formal properties of the FSMD model, and we define a proper FSMD as one which leads to a race-free and deterministic hardware implementation.


Clock Cycle Finite State Machine State Transition Diagram Greatest Common Divisor State Transition Graph 


  1. Davio M, Deschamps JP, Thayse A (1983) Digital Systems with Algorithm Implementation. John Wiley & Sons, Inc., New York, NY, USAMATHGoogle Scholar
  2. Gajski DD, Abdi S, Gerstlauere A, Schirner G (2009) Embedded System Design: Modeling, Synthesis, Verification. SpringerCrossRefGoogle Scholar
  3. Gupta S, Gupta R, Dutt N, Nicolau A (2004) SPARK:A Parallelizing Approach to the High-Level Synthesis of Digital Circuits. SpringerGoogle Scholar
  4. Hoe JC (2000) Operation-centric hardware description and synthesis. PhD thesis, MITGoogle Scholar
  5. Qin W (2004) Modeling and description of embedded processors for the development of software tools. PhD thesis, Princeton UniversityGoogle Scholar
  6. Schaumont P, Shukla SK, Verbauwhede I (2006) Design with race-free hardware semantics. In: DATE, pp 571–576Google Scholar
  7. Vahid F (2007a) Digital Design. John Wiler and Sons PublishersGoogle Scholar

Copyright information

© Springer Science+Business Media, LLC 2010

Authors and Affiliations

  1. 1.Bradley Dept. Electrical & Computer EngineeringVirginia TechBlacksburgUSA

Personalised recommendations