필터 지우기
필터 지우기

Path Delay Balancing failure while generating HDL Code - Simulink HDL Coder

조회 수: 2 (최근 30일)
Hello Community, I created a Simulink Model for translation with HDL Coder. For optimization reasons I activated sharing (in 2 Subystems) and streaming (in 1 Subsystem). The content of these subsystems is in general reduced to the blocks to optimize.
Sharing and streaming is successfull. But Path Balancing fails during generating HDL Code with the following Error:
Error using hdlcoder.pir/balancePathDelays
Assertion failed:
.\pir_transforms\PathBalancer.cpp:763:m_relativeLcm > 0
Error in
C:\Programme\MATLAB\R2011b\toolbox\hdlcoder\hdlcoder\@slhdlcoder\@HDLCoder\makehdl.p>doAutomaticDelayBalancing
(line 488)
Error in C:\Programme\MATLAB\R2011b\toolbox\hdlcoder\hdlcoder\@slhdlcoder\@HDLCoder\makehdl.p>makehdl (line 120)
Error in C:\Programme\MATLAB\R2011b\toolbox\hdlcoder\hdlcoder\privmakehdl.p>privmakehdl (line 18)
Error in makehdl (line 82)
privmakehdl(varargin{:})
Error in C:\Programme\MATLAB\R2011b\toolbox\shared\hdlshared\hdlContextMenu.p>GenerateHDLCallback (line 122)
The HDL Geneartion Report is not created. In the pictures you see the second level of the model and a subsystem wich is optimized by sharing and one which is optimized by by streaming. If i try generating HDL code Generation for these subsystems in a blank environment everything works fine.
Has anybody an idea what the cause of the problem is? Thank you. Jens

채택된 답변

Tim McBrayer
Tim McBrayer 2012년 9월 4일
With an internal error like this your best path is to report this to MathWorks so that the issue can be examined and fixed by the development team.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Code Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by