Jump to content

Recommended Posts

Posted

Hi,

I am doing bunch checking in the check_phase for end of simulation checking.

That's working find but I also need check status/counter register (using peek) but since check_phase is virtual function and register.peek() is task, I couldn't read register from check_phase.

Is anyone have idea when and where can I do the check?

Thanks,

Posted

Yes and no. The stuff that needs to run for the entire duration of the test (e.g. scoreboard, VIPs, transactors) remains in run_phase. But the main body of your test stimulus should be moved to main_phase(): that's what it was designed for.

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...