HDLbits

Browse Problems

244 problems across 5 tracks.

Hardware Language

View track →

Sequential Logic

SR Latch (Gate-Level)

medium

D Flip-Flop with Asynchronous Reset

medium

D Flip-Flop with Synchronous Reset and Enable

medium

4-bit Up/Down Counter

medium

Decade (Mod-10) Counter

medium

Four-Bit Loadable Shift Register

medium

Moore FSM: Non-Overlapping Sequence Detector (1011)

medium

Mealy FSM: Overlapping Sequence Detector (1011)

medium

D Flip-Flop

easy

D Flip-Flops

easy

DFF with Synchronous Reset

easy

DFF with Configurable Reset Value

medium

DFF with Byte Enable

medium

D Latch

medium

D Flip-Flop

medium

MUXDFF Primitive

medium

Detect a Rising Edge

medium

Detect Both Edges

medium

Edge Capture Register

medium

Dual-Edge Register

hard

Counter 1 to 12

medium

Counter 1000

medium

Slow Decade Counter

medium

4-Digit Decimal Counter

hard

12-Hour Clock

hard

Four-Stage Shift Register with Reset

easy

Left/Right Rotator

medium

Arithmetic Shift by 1 or 8

medium

5-Bit LFSR

medium

3-Bit LFSR

easy

32-Bit LFSR

hard

Enabled Shift Register

easy

Bidirectional Shift Register

medium

3-Input Lookup Table

medium

Simple FSM 1 (Asynchronous Reset)

medium

Simple FSM 1 (Synchronous Reset)

medium

Simple FSM 2 (Asynchronous Reset)

medium

Simple FSM 2 (Synchronous Reset)

medium

Simple One-Hot State Transitions

medium

Design a Moore FSM

medium

Simple FSM 3 (Asynchronous Reset)

medium

Simple FSM 3 (Synchronous Reset)

medium

Lemmings 1: Walk

easy

Lemmings 2: Bump

medium

Lemmings 3: Fall

medium

Lemmings 4: Bump and Fall

hard

Simple State Transitions 3

medium

One-Hot FSM

medium

HDLC Bit-Pattern Recognition

medium

Serial Two’s Complementer (Mealy FSM)

medium

Serial Two’s Complementer (Moore FSM)

hard

Serial Receiver

hard

Serial Receiver and Datapath

hard

Serial Receiver with Parity Checking

hard

Q8: Design a Mealy FSM

medium

Q3a: Three-Cycle FSM Pattern Detector

medium

Q3b: FSM from a State Table

medium

Q3c: FSM Output and Next-State Logic

medium

Q6: Six-State Moore FSM

medium

Q6b: Binary Next-State Bit Y2

medium

Q6c: One-Hot Next-State Signals

medium

Q2a: Six-State Moore FSM

medium

Q2b: One-Hot Next-State Equations

medium

Four-Bit Binary Counter

easy

Decade Counter with Enable

medium

Rule 90 Cellular Automaton

medium

Rule 110 Cellular Automaton

medium

Conway's Game of Life 16x16

hard

Q2a: Another FSM

medium

Q2b: Motor-Control FSM

medium

MUXDFF Shift-Register Stage

medium

DFFs and Gates

medium

Create Circuit from Truth Table

medium

Decade Counter Again

medium

PS/2 Packet Parser

medium

PS/2 Packet Parser and 3-Byte Datapath

hard