What is inferred latch and how it is created when it is missing else statement in if condition. Can anybody explain briefly?

前端 未结 3 1480
伪装坚强ぢ
伪装坚强ぢ 2020-11-27 18:26

I tried to figure out the inferred latch and why it is needed internally, but I couldn\'t find any resources with enough detail.

3条回答
  •  被撕碎了的回忆
    2020-11-27 18:54

    Latches are only generated with combinational always blocks. Sequential logic will never generate a latch.

    For more information read about how transparent latches are created and how to avoid inferring latches

提交回复
热议问题