# How to take input from the transcript in Questasim or generally in any other Tool using verilog / Systemverilog / UVM?

**URL:** <https://verificationacademy.com/forums/t/how-to-take-input-from-the-transcript-in-questasim-or-generally-in-any-other-tool-using-verilog-systemverilog-uvm/37754>\
**Category:** UVM\
**Tags:** UVM, SV, DIsplays, input-from-console\
**Created:** [June 23, 2020, 3:21pm UTC](https://verificationacademy.com/forums/t/how-to-take-input-from-the-transcript-in-questasim-or-generally-in-any-other-tool-using-verilog-systemverilog-uvm/37754 "2020-06-23T15:21:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user190](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/u/e9a140/32.png) [@user190](https://verificationacademy.com/forums/u/user190)\
**Post date:** [June 23, 2020, 3:21pm UTC](https://verificationacademy.com/forums/t/how-to-take-input-from-the-transcript-in-questasim-or-generally-in-any-other-tool-using-verilog-systemverilog-uvm/37754/1 "2020-06-23T15:21:27Z")

</div>

In C-language we use scanf() to take the input, in python we use input() function where we can also add some customized statement to convey the description of what needs to be the input. Similarly what can be used in SV/ UVM to take the input from the user?

---

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [June 24, 2020, 2:45pm UTC](https://verificationacademy.com/forums/t/how-to-take-input-from-the-transcript-in-questasim-or-generally-in-any-other-tool-using-verilog-systemverilog-uvm/37754/2 "2020-06-24T14:45:30Z")

</div>

_In reply to [Verif@dj](https://verificationacademy.com/forums/t/how-to-take-input-from-the-transcript-in-questasim-or-generally-in-any-other-tool-using-verilog-systemverilog-uvm/37754):_

See section _21.3 File input/output system tasks and system functions_ in the [IEEE 1800-2017 SystemVerilog LRM](https://ieeexplore.ieee.org/document/8299595)

---

<div class="post-metadata">

**Author:** ![user190](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/u/e9a140/32.png) [@user190](https://verificationacademy.com/forums/u/user190)\
**Post date:** [June 24, 2020, 3:40pm UTC](https://verificationacademy.com/forums/t/how-to-take-input-from-the-transcript-in-questasim-or-generally-in-any-other-tool-using-verilog-systemverilog-uvm/37754/3 "2020-06-24T15:40:40Z")

</div>

Thank you dave\_59.I have been struggling with this for many days. Thanks a lot
