Overview
Last updated
Was this helpful?
Last updated
Was this helpful?
The aim of this book is to explore Verilator to learn and experiment with digital circuits. This book can also be read online at .
Verilator is a compiler that let you compile Verilog code into C++ to do simulations. Using C++ can be helpful to introduce new abstractions and speed up simulation time.
Good places to start learning Verilator are also:
Also, the built-in help of Verilator with "verilator --help" can be a quick way to find what you need
The Verilator repository can be found . There is an examples folder and the issue list is a good way to report problems and ask questions.
This book is Work in Progress. Feel free to add ideas and feedback by creating an issue on Github.
While Verilator let you write models in C++, you also need to know how to use Verilog.
Here are some places where you can learn about Verilog such as:
Besides Verilog, VHDL can be useful to know when designing digital systems. We will not look into VHDL here, but if you are curious here are some places:
- This course introduces the languages, discusses a number of interesting code examples, and let you simulate these
Also, the simulator is a good simulator to learn Verilog and it is free. In the Coursera course Hardware Description Languages for FPGA Design, the simulator is used which is a tool also used by many companies.
- Basic introduction to electronics and digital systems