I want to know about the use of $cast in system verilog. Because I didnt use this keyword till now. But in UVM I could see this keyword in all the class.So please explain the usage of $cast keyword with one simple example.
If anyone knows please reply me. It would be greatful.