uvmfbuild
Add-On Required: This feature requires the ASIC Testbench for HDL Verifier add-on.
Description
uvmfbuild(Predictor=
generates UVM sequence and predictor components and a YAML file that is UVM framework (UVMF)
compliant from a Simulink® model.predictorSubsystem
,Sequence=sequenceSubsystem
)
Use the generated YAML file and UVM components with Siemens® UVMF tools for testbench generation and RTL validation.
Examples
Generate the following artifacts from the myAdder model:
A UVM sequence component for the adder_stimgen subsystem
A UVM predictor component for the adder subsystem
A YAML file for UVM Framework
open_system("myAdder"); uvmfbuild(Predictor='myAdder/adder',Sequence='myAdder/adder_stimgen');
### Generating DPI components for all the specified subsystems ### Searching for referenced models in model 'adder'. ### Total of 1 models to build. ### Starting build procedure for model: adder ### Generating code and artifacts to 'Model specific' folder structure ### Generating code into build folder: /tmp/Bdoc25a_2864802_2707279/tpef6f76ba/hdlverifier-ex92377061/uvmfbuild/adder_build ### Invoking Target Language Compiler on adder.rtw ### Using System Target File: /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/hdlverifier/dpigenerator/rtw/systemverilog_dpi_grt.tlc ### Loading TLC function libraries ....... ### Initial pass through model to cache user defined code . ### Caching model source code ........ ### Generating TLC interface API. ... ### Writing source file adder_capi.c . ### Writing header file adder_capi.h ............................... ### Writing header file adder_types.h ### Writing header file adder.h . ### Writing header file rtwtypes.h ### Writing header file builtin_typeid_types.h ### Writing header file multiword_types.h ### Writing source file adder.c ### Writing header file adder_private.h ### Writing header file rtmodel.h . ### TLC code generation complete (took 2.334s). ### Starting SystemVerilog DPI Component Generation ### Saving binary information cache. ### Generating DPI H Wrapper adder_dpi.h ### Generating DPI-C Wrapper adder_dpi.c ### Generating makefiles for: adder_dpi ### Using toolchain: GNU gcc/g++ | gmake (64-bit Linux) ### Creating '/tmp/Bdoc25a_2864802_2707279/tpef6f76ba/hdlverifier-ex92377061/uvmfbuild/adder_build/adder.mk' ... ### Successful completion of build procedure for model: adder Build Summary Top model targets: Model Build Reason Status Build Duration =========================================================================================== adder Information cache folder or artifacts were missing. Code generated. 0h 0m 8.944s 1 of 1 models built (0 models already up to date) Build duration: 0h 0m 10.923s ### Searching for referenced models in model 'adder_stimgen'. ### Total of 1 models to build. ### Starting build procedure for model: adder_stimgen ### Generating code and artifacts to 'Model specific' folder structure ### Generating code into build folder: /tmp/Bdoc25a_2864802_2707279/tpef6f76ba/hdlverifier-ex92377061/uvmfbuild/adder_stimgen_build ### Invoking Target Language Compiler on adder_stimgen.rtw ### Using System Target File: /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/hdlverifier/dpigenerator/rtw/systemverilog_dpi_grt.tlc ### Loading TLC function libraries ....... ### Initial pass through model to cache user defined code . ### Caching model source code ......... ### Generating TLC interface API. ..... ### Writing source file adder_stimgen_capi.c .. ### Writing header file adder_stimgen_capi.h .............................. ### Writing header file adder_stimgen_types.h ### Writing header file adder_stimgen.h . ### Writing header file rtwtypes.h ### Writing header file builtin_typeid_types.h ### Writing header file multiword_types.h ### Writing source file adder_stimgen.c ### Writing header file adder_stimgen_private.h . ### Writing header file rtmodel.h ### TLC code generation complete (took 1.848s). ### Starting SystemVerilog DPI Component Generation ### Saving binary information cache. ### Generating DPI H Wrapper adder_stimgen_dpi.h ### Generating DPI-C Wrapper adder_stimgen_dpi.c ### Generating makefiles for: adder_stimgen_dpi ### Using toolchain: GNU gcc/g++ | gmake (64-bit Linux) ### Creating '/tmp/Bdoc25a_2864802_2707279/tpef6f76ba/hdlverifier-ex92377061/uvmfbuild/adder_stimgen_build/adder_stimgen.mk' ... ### Successful completion of build procedure for model: adder_stimgen Build Summary Top model targets: Model Build Reason Status Build Duration =================================================================================================== adder_stimgen Information cache folder or artifacts were missing. Code generated. 0h 0m 5.9157s 1 of 1 models built (0 models already up to date) Build duration: 0h 0m 6.1153s ### Generating UVM Framework test bench YAML file uvmftb.yaml
You can now use these files with Siemens® UVM Framework tools to generate a full UVM testbench.
Input Arguments
Name of the predictor subsystem, specified as a string.
Name of the sequence subsystem, specified as a string.
Version History
Introduced in R2025a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)