필터 지우기
필터 지우기

Code Generation for d flipflop

조회 수: 7 (최근 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