Code Generation for d flipflop

13 ビュー (過去 30 日間)
Rajini Gajula
Rajini Gajula 2022 年 4 月 22 日
コメント済み: Rajini Gajula 2022 年 5 月 4 日
Hi team,
i have D Flipflop in my simulink model ,when i am trying to generate vhdl code from the model i am getting the error like " Input port 'D' must not have 'Latch input by delaying outside signal' selected for HDL code generation".Please suggest me how i can proceed further by resolving this error.
Best Regards,
Rajini

採用された回答

Bharath Venkataraman
Bharath Venkataraman 2022 年 4 月 25 日
Do you really need to model the D Flip Flop (especially the clock)? If not, I suggest using the Delay block (with enable if you need it). The generated HDL will have a clock port you can drive in the hardware.
  7 件のコメント
Bharath Venkataraman
Bharath Venkataraman 2022 年 5 月 2 日
The model for 18b is attached - hope this works.
Rajini Gajula
Rajini Gajula 2022 年 5 月 4 日
Thank you so much sir,it is working.

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

その他の回答 (0 件)

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by