Specify the Location of custom IP cores in HDL Coder

조회 수: 1 (최근 30일)
John
John 2025년 4월 2일
답변: Walter Roberson 2025년 4월 2일
I was following along with the instructions here: https://www.mathworks.com/help/hdlcoder/ug/define-and-add-ip-respository-to-custom-reference-design.html for adding a custom IP repository. It mentions you can specify a directory outside of the MATLAB path by specifying an output parameter:
function [ipList, rootDir] = hdlcoder_video_iplist( )
How can you specify the directory if it is an output parameter? Shouldn't the directory be specified as an input?

답변 (1개)

Walter Roberson
Walter Roberson 2025년 4월 2일
hdlcoder_<NAME>_iplist are configuration functions that you create yourself. If you want the output files to be stored in a different place then you can specify the output directory as the second output of the function.
The functions that you create will be called with no input parameters.

카테고리

Help CenterFile Exchange에서 Code Generation에 대해 자세히 알아보기

태그

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by