Lab 02 · FPGAcademy handout edition 21.1

Numbers and displays

Decode a binary input on the seven-segment display.

Start with Part I Display two decimal digits

Parts in handout order

  1. Part I
    Display two decimal digits

    FPGAcademy: Display two independent decimal digits

    Physical DE1-SoCOnline EditorQuartus 24.1

    Original handout Verilog · VHDL

  2. Part II
    Convert a binary nibble to decimal

    FPGAcademy: Convert four bits to decimal and inspect the waveform

    Physical DE1-SoCOnline EditorQuartus 24.1

    Original handout Verilog · VHDL

  3. Part III
    Follow a carry through four bit positions

    FPGAcademy: Trace carry through four full adders

    Physical DE1-SoCOnline EditorQuartus 24.1

    Original handout Verilog · VHDL

  4. Part IV
    Add two decimal digits with gates

    FPGAcademy: Build a decimal adder from logic gates

    Physical DE1-SoCOnline EditorQuartus 24.1

    Original handout Verilog · VHDL

  5. Part V
    Compare two decimal adders in RTL Viewer

    FPGAcademy: Compare two decimal adders in RTL Viewer

    Physical DE1-SoCQuartus 24.1

    Original handout Verilog · VHDL

  6. Part VI
    Turn six switches into a two-digit decimal display

    FPGAcademy: Display a six-bit value as two decimal digits

    Physical DE1-SoCOnline EditorQuartus 24.1

    Original handout Verilog · VHDL