dpigen testbench : Error using coder.internal.Float2FixedConverter
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Yufei Zhang
am 3 Mai 2021
Beantwortet: Shiva Kalyan Diwakaruni
am 6 Mai 2021
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?
0 Kommentare
Akzeptierte Antwort
Shiva Kalyan Diwakaruni
am 6 Mai 2021
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!