EngCake / icarus-verilog

Quick starter project for using Icarus Verilog + Cocotb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Icarus Verilog

What is this?

This project is starter project that accelerates and simplifies the process of creating Verilog projects.

How to use?

Prequisites

Installation

  1. Clone the repository using the git clone command.
git clone https://github.com/KhalidNusserat/icarus-verilog.git
  1. Open Visual Studio Code in the current directory.
code .
  1. Install the "Dev Containers" extension.
  2. Open the command palette by pressing Ctrl + Shift + P and type "Dev Containers: Reopen in Container".

How to run?

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

About

Quick starter project for using Icarus Verilog + Cocotb


Languages

Language:Python 56.6%Language:Dockerfile 21.4%Language:Makefile 15.5%Language:SystemVerilog 6.5%