Code Generation for d flipflop

5 visualizaciones (últimos 30 días)
Rajini Gajula
Rajini Gajula el 22 de Abr. de 2022
Comentada: Rajini Gajula el 4 de Mayo de 2022
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

Respuesta aceptada

Bharath Venkataraman
Bharath Venkataraman el 25 de Abr. de 2022
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 comentarios
Bharath Venkataraman
Bharath Venkataraman el 2 de Mayo de 2022
The model for 18b is attached - hope this works.
Rajini Gajula
Rajini Gajula el 4 de Mayo de 2022
Thank you so much sir,it is working.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Discontinuities en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by