From: Joshua Wise Date: Sat, 10 Jan 2009 09:53:40 +0000 (-0500) Subject: Decode: Fix conditional for immediate mode. X-Git-Url: http://git.joshuawise.com/firearm.git/commitdiff_plain/ac3ba6ad6814e7d0cfb296d8b699f5b3ed2632a5?ds=sidebyside Decode: Fix conditional for immediate mode. --- diff --git a/Decode.v b/Decode.v index c63fd9d..2c22746 100644 --- a/Decode.v +++ b/Decode.v @@ -181,7 +181,7 @@ module Decode( read_2 = insn[15:12]; op0_out = regs0; - if(insn[25]) begin + if(!insn[25] /* immediate */) begin op1_out = {20'b0, insn[11:0]}; carry_out = incpsr[`CPSR_C]; end else begin