Stratix® 10 Hard Processor System Technical Reference Manual

ID 683222
Date 8/15/2024
Public
Document Table of Contents

25.4.2. CoreSight SoC-400 Timestamp Generator

CoreSight Debug and Trace supports the following timestamp components for consistent time value to multiple processors:
  • Timestamp generator—The timestamp generator is 64 bits wide and generates a timestamp value that provides a consistent view of time for multiple blocks in the HPS. The timestamp generator can be used to generate CoreSight timestamps or processor generic time.
  • Timestamp encoder—The timestamp encoder converts the 64-bit timestamp value from the timestamp generator to a 7-bit encoded value. This is called a narrow timestamp. It also encodes and sends the timestamp value over a 2-bit synchronization channel.
  • Timestamp decoder—The timestamp decoder converts the narrow timestamp interface and synchronization data back to a 64-bit value. This is the format in which the CoreSight* SoC-400 trace components require their timestamp. It decodes the narrow timestamp interface to a 64-bit wide timestamp signal.
The timestamp generator generates the timestamp value that is distributed over the rest of the timestamp interfaces. It is used:
  • To provide a system counter to the Arm* Cortex*-A53 MPCore processor generic timers. Only Secure software can change the timestamp value and Non-secure software can only read the timestamp value.
  • To generate the time used to align traces and other debug information in the CoreSight system. The timestamp generator is controlled by debug software and connected to the debug APB interconnect.

For more information about the CoreSight SoC-400 Timestamp Generator, refer to the Arm* CoreSight* SoC-400 Technical Reference Manual.