Debug Mode : dpc contains wrong value after dret to trigger match address==data2
Created by: eroom1966
if a dret occurs from Debug mode into Machine mode, and the dpc address is the same as the tdata2 trigger data. The match is true and the core goes back into Debug mode, but the dpc is incorrectly set to the instruction following the address match (which did not execute)
According to the spec, dpc should contain the address of the next instruction to be executed. As the instruction at address == tdata2 did not execute, then the dpc should be the same as the value in tdata2
(FYI) @MikeOpenHWGroup
@silabs-oysteink