|
For the latest stable version, please use Efficient Trace for RISC-V 2.1! |
Preface
Preface
Preface to Version 20250616
Clarifications only - no changes to normative behaviour.
-
Updated Instruction Trace Encoder Output Packets and Code fragment and transport to reference the Unformatted Trace & Diagnostic Data Packet Encapsulation for RISC-V Specification;
-
Removed ambiguity between 'last' and 'final'. Last was previously used to mean both the instruction before the current one, and the final instruction traced;
-
Clarified behaviour when trace-on and trace-off triggers occur both occur in the same cycle (see Using trigger outputs from the Debug Module);
-
Clarified that full synchronization also takes place on a privilege change (see Synchronization and Format 3 thaddr, address and privilege fields);
-
Reworded jump classifications in jump classifications in Instruction Trace Interface requirements to align with terminology used in other specifications;
-
Clarified when to issue sync-support packet when trace is enabled (see Format 3 subformat 3 - Support);
-
Clarified that branch_map can be set to 31 any time an address needs to be reported and the branch map is full (see Format 1 packets);
-
Updated reference encoding algorithm to generalize resync behaviour and add missing trap conditions (see Reference Compressed Branch Trace Algorithm);
-
Clarified that implicit returns are not stored in the jump target cache (see Jump target cache mode);
-
Updated decoder to remove ECALL, EBREAK and C.EBREAK from is_uninferrable_jump function. Including them is harmless but unnecessary, as these instrucitons don’t retire (see Decoder);
-
Corrected description of why the EPC is not always reported (see Format 3 thaddr, address and privilege fields).
-
Minor clarifications, formatting and typo fixes.
Preface to Version 20240419
Formatting and typo fixes.
Preface to Version 20240305
First version in AsciiDoc format.
Preface to Version 20231215
Clarifications only - no changes to normative behaviour.
-
Control field definitions removed from section 2, which now references the RISC-V Trace Control Interface Specification
-
Added detail on handling of multi-load/store instructions for data trace to Data Trace Interface requirements.
-
Removed references to tail-calls in jump classifications in Instruction Trace Interface requirements.
-
Corrected typos where
lridwas inadvertently refered to by an earlier name (index) in Load and Store. -
Corrected reference decoder in Decoder to cover a corner-case related to trap returns.
Preface to Version 2.0
Ratified version of the Efficient Trace for RISC-V specification.