📜  触发器和锁存器的区别

📅  最后修改于: 2021-09-28 10:11:36             🧑  作者: Mango

拖鞋 :
触发器是一种基本的数字存储器电路,它存储一位信息。触发器是大多数时序电路的基本模块。它也被称为双稳态多谐振荡器或二进制或一位存储器。触发器用作时序电路中的存储元件。

输出是从组合电路或触发器或两者的时序电路中获得的。触发器的状态在时钟脉冲处于活动状态时发生变化,而在时钟脉冲未处于活动状态时不受影响。特别地,时钟控制的触发器在同步时序电路中用作存储元件,而非时钟控制的触发器(即,锁存器)用作异步时序电路中的存储元件。

闩锁:
闩锁是一种电子设备,它根据应用的输入立即改变其输出。它用于在任何指定时间存储 1 或 0。它由两个输入即“SET”和 RESET 以及两个输出组成,它们相互补充。

触发器和锁存器的区别:

SNO Flip-flop Latch
1 Flip-flop is a bistable device i.e., it has two stable states that are represented as 0 and 1. Latch is also a bistable device whose states are also represented as 0 and 1.
2 It checks the inputs but changes the output only at times defined by the clock signal or any other control signal. It checks the inputs continuously and responds to the changes in inputs immediately.
3 It is a edge triggered device. It is a level triggered device.
4 Gates like NOR, NOT, AND, NAND are building blocks of flip flops. These are also made up of gates.
5 They are classified into asynchronous or synchronous flipflops. There is no such classification in latches.
6 It forms the building blocks of many sequential circuits like counters. These can be used for the designing of sequential circuits but are not generally preferred.
7 a, Flip-flop always have a clock signal latche doesn’t have a clock signal
8 Flip-flop can be build from Latches Latches can be build from gates
9 ex:D Flip-flop, JK Flip-flop ex:SR Latch, D Latch