Appendix C: Tutorial on theUse of Verilog HDL to Simulatea Finite-State Machine DesignC
1INTRODUCTIONThis appendix quickly describes an FSM model in Verilog code and then simulates it usingSynaptiCAD’s VeriLogger Extreme simulator
The code for the model, VeriLogger Extreme,and the code for most of the examples in the book are contained on the CDROM provided withthe book
A more detailed account of the Verilog HDL is provided in Chapters 6–8, where the languageis developed at a slower and more defined pace
2THE SINGLE PULSE WITH MEMORY SYNCHRONOUS FINITE-STATEMACHINE DESIGN: USING VERILOG HDL TO SIMULATEThe design of a single-pulse generator with memory is outlined and then a Verilog HDL file iscreated
This Verilog file will use the most basic of the Verilog methods so as to keep it simp