# Virtual interface using apb,wb,,spi giving some unexpected error

**URL:** <https://verificationacademy.com/forums/t/virtual-interface-using-apb-wb-spi-giving-some-unexpected-error/36513>\
**Category:** UVM\
**Tags:** System-Verilog, UVM, virtual-sequence, Use-of-virtual-sequence-and-virtual-sequencer, APB\
**Created:** [September 7, 2019, 10:52am UTC](https://verificationacademy.com/forums/t/virtual-interface-using-apb-wb-spi-giving-some-unexpected-error/36513 "2019-09-07T10:52:30Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![designMaster](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/designmaster/32/3236_2.png) [@designMaster](https://verificationacademy.com/forums/u/designMaster)\
**Post date:** [September 7, 2019, 6:41pm UTC](https://verificationacademy.com/forums/t/virtual-interface-using-apb-wb-spi-giving-some-unexpected-error/36513/3 "2019-09-07T18:41:11Z")

</div>

_In reply to [chr\_sue](https://verificationacademy.com/forums/t/virtual-interface-using-apb-wb-spi-giving-some-unexpected-error/36513/2):_

```verilog

   function void connect_phase (uvm_phase phase);
      super.connect_phase (phase);

```

is the 2nd line is mandatory or optional.

---

_[View the full topic](https://verificationacademy.com/forums/t/virtual-interface-using-apb-wb-spi-giving-some-unexpected-error/36513)._
