The alu required for this lab accepts two 4-bit inputs a0 -


Design, simulate and program the eSOC II board for a 4-bit, 8-function ALU

Need a VHDL code for the following:

The ALU required for this lab accepts two 4-bit inputs (A0 - A3, B0 - B3), a 3-bit function selection code (F0 - F2) and outputs a 5-bit result (S0 - S4). Since the function selection uses 3-bits, there are 8 different functions possible.

F2 F1 F0 Output Function S0 - S4
0 0 0 Output = A Input S = A
0 0 1 Output = A Complement S = NOT A
0 1 0 Output = A Plus B S = A + B
0 1 1 Output = A Minus B S = A - B
1 0 0 Output = B Input S = B
1 0 1 Output = B Complement S = NOT B
1 1 0 Output = Increment A S = A + 1
1 1 1 Output = Decrement A S = A - 1

Request for Solution File

Ask an Expert for Answer!!
Electrical Engineering: The alu required for this lab accepts two 4-bit inputs a0 -
Reference No:- TGS0563241

Expected delivery within 24 Hours