Skip to content

ANBadawy/ALU-Simulink-Design-1-4-Bit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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

About

ALU Simulink Design 1 & 4 Bit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published