Advantages and problems of uvm:10.5.2 polymerization parameters

Source: Internet
Author: User

1. After using the aggregation parameters, you can place a pointer to this parameter class in virtual sequencer:


2. When sequence to dynamically change the validation platform for a variable, the following:



3. You can even put interface into aggregate parameters:



4. In this way, either driver or monitor, you can use cfg.vif directly, without having to use config_db to get interface:


1) because interface is hidden in CFG.

2) If the CFG is assigned to sequencer, then the 10.3.1 Sequencer does not have to use get to get the interface.


5.my_config is an object, not a component. When you use GET, the result of Get_full_name is an instantiated name. So base_test in the name of the CFG with TOP_TB Config_db::set has been. Such as:


Or


6. The most convenient is as follows:



7. The aggregation parameter greatly facilitates the verification of the platform construction. Assign this pointer to any component, which no longer needs to be config_db::get. When a component is going to add a parameter, as long as

1) Add this parameter to the aggregation class.

2) Assign a value directly to the test case.

3) and then use it directly in the verification platform.



8. Join does not use aggregation class, but config_db, set:


Driver


1) reduce set, error probability decreased.

2) Imperfect, member variables are visible to all components.

3) Reduce reusability.

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

Advantages and problems of uvm:10.5.2 polymerization parameters

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.