Fix event tracing on more commit ports.
Created by: luca-valente
With two (or more) commit ports, the for (int unsigned j = 0; j < NR_COMMIT_PORTS; j++) if (commit_ack_i[j]) events[i] = commit_instr_i[j].fu == LOAD;//Load accesses
does not set events[i]=1'b1
if there are two committed instructions (commit_ack_i=2'b11
) and only one of them is a load, while it should.
The same is true for the other events.
This commit explicitly checks on each commit port and then checks that at least one committed the event being monitored.