Simulink: How to implement a basic Differential encoder in HDL coder?

4 ビュー (過去 30 日間)
Guruditya Sinha
Guruditya Sinha 2018 年 8 月 29 日
回答済み: Kiran Kintali 2018 年 8 月 29 日
Hi,
I Have the following query:
1) How does one implement a differential encoder in HDL coder? The pre-existing blocks cannot be converted to HDL.
Am using Simulink for this. Please help.

採用された回答

Kiran Kintali
Kiran Kintali 2018 年 8 月 29 日
An additional note not knowing fully your requirements
The definition of a differential encoder is:
The output is the logical difference between the current input element and the previous output element. More specifically, the input and output are related by
% Initial condition parameter value (ic)
d(i0) = m(i0) XOR ic
d(ik) = d(ik-1) XOR m(ik)
Assuming the input is sample-based, this is just a delay block and XOR.

その他の回答 (1 件)

Kiran Kintali
Kiran Kintali 2018 年 8 月 29 日
編集済み: Kiran Kintali 2018 年 8 月 29 日
Please check if these shipping examples for differential encoding (QAM and QPSK) help?

カテゴリ

Help Center および File ExchangeCode Generation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by