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?
for example with the asm code: addi Y, A, immediate
add is as simple as y = a + b but how do i interpret an immediate operand?