Azzera filtri
Azzera filtri

About HDL simulink coder

2 visualizzazioni (ultimi 30 giorni)
Pham Van Dung
Pham Van Dung il 22 Nov 2012
Commentato: Pham Van Dung il 18 Dic 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

Risposta accettata

Kiran Kintali
Kiran Kintali il 19 Feb 2013
Hi Pham,
Can you send me the model that reproduce the failure? thanks.
  3 Commenti
Srinivas Kartik Angadi
Srinivas Kartik Angadi il 5 Ott 2018
how did you fix this?
Pham Van Dung
Pham Van Dung il 5 Ott 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

Accedi per commentare.

Più risposte (1)

imane RGUIB
imane RGUIB il 18 Dic 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 Commento
Pham Van Dung
Pham Van Dung il 18 Dic 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,

Accedi per commentare.

Categorie

Scopri di più su Simulink Coder in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by