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 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 s_if_halt s_if_halt ID label r_id_stall r_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_aluop[2:0] s_id_aluop[2:0] s_id_alu_seed s_id_alu_seed s_id_jump s_id_jump s_id_invalid s_id_invalid s_id_halt s_id_halt EX label r_ex_stall r_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[2:0] r_ex_aluop[2:0] r_ex_alu_seed r_ex_alu_seed 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 s_ex_halt s_ex_halt MEM label r_mem_stall r_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 s_mem_halt s_mem_halt WB label r_wb_stall r_wb_stall 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 s_wb_halt s_wb_halt