Callback

why it is recommended to callback in end_of_elaboration phase? Can’t we do it in run phase .

In reply to karan_vip:

Where did you read that? Callbacks are a general purpose mechanism for extending functionality outside of using object-oriented programming (OOP) inheritance. They are not connected to any phases other than you want to make sure the callbacks get registered in a phase before the phase they would get called.