Path Delay Balancing failure while generating HDL Code - Simulink HDL Coder
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Code Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!