HDL multi rate simulation
조회 수: 12 (최근 30일)
이전 댓글 표시
I'm having trouble understanding how to speed up the simulation when everything is running at the hardware rate. I have a clock interface that is running at 50 MHz and I have simulink sampling rates set to 20e-9 s and then I have enabled the setting "Treat Simulink rates as actual hardware rates" in order to model to communication interface such as the AXI4 master correctly. However, the simulation comes to crawl even though controller and plant can be run at a slower rate. Is there a way I can speed up the simulation while maintaining cycle accurate fidelity?
댓글 수: 0
답변 (1개)
Kiran Kintali
2026년 1월 20일 20:23
편집: Kiran Kintali
2026년 1월 20일 20:26
Can you share a sample model?
It sounds like you have parts of the design that do not need to be updated at 20e-9s, if that is the case, variable step discrete solver should help with the simulation time if you are trying to speeding up the Simulink simulation of the model intended for HDL code generation.
However, there are some aspects of HDL test bench generation that would not work with this. Please reach out to tech support for additional help.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 HDL Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!