IAE Academy

GATE 2018 IN Q.17: solution and answer

GATE 2018 · INQ.17 · 1 mark · NAT

For the 3-bit binary counter shown in the figure, the output increments at every positive transition in the clock (CLK). Assume ideal diodes and the starting state of the counter as 000. If output high is 1 V and output low is 0 V, the current (in mA) flowing through the 50 resistor during the 5 clock cycle is (up to one decimal place) ______.

GATE 2018 IN question 17: A block labelled '3-bit binary counter' has a clock input CLK on its lower left, marked with the edge-trigger triangle.Tap to open full size
Figure from the GATE 2018 IN paper. It is part of the question.
Figure description

A block labelled '3-bit binary counter' has a clock input CLK on its lower left, marked with the edge-trigger triangle. A square-wave pulse train is drawn under CLK. The block has three outputs on its right side, from top to bottom: MSB, then the middle bit (unlabelled, just below MSB), then LSB (lower down). (1) MSB goes into a diode pointing away from the counter (anode at the MSB output, cathode on the right). From the cathode a wire curves up to a 100 Ω resistor, which runs down to a common junction node. (2) LSB goes into a diode pointing away from the counter (anode at the LSB output), and from its cathode a wire curves down to a second 100 Ω resistor, which runs up to the same junction node. (3) The junction node connects through a horizontal 50 Ω resistor to a diode pointing TOWARD the counter (anode on the resistor side, cathode at the middle-bit output). The current I is drawn with a left-pointing arrow in this branch, i.e. from the junction through the 50 Ω resistor and diode into the counter's middle-bit output.

Answer and solution

ANSWER

During the 5th clock cycle the counter reads . Both branches feed the resistor, which sinks into the LOW middle bit, so .

Official answer: 10Source: Official answer key, GATE 2018 IN (IIT Guwahati)

  1. Reading the circuit. Call the counter outputs (MSB), (middle bit, unlabelled in the figure) and (LSB). The MSB and LSB diodes point away from the counter, so each can only push current from a HIGH output through its resistor to the junction X. The middle-bit diode points into the counter, so the branch carries current from X into the middle bit only when that bit is LOW. Current therefore flows only when and at least one of or is 1.

  2. Finding the counter state. The counter starts at and goes up by one on every positive clock edge. Each clock cycle begins with a rising edge, so the edge that starts clock cycle sets the count to . During the 5th clock cycle the state is therefore : , , .

  3. Diode states for 101. The MSB and LSB diodes each have 1 V on the anode side, so both conduct (ideal diodes, 0 V drop). The middle-bit diode has its cathode at 0 V and conducts. The two branches are then two 1 V sources in parallel feeding X.

  4. KCL at X:

  5. Current in the 50 Ω resistor: Check with an equivalent resistance: , so . The assumed diode states hold: each branch carries forward, and the middle diode carries the full forward. To one decimal place, .

  6. Sanity check against the other states. For 001 and 100 only one diode conducts, so . For 000, 010, 011, 110 and 111, : either no output is HIGH, or the middle-bit diode's cathode sits at 1 V and blocks, because X can never rise above 1 V. Only 101 gives the parallel pair, which is why the state during the 5th cycle decides this question.

KEY IDEA

Work out the counter state during the asked-for clock cycle, then use the diode directions to find which branches conduct. The MSB and LSB diodes can only source current from a HIGH output. The middle diode can only sink current into a LOW middle bit. In state 101 two 1 V sources, each behind , act in parallel through into 0 V.

WATCH OUT FOR

Taking the state during the 5th clock cycle to be (the count before the 5th edge) instead of . That leaves only the MSB branch conducting and gives . A second slip is misreading the middle diode's direction. It points INTO the counter, so current flows only when the middle bit is 0; if you treat it as a source like the other two you get the wrong network.

From the GATE 2018 IN paper. Every question of this paper · Download the full paper · All 30 Sequential questions, with notes

More Sequential questions