Question: 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

 Design a very simple Arithmetic and Logic Unit (ALU) that implements

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) o Cin: 1-bit input o Control: 3-bit control input Outputs o Output: 4-bit output Cout: 1-bit output Table 1: ALU Instructions Control Instruction Operation with design restriction 000 Add Output: A+B+Cin: Cout: a carry use behavioral method 001 AB Output: 1 if AB:0 A-B use only one gate 010 Nor Output: A nor B #use only one gate 011 Nand Output: A nand Buse only one gate 100 A> Output: 1-bit logical shift right one u concatenation operator 110 A >> Output: 1-bit arithmetic shift right use a concatenation operator

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!