Forum Discussion
Altera_Forum
Honored Contributor
18 years agonewbie asks about "LATCH primitive ... is permanently disabled"
Folks, I have a DE1 (CycloneII starter board) to learn VHDL and Quartus. I developed and successfully tested my bit-shifting FIFO UART on the DE1. With this design functional, I'd like to move it ...
Altera_Forum
Honored Contributor
18 years agoA latch primitive is an asynchronous latch inferred from your code, something like
if a='1' then
c <= b;
end if;
Disabled means, the condition a='1' does never occur in your code. Quartus is issuing a warning, cause it suspects, this behaviour may be unintentional. The warning is similar to a dead code warning from a C-compiler line xxx is never executed. If you expect the condition to come true sometimes, you should check the code why it actually doesn't.