How can I use a custom board with the Zynq workflow provided by MATLAB/Simulink?

12 views (last 30 days)
MathWorks offers an integrated workflow for targeting Zynq platform using HDL Coder and Embedded Coder. The currently supported boards are Zedboard, ZC702, ZC706, ZCU102.
However, I am using a board based on Zynq that is not supported by MathWorks (e.g. MicroZed, PicoZed), or a completely custom-made board. How can I use a custom board with the Zynq workflow provided by MATLAB/Simulink?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Feb 2022
Edited: MathWorks Support Team on 16 Feb 2022
To use the full Zynq hardware/software codesign workflow provided by MATLAB/Simulink with a custom board, you need to set up the board in the HDL Coder workflow. Refer to the following example which sets up a Zybo board for our Zynq workflow.
In this shipping example, we use the vendor-provided board files and the existing Zynq processing system preset TCL file to make it simpler to create this example Reference Design in Vivado.
To use your custom board with our full Zynq hardware/software codesign workflow, you will need to complete the following tasks:
1) Build a custom Linux image from the MathWorks Buildroot GitHub repository, as explained in the following MATLAB Answers post:
2) Obtain the board files from the vendor to register your board part in Xilinx Vivado tool.
3) Create a custom reference design in Xilinx Vivado tool, and export this block design to a TCL script.
4) Create all necessary plugin and definition files to register your board & reference design files with HDL Workflow Advisor in MATLAB.
Note that the above tasks are outside the scope of MathWorks Technical Support. What HDL Coder provides is the capability to allow you to import the custom Vivado design into HDL Coder workflow, and define a custom Reference Design, so HDL Coder can generate an IP core and insert it into the custom Reference Design for faster design iteration.
MathWorks Consulting Services may be able to assist with these tasks:

More Answers (0)

Community Treasure Hunt

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

Start Hunting!