Systemverilog/event.triggered

Source: Internet
Author: User

1. event.triggered will only maintain a time_slot, the next time_slot will lose this flag, if it is not guaranteed in every Time_slot will detect this flag, then will lose this flag.

2. It is important to ensure that the triggered is detected at the same or earlier time_slot of->event.

3.virtual task Wait_trigger (); if it occurs with->event in the same time_slot, it may be lost triggered
num_waiters++;
@m_event;
Endtask

4. Virtual task Wait_ptrigger (); if it occurs with->event in the same time_slot, it will not be lost triggered
if (m_event.triggered)
Return
num_waiters++;
@m_event;
Endtask

5. The issue of appeals is mainly due to->event, @event are in the Reactiveset area and cannot guarantee that->event occur before @event, but only through triggered, but triggered to the next time_ The slot is lost.

Systemverilog/event.triggered

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.