ElectronicBit
Learn Electronics Bit by Bit
Consider the following combinational RTL:
always @(*) begin if (en) y = a; end
What is most likely inferred for y?
When en is low, y is not assigned and must retain its previous value. This causes latch inference.