For a BSB-generated design, the generated TestApp_Peripheral software displays the settings of the GPIO DIP switch (SW8) in a bit-reverse order. The eight individual switches that make up DIP SW8 are numbered 1 to 8 from the left to right. If the DIP switches 1 to 4 are set to ON, and DIP switches 5 to 8 are set to OFF, running TestApp_Peripheral reports that the switches are set to 0xF instead of 0xF0.
This problem has been fixed in the latest EDK 9.1i Service Pack, available at:
The first service pack containing the fix is EDK 9.1i Service Pack 2.