riscv-non-isa / tg-nexus-trace

RISC-V Nexus Trace TG documentation and reference code
https://jira.riscv.org/browse/RVG-96
Creative Commons Attribution 4.0 International
44 stars 32 forks source link

IndirectBranch Message in BTM mode #72

Closed Graf-Zahl closed 3 weeks ago

Graf-Zahl commented 1 month ago

In "7.3 . IndirectBranch Message" the first comment says that these kind of messages are applicable in BTM mode only. As far as I understood it, this is only true for "7.2 . DirectBranch Message".

https://github.com/riscv-non-isa/tg-nexus-trace/blob/b0df47cc486f063e29727e7331311a089b25fbd3/docs/RISC-V-N-Trace.adoc?plain=1#L846

Graf-Zahl commented 3 weeks ago

Sorry, I was wrong in my last comment.

But maybe one could clarify that either IndirectBranch or IndirectBranchHist message should be send for certain itypes:

https://github.com/riscv-non-isa/tg-nexus-trace/blob/b0df47cc486f063e29727e7331311a089b25fbd3/docs/RISC-V-N-Trace.adoc?plain=1#L274

But for now I close the issue.