UVVM (Universal VHDL Verification Methodology) is a free and Open Source Methodology and Library for making very structured VHDL-based testbenches.
Overview, Readability, Maintainability, Extensibility and Reuse are all vital for FPGA development efficiency and quality. UVVM VVC (VHDL Verification Component) Framework was released in 2016 to handle exactly these aspects.
UVVM Light is a low threshold version of UVVM and is intended for developers who want to start using UVVM Utility library and BFMs (Bus Functional Models).
UVVM consists currently of the following elements:
- Utility Library
- BFMs (Bus Functional Models) (See Available BFMs)
For information on how to get started, see Getting Started.
For frequently asked questions, see FAQ.
The complete UVVM documentation can be found on https://uvvm.github.io.
UVVM Light is a subset of UVVM v2, thus any issues and pull requests has to be performed on the UVVM repository.
Compiling UVVM Light is be done by calling the script/compile.do script with a relative or absolute path to UVVM Light install directory
$ vsim -c -do "do [uvvm_light directory]/script/compile.do [uvvm_light directory] [target directory]"E.g. compiling from the /sim folder inside the UVVM Light install directory:
$ vsim -c -do "do ../script/compile.do [uvvm_light directory] [target directory]"or from the Modelsim terminal:
do ../script/compile.do [uvvm_light directory] [target directory]Note that compile.do can have 0, 1 or 2 arguments:
- 0 argument:
uvvm_light directoryis set to "..",target directoryis set to "." - 1 argument:
uvvm_light directoryis set to argument,target directoryis set to "." - 2 arguments:
uvvm_light directoryis set to argument 1,target directoryus set to argument 2
A simple demonstration testbench is provided along with UVVM Light and is located in the /sim folder.
Steps to run demo:
- Run compile_and_run_demo.do / run_demo.bat / run_demo.sh in /sim folder