0
\$\begingroup\$

consider this rule: In SR latches using NOR gates the S should be connected to Q and the R should be connected to Q' and for the SR latches using NAND gates vice versa.

is this a convention ? or a rule?

and another question I have about conventions is that why in SR latches with NAND gate when s = 1 the output is Q=0 ( S is the set input so when it is 1 the output should be Q=1)

\$\endgroup\$

2 Answers 2

1
\$\begingroup\$

To answer the first question, you can say that it is a convention that arises from the wish to have the same transition table (or truth table if you like) for both the NOR and NAND latches.
The inputs in the standard NAND latch are active low. The inputs that you are referring to as S and R are in fact ~S and ~R. Hence the seemingly counter-intuitive result.

\$\endgroup\$
0
\$\begingroup\$

First Question: It is merely a convention. Let us consider the case where the input to NOR gates are S NOR ~Q and R NOR Q.

schematic

simulate this circuit – Schematic created using CircuitLab

When (S,R) pair is (1,0) then Q is 0 and ~Q is 1. Changing S,R to 0,0 causes no change in Q, ~Q values. When S,R is further changed to 0,1 then Q and ~Q change to 1 and 0 respectively. And then changing S,R to 0,0 again causes no change in Q or ~Q values. The basic functioning of the latch remains same. The conventions are as the way you stated just because setting S,R to 1,0 would also set Q,~Q to 1,0. The point of conventions are to make sure everything has the same meaning for everyone. Nevertheless, it is a good practice to put schematics of the simplest things like latches just to make sure in case of any discrepancy, people can refer to the architecture and conventions you have used.

Second Question:

Again, it is just a convention, nothing to worry about too much if you understand the latches and can explain the transitions. NAND gate based SR latches are actually called S'R' latches. This is because unlike NOR gate based SR latch which require a 1 to set or reset, NAND based gates required 0. There is nothing sacrosanct about the convention used, your convention is equally good. Just make sure that you provide a truth table or schematic as per your design and nomenclature.

If you still have doubts, I recommend the small section on SR latches in the book by Morris Mano, Chapter on Synchronous Sequential Logic.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.