Need ALU design help

  • Thread starter esmeco
  • Start date
  • #1
144
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!
 

Answers and Replies

  • #2
144
0
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:

Related Threads on Need ALU design help

Replies
1
Views
2K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
9
Views
34K
  • Last Post
Replies
0
Views
6K
  • Last Post
Replies
0
Views
2K
Replies
8
Views
678
  • Last Post
Replies
0
Views
2K
Replies
4
Views
811
Replies
2
Views
566
Top