目录
1. phase机制
All testbench components are derived from uvm_componentand are aware of the phase concept. Each component goes through a pre-defined set of phases, and it cannot proceed to the next phase until all components finish their execution inthe current phase. So UVM phases act as a synchronizing mechanism in the life cycle of a simulation.
Because phases are defined as callbacks, classes derived from uvm_component can perform useful work in the callback phase method. Methods that do not consume simulation time are function s and meth