# \#imported-c-function

**URL:** https://verificationacademy.com/forums/tag/imported-c-function/4678.md

[Latest](https://verificationacademy.com/forums/latest.md) · [Categories](https://verificationacademy.com/forums/categories.md) · [Tags](https://verificationacademy.com/forums/tags.md)

---

## [How can I use a DPI C function within a class](https://verificationacademy.com/forums/t/how-can-i-use-a-dpi-c-function-within-a-class/31564)

<div class="topic-metadata">

**Author:** [@RenéPi](https://verificationacademy.com/forums/u/Ren%C3%A9Pi)\
**Replies:** 3\
**Last updated:** [March 3, 2016, 8:26pm UTC](https://verificationacademy.com/forums/t/how-can-i-use-a-dpi-c-function-within-a-class/31564 "2016-03-03T20:26:25Z")

</div>

Hello everyone, I’m using System Verilog now just since 2 months. I would like to use a C function inside a class. Can anyone please explain why it’s just allowed to use inside e.g. modules. Is there any way to use a…

---

## [Does Questa support stepping through imported C functions?](https://verificationacademy.com/forums/t/does-questa-support-stepping-through-imported-c-functions/29555)

<div class="topic-metadata">

**Author:** [@Will\_Y](https://verificationacademy.com/forums/u/Will_Y)\
**Replies:** 1\
**Last updated:** [June 4, 2014, 10:02pm UTC](https://verificationacademy.com/forums/t/does-questa-support-stepping-through-imported-c-functions/29555 "2014-06-04T22:02:41Z")

</div>

Questa steps through system verilog code. When there’s a imported C function it doesn’t step into the code. Is there a way to have it step through the C function call?
