Path Delay Balancing failure while generating HDL Code - Simulink HDL Coder
1 次查看(过去 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
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!