Lab 03 · FPGAcademy handout edition 21.1

Latches and registers

Distinguish a stored value from the current input.

Start with Part I Trace a gated set-reset latch

Parts in handout order

  1. Part I
    Trace a gated set-reset latch

    FPGAcademy: Store one bit in a gated SR latch

    Physical DE1-SoCQuartus 24.1

    Original handout Verilog · VHDL

  2. Part II
    Measure a transparent D latch

    FPGAcademy: Build and test a transparent D latch

    Physical DE1-SoCQuartus 24.1

    Original handout Verilog · VHDL

  3. Part III
    Build a flip-flop from two latches

    FPGAcademy: Connect two latches to make an edge-triggered flip-flop

    Physical DE1-SoCQuartus 24.1

    Original handout Verilog · VHDL

  4. Part IV
    Compare a latch and two clock edges

    FPGAcademy: Compare transparent, rising-edge and falling-edge storage

    Physical DE1-SoCQuartus 24.1

    Original handout Verilog · VHDL

  5. Part V
    Capture an operand and add a live byte

    FPGAcademy: Capture two eight-bit operands and display their sum and carry

    Physical DE1-SoCOnline EditorQuartus 24.1

    Original handout Verilog · VHDL

Original starter files

verilog_lab3_design_files.zip · vhdl_lab3_design_files.zip