end process;
-asyn: process(instr_r_addr, jump_result, prediction_result, branch_prediction_bit, alu_jump_bit, instr_rd_data)
+asyn: process(reset, instr_r_addr, jump_result, prediction_result, branch_prediction_bit, alu_jump_bit, instr_rd_data)
begin
instruction <= instr_rd_data;
instr_r_addr_nxt <= std_logic_vector(unsigned(instr_r_addr) + 1);
+ if (reset = RESET_VALUE) then
+ instr_r_addr_nxt <= (others => '0');
+ end if;
+
if (alu_jump_bit = LOGIC_ACT) then
instr_r_addr_nxt <= jump_result;
elsif (branch_prediction_bit = LOGIC_ACT) then