UVM verification environment --force kind of usage

When setting up the verification environment, we will sometimes environmental package to package them, when the force signal design code will encounter Hierarchical reference from package these errors, a problem-solving approach is by defining the interface corresponding task is achieved.
the following steps:
1. define the interface corresponding to the interface, the package will need to force the signal into the Task;
2. in the embodiment of the testbench interface, this interface uvm_config_db passed through a corresponding assembly which;
3. component after obtaining the interface, you can call the corresponding position in the task, the assignment to achieve the force signal.
Referring verification environment as follows:
1. Preparation of interface
Here Insert Picture Description
2. Get interface
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
3. use
Here Insert Picture Description

Published 22 original articles · won praise 3 · Views 765

Guess you like

Origin blog.csdn.net/weixin_39662684/article/details/104556706