SIMULINK HDL coder error
조회 수: 6 (최근 30일)
이전 댓글 표시
I want to change .m to verilog code. But he will not let me turn, showing "Ports with double or single data type are not supported in the" FPGA Turnkey "workflow. Please update the data type on inport," Y ". ' what can I do?I need this in put.
댓글 수: 0
채택된 답변
Kiran Kintali
2018년 1월 29일
편집: Kiran Kintali
2018년 1월 29일
Hi Yu,
You need to break the code into a testbench M file (script) and design M file (function); the testbench calls the design which is a function with inputs and outputs. Typically you will translate the design M file to Verilog code using MATLAB HDLCoder workflow after fixed-point conversion.
Please follow instructions below.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!