title: How would one go about implementing an add immediate in Verilog for an ALU?
body: <p>I'm working with a 32-bit ALU for a MIPS processor.
  I've read Pong Chu's book on verilog and other texts but I haven't really come across a concrete answer as to how exactly I would implement an add immediate with verilog? </p>
  
  <p>for example with the asm code:
  addi Y, A, immediate</p>
  
  <p>add is as simple as y = a + b
  but how do i interpret an immediate operand?</p>