clk clk reset reset regfile[0:31,31:0] regfile[0:31,31:0] HEXRADIX [0,31:0] regfile[0,31:0] HEXRADIX [1,31:0] regfile[1,31:0] HEXRADIX [2,31:0] regfile[2,31:0] HEXRADIX [3,31:0] regfile[3,31:0] HEXRADIX [4,31:0] regfile[4,31:0] HEXRADIX [5,31:0] regfile[5,31:0] HEXRADIX [6,31:0] regfile[6,31:0] HEXRADIX [7,31:0] regfile[7,31:0] HEXRADIX [8,31:0] regfile[8,31:0] HEXRADIX [9,31:0] regfile[9,31:0] HEXRADIX [10,31:0] regfile[10,31:0] HEXRADIX [11,31:0] regfile[11,31:0] HEXRADIX [12,31:0] regfile[12,31:0] HEXRADIX [13,31:0] regfile[13,31:0] HEXRADIX [14,31:0] regfile[14,31:0] HEXRADIX [15,31:0] regfile[15,31:0] HEXRADIX [16,31:0] regfile[16,31:0] HEXRADIX [17,31:0] regfile[17,31:0] HEXRADIX [18,31:0] regfile[18,31:0] HEXRADIX [19,31:0] regfile[19,31:0] HEXRADIX [20,31:0] regfile[20,31:0] HEXRADIX [21,31:0] regfile[21,31:0] HEXRADIX [22,31:0] regfile[22,31:0] HEXRADIX [23,31:0] regfile[23,31:0] HEXRADIX [24,31:0] regfile[24,31:0] HEXRADIX [25,31:0] regfile[25,31:0] HEXRADIX [26,31:0] regfile[26,31:0] HEXRADIX [27,31:0] regfile[27,31:0] HEXRADIX [28,31:0] regfile[28,31:0] HEXRADIX [29,31:0] regfile[29,31:0] HEXRADIX [30,31:0] regfile[30,31:0] HEXRADIX [31,31:0] regfile[31,31:0] HEXRADIX IF label s_if_stall s_if_stall r_if_pc[31:0] r_if_pc[31:0] HEXRADIX s_if_next_pc[31:0] s_if_next_pc[31:0] HEXRADIX s_if_inst[31:0] s_if_inst[31:0] HEXRADIX ID label r_id_valid r_id_valid s_id_stall s_id_stall r_id_pc[31:0] r_id_pc[31:0] HEXRADIX r_id_inst[31:0] r_id_inst[31:0] HEXRADIX s_id_opcode[6:0] s_id_opcode[6:0] s_id_funct3[2:0] s_id_funct3[2:0] s_id_funct7[6:0] s_id_funct7[6:0] s_id_rd[4:0] s_id_rd[4:0] UNSIGNEDDECRADIX s_id_rs1[4:0] s_id_rs1[4:0] UNSIGNEDDECRADIX s_id_rs2[4:0] s_id_rs2[4:0] UNSIGNEDDECRADIX s_id_immed_itype[31:0] s_id_immed_itype[31:0] HEXRADIX s_id_immed_stype[31:0] s_id_immed_stype[31:0] HEXRADIX s_id_immed_utype[31:0] s_id_immed_utype[31:0] HEXRADIX s_id_immed_btype[31:0] s_id_immed_btype[31:0] HEXRADIX s_id_immed_jtype[31:0] s_id_immed_jtype[31:0] HEXRADIX s_id_s1[31:0] s_id_s1[31:0] HEXRADIX s_id_s2[31:0] s_id_s2[31:0] HEXRADIX s_id_aluop[3:0] s_id_aluop[3:0] s_id_jump s_id_jump s_id_branch s_id_branch s_id_branch_pol s_id_branch_pol s_id_invalid s_id_invalid EX label r_ex_valid r_ex_valid s_ex_stall s_ex_stall r_ex_pc[31:0] r_ex_pc[31:0] HEXRADIX r_ex_inst[31:0] r_ex_inst[31:0] HEXRADIX r_ex_rd[4:0] r_ex_rd[4:0] UNSIGNEDDECRADIX r_ex_s1[31:0] r_ex_s1[31:0] HEXRADIX r_ex_s2[31:0] r_ex_s2[31:0] HEXRADIX r_ex_aluop[3:0] r_ex_aluop[3:0] s_ex_data1[31:0] s_ex_data1[31:0] HEXRADIX s_ex_data2[31:0] s_ex_data2[31:0] HEXRADIX s_ex_alu_out[31:0] s_ex_alu_out[31:0] HEXRADIX s_ex_alu_zero s_ex_alu_zero r_ex_jump r_ex_jump r_ex_branch r_ex_branch r_ex_branch_pol r_ex_branch_pol s_ex_take_branch s_ex_take_branch r_ex_immed_btype[31:0] r_ex_immed_btype[31:0] HEXRADIX s_ex_branch_addr[31:0] s_ex_branch_addr[31:0] HEXRADIX MEM label r_mem_valid r_mem_valid s_mem_stall s_mem_stall r_mem_pc[31:0] r_mem_pc[31:0] HEXRADIX r_mem_inst[31:0] r_mem_inst[31:0] HEXRADIX r_mem_rd[4:0] r_mem_rd[4:0] UNSIGNEDDECRADIX r_mem_alu_out[31:0] r_mem_alu_out[31:0] HEXRADIX r_mem_alu_zero r_mem_alu_zero WB label r_wb_valid r_wb_valid r_wb_pc[31:0] r_wb_pc[31:0] HEXRADIX r_wb_inst[31:0] r_wb_inst[31:0] HEXRADIX r_wb_alu_out[31:0] r_wb_alu_out[31:0] HEXRADIX r_wb_rd[4:0] r_wb_rd[4:0] UNSIGNEDDECRADIX s_wb_data[31:0] s_wb_data[31:0] HEXRADIX