b17608 Posted June 7, 2011 Report Share Posted June 7, 2011 (edited) Hi, I met error when try to migrate uvm define phase from uvm1.0ea to uvm1.0. I used to use "`uvm_phase_task_decl()" in uvm1.0ea. when I tried to migrate it to "`uvm_user_task_phase(startup1_sync,UvmPhaseSync,prefix)" or "`m_uvm_task_phase" or "`uvm_uver_topdown_phase" or "`uvm_user_bottomup_phase", there is always a error reported that "Error-[MFNF] Member not found : in ****.sv, "comp_." Could not find member 'startup1_sync_phase' in class 'UvmPhaseSync'". Note : class UvmPhaseSync extends uvm_component. In uvm1.0ea we use "uvm_top.insert_phase(startup1_sync_ph, start_of_simulation_ph);" to do phase insertion. but in uvm1.0, I found it's "add_phase" in doc "UVM_Class_Reference_1.0.pdf" but its' "add" in its code "uvm_phases.svh". How can we use this "add" task in my uvm_component class? I can't use "uvm_top" as the scope. Any suggestion? Edited June 7, 2011 by b17608 Quote Link to comment Share on other sites More sharing options...
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.