Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Need ALU design help

  1. Apr 12, 2008 #1
    1. The problem statement, all variables and given/known data

    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.

    2. Relevant equations

    3. 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!
  2. jcsd
  3. Apr 13, 2008 #2
    These are,respectively the implementation of the sgt instruction and ble instruction:

    http://img174.imageshack.us/img174/715/sgtop2.jpg [Broken]

    http://img405.imageshack.us/img405/6933/blegy6.jpg [Broken]
    Last edited by a moderator: May 3, 2017
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook