- 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 is a combinational switch module generated by ChatGPT
- Input interface has parameterized
dataandaddressinputs. - There are 2 output interfaces (
AandB) similar to the input interface. - Based on a
address-divisionvalue, the input will be routed toAorBoutput.
- Input interface has parameterized
- 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.tclNote UVM should be setup first to run the testbench. (Reference)
- The outputs will be in
<path>/UVM_switch_test/workfolder.- UVM simulation log :
work/xsim.log - Coverage report :
work/coverage/dashboard.html
- UVM simulation log :


