8 input [31:0] write_data,
14 output reg regfile_write,
15 output reg [3:0] regfile_write_reg,
16 output reg [31:0] regfile_write_data,
18 output reg [31:0] outcpsr,
19 output reg [31:0] outspsr,
22 output reg [31:0] jmppc);
24 reg [31:0] last_outcpsr = 0, last_outspsr = 0;
27 if (inbubble || !cpsrup)
28 outcpsr = last_outcpsr;
33 if (inbubble || !cpsrup)
34 outspsr = last_outspsr;
41 regfile_write_reg = 4'hx;
42 regfile_write_data = 32'hxxxxxxxx;
47 if (write_reg && (write_num != 15))
50 regfile_write_reg = write_num;
51 regfile_write_data = write_data;
52 end else if (write_reg && (write_num == 15)) begin
61 last_outspsr <= outspsr;
62 last_outcpsr <= outcpsr;