# Need for the $cast task in System Verilog

**URL:** <https://verificationacademy.com/forums/t/need-for-the-cast-task-in-system-verilog/34640>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, Learning-System-Verilog, cast\
**Created:** [July 3, 2018, 11:37am UTC](https://verificationacademy.com/forums/t/need-for-the-cast-task-in-system-verilog/34640 "2018-07-03T11:37:44Z")\
**Posts on this page:** 1\
**Showing post:** 11

<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:** [July 7, 2018, 8:05am UTC](https://verificationacademy.com/forums/t/need-for-the-cast-task-in-system-verilog/34640/11 "2018-07-07T08:05:07Z")

</div>

_In reply to [Shri Ganesh](https://verificationacademy.com/forums/t/need-for-the-cast-task-in-system-verilog/34640/10):_

> _In reply to [javatea](https://verificationacademy.com/forums/t/need-for-the-cast-task-in-system-verilog/34640/10):_  
> But, this a general query OOPs query for which I am not able to find the answers. I am not interested in UVM as of now.  
> If you guys know, please share it.

My [SystemVerilog OOP course](https://verificationacademy.com/topics/systemverilog/systemverilog-oop-for-uvm-verification/) does not discuss the UVM. It provides you with the OOP basics needed to understand the UVM base class library, or any class based testbench you would like to use or construct yourself.

---

_[View the full topic](https://verificationacademy.com/forums/t/need-for-the-cast-task-in-system-verilog/34640)._
