Download presentation
Presentation is loading. Please wait.
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 S1 S0 Operation Multiplication 1 Add
Multiplication 1 Add Bitwise AND Bitwise OR
6
Multiply S1 S0 A1 A0 B1 B0 D3 D2 D1 D0 1
7
Add Operation S1 S0 A1 A0 B1 B0 D3 D2 D1 D0 1
8
AND Operation S1 S0 A1 A0 B1 B0 D3 D2 D1 D0 1
9
OR Operation S1 S0 A1 A0 B1 B0 D3 D2 D1 D0 1
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
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.