Juniper/simple_reg_model

Name: simple_reg_model

Owner: Juniper Networks

Description: System verilog register model for uvm testbenches.

Created: 2017-08-03 14:35:48.0

Updated: 2017-12-28 16:19:44.0

Pushed: 2018-03-05 04:18:25.0

Homepage: null

Size: 14042

Language: Perl

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Simple Register Model

Simple Register Model (srm) are system verilog classes that help to develop register model (aka regstore, register abstraction layer) for uvm testbenches.

It is open sourced and available under MIT license.

It is designed to be used in uvm testbenches instead of the uvm_reg package that is shipped with uvm distribution.

The intended users of the package are design verificatipn (DV) engineers involved in developing uvm testbneches and writing uvm sequences for verifying the design.

Getting Started

Easiest way to get started with srm is to download the tar file from the release area and follow the instructions.

Installing the Package
  1. Download tar file from release area. Say the name of file is svm-1.0.tar.gz

  2. Unpack the tar file in the install directory.

    install_dir>
    xvfz svm-1.0.tar.gz
    
  3. Setup the environment variable SRM_HOME to point to the install directory. For example in Bash shell.

xport SRM_HOME=<install_dir>/srm-1.0
Using the Package

You must compile the file $SRM_HOME/src/srm.sv first. You will need to specify the location of $SRM_HOME/src as a include directory in your compilation command line using the +incdir+ command-line option.

You can then make the SRM library accessible to your SystemVerilog code by importing the package 'srm_pkg' in the appropriate scope.

Examples for different simulator can be found in the installation directory $SRM_HOME/examples/

Demo

A example uvm testbench can be downloaded from here.

Documentation

Srm docuementation can be found here.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.