Presentation is loading. Please wait.

Presentation is loading. Please wait.

ES 112 Project 2 bit ALU. Design a 2-bit ALU Design a 2-bit ALU capable of performing the following operations: – ADD – Multiplication – Bitwise AND –

Similar presentations


Presentation on theme: "ES 112 Project 2 bit ALU. Design a 2-bit ALU Design a 2-bit ALU capable of performing the following operations: – ADD – Multiplication – Bitwise AND –"— Presentation transcript:

1 ES 112 Project 2 bit ALU

2 Design a 2-bit ALU Design a 2-bit ALU capable of performing the following operations: – ADD – Multiplication – Bitwise AND – Bitwise OR

3 Description of ADD operation Assume that the bits are unsigned Inputs (A1, A0) and (B1, B0) Implement the 2 bit adder in a “flat schematic”, i.e. draw all your gates in the same schematic. Do not use subcircuits for this exercise.

4 Description of a Multiply Operation Inputs (A1, A0) and (B1, B0) Implement the 2 bit multiplier in a “flat schematic

5 Definition of the 4-1 MUX S1S0Operation 00Multiplication 01Add 10Bitwise AND 11Bitwise OR

6 Multiply S1S0A1A0B1B0D3D2D1D

7 Add Operation S1S0A1A0B1B0D3D2D1D

8 AND Operation S1S0A1A0B1B0D3D2D1D

9 OR Operation S1S0A1A0B1B0D3D2D1D

10 Schematic of 2 Bit Adder

11 Schematic of 2 Bit Multiplier

12 Schematic of 2 Bit AND

13 2 Bit OR

14 Schematic of 4-1 Mux

15 Top Level Schematic


Download ppt "ES 112 Project 2 bit ALU. Design a 2-bit ALU Design a 2-bit ALU capable of performing the following operations: – ADD – Multiplication – Bitwise AND –"

Similar presentations


Ads by Google