Simulink HDL Coder complex conjugate

8 ビュー (過去 30 日間)
Karen Stephen
Karen Stephen 2019 年 9 月 21 日
コメント済み: Karen Stephen 2019 年 9 月 23 日
In Simulink HDL Coder, is there a symbol or attribute to indicate complex conjugate?
I have 2 complex signals going into a multiplier, is there a way to indicate that the 2nd signal should be conjugated?
Ideally, it would generate no extra logic, just propagate forward to swap the add/subtract operations.
  2 件のコメント
Walter Roberson
Walter Roberson 2019 年 9 月 21 日
"Math block" with 'conj' as the operation.
There is no attribute or parameter modification the way you would hope there to be.
Karen Stephen
Karen Stephen 2019 年 9 月 23 日
Thanks, Walter.
Sadly, it does not appear to propagate forward as I had hoped. HDL Coder generates a two's complement negation, but I was hoping it would swap the add/subtract operations in the complex multiply so that the Xilinx synthesizer could absorb it into DSP48's with no extra logic.

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

回答 (0 件)

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by