About HDL simulink coder

조회 수: 1 (최근 30일)
Pham Van Dung
Pham Van Dung 2012년 11월 22일
댓글: Pham Van Dung 2018년 12월 18일
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

채택된 답변

Kiran Kintali
Kiran Kintali 2013년 2월 19일
Hi Pham,
Can you send me the model that reproduce the failure? thanks.
  댓글 수: 3
Srinivas Kartik Angadi
Srinivas Kartik Angadi 2018년 10월 5일
how did you fix this?
Pham Van Dung
Pham Van Dung 2018년 10월 5일
@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

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

imane RGUIB
imane RGUIB 2018년 12월 18일
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
Pham Van Dung
Pham Van Dung 2018년 12월 18일
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,

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by