# Virtual interface and multiple drivers (signal drivers not UVM drivers)

**URL:** <https://verificationacademy.com/forums/t/virtual-interface-and-multiple-drivers-signal-drivers-not-uvm-drivers/34228>\
**Category:** UVM\
**Tags:** virtual-interface, UVM, interface\
**Created:** [March 21, 2018, 2:20pm UTC](https://verificationacademy.com/forums/t/virtual-interface-and-multiple-drivers-signal-drivers-not-uvm-drivers/34228 "2018-03-21T14:20:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![cgales](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/c/ccd318/32.png) [@cgales](https://verificationacademy.com/forums/u/cgales)\
**Post date:** [March 25, 2018, 5:33pm UTC](https://verificationacademy.com/forums/t/virtual-interface-and-multiple-drivers-signal-drivers-not-uvm-drivers/34228/4 "2018-03-25T17:33:34Z")

</div>

_In reply to [verif\_learner](https://verificationacademy.com/forums/t/virtual-interface-and-multiple-drivers-signal-drivers-not-uvm-drivers/34228/3):_

Modports are useful when designing synthesizable hardware blocks. For verification, they are of limited use and add confusion and complexity.

When interfaces used for verification are connected to the DUT, you will typically instantiate the interface, then connect it to the DUT as below:

```verilog

interface my_if(input bit clk, input bit rst);
  wire a;
  wire b;
endinterface

my_if my_if_i(.clk(clk), .rst(rst));

dut dut_i(.clk(clk),
          .rst(rst),
          .a(my_if_i.a),
          .b(my_if_i.b)
);

```

Using a modport adds no additional benefit. You need to add another hierarchical name that isn’t necessary.

---

_[View the full topic](https://verificationacademy.com/forums/t/virtual-interface-and-multiple-drivers-signal-drivers-not-uvm-drivers/34228)._
