What is an object in SystemVerilog, and how does it relate to a class and…
What is an object in SystemVerilog, and how does it relate to a class and a handle?
Model answer
An object is an instance of a class, created dynamically at run time by calling new() . Class: the user-defined type, which is the template. Object: the instance allocated in memory from that template. Handle: the variable that refers to an object. It is null until an object is assigned to it.