← All articles
Digital DesignMUXCountersFSMInterview

Digital Design Interview Questions: MUXes, Counters and FSMs

Practice digital logic interview questions with worked MUX, counter, FSM and sequential-circuit examples and follow-up prompts.

November 23, 2026·3 min read

Digital design interviews often start with a small circuit and ask you to reason about its behavior, timing and implementation. State your assumptions about reset, sampling and allowed components before choosing an architecture.

Q1. Build an 8:1 MUX from 2:1 MUXes

Use four 2:1 MUXes in the first stage, two in the second and one in the third: seven total. Apply select bits consistently at each stage. The balanced tree has three MUX levels from any data input to the output, assuming equal primitive delays and ignoring routing.

             select s0       select s1       select s2
d0 ─┐
    ├─[M0]─┐
d1 ─┘      │
           ├─[M4]─┐
d2 ─┐      │      │
    ├─[M1]─┘      │
d3 ─┘             ├─[M6]── y
d4 ─┐             │
    ├─[M2]─┐      │
d5 ─┘      │      │
           ├─[M5]─┘
d6 ─┐      │
    ├─[M3]─┘
d7 ─┘

Each MUX selects its upper input for select 0 and lower input for select 1. s0 drives M0–M3, s1 drives M4–M5, and s2 drives M6. Thus s2:s1:s0 selects d0 through d7 in binary order.

Follow-up: Different select bits travel through different levels of logic. Which path is critical depends on select arrival times and actual library delays, not just the number of MUXes.

Q2. What is the difference between combinational and sequential logic?

Combinational outputs depend on current inputs after propagation delay. Sequential logic stores state, so its output can depend on prior inputs. A short waveform alone may not uniquely identify the internal circuit; ask for reset behavior and more input patterns.

Q3. Trace an enabled modulo-4 counter

Assume an active-high synchronous reset, rising-edge clock and two-bit unsigned state. On an edge, reset sets Q to 0; otherwise an asserted enable increments Q modulo 4; otherwise Q holds. Starting at 2 with reset low and enable values 1, 0, 1 across three edges, the post-edge states are 3, 3, 0.

Follow-up: If enable is asynchronous, synchronize it or use a suitable crossing protocol before relying on its value in this clock domain.

Q4. How do you design an FSM?

Define states by the history relevant to future behavior, draw transitions for every input combination, and specify reset. Separate state transitions from outputs. A Moore output depends on state; a Mealy output also depends on current inputs and can respond between clock edges.

Q5. Why can an incomplete combinational assignment infer a latch?

If a branch leaves an output unassigned, retaining its old value requires storage. Assign defaults and override them for valid cases unless a latch is intentional. For code-oriented examples, see RTL interview questions.

Q6. What limits clock frequency?

In a simple register-to-register path, maximum clock-to-Q, combinational delay, setup time and clock relationships constrain the period. Hold checks use minimum delays and impose a different constraint. Work through both in the STA guide.

Q7. What is metastability?

Sampling an asynchronous signal near a register's sampling edge can leave it metastable temporarily. A properly designed synchronizer reduces the probability of propagation, but does not guarantee multi-bit coherence or capture arbitrarily narrow pulses. See CDC interview questions.

Q8. How can you check a design?

Derive expected behavior independently, test reset and boundary cases, and compare against simulation or formal checks. Ask what happens at wraparound and when control signals change. A few passing waveforms are evidence, not a proof for all input sequences.

Practice hardware interview questions

Work through questions and explain your design choices.