Right now the LOGIC process will loop on every clock cycle making the program_counter go up when not intended to. We need to move the incrementation of program_count out from the LOGIC process or at least make it independent of it.
Maybe use a old_program_counter signal like we do with pres_state/new_state?
Right now the LOGIC process will loop on every clock cycle making the program_counter go up when not intended to. We need to move the incrementation of program_count out from the LOGIC process or at least make it independent of it.
Maybe use a old_program_counter signal like we do with pres_state/new_state?