Errors : algebraic loop in use HDL simulink coder
Afficher commentaires plus anciens
Dear friends, when i convert one Simulink block to Verilog use HDL Simulink coder, i have this problem: *_ Failed Cannot connect to model; please try Update Diagram (Ctrl-D).
Cause:
Block diagram 'untitled' contains an algebraic loop. The algebraic loop solver is disabled because of the current setting for Algebraic loop option in the Diagnostics page of the Configuration Parameters Dialog_*
Can you give me some suggestions to solve this problem? Thanks so much!
Pham Van Dung
1 commentaire
Pham Van Dung
le 7 Juin 2013
Modifié(e) : Pham Van Dung
le 7 Juin 2013
Réponses (2)
Tim McBrayer
le 3 Juin 2013
0 votes
The error message states you have an algebraic loop in your design. Basically, an algebraic loop is a path in your Simulink model that makes a loop, and has no delays in it. HDL Coder does not support code generated for designs with algebraic loops, as this will in general result in hardware that is unstable.
For more information about algebraic loops, see http://www.mathworks.com/support/solutions/en/data/1-16V6S/.
1 commentaire
Pham Van Dung
le 7 Juin 2013
Kiran Kintali
le 28 Mar 2023
0 votes
Models with algebraic loops are not supported for HDL Code generation.
Catégories
En savoir plus sur General Applications dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!