# Is there a way to use/execute the printf based debug information from the C Test in CPU

**URL:** <https://verificationacademy.com/forums/t/is-there-a-way-to-use-execute-the-printf-based-debug-information-from-the-c-test-in-cpu/42435>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, ctest-sv-sv-dpi\
**Created:** [September 21, 2023, 9:33pm UTC](https://verificationacademy.com/forums/t/is-there-a-way-to-use-execute-the-printf-based-debug-information-from-the-c-test-in-cpu/42435 "2023-09-21T21:33:12Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![desperadorocks](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/d/ecc23a/32.png) [@desperadorocks](https://verificationacademy.com/forums/u/desperadorocks)\
**Post date:** [September 25, 2023, 6:58am UTC](https://verificationacademy.com/forums/t/is-there-a-way-to-use-execute-the-printf-based-debug-information-from-the-c-test-in-cpu/42435/5 "2023-09-25T06:58:18Z")

</div>

_In reply to [dave\_59](https://verificationacademy.com/forums/t/is-there-a-way-to-use-execute-the-printf-based-debug-information-from-the-c-test-in-cpu/42435/4):_

Hello Dave,

No problem.

1. When you say virtual I/O device meaning, UART ports and direct the C code to these ports ?
2. Is there any other ways that can we done ? like DPI calls or etc ?

By chance if you have any reference links for the virtual i/o device based flow, can you please share.

Thanks, appreciate your help !

---

_[View the full topic](https://verificationacademy.com/forums/t/is-there-a-way-to-use-execute-the-printf-based-debug-information-from-the-c-test-in-cpu/42435)._
