Thursday, 24 March 2016

digital logic - What is the beginning state for Q in a SR latch?


In this diagram



http://upload.wikimedia.org/wikipedia/commons/thumb/c/c6/R-S_mk2.gif/220px-R-S_mk2.gif


what would be the beginning state for Q? Since the first NOR for S and R rely on previous results, there must be something for the first iteration?


NOTE: I'm in a first year digital logic class, so the question is for theoretical use (table making, various homework problems it applies to, etc.), not actual implementation. Just for things like "if R is __ and S is __ what is Q?" Simple things like that.



Answer



If you just powered that on, the initial state would be the outcome of a race condition, depending on which gate output can become high first. In actuality, one gate or the other would tend to have a faster rise time, so it probably would tend to come up in one state or the other, but there'd be no guarantee.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...