このページは機械翻訳を使用して翻訳されました。元の英語を参照するには、ここをクリックします。
generateYAMLforUVMFTestBench
アドオンが必要: この機能には ASIC Testbench for HDL Verifier アドオンが必要です。
説明
generateYAMLforUVMFTestBench(
は、テンプレート エンジンを使用して、完全なユニバーサル検証方法論フレームワーク (UVMF) テスト ベンチの YAML を生成します。uvmfObject
)
例
uvmfTestBenchConfiguration
オブジェクトを作成し、MATLAB 関数用に svdpiConfiguration
オブジェクトを統合する
この例では、uvmfTestBenchConfiguration
オブジェクトを作成し、MATLAB® 関数の 2 つの svdpiConfiguration
オブジェクトを統合する方法を示します。
組み込みの UVMF テスト ベンチ YAML テンプレートを使用するために、"default"
UVMFTestBenchKind
用の uvmfTestBenchConfiguration
オブジェクトを作成します。componentKind="uvmf-predictor"
の svdpiConfiguration
オブジェクトを MATLAB 関数 mode_set_controller
に積分し、componentKind="uvmf-sequence"
の別の svdpiConfiguration
オブジェクトを MATLAB 関数 mode_set_controller_test
に積分します。
pred = svdpiConfiguration("uvmf-predictor"); pred.MATLABFunctionName = "mode_set_controller"; seq = svdpiConfiguration("uvmf-sequence"); seq.MATLABFunctionName = "mode_set_controller_test"; uvmfObject = uvmfTestBenchConfiguration({pred, seq}); generateYAMLforUVMFTestBench(uvmfObject);
カスタム UVMF テスト ベンチ YAML テンプレート "custom_uvmf_test_bench.svt"
を使用するために、"custom"
UVMFTestBenchKind
の uvmfTestBenchConfiguration
オブジェクトを作成します。単一の svdpiConfiguration
オブジェクトを componentKind="uvmf-sequence"
と統合します。
seq = svdpiConfiguration("uvmf-sequence"); seq.MATLABFunctionName = "chip_controller_test"; uvmfTestBenchKind = "custom"; uvmfObject = uvmfTestBenchConfiguration(uvmfTestBenchKind,{seq}); generateYAMLforUVMFTestBench(uvmfObject);
入力引数
uvmfObject
— UVMF 構成オブジェクト
uvmfTestBenchConfiguration
オブジェクト
UVMF 構成オブジェクト。uvmfTestBenchConfiguration
オブジェクトとして指定されます。
バージョン履歴
R2024a で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
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)