Skip to content

2110363-HW-SYN-LAB/verilog-syntax-examples

Repository files navigation

Verilog Syntax Examples

This repository is based on "Lab 1 Brief" documentation, which shows examples for Verilog syntax with testbenches (both Verilog testbenches and Cocotb testbenches).

Running Cocotb Tests

To run Cocotb testbenches, you need to install Cocotb (using Python 3.6+) with GNU Make and Icarus Verilog. The guide for installation is on the lab 1 brief documentation.

  • Go to the directory of example we want to run testbench and go to test directory.
cd test
  • If Conda or Miniconda is used, activate the virtual environment that contains Cocotb and Pytest libraries.
conda activate <venv_name>
  • Run the test using GNU Make.
make

About

Verilog Syntax Examples in Basic Syntax Brief Documentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published