Lab 06 · FPGAcademy handout edition 24.1

Programming in C

Report a list maximum to the terminal and LEDs.

Start with Part I Find a signed maximum on Nios V

Parts in handout order

  1. Part I
    Find a signed maximum on Nios V

    FPGAcademy: Find a signed maximum in C and print it

    Physical DE1-SoCNios V C IDECPUlator

    Original handout PDF

  2. Part II
    Show a signed maximum on the red LEDs

    FPGAcademy: Show the maximum on LEDs and compare executable sizes

    Physical DE1-SoCNios V C IDECPUlator

    Original handout PDF

  3. Part III
    Measure bit runs and display three decimal results

    FPGAcademy: Display the longest bit runs from C

    CPUlator simulatorCPUlator

    Original handout PDF

  4. Part IV
    Time an hour with a polled machine timer

    FPGAcademy: Poll the machine timer to drive a clock

    CPUlator simulatorCPUlator

    Original handout PDF

  5. Part V
    Scroll a message through six seven-segment displays

    FPGAcademy: Scroll a message and pause it with a button

    CPUlator simulatorCPUlator

    Original handout PDF

  6. Part VI
    Scroll a message using the FPGA interval timer

    FPGAcademy: Move the scrolling cadence to the interval timer

    CPUlator simulatorCPUlator

    Original handout PDF

Original starter files

niosv_standard_lab6_design_files.zip