dpigen testbench : Error using coder.internal.Float2FixedConverter
조회 수: 3 (최근 30일)
이전 댓글 표시
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/605350/image.png)
I could see the generated fun_tb.sv in the dll folder but not sure what are those error mean?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/605355/image.png)
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!