uvm_bottomup_phase¶
-
class
uvm.base.uvm_bottomup_phase.UVMBottomupPhase(name)[source]¶ Bases:
uvm.base.uvm_phase.UVMPhaseBase class for function phases that operate bottom-up. The pure virtual function execute() is called for each component. This is the default traversal so is included only for naming.
A bottom-up function phase completes when the <execute()> method has been called and returned on all applicable components in the hierarchy.
-
traverse(comp, phase, state)[source]¶ Traverses the component tree in bottom-up order, calling
executefor each component.- Parameters
comp (UVMComponent) – Top-level component for traversal
phase (UVMPhase) –
state –
-
execute(comp, phase)[source]¶ Executes the bottom-up phase
phasefor the componentcomp.- Parameters
comp (UVMComponent) –
phase (UVMPhase) –
-