Main Content

addIPRepository

Class: hdlcoder.ReferenceDesign
Namespace: hdlcoder

Include IP modules from your IP repository folder in your custom reference design

Syntax

addIPRepository('IPListFunction',IP_list_function)
addIPRepository('IPListFunction',IP_list_function,'NotExistMessage',Not_Exist_Message)

Description

addIPRepository('IPListFunction',IP_list_function) adds IP modules that are in the IP repository folder to your reference design project.

addIPRepository('IPListFunction',IP_list_function,'NotExistMessage',Not_Exist_Message) adds IP modules that are in the IP repository folder to your reference design project and displays a message if the modules do not exist.

Before you use this method, define the IP list function that points to the IP modules in the repository folder. You can also specify an optional root directory in the IP list function. This enables you to add IP repositories that do not have to be located relative to the IP list function. To learn more, see Define and Add IP Repository to Custom Reference Design.

Input Arguments

expand all

Name and path to the function that points to IP modules in the IP repository folder to add to the reference design project, specified as a character vector.

Example: 'adi.hdmi.vivado.hdlcoder_video_iplist'

Example: 'mathworks.hdlcoder.vivado.hdlcoder_video_iplist'

Error message that you create to be displayed if IP list function is not found on the MATLAB® path, specified as a character vector.

Example: 'IP repository cannot be found'

Version History

Introduced in R2017a