dpigen testbench : Error using coder.inte​rnal.Float​2FixedConv​erter

2 ビュー (過去 30 日間)
Yufei Zhang
Yufei Zhang 2021 年 5 月 3 日
回答済み: Shiva Kalyan Diwakaruni 2021 年 5 月 6 日
I was following the example from https://www.mathworks.com/help/hdlverifier/ug/dpi-component-generation-in-matlab.html#buiojuz-24 for dpigen with option -testbench
>> sample = 1
>> dpigen fun.m -args sample -testbench fun_tb
But I encountered the following errors after generation completed.
I could see the generated fun_tb.sv in the dll folder but not sure what are those error mean?

採用された回答

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni 2021 年 5 月 6 日
Hi,
please refer to the link below:
and check if the sample given as argument is the Supported MATLAB data type.
If sample is supported data type, then try using the following syntax with dpigen to successfully generate DPIC component without any errors.
dpigen fun -args {sample} -testbench fun_tb
Hope it helps.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSemiconductors and Converters についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by