Callbacks Vs Factory
In short: Callbacks and the factory both help you reuse UVM code, but they solve different problems. A callback adds a small piece of behaviour at a fixed point inside a component you keep as-is, which is ideal for error injection or a locked third-party VIP. A factory override swaps a whole component or object…
