Clear Filters
Clear Filters

HDL Coder board and reference design, additional reference design vhdl source files

3 views (last 30 days)
Hi, I'm working on setting up a reference design and board for use with HDL Coder. I've run into one issue that I can't get past in section 4.1 Create Project in the Workflow Advisor. I've setup the board plugin and reference design plugin specifying a tcl file I exported from Vivado for the reference design along with the constraint files. The reference design also uses a few vhdl files that are not packaged as IP, I get an error running the workflow advisor in section 4.1 indicating these source files cannot be found. I've included them with the tcl and constraint files in the reference design package folder but don't know how to specify them to the workflow advisor.
Looking at the documentation on the hdlcoder.ReferenceDesign class here I thought maybe the CustomFiles property might be a way to do this but can't seem to get that to work.

Answers (1)

Nitin Kapgate
Nitin Kapgate on 13 Jan 2021
You can use the IP Core Generation Workflow from MATLAB HDL Workflow Advisor to generate IP Cores from HDL code.
Then to include IP modules from your IP repository folder in your custom reference design, use "addIPRepository" function from "hdlcoder.ReferenceDesign" class.
You can refer to this guide about defining and adding IP repository to a Custom Reference Design.

Community Treasure Hunt

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

Start Hunting!