This repo consists of a unit level UVM based testbench for a simple ALU (Arithmetic and Logic Unit) IP.
- This unit level UVM testbench was compiled using Synopsys VCS compiler. Therefore inorder to run the compilation and simulation commands Synopsys VCS must be pre-installed and loaded in the current shell session.
.
├── .vscode // vscode settings and extension config files
├── scripts // contains bash compilation scripts
├── sequences // contains UVM sequences for testbench
├── src // contains RTL file/s
├── tests // contains UVM test case scenarios for tsetbench
├── uvc // contains UVM testbench
├── Makefile
└── README.md
- To compile the RTL and UVM TB:
make compile
- Run a specific test:
You can look at the
make sim TEST=test_name
test_name
from the file./uvc/flist.sv
- Compile and run a specific test:
You can look at the
make runtest TEST=test_name
test_name
from the file./uvc/flist.sv
- Run regression and coverage
make runall
- Clean all data dump generated
make clean