From 98bfcc3b62087dbadca297b26e48486b93a4e4e4 Mon Sep 17 00:00:00 2001 From: Olof Kindgren Date: Thu, 3 Oct 2019 14:30:10 +0200 Subject: [PATCH] Remove unused jalr signal --- rtl/serv_decode.v | 2 -- rtl/serv_top.v | 2 -- 2 files changed, 4 deletions(-) diff --git a/rtl/serv_decode.v b/rtl/serv_decode.v index 84e8844..6f94578 100644 --- a/rtl/serv_decode.v +++ b/rtl/serv_decode.v @@ -22,7 +22,6 @@ module serv_decode output wire o_bufreg_imm_en, output wire o_bufreg_clr_lsb, //To ctrl - output wire o_ctrl_jalr, output wire o_ctrl_jal_or_jalr, output wire o_ctrl_utype, output wire o_ctrl_pc_rel, @@ -107,7 +106,6 @@ module serv_decode assign o_take_branch = opcode[4] & !opcode[2] & (opcode[0] | (i_alu_cmp^funct3[0])); assign o_ctrl_utype = !opcode[4] & opcode[2] & opcode[0]; - assign o_ctrl_jalr = opcode[4] & (opcode[1:0] == 2'b01); assign o_ctrl_jal_or_jalr = opcode[4] & opcode[0]; //True for jal, b* auipc diff --git a/rtl/serv_top.v b/rtl/serv_top.v index d95a5fe..999ecca 100644 --- a/rtl/serv_top.v +++ b/rtl/serv_top.v @@ -64,7 +64,6 @@ module serv_top wire ctrl_pc_en; wire jump; - wire jalr; wire jal_or_jalr; wire utype; wire mret; @@ -193,7 +192,6 @@ module serv_top .o_bufreg_imm_en (bufreg_imm_en), .o_bufreg_clr_lsb (bufreg_clr_lsb), //To ctrl - .o_ctrl_jalr (jalr), .o_ctrl_jal_or_jalr (jal_or_jalr), .o_ctrl_utype (utype), .o_ctrl_pc_rel (pc_rel),