Help Needed for 16-bit ALU Design (MIPS)

  • Thread starter Thread starter esmeco
  • Start date Start date
  • Tags Tags
    Alu Design
AI Thread Summary
The discussion focuses on implementing the set greater than (sgt) and branch less or equal (ble) instructions in a 16-bit ALU design for MIPS architecture. The user understands that for sgt, the condition a > b can be expressed as a - b > 0, but is unsure how to translate this into gate-level design. They also have a branch equal implementation but need guidance on how to derive the ble instruction from it. Visual references for the sgt and ble implementations are provided, indicating a need for specific gate recommendations. Assistance is sought to clarify the design process for these two operations.
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

Back
Top