From 23ade0b1c3bf2cb53d3ae7dd80099e5ec90a5efc Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Thu, 5 Dec 2019 12:42:31 +1100 Subject: [PATCH] decode2: Minor cleanup Remove unused variable is_reg in decode_input_reg_a. Signed-off-by: Paul Mackerras --- decode2.vhdl | 3 --- 1 file changed, 3 deletions(-) diff --git a/decode2.vhdl b/decode2.vhdl index 8a2d970..f6f7101 100644 --- a/decode2.vhdl +++ b/decode2.vhdl @@ -60,10 +60,7 @@ architecture behaviour of decode2 is function decode_input_reg_a (t : input_reg_a_t; insn_in : std_ulogic_vector(31 downto 0); reg_data : std_ulogic_vector(63 downto 0); ispr : gspr_index_t) return decode_input_reg_t is - variable is_reg : std_ulogic; begin - is_reg := '0' when insn_ra(insn_in) = "00000" else '1'; - if t = RA or (t = RA_OR_ZERO and insn_ra(insn_in) /= "00000") then assert is_fast_spr(ispr) = '0' report "Decode A says GPR but ISPR says SPR:" & to_hstring(ispr) severity failure; -- 2.30.2