From Fpga4u

Jump to: navigation, search

Here we will add an parallel output element and assign it to the first 32 leds of the fpga; we will then print "OK" on it.

  1. Add a PIO of 32 bits and set the direction to output only

  2. POsopc.jpg

  3. Select Quartus for the assignment and generate
  4. Reload the diagram and correct the ports, analize, assign the the pins to the first 32 leds, compile and load the fpga

  5. POblock.jpg

  6. Add a write to your NIOS II IDE program using the Altera library with the correct input to display "OK". Run the program

  7. POnios.jpg

Next: Parallel bidirectional (8 bits, switchs/LEDs)
Personal tools