The obtained FPGA (Hardware-in-the-loop) output waveform is inconsistent with Simulink simulation results.
3 views (last 30 days)
Show older comments
We combined Xilinx Zynq-7000 ZC702 Evaluation Kit and SImulink for HIL (Hardware-in-the-loop) simulation. The specific process is as follows: 1. Transform the power electronic model built in Simulink into a state-space model. 2. Run the state space model through HDL workflow to generate bit flow, and select IPcore mode. 3. Download the bitstream to the development board. Finally run and find the obtained FPGA output waveform is inconsistent with Simulink simulation results.
0 Comments
Accepted Answer
Kiran Kintali
on 17 Sep 2023
Edited: Kiran Kintali
on 25 Sep 2023
Using Simulink / Simscape for modeling and targeting a State space model to FPGA hardware is well established HDL Coder workflow. Please find the attached examples.
Can you please reach out to tech support for additional debugging on this issue?
3 Comments
Kiran Kintali
on 13 Oct 2023
Those are really old versions than the latest MATLAB R2023b release. You can check the tested tool versions here and reach out to tech support.
https://www.mathworks.com/help/releases/R2023a/hdlcoder/gs/language-and-tool-version-support.html
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!