Can generate the uvm testbench automatically
- Main feature is to generate the UVM testbench (.sv) automatically
- Reading the design (.v) --> write the interface (.sv) and print the hierarchy of design
- Generate UVM graph (.pptx) and let the user to modify the UVM graph in powerpoint
Filename | Description |
---|---|
Result | Get the (.sv) from this file |
Template | The uvm template |
UVMGenerator.py | Run this python code and get the uvm testbench in Result |
VisualizationUVM.py | Visualization of UVM hierarchy |
MakeUVMPowerPoint.py | Make the UVM graph in powerpoint version |
ReadDesign | Read the verilog design (.v) module and write the interface (.sv) |
- run UVMGenerator.py
- Get the simple version of the hierarchy of testbench and design
The Hierarchy of UVM:
[0] test1
[1] env
[2] ReadAgent
[3] ReadDriver
[3] ReadMonitor
[2] WriteAgent
[3] WriteDriver
[3] WriteMonitor
[2] scoreboard
[1] sequence
[2] sequence_item
The Hierarchy of Design:
[0] MAS_2input
[1] ALU
[1] QComparator
[1] ALU
- Copy the .sv from Result file
-
Can choose TwoAgentInput() or OneAgentInput() to create UVM testbench.
a. OneAgentInput :
b. TwoAgentInput :
-
Customizing UVM testbench by modify TwoAgentInput() or OneAgentInput().