uvmfTestBenchConfiguration
Configure YAML generation from DPI component generation and its integration with UVMF
Since R2024a
Add-On Required: This feature requires the ASIC Testbench for HDL Verifier add-on.
Description
The uvmfTestBenchConfiguration
object controls the creation of a
universal verification methodology framework (UVMF) complaint YAML file from the MATLAB®-based DPI components.
Creation
Syntax
Description
creates a c
= uvmfTestBenchConfiguration({svdpiConfiguration("uvmf-predictor"),svdpiConfiguration("uvmf-sequence")})uvmfTestBenchConfiguration
object to integrate DPI predictor
and sequence components into the UVMF testbench. You can provide the
svdpiConfiguration
objects in the cell array in any order.
creates a c
= uvmfTestBenchConfiguration(testBenchKind
,{svdpiObj1,svdpiObj2,...,svdpiObjn})uvmfTestBenchConfiguration
object with the specified
testBenchKind
, or with the "default"
testbench
kind if none is specified. Provide any number of svdpiConfiguration
objects according to the custom UVMF testbench YAML template.
Properties
Object Functions
generateYAMLforUVMFTestBench | Generate YAML for complete UVMF testbench using template engine |
Examples
Tips
This object allows you to integrate the DPI components into the UVMF testbench. The UVMF
code generator expects you to pass the DPI compilation flags to compile these DPI components.
You can extract the DPI compilation flags by building the "info"
target of
the makefile that you generate using this object.
For example, use this command to build "info"
target of the
AbsVal_Blk.mk
makefile.
make -f AbsVal_Blk.mk info
This log shows the compilation flags to pass to the UVMF code generator.
Version History
Introduced in R2024a