# Check() and extract() methods are not running

**URL:** <https://verificationacademy.com/forums/t/check-and-extract-methods-are-not-running/31409>\
**Category:** OVM\
**Tags:** OVM, Cookbook-OVMPhasing\
**Created:** [January 16, 2016, 1:33am UTC](https://verificationacademy.com/forums/t/check-and-extract-methods-are-not-running/31409 "2016-01-16T01:33:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![michael1.zhu](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/m/48db29/32.png) [@michael1.zhu](https://verificationacademy.com/forums/u/michael1.zhu)\
**Post date:** [January 19, 2016, 6:48pm UTC](https://verificationacademy.com/forums/t/check-and-extract-methods-are-not-running/31409/4 "2016-01-19T18:48:21Z")

</div>

_In reply to [Cristian\_Slav](https://verificationacademy.com/forums/t/check-and-extract-methods-are-not-running/31409/3):_

> _In reply to [michael1.zhu](https://verificationacademy.com/forums/t/check-and-extract-methods-are-not-running/31409/3):_  
> Try to add a return type:

```verilog

function void check();
$display("end of test");
endfunction : check

```

Incisiv from Cadence gave me a compilation error without the “void”.  
Cristian Slav  
www.cfs-vision.com

Oops, sorry that was a typo from when I made the example. The actual code has “virtual function void extract/check”. Sorry about that!

I’m using someone else’s build tools so I will try to see if I can get just OVM log output soon…

---

_[View the full topic](https://verificationacademy.com/forums/t/check-and-extract-methods-are-not-running/31409)._
