how to fix inferring latch(es) for signal or variable holds its previous value in one or more paths through the process vhdl error

6 views (last 30 days)
Bouchra BENDAHANE
Bouchra BENDAHANE on 11 Feb 2022
Edited: Kiran Kintali on 11 Feb 2022
Helo . I'm traying to compile a vhdl code genereted by MATLAB HDL CODER tool but the compilation got stuck with the following warning :
Warning (10631): VHDL Process Statement warning at SerialADTFCorrect2_Fun_fixpt.vhd(117): inferring latch(es) for signal or variable "sub_cast_0", which holds its previous value in one or more paths through the process
Eny help please. Thank you.

Answers (1)

Kiran Kintali
Kiran Kintali on 11 Feb 2022
Edited: Kiran Kintali on 11 Feb 2022
This could be a bug in code generation process. Can you reach out to https://www.mathworks.com/support.html?

Community Treasure Hunt

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

Start Hunting!