# How to get type name on systemVerilog

**URL:** <https://verificationacademy.com/forums/t/how-to-get-type-name-on-systemverilog/41865>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, system-verilog-interface-generate\
**Created:** [June 23, 2023, 3:00pm UTC](https://verificationacademy.com/forums/t/how-to-get-type-name-on-systemverilog/41865 "2023-06-23T15:00:04Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Venkateshwara\_Rao](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/v/6bbea6/32.png) [@Venkateshwara\_Rao](https://verificationacademy.com/forums/u/Venkateshwara_Rao)\
**Post date:** [June 26, 2023, 11:03am UTC](https://verificationacademy.com/forums/t/how-to-get-type-name-on-systemverilog/41865/5 "2023-06-26T11:03:06Z")

</div>

_In reply to [uvm\_share](https://verificationacademy.com/forums/t/how-to-get-type-name-on-systemverilog/41865/4):_

What is the simulator command line you are using?  
It works with these commands:  
vlog test.sv test.c  
vopt top -o top\_opt  
vsim -c -do “run -all; quit -f” top\_opt

---

_[View the full topic](https://verificationacademy.com/forums/t/how-to-get-type-name-on-systemverilog/41865)._
