Code Monkey home page Code Monkey logo

uvvm_light's Introduction

UVVM Light

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 Utilty library and BFMs (Bus Functional Models).

UVVM Light consists currently of the following elements:

  • Utility Library
  • BFMs (Bus Functional Models)

Issues and pull requests

UVVM Light is a subset of UVVM v2, thus any issues and pull requests has to be performed on the UVVM repository.

Compilation

Compiling UVVM Light is be done by calling the script/compile.do script with a relative or absolut 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 directory is set to "..", target directory is set to "."
  • 1 argument: uvvm_light directory is set to argument, target directory is set to "."
  • 2 arguments: uvvm_light directory is set to argument 1, target directory us set to argument 2

Demo

A simple demonstration testbench is provided along with UVVM Light and is located in the /sim folder.

Steps to run demo:

  1. Run compile_and_run_demo.do / run_demo.bat / run_demo.sh in /sim folder

uvvm_light's People

Contributors

lechuck42 avatar mariuselv avatar uvvm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uvvm_light's Issues

Add a License

Hi,

Could you add a license to it? It would help to understand rules before contributing/forking/using it.

Relaxed rules errors fix

Hi.

I'm getting -frelaxed errors on several packages when trying to run the compile.sh script.
Fixed this by ref ghdl/ghdl#1601, where the fix was to move -frelaxed-rules after the --std flag.
Could you implement this fix?

Old line:
script/compile.sh:33 ghdl -a -frelaxed-rules --std=08 -Wno-hide -Wno-shared --work=$COMPILE_LIB $SRC_PATH/$part_path/$file_name

Fix:
script/compile.sh:33 ghdl -a --std=08 -frelaxed-rules -Wno-hide -Wno-shared --work=$COMPILE_LIB $SRC_PATH/$part_path/$file_name

src_bfm: files clash

Files and contents does not match, eg. avalon_mm_bfm.vhd contains current axilite_bfm_pkg, whereas axilite_bfm_pkg.vhd an outdated version of axilite_bfm_pkg is.

Most others bfm files are wrong labled too.

Compile fails in Riviera-PRO

The compile script fails in Rivirea-PRO with

# SCRIPTER: Error: compile.do : (14, 1): invalid command name "quietly"
# SCRIPTER: Error: compile.do : (14, 1): Script execution terminated due to error(s).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.