HDL Coder: 'RecipNewton for Product is not supported'

1 回表示 (過去 30 日間)
Nick
Nick 2014 年 6 月 11 日
コメント済み: Nick 2014 年 6 月 13 日
Having read in another thread on here about setting a Product block into divide mode using '*/' to define the inputs, and setting the block to operate in RecipNewton mode, I gave this a try but every time I get an error stating that 'RecipNewton for Product is not supported' whenever I do an HDL Compatability Check.
Any ideas?

回答 (1 件)

Tim McBrayer
Tim McBrayer 2014 年 6 月 11 日
You can only use RecipNewton for a reciprocal, not a divide. Set the block to have inputs '/', and follow the output with a separate multiplier.
  1 件のコメント
Nick
Nick 2014 年 6 月 13 日
Thanks Tim, that seems to work, although I am a little confused as this appears to be different from the advice given in this link.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeHDL Coder についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by