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

조회 수: 1 (최근 30일)
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.

답변 (1개)

Nitin Kapgate
Nitin Kapgate 2021년 1월 13일
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!

Translated by