Getting Started¶
Requirements¶
A development build of Icarus Verilog (
iverilogandvvpon yourPATH).csh/tcshfor the setup script.
Setup¶
From the repository root:
source setup.csh
This sets IVL_UVM_HOME, which the Makefiles and file lists use.
Run a test¶
cd ivl_uvm_regress/run_dir
make vw1
vw1 compiles and runs test t1. The log files ivl_uvm_comp_1.log (compile) and
ivl_uvm_run_1.log (run) are written to the same directory. Targets vw0 to vw45 run
tests t0 to t45; see Regression.
Run all tests and compare with the golden logs¶
make check
Compile line¶
The Makefile compiles a test like this:
iverilog -c $IVL_UVM_HOME/scripts/ivl_uvm_cmds.f -DVW_IVLOG_GO2UVM -DIVL_UVM -g2012 \
-I$IVL_UVM_HOME/ivl_uvm_src -o vw_ivl_ivl_uvm.vvp -f flist.t4
A file list has three parts: the package, your test files, and ivl_uvm_top.svh as the last
entry.
${IVL_UVM_HOME}/ivl_uvm_src/ivl_uvm_pkg.sv
../../ivl_uvm_tests/ivl_uvm_test_4/ivl_uvm_test_bcl.sv
// This should be the last line in the file list
${IVL_UVM_HOME}/ivl_uvm_src/ivl_uvm_top.svh
ivl_uvm_top.svh prints the final report summary (the severity counts and the Test PASSED or
Test FAILED line) when the simulation ends. Tests t8 to t45, except t44, do not use it; they report
through uvm_info and the other message macros. If you compile with
-s <module>, list -s ivl_uvm_top as well to keep the summary.
Run-time options¶
Option |
Meaning |
|---|---|
|
Test class to run (see Factory and Test Selection) |
|
Message verbosity, for example |
|
Global simulation timeout in milliseconds (default 1). Add |
|
Stop after this many errors |