Wednesday, October 20, 2010

 

OVM phases and run_test

When we call the run_test() task in the ovm_test class, which phases of the ovm are executed and in which order???

very simple and straight forward answer by Dave (Doulos)

When you call run_test, the simulation proceeds by calling the phase methods in every instantiated ovm_component, starting with build, then connect, end_of_elaboration, start_of_simulation, run, extract, check and finally report.

Most phase methods are executed in a bottom-up order which means the method is started in a child component before the parent. The exception is build which is run top-down since each parent is responsible for building its child components.

All of the phases (except for run) are functions which means that the simulation time only advances during the run phase.



Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?