Hi Team,
In system verilog EVENT construct is a class type which will be created at the time of declaration without using new constructor correct ?
event e1,e2
suppose if we assign e1 = null ; does it make both e1 and e2 to null ?
2. e2 = null : does it make both e1 and e2 to null ? Please provide some inputs
Similarly … if we assign null to object handle does it affect only to current object handle or all the handles pointing to the object . Sample code as below
pkt pkt_1,pkt_2;
pkt_1 = new();
pkt_2 = pkt_1 ;
pkt_1 = null;
does the above code make pkt_2 also reference to null ? or Pkt_1 ??? Please clarify