X-Git-Url: http://git.joshuawise.com/firearm.git/blobdiff_plain/96f7e6e169cb1471891980770630f3bed700c604..cb0428b6a01af21f4c98bb827405d18239a1f97f:/Decode.v diff --git a/Decode.v b/Decode.v index 6cfe08b..359bbc0 100644 --- a/Decode.v +++ b/Decode.v @@ -5,10 +5,12 @@ module Decode( input [31:0] insn, input [31:0] inpc, input [31:0] incpsr, + input [31:0] inspsr, output reg [31:0] op0, output reg [31:0] op1, output reg [31:0] op2, output reg carry, + output reg [31:0] outspsr, output reg [3:0] read_0, output reg [3:0] read_1, @@ -220,6 +222,7 @@ module Decode( op1 <= op1_out; /* 'operand 2' - Rm */ op2 <= op2_out; /* thirdedge - Rs */ carry <= carry_out; + outspsr <= inspsr; end endmodule