How to Extend MIPS32 Datapath for ble and sgt Instructions?

  • Thread starter Thread starter esmeco
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
esmeco
Messages
144
Reaction score
0
Hello!
I'm having problems figuring out how to extend the datapath and the blocks used for ble and sgt instructions on MIPS32.
After studying a bit I managed to code the instructions for ble and sgt respectively:


Code:
slt $t0, $s2, $s1
beq $t0, $zero, less_equal
////////////////////////////
slt $t0, $s2, $s1


Any tips on how to extend MIPS datapath to support ble and slt instructions would be very helpful!
 
Physics news on Phys.org
Any help is really appreciated!