zoukankan      html  css  js  c++  java
  • 基础——(4)SR Latch(SR锁存器)

    Digital logic gets really interesting when we connect the output of gates back to an input. The SR latch is one of the most basic memory circuits that we can build on to make counters, registers, and all sorts of other interesting things.

    SR 对应 set reset

    或门:

    先观察右边的或门,查看真值表

    按下a亮灯 松开a 灯亮的状态仍然保持

    通过74LS32实现

     

    锁存器

    SR 锁存器

    按住上面的开关 会经历下面三种状态

     

    最后下面的灯会亮

    然后松开上面的开关 灯仍然是亮的 变成如图下的状态:

     

    会发现这张图片的状态其实是和最开始的那张图中的状态是上下完全相反的:!

    ,这个时候按住下面的开关按钮

    上面的灯亮了,几乎和上面的步骤是一样的,只是颠倒过来了。

    这个东西叫做:S-R Latch (Set Reset Latch)

    SR Latch

    **:

    如果set和reset一起按的时候会怎么样呢?

    松开的时候可能是两种中的任意一种状态 因为sr锁存器不应该一起按下(就不能这样用。因为结果是取决于哪个先被按下的) 

  • 相关阅读:
    LA 3026 Period
    Touch
    Uva 11762 Race to 1
    清北学堂模拟赛d1t2 火柴棒 (stick)
    清北学堂模拟赛d1t1 位运算1(bit)
    常州模拟赛d8t2 绘画
    常州模拟赛d8t1 友好数对
    常州模拟赛d5t3 appoint
    常州模拟赛d7t1 亲戚
    常州模拟赛d7t3 水管
  • 原文地址:https://www.cnblogs.com/eret9616/p/10029472.html
Copyright © 2011-2022 走看看