HDL multi rate simulation
14 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Kiran Kintali
am 20 Jan. 2026 um 20:23
Bearbeitet: Kiran Kintali
am 20 Jan. 2026 um 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 Kommentare
Siehe auch
Kategorien
Mehr zu HDL Coder finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!