Skip to content

cclienti/verilog-ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Generic Verilog IP Repository

Introduction

Sources

git clone https://github.com/cclienti/verilog-ip.git
cd verilog-ip

Simulation

Preparing

First install the prerequisites to simulate and lint the designs. Depending on your linux distribution, the command can change.

RPM based linux distributions:

sudo dnf install iverilog verilator gtkwave make

APT based linux distributions:

sudo apt update
sudo apt install iverilog verilator gtkwave make

The python package wavedisp is used to properly import signals to monitor in the Gtkwave VCD viewer. The package can be easily retrieved using the python pip command.

python3 -m venv venv  # the venv directory is added in the .gitignore
source venv/bin/activate
python -m pip install --upgrade pip
pip install wheel wavedisp sphinx numpy matplotlib

Testing

In order to test your environment, you can go in a project directory and execute the command make trace.

cd hw/motor_control/pwm_generator/project
make trace

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published