PhysicsScore

Combinational and sequential circuits, flip-flops, timers

  • GATE
  • UP GDC Mains

4 minute read · Updated 2026-11-15

Picking up from

In Logic gates, Boolean algebra, code conversion, we saw that boolean logic maps discrete inputs to outputs, while code representation assigns bit patterns a specified numerical or symbolic meaning. What information must be retained to make the next output depend on history?

In one line

Combinational circuits depend on current inputs, while sequential circuits add stored state and timing-dependent transitions.

The idea, explained

A combinational function has no intended internal memory: its settled output is determined by present inputs. Adders, multiplexers and decoders belong to this category. A sequential circuit includes a state retained from earlier operation, so the same current inputs can produce different outputs depending on history. A state-transition table must therefore include both current state and input.

Latches are level-sensitive under their stated enable condition, while flip-flops are commonly modeled as edge-triggered storage elements. Different input conventions, such as set–reset, data or toggle, define different next-state rules. Real storage requires setup and hold timing around the sampling event and can become metastable when those assumptions are violated. A logical truth table is not a guarantee that asynchronous inputs are captured safely. Timer and one-shot circuits additionally combine analog thresholds or charging dynamics with digital state changes.

Core ideas

  • A combinational output may take time to settle, but propagation delay alone does not make it an intended sequential memory element.
  • State is part of the sequential specification. Omitting the initial or reset state can leave an output sequence undetermined.
  • An active-high set–reset latch has an invalid or restricted simultaneous-input condition under its chosen implementation. Other polarities require different tables.
  • A data flip-flop samples data according to its edge and timing convention; a level-sensitive latch can follow input throughout an enabled interval.
  • Metastability is an analog dynamical limitation, not a valid extra Boolean state to exploit. Synchronization reduces risk but does not supply an absolute zero-probability guarantee.

Key formulas

Representative next-state relations

Qn+1=D(D flip-flop),Qn+1=T⊕Qn(T flip-flop)Q_{n+1}=D\quad\text{(D flip-flop)},\qquad Q_{n+1}=T\oplus Q_n\quad\text{(T flip-flop)}

The relations apply at the declared active clock event with valid timing and control conditions.

Clock timing budget

Tclk≥tcq+tlogic+tsetup+tmarginT_{\mathrm{clk}}\geq t_{cq}+t_{\mathrm{logic}}+t_{\mathrm{setup}}+t_{\mathrm{margin}}

The simplified synchronous path includes launch delay, combinational delay, setup requirement and an appropriate skew or uncertainty margin.

Classify the circuit, define the active clock or enable event, and state reset and control polarities. Build the state-transition table before deriving gate equations. Check invalid input combinations and whether asynchronous controls override clocked behavior. For a timing question, include both maximum-delay setup and minimum-delay hold considerations rather than relying on one period inequality alone. A waveform inferred from ideal state transitions should be labeled as ideal when propagation delays or races are omitted.

Quick worked example

A toggle flip-flop with T=1T=1 changes state at every active clock event. Its output completes one full cycle for two input cycles. This frequency division assumes the device timing and reset conditions are satisfied.

Where this leads

Continue to Registers, counters, comparators, because registers and counters organize several stored bits into useful digital structures.

Related: Logic gates, Boolean algebra, code conversion — prerequisite definitions used in this model.

Practice this topic

Practice this topic

16 questions in Assistant Professor · Physics · Physics. Sign in and practice access may be required.

Other exam sections