Mahak Posted November 17, 2012 Report Share Posted November 17, 2012 (edited) Hi, I have created a verilog wrapper over UVM VIP. I want to integrate it in DUT's environment which is in verilog. I have created a model of verilog top testbench for my VIP testing, but in place of verilog DUT I am using a verilog wrapper containing my VIP with some components disabled. So, in the verilog top tesbench, I have instantiated two verilog wrappers - - one having UVM VIP with master and monitor enabled (to be used as VIP) - and the other also having UVM VIP but only slave enabled (to be used as DUT) Now, how to use the tests of VIP and synchronize UVM phases for the components inside both wrappers or how can I make a common UVM or verilog test so that phases of all components get synchronized. Thanks Edited November 20, 2012 by Mahak Quote Link to comment Share on other sites More sharing options...
MehulKumar Posted November 21, 2012 Report Share Posted November 21, 2012 Better way would be to use different environment classes and instantiate the environment top extended from uvm_top based on the test that you want to run. 1) uvm_vip_env (back to back UVM vips) connected and use them in the uvm_test classes 2) uvm_dut_env (UVM vip instantiated to be connected with DUT) and then use that with the uvm_test classes. You are actually defeating the purpose of UVM plug-n-play by creating verilog over uvm vips and then instantiating them conventionally. Thanks, Mehul Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.