This project is starter project that accelerates and simplifies the process of creating Verilog projects.
- Visual Studio Code.
- Docker.
- Linux, macOs or Windows 10 / 11 with WSL 2 activated.
- Git.
- Clone the repository using the
git clone
command.
git clone https://github.com/KhalidNusserat/icarus-verilog.git
- Open Visual Studio Code in the current directory.
code .
- Install the "Dev Containers" extension.
- Open the command palette by pressing Ctrl + Shift + P and type "Dev Containers: Reopen in Container".
Note that projects are stored under src/
in the following structure:
src/
---- project_a/
-------- Makefile
-------- verilog_file.sv
-------- test_file.py
---- project_b/
-------- Makefile
-------- verilog_file.sv
-------- test_file.py
And in order to build and run a project, you can use the following command (Make sure to only run the command from the root directory).
make project_name
For example, to run the example project, you use this command:
make example