Lab 06 · FPGAcademy handout edition 21.1

Arithmetic circuits

Distinguish a carry from signed overflow.

Start with Part I Distinguish carry from signed overflow in an accumulator

Parts in handout order

  1. Part I
    Distinguish carry from signed overflow in an accumulator

    FPGAcademy: Accumulate signed values and observe carry and overflow

    Physical DE1-SoCOnline EditorQuartus 24.1

    Original handout Verilog · VHDL

  2. Part II
    Add or subtract the stored operand on a clock edge

    FPGAcademy: Add and subtract with the same accumulator

    Physical DE1-SoCOnline EditorQuartus 24.1

    Original handout Verilog · VHDL

  3. Part III
    Multiply two four-bit numbers with an array of adders

    FPGAcademy: Multiply four-bit values with an array of adders

    Physical DE1-SoCOnline EditorQuartus 24.1

    Original handout Verilog · VHDL

  4. Part IV
    Multiply two registered bytes using shifted additions

    FPGAcademy: Register the inputs and output of a multiplier

    Physical DE1-SoCOnline EditorQuartus 24.1

    Original handout Verilog · VHDL

  5. Part V
    Balance eight partial products in an adder tree

    FPGAcademy: Combine partial products with an adder tree

    Physical DE1-SoCOnline EditorQuartus 24.1

    Original handout Verilog · VHDL