Skip to content

This is a UVM test bench for a simple combinational switch, designed for learning purposes.

Notifications You must be signed in to change notification settings

tharinduSamare/UVM_switch_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UVM Test Bench for simple switch module

  • This is a UVM test bench for a simple switch module (DUT) designed for learning purposes.
  • This test bench covers following things
    • How to connect driver, DUT interface, sequencer, monitor etc. together
    • UVM environment
    • UVM coverage
    • UVM verbosity

DUT (design under test)

  • DUT is a combinational switch module generated by ChatGPT
    • Input interface has parameterized data and address inputs.
    • There are 2 output interfaces (A and B) similar to the input interface.
    • Based on a address-division value, the input will be routed to A or B output.

UVM test bench architecture

How to run

  • This UVM testbench is designed to be run in vivado using batch mode.
    source <path>/Vivado/<version>/settings64.sh
    cd <path>/UVM_switch_test
    vivado -mode batch -source ./run.tcl
    

    Note UVM should be setup first to run the testbench. (Reference)

Results

  • The outputs will be in <path>/UVM_switch_test/work folder.
    • UVM simulation log : work/xsim.log
    • Coverage report : work/coverage/dashboard.html

About

This is a UVM test bench for a simple combinational switch, designed for learning purposes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published