Unformatted text preview: you will also need to make sure that the negative sign is displayed to the proper seven-segment digit. If the values for A or B are negative, use the decimal point to signify a negative value adjust the value displayed accordingly. The Result should have the decimal point set to signify an overflow condition. Simulate your design of the module to convert 2’s complement numbers to sign-magnitude format. Download your design to the FPGA. You should use the switches as A (left four switches) and B (right four switches) inputs. As for the addition/subtraction input, use a push button. You will need your Lab 5 (Hex7) and the SSSD module. Lab Report: Clearly and completely describe your design (your design ideas and design decisions), and trade-offs that you have made. A B Negative (-) Result...
View Full Document
- Fall '08
- Subtraction, Negative and non-negative numbers, Arithmetic Unit Lab