Task 1: Use switches as the 3-bit inputs, use 'leds' to show the binary results.
Task 2: Use the seven-segment display to show the decimal result from Task 1.
Figure 1: test bench, full adder and subtracter, and seven-seg display code.
Discussion
I had extrem difficulty trying to get
the seven-segment display to display the 2's complemnt. Besides that, it was easy creating the full adder/subtractor.