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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...