Azzera filtri
Azzera filtri

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

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Tim McBrayer
Tim McBrayer il 4 Set 2012
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.

Più risposte (0)

Categorie

Scopri di più su Code Generation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by