The realization of uvm:10.3.1 heartbeat function

Source: Internet
Author: User

1. In some protocols, the driver will send a heartbeat-like signal to the DUT at every time. There is no essential difference between the heartbeat packet and the ordinary bag is the common transaction. Two options:

1) generated in driver, send:


2) sequence implementation, invalid loop:


The above code is best not to use the absolute delay, but to use virtual sequence. Should be as follows:


The heartbeat packet has the highest priority, so grab.


2. Use virtual sequence:



3. Not as follows:


1) because the heartbeat sequence is an infinite loop, the above will cause the body to stop.


4.virtual sequence objection is revoked, main_phase stop, exit emulation, but heartbeat sequence really send, so also set in heartbeat:


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

The realization of uvm:10.3.1 heartbeat function

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.