Jump to content
justrajdeep

is the behaviour of phase.find_by_name intentional?

Recommended Posts

Hi

why does

phase.find_by_name(.name(uvm_main_phase::get().get_name()), .stay_in_scope(0));

from run_phase and

uvm_pkg::uvm_phase run_phase = phase.find_by_name(.name(uvm_run_phase::get().get_name()), .stay_in_scope(0));

from main_phase return null. Is this intentional?

I have created a sample example to check, or you can use the attached file as well.

https://www.edaplayground.com/x/5Py7

 

test.svh

Edited by justrajdeep
syntax error

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×