Simulink HDL Coder & Vitis Model Composer cannot find the same Device
31 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1400444/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1400444/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1400449/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1400454/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1400829/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1400834/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1400839/image.png)
0 Kommentare
Antworten (1)
Kiran Kintali
am 1 Jun. 2023
Bearbeitet: Kiran Kintali
am 1 Jun. 2023
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 Kommentare
Kiran Kintali
am 5 Jun. 2023
Bearbeitet: Kiran Kintali
am 5 Jun. 2023
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
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!