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

TimeStamp width cannot be configured to 64bits by trBaseEncoder.trTsWidth #74

Open zhangdujiao opened 5 days ago

zhangdujiao commented 5 days ago

The width of timestamp is is 0 to 63 bits as defined in trBaseEncoder.trTsWidth. The maximum supported length is 63bits, not 64bits.

zhangdujiao commented 3 days ago

The <Unformatted Trace & Diagnostic Data Packet Encapsulation for RISC-V> spec defines the max width of timestamp is 64bits when T=8. While the trBaseEncoder.trTsWidth only support to 63bits max