Effacer les filtres
Effacer les filtres

About HDL simulink coder

2 vues (au cours des 30 derniers jours)
Pham Van Dung
Pham Van Dung le 22 Nov 2012
Commenté : Pham Van Dung le 18 Déc 2018
Dear friends, I have an error when I try to convert StateFlow Block to Verilog: * Failed network:propagateClockRate:ratesDontMatch: When propagating rates on , signal *
Anybody can help me!
Thanks you so much!
Pham Van Dung

Réponse acceptée

Kiran Kintali
Kiran Kintali le 19 Fév 2013
Hi Pham,
Can you send me the model that reproduce the failure? thanks.
  3 commentaires
Srinivas Kartik Angadi
Srinivas Kartik Angadi le 5 Oct 2018
how did you fix this?
Pham Van Dung
Pham Van Dung le 5 Oct 2018
@Srinivas Kartik Angadi, I can't remember exactly. It has been 5 years. But may be the problem is the synchronization of the subsystem inside the stateflow block which I want to convert. I am sorry

Connectez-vous pour commenter.

Plus de réponses (1)

imane RGUIB
imane RGUIB le 18 Déc 2018
Hello, Pham Van Dung and Kiran Kintali, I have the same error while trying to make an IP core generation of my design, comprising a stateflow chart, using the HDL workflow advisor:
Could not apply model's setting to the Target Interface Table in Task 1.2 of the HDL Workflow Advisor for the following reason:
network:propagateClockRate:ratesDontMatch: When propagating rates on <Network CtxName="slaveV2" RefNum="n1" UserName="slaveV2/SlaveI2C/Chart" RTTIClass ="class pir::Network"/>, signal <Signal CtxName="slaveV2" RefNum="s0" UserName="scl" RTTIClass ="class pir::Signal" Network="n1\> had rate 0.000000, while the trigger signal had rate 0.100000
Can you please tell me what can be the problem?
Thank you very much
  1 commentaire
Pham Van Dung
Pham Van Dung le 18 Déc 2018
Hello there,
I did not remember exactly, but it seems to come from the reason that I used many clock cycle in the same block. For instance, in my Matlab code which is SVPWM for current control, there are two clocks: 200ns and 100 ns for this block.
Best,

Connectez-vous pour commenter.

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by