Lab 03 · FPGAcademy handout edition 24.1

Polling, timers and I/O

Read an input and drive a hardware output.

Start with Part I Send a switch word to LEDs and segment bars

Parts in handout order

  1. Part I
    Send a switch word to LEDs and segment bars

    FPGAcademy: Write to the LED port from assembly

    CPUlator simulatorCPUlator

    Original handout PDF

  2. Part II
    Operate a hexadecimal display with four buttons

    FPGAcademy: Use pushbuttons to select a hexadecimal digit

    CPUlator simulatorCPUlator

    Original handout PDF

  3. Part III
    Time a hexadecimal counter with an instruction loop

    FPGAcademy: Pace a two-digit counter with a delay loop

    CPUlator simulatorCPUlator

    Original handout PDF

  4. Part IV
    Replace a delay loop with a machine timer

    FPGAcademy: Time the same counter with the machine timer

    CPUlator simulatorCPUlator

    Original handout PDF

Original starter files

niosv_standard_lab3_design_files.zip