Question: Select (S) 4 Function Si SO Invert Add Subtract Double 4 4 ALU A- B Figure 1: ALU Port Interface and Function Table 1. (10

Select (S) 4 Function Si SO Invert Add Subtract Double 4 4 ALU A- B Figure 1: ALU Port Interface and Function Table 1. (10 pts.) Problem 1, Behavioral-Only Verilog: Design an ALU in behavioral Verilog with port interface and functionality as shown in Figure 1. Test the ALU functionality by simulation. Include at least two vectors per function. Hint for Problem 1: Construct a module with an always block with appropriate sensitivity list. Depending on your select, you would do these cases ""A", "A+B", "A-B", or "2"A" for 4-bit inputs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
