Question: help please! Problem 3 [40 pts Design a very simple Arithmetic and Logic Unit (ALU) that implements 8 functions as described in Table 1. Table

help please! help please! Problem 3 [40 pts Design a very simple Arithmetic and

Problem 3 [40 pts Design a very simple Arithmetic and Logic Unit (ALU) that implements 8 functions as described in Table 1. Table 1 also illustrates the encoding of the control input. Simulate this circuit by providing inputs and observe outputs on the waveform window. (** Read the design restrictions carefully) The 4-bit ALU has the following inputs and outputs: Inputs A: 4-bit input (a positive number, no sign bit) B: 4-bit input (a positive number, no sign bit) Cin: 1-bit input o Control: 3-bit control input Outputs Output: 4-bit output Cout: 1-bit output Control 000 001 010 011 100 101 110 111 Instruction Add AB Nor Nand A A >> A>> Table 1: ALU Instructions Operation with design restriction Output: A-B-Cin: Cout: a carry behalen method Output: 1 if A-BOATB use only one gute Output: A nor B use only one and Output A nand Be only one gute Output: 1-bit logical shift left SSS Output: 1-bit logical shift right concise Output: 1-bit arithmetic shift left coat ou Output: 1-bit arithmetic shift right. Aconcaution ratan The following things should be taken care of. Use a case statement that checks the "Control and acts on A, B, and Cin as described in Table 1 All the ALU operations are completely combinational. Verilog coding should follow the given design restrictions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!