Simulink HDL Coder & Vitis Model Composer cannot find the same Device
29 ビュー (過去 30 日間)
古いコメントを表示
I have the error pictured below when attempting to generate VHDL code through the HDL code generator in Simulink. Both the Devices match to the best of my knowledge ... My only idea is that it is for some reason due to using Vitis Model Composer 2022.2 and Matlab R2022a. However, I don't think this would be the case as well because I could generate code when I had no Xilinx block and the same versions of software mentioned before.
0 件のコメント
回答 (1 件)
Kiran Kintali
2023 年 6 月 1 日
編集済み: Kiran Kintali
2023 年 6 月 1 日
Model Composer library in Simulink needs Vitis workflows to generate HDL Code.
Are you trying to use Model Composer blocks in a subsystem and using HDL Coder to generate code from them?
Can you share a sample model or some more details on what your DUT (device under test) subsystem contains when using HDL Coder or HDL Workflow Advisor?
Thanks
4 件のコメント
Kiran Kintali
2023 年 6 月 5 日
編集済み: Kiran Kintali
2023 年 6 月 5 日
That's looks like a resonable approach. Thanks for sharing it.
Here are few steps to summarize the workaround.
- Create a Simulink model with a Simulink DUT with built-in blocks and a subsystem containg XMC blocks
- Mark XMC subsystem as a HDL Blackbox interface
- Generate HDL Code for the DUT with HDL Coder
- Generate HDL Code for the XMC subsystem with Vitis Model Composer
- Manually combine the generated code from step3 and step4.
- Build the code with Vivado Synthesis tool
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!