Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.39 KB

README.md

File metadata and controls

38 lines (31 loc) · 1.39 KB

ALU Simulink Design 1 & 4 Bit

Project Description

The ALU is one of the most critical components in a microprocessor, and it is typically the first part of the processor to be designed. Following the design of the ALU, the remainder of the microprocessor is implemented to feed operands and control codes to the ALU.

ALU Operations

We aim to design an ALU that does eight operations shown below in the table. Follow the same order.

Logical Operation:

  • NAND: (A B)'
  • NOR: (A + B)'
  • XOR: A ⊕ B
  • Equality: A == B

Arithmetic Operations:

  • Add Cin to (A and B): Cin + AB
  • Add A, B and Cin: A + B + Cin
  • Subtract B from A: A - B
  • Increment A: A ++

ALU 1-Bit

  • Adder: Cin to (A and B). Design
  • Full-Adder: Add A, B and Cin. Design
  • Equality: A == B. Design
  • Subtractor: A - B. Design
  • Increment: A ++. Design
  • ALU: Full design Design

ALU 4-Bit

  • Adder: Cin to (A and B). Design
  • Subtractor: A - B. Design
  • Decoder: 3 to 8 bit Decoder. Design
  • Mux: 8 to 3 bit Multiplexer. Design
  • ALU: Full design Design