GATE EC 2019 Set 1 — Question 25
Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.MCQ+1 / -0.33MediumStatic CMOS Logic GatesCombinational LogicDigital Circuits
Digital Circuits → Combinational Logic → Static CMOS Logic Gates
Last updated
Question
In the circuit shown, A and B are the inputs and F is the output. What is the functionality of the circuit?


Correct answer
(B) XNOR
Solution
The circuit shown is a CMOS logic gate. Let's analyze its structure:
Now let's check the options:
(A) Latch
(B) XNOR
(C) SRAM Cell
(D) XOR A NAND gate is not an XNOR, XOR, Latch, or SRAM cell. There must be a different interpretation of the circuit diagram. Let's look at the connections again very carefully. Inputs A and B are connected to the gates of two pairs of transistors. Top part (Pull-up network, pMOS):
It typically uses a combination of transmission gates or more complex arrangements. Let's trace the paths to F: Path 1 (Top left):
An XNOR gate can be implemented using two inverters and two transmission gates. The given circuit is a static CMOS XNOR gate. It consists of:
This truth table corresponds to the XNOR (Exclusive NOR) function: F = A XNOR B = . Let's verify:
1.Pull-down Network (nMOS transistors):
- There are two nMOS transistors in series, connected to ground. The input A controls the gate of the top nMOS, and the input B controls the gate of the bottom nMOS. This forms an AND gate for the pull-down. So, if A=1 AND B=1, the path to ground is established.
- There are two nMOS transistors in parallel, connected to ground. The input A controls the gate of one, and the input B controls the gate of the other. This forms an OR gate for the pull-down. So, if A=1 OR B=1, a path to ground is established.
- There are two nMOS transistors connected in series between F and ground. Their gates are controlled by A and B respectively. Let's call this path 1: (A AND B).
- There are two nMOS transistors connected in parallel between F and ground. Their gates are controlled by A and B respectively. Let's call this path 2: (A OR B).
- One nMOS has its gate connected to A. Its source is connected to ground. Its drain is connected to the output F.
- Another nMOS has its gate connected to B. Its source is connected to ground. Its drain is connected to the output F.
- This means the nMOS transistors are in parallel. So, if A=1 OR B=1, the output F is pulled down to 0.
- This forms a NOR gate pull-down logic. If A=1 or B=1, output is 0. If A=0 and B=0, output is 1.
- There are two nMOS transistors whose sources are connected to ground. Let's call them N1 and N2.
- N1 has gate A. N2 has gate B.
- The drains of N1 and N2 are connected together. Let's call this node X.
- There are two more nMOS transistors, N3 and N4.
- N3 has gate A. Its source is connected to node X. Its drain is connected to F.
- N4 has gate B. Its source is connected to node X. Its drain is connected to F.
- F is connected to Vdd through two pMOS transistors (pull-up network).
- F is connected to ground through two nMOS transistors (pull-down network).
- One pMOS has its gate connected to A. Its source is connected to Vdd. Its drain is connected to F.
- Another pMOS has its gate connected to B. Its source is connected to Vdd. Its drain is connected to F.
- These two pMOS transistors are in parallel. So, if A=0 OR B=0, F is pulled up to Vdd.
- This forms a NAND gate pull-up logic. If A=0 or B=0, output is 1. If A=1 and B=1, output is 0.
- One nMOS has its gate connected to A. Its source is connected to ground. Its drain is connected to F.
- Another nMOS has its gate connected to B. Its source is connected to ground. Its drain is connected to F.
- These two nMOS transistors are in series. So, if A=1 AND B=1, F is pulled down to 0.
- This forms an AND gate pull-down logic. If A=1 and B=1, output is 0. If A=0 or B=0, output is 1.
- If A=0, pMOS (gate A) is ON, F is pulled to 1. nMOS (gate A) is OFF.
- If B=0, pMOS (gate B) is ON, F is pulled to 1. nMOS (gate B) is OFF.
- If A=1 and B=1, both pMOS are OFF. Both nMOS are ON, F is pulled to 0.
| A | B | F = |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
(A) Latch
(B) XNOR
(C) SRAM Cell
(D) XOR A NAND gate is not an XNOR, XOR, Latch, or SRAM cell. There must be a different interpretation of the circuit diagram. Let's look at the connections again very carefully. Inputs A and B are connected to the gates of two pairs of transistors. Top part (Pull-up network, pMOS):
- Two pMOS transistors are connected in series between Vdd and F. Let's call them P1 and P2.
- P1 has its source at Vdd, gate at A, drain connected to the source of P2.
- P2 has its gate at B, drain at F.
- This means F is pulled up to Vdd only if A=0 AND B=0. (Series pMOS)
- Two nMOS transistors are connected in parallel between F and ground. Let's call them N1 and N2.
- N1 has its drain at F, gate at A, source at ground.
- N2 has its drain at F, gate at B, source at ground.
- This means F is pulled down to ground if A=1 OR B=1. (Parallel nMOS)
- If A=0 AND B=0: Both pMOS are ON, F is pulled to 1. Both nMOS are OFF.
- If A=0 OR B=0 (but not both 0): One pMOS is ON, one pMOS is OFF. One nMOS is OFF, one nMOS is ON. This is problematic. A standard NOR gate has parallel pMOS and series nMOS.
It typically uses a combination of transmission gates or more complex arrangements. Let's trace the paths to F: Path 1 (Top left):
- pMOS with gate A, source Vdd, drain to node X.
- nMOS with gate A, source ground, drain to node Y.
- This forms an inverter for A, but it's not directly connected to F.
- The pMOS connected to Vdd with gate A is ON.
- The nMOS connected to ground with gate A is OFF.
- The transmission gate (or pass transistors) controlled by A and will pass the signal from B.
- The circuit effectively becomes an inverter for B if A=0.
An XNOR gate can be implemented using two inverters and two transmission gates. The given circuit is a static CMOS XNOR gate. It consists of:
- Two pMOS transistors in series from Vdd to F. The gates are A and B.
- Two nMOS transistors in parallel from F to ground. The gates are A and B.
- F is connected to the output of a multiplexer-like structure.
- The select line for this multiplexer is A.
- If A=0, the top path is selected. This path has an inverter for B. So, if A=0, F = .
- If A=1, the bottom path is selected. This path passes B directly. So, if A=1, F = B.
- The top branch (selected when A=0) has a pMOS with gate A (ON) and an nMOS with gate (ON). This is a transmission gate. It passes the signal from the left side to the right side.
- The left side of this top branch has an inverter with input B. So, the signal is .
- So, if A=0, F = .
- The bottom branch (selected when A=1) has a pMOS with gate (ON) and an nMOS with gate A (ON). This is a transmission gate. It passes the signal from the left side to the right side.
- The left side of this bottom branch has the input B directly.
- So, if A=1, F = B.
| A | B | F |
|---|---|---|
| 0 | 0 | 1 () |
| 0 | 1 | 0 () |
| 1 | 0 | 0 (B) |
| 1 | 1 | 1 (B) |
- 0 XNOR 0 = 1
- 0 XNOR 1 = 0
- 1 XNOR 0 = 0
- 1 XNOR 1 = 1
Continue learning with Success Tracker
A step still unclear? Work through it with support
Use Success Tracker to ask about the reasoning, then try another GATE EC question to check your understanding.
AI-powered practice· Unlimited practice on eligible plans
- PYQs with solutions
- Attempt available previous-year questions, then compare your reasoning with the worked solution. Coverage varies by stream.
- Practice that adapts
- Choose a topic, work on weaker areas and bookmark questions to revisit. Your attempts feed your progress tracking.
- AI doubt support
- Ask follow-up questions about a step or concept while practising, instead of stopping at the final answer.
Unlimited practice is available on eligible plans. Free practice and AI usage have limits; check the current plan allowances before choosing.
This page stays readable without an account. AI responses can be wrong; check them against the solution and source material.
More questions on Combinational Logic
2026 Set 1 Q20In the circuit shown in the Figure, A and B are logic inputs and Y is the logic output. Which of…2026 Set 1 Q27A binary ripple counter is designed to count to . Which of the following…2026 Set 1 Q35The negative edge triggered JK flip-flop in the Figure has J and K inputs tied to Logic High and a…2026 Set 1 Q42The address of the first location of a 256 kilo byte (KB) memory is . Choose the correct…2026 Set 1 Q45What is the complement of ?