Programming, Vhdl, Fpga, Cpu.
The nasty thing is that “the next instruction” may be a 1-word or in very few cases (LDS Rd,k / STS k,Rd) also a 2-word instruction, meaning that to decide what to add to the PC, the next word from program memory needs to be available to check if one of these two instructions (1001'00XX’XXXX’0000)