Help Needed for 16-bit ALU Design (MIPS)

  • Thread starter Thread starter esmeco
  • Start date Start date
  • Tags Tags
    Alu Design
Click For Summary
SUMMARY

The discussion focuses on implementing the "set greater than" (SGT) and "branch less or equal" (BLE) instructions in a 16-bit ALU design based on the MIPS architecture. The user struggles with translating the mathematical concept of a > b into a circuit design, specifically which types of gates to utilize. They already have a branch equal implementation but require guidance on extending this to include the BLE functionality. Visual aids are provided to illustrate the current design attempts.

PREREQUISITES
  • Understanding of MIPS architecture and instruction set
  • Familiarity with digital logic design and gate implementation
  • Knowledge of arithmetic operations in binary
  • Experience with ALU design principles
NEXT STEPS
  • Research the implementation of comparison operations in digital circuits
  • Study the design of ALUs in MIPS architecture
  • Learn about using multiplexers and comparators for ALU operations
  • Explore the logic behind branch instructions in assembly language
USEFUL FOR

Students and engineers involved in digital design, particularly those working on MIPS architecture and ALU implementations, will benefit from this discussion.

esmeco
Messages
144
Reaction score
0

Homework Statement


Hello!


I need to implement a set greater than and a branch less or equal in my 16 bit ALU design(MIPS architecture),but I'm having many difficulties.


Homework Equations





The Attempt at a Solution



I know that in a set greater than a>b equals a-b>0 ,but I don't know how to work out from that and implement it in my design(which type of gates to use and that).
The same happens with branch less or equal.I already have a branch equal,but I don't know how to use it in order to get a ble.
Any help is really appreciated!
 
Physics news on Phys.org
These are,respectively the implementation of the sgt instruction and ble instruction:


http://img174.imageshack.us/img174/715/sgtop2.jpg


http://img405.imageshack.us/img405/6933/blegy6.jpg
 
Last edited by a moderator:

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
9
Views
36K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K