RS锁存器叫法小争议
今天看书看到RS锁存器:
当时就纳闷了,锁存器不是latch吗?怎么能叫做filp-flop呢?
上网一查,小小的RS锁存器竟然同时存在四种叫法
- RS flip-flop
- RS latch
- SR flip-flop
- SR latch
flip-flop vs latch
关于这一点,flip-flop的Wiki上有详细介绍:
The term flip-flop has historically referred generically to both level-triggered (asynchronous, transparent, or opaque) and edge-triggered (synchronous, or clocked) circuits that store a single bit of data using gates.
Modern authors reserve the term flip-flop exclusively for edge-triggered storage elements and latches for level-triggered ones.
The terms “edge-triggered”, and “level-triggered” may be used to avoid ambiguity.
原来是历史遗留原因,早期level-triggered和edge-triggered都模糊统称flip-flop。现在一般level-triggered称作latch,edge-triggered称作flip-flop。
RS vs SR
有人说RS和SR代表RS锁存器使用NOR还是NAND实现(也就是R和S的优先级问题),但至少从前文书上那一页来看,这个说法是站不住脚的。
我比较赞同的是这位的观点,RS和SR没有统一的规范。而至于R和S的优先级,用Set-dominant SR flip-flop 和 Reset-dominant SR flip-flop区分。
另外有仁兄指出,在PLC领域,RS和SR就是明确了R和S的优先级,并且给出了标准出处。这就涉及我的知识盲区了。
所以这四种叫法都可以呗 (ノ`Д)ノ
参考
Flip-flop (electronics) - Wikipedia)
What is the difference between an SR flip flop and an RS flip flop? - Quora