Project

Modify the project from lab7 by adding switches and buttons support.

Tips:

  • add the PIO in the Platform Manager and name it switch,

  • add the PIO in the Platform Manager and name it button,

  • Generate a code HDL and make changes in the ghrd.v file,

  • Compile the project and program the board,

  • Write the code in C that show working switches, buttons and leds together.