Outline

This book provides a reference library of fundamental digital logic design elements, along with standards for Verilog coding and system design. Think of it as a hardware analog to the C Standard Library ("libc") and its documentation.

The design elements are grouped into categories (e.g.: Boolean Logic, Synchronous Logic, Integer Arithmetic, etc...). Each category entry implements and explains a specific design element, starting with the most basic ones (including ones meant solely for beginner's education rather than serious use), and gradually increase in complexity up to complete interfaces and special-purpose engines built using a common design form which heavily re-use other design elements.

Each entry web page is generated directly from the design element Verilog source, and you can find a link to the source at the top of each page. Comments form the text body, while the code is placed in bordered preformatted text blocks.

To obtain your own local copy of the book: git clone https://github.com/laforest/FPGADesignElements.git then access ./index.html from your favourite browser. All Verilog sources and other files are in one directory, so you can use it as a library in your CAD tools by simply importing all Verilog files. See the license and disclaimer for the legal details, but overall, you are free to use this book as you please.

Although the design elements in this book are written in Verilog-2001 (for portability, better software support, and fine control of the synthesis), I expect there is very little code which could not be trivially translated into your Hardware Description Language of choice. I also expect the design elements themselves to be universal and language-agnostic.

Contributions are welcome. Please email eric@fpgacpu.ca or Twitter @elaforest or join the Discord server.


back to FPGA Design Elements

fpgacpu.ca