Can HDL coder produce code for unit delay with initial condition input

I was trying to make register that would load initial values, for first sample time and then change them in each sample. I made unit delay with initial condition via port, but now when i try to generate HDL code in Check block compatibility I get the following error:
The initial condition for the Delay block must be specified via Dialog.
Is this block made that HDL can't be generated if I have input for initial condition or I made some mistake?

回答 (1 件)

Kiran Kintali
Kiran Kintali 2022 年 6 月 22 日
This feature is not currently supported and is on the future HDL Coder roadmap.
For the block 'model/DUTSubsystem/Delay'
The initial condition for the Delay block must be specified via Dialog

カテゴリ

ヘルプ センター および File ExchangeCode Generation についてさらに検索

製品

リリース

R2018a

質問済み:

2022 年 6 月 22 日

回答済み:

2022 年 6 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by