Jump to content

run time issue questa sim


Recommended Posts

I ran a testcase using questa sim,i am getting following output.

 

 

** Error: (vsim-3601) Iteration limit reached at time 0 ps

 

 

testcase run phase look like this. it printed info messages from below code then gave above mentioned error.

 

  task run_phase(uvm_phase phase);

    phase.raise_objection(this);
 
    `uvm_info(get_type_name(), "Starting test",UVM_NONE)
 
    // generate register settings
    assert (m_cfg_gen.randomize()) else
    `uvm_fatal(get_name(),"m_cfg_gen randomization failed");
 
    `uvm_info(get_type_name(), $psprintf("Using this configuration:\n%s",m_cfg_gen.sprint()),UVM_MEDIUM)
    
 
    #20000ns;
    phase.drop_objection(this);
    `uvm_info(get_type_name(), "Stopping test...", UVM_LOW );
 
    endtask : run_phase
 
Please help me in resolving this
Link to comment
Share on other sites

Hi Dave -- I have gone through manual and used file break points.

I figured out simulator is looping through below code in  

file :-   uvm-1.1d/src/base/uvm_task_phase.svh 

function:virtual function void execute(uvm_component comp,

                                          uvm_phase phase);
my concern here is thier is not exactly any loop in this code .but stepping is only looping from top to bottom of below code.
 

 

        // reseed this process for random stability
        proc = process::self();
        proc.srandom(uvm_create_random_seed(phase.get_type_name(), comp.get_full_name()));
 
        phase.m_num_procs_not_yet_returned++;
 
        if ($cast(seqr,comp))
          seqr.start_phase_sequence(phase);
 
        exec_task(comp,phase);
 
        phase.m_num_procs_not_yet_returned--;
Link to comment
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...