You are to design a circuit, and model using HDL, that 1) adds two three bit uns
ID: 1811058 • Letter: Y
Question
You are to design a circuit, and model using HDL, that 1) adds two three bit unsigned binary
numbers, 2) includes a flag to determine when a overflow occurs, and 3) includes a flag
indicating whether the resulting sum is an even or odd number. The overflow output should be
connected to a red LED, and the even/odd output connected to a yellow LED. If an overflow is
detected the red LED should turn on. When an even sum occurs the yellow LED should be off
and turn on when a odd sum occurs. The LEDs operate with 2.5 volts; 5 volts will burn them out.
Note you will not model the LED portion of your circuit in HDL, but you will connect the LEDs
and associated circuitry to the schematic diagram of your HDL model.
You should create a test bench and test your design by completing the sums below.
000 + 000
010 + 001
011 + 011
111 + 001
Your inputs and outputs should be defined as follows:
A[2:0], B[2:0] Represent your binary inputs, 0 defines least significant bit
Sum[2,0] Represents the output sum
O Represents the overflow flag, no overflow = 0
P Represents the even/odd flag, even = 0
1. Describe the functionality of you design
2. Define all inputs and outputs on your schematic diagram
3. Include information such as Boolean expressions, truth tables
Explanation / Answer
You are to design a circuit, and model using HDL, that 1) adds two three bit uns
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.