EmbeddedRelated.com
Books
The 2026 Embedded Online Conference

Verilog by Example: A Concise Introduction for FPGA Design

Readler, Blaine C. 2011

A practical primer for the student and practicing engineer already familiar with the basics of digital design, the reference develops a working grasp of the verilog hardware description language step-by-step using easy-to-understand examples. Starting with a simple but workable design sample, increasingly more complex fundamentals of the language are introduced until all major features of verilog are brought to light. Included in the coverage are state machines, modular design, FPGA-based memories, clock management, specialized I/O, and an introduction to techniques of simulation. The goal is to prepare the reader to design real-world FPGA solutions. All the sample code used in the book is available online. What Strunk and White did for the English language with "The Elements of Style," VERILOG BY EXAMPLE does for FPGA design.


Why Read This Book

You should read this if you want a short, hands-on introduction to writing synthesizable Verilog that gets you from simple modules to complete FPGA building blocks quickly. The book emphasizes clear examples and progressive designs, so you will see working patterns (FSMs, memories, clocking, testbenches) you can reuse in real projects.

Who Will Benefit

Practicing embedded engineers or students who know basic digital logic and want a practical, example-focused route to writing synthesizable Verilog for FPGA projects.

Level: Intermediate — Prerequisites: Basic digital logic (combinational/sequential circuits), familiarity with binary and boolean algebra; some exposure to hardware design concepts is helpful.

Get This Book

Key Takeaways

  • Write synthesizable Verilog modules using clear, synthesis-friendly coding styles.
  • Design and implement finite state machines for control logic and sequencing.
  • Instantiate and use FPGA-friendly memories and simple on-chip ROM/RAM patterns.
  • Create basic simulation testbenches and use simulation to validate RTL.
  • Manage clocking and basic timing considerations for FPGA designs.
  • Integrate specialized I/O and vendor primitives into modular designs.

Topics Covered

  1. Introduction and design philosophy
  2. Verilog basics: modules, ports, and operators
  3. Combinational logic and procedural assignments
  4. Sequential logic: flip-flops, registers, and resets
  5. State machines: design patterns and examples
  6. Hierarchical and modular design techniques
  7. FPGA memories: ROMs, RAMs and inference
  8. Clocking and basic clock management
  9. Specialized I/O and vendor primitives
  10. Simulation techniques and testbenches
  11. Synthesis-friendly coding styles and pitfalls
  12. Complete example projects and design walk-throughs
  13. Appendices: syntax reference and online resources

Languages, Platforms & Tools

VerilogFPGA (generic)Xilinx (examples applicable)Altera/Intel FPGA (examples applicable)ModelSim or other HDL simulatorsXilinx ISE / Vivado (concepts transferable)Intel Quartus (concepts transferable)Vendor synthesis tools and constraints files

How It Compares

More concise and example-driven than Samir Palnitkar's Verilog HDL (which is more exhaustive); less board-focused than Pong P. Chu's FPGA Prototyping by Verilog Examples, which provides step-by-step lab projects for specific dev boards.

Related Books

Bryant, Randal, O'Hallaron,...
The 2026 Embedded Online Conference