HDLbits
Browse Problems

Verification/Reading Simulations

Reading Simulations

Interpret waveforms and timing diagrams.

  1. 1

    Identify the Gate

    Read a captured input/output table from a simulation and figure out which 2-input gate produced it.

    easy
  2. 2

    Infer the Counter

    Infer a synchronous counter's reset and increment behavior from a recorded cycle-by-cycle sequence.

    medium
  3. 3

    Infer the Mux

    Read an exhaustive input/output table for a three-input circuit and recognize it as a 2-to-1 multiplexer.

    easy
  4. 4

    Infer the Edge Detector

    Infer a rising-edge detector's one-cycle memory from a recorded input/output trace.

    medium
  5. 5

    Find the Bug: 2-to-1 Mux

    Repair a selector whose two data inputs are swapped.

    easy
  6. 6

    Find the Bug: NAND Gate

    Correct an inverted two-input AND function.

    easy
  7. 7

    Find the Bug: 4-to-1 Mux

    Fix a four-way selector with incorrectly decoded select bits.

    medium
  8. 8

    Find the Bug: Add/Subtract

    Implement unsigned add/subtract selected by a control bit.

    medium
  9. 9

    Find the Bug: Case Decoder

    Repair a decoder so each selector value activates the matching one-hot output.

    easy
  10. 10

    Combinational Circuit 1

    Infer a three-input odd-parity circuit from its input-output behavior.

    easy
  11. 11

    Combinational Circuit 2

    Infer a three-input majority function from a truth table.

    easy
  12. 12

    Combinational Circuit 3

    Infer two comparator outputs from observed two-bit input combinations.

    easy
  13. 13

    Combinational Circuit 4

    Infer an even-width parity function from a waveform.

    medium
  14. 14

    Combinational Circuit 5

    Infer a two-to-four decoder from its observed waveform.

    medium
  15. 15

    Combinational Circuit 6

    Reconstruct a two-bit unsigned adder from observed input and output values.

    medium
  16. 16

    Sequential Circuit 7

    Infer an enabled D register from a clocked waveform.

    easy
  17. 17

    Sequential Circuit 8

    Reconstruct a two-bit modulo-four counter.

    easy
  18. 18

    Sequential Circuit 9

    Infer a four-stage serial-in shift register from its timing trace.

    medium
  19. 19

    Sequential Circuit 10

    Reconstruct a Moore sequence detector for pattern 101.

    medium