Skip to content

N-Trace control interface and SBA #1153

@algrobman

Description

@algrobman

Hi,

We are going to implement N-Trace encoder per hart in our CPU cluster. The N-Trace spec mandates to use SBA (System Bus Access) to access N-Trace registers/message RAM.
Our design had SBA option in the past, but it was deprecated because it was implemented to access only external to CPU memory, while our design had also local memories , accessible by Abstract Memory Commands (AMC) only. All this created difficulties for debugger to know how to access particular memory range. (Relatively easy solvable, having debugger source code, but it is real trouble for 3d party debugger vendors).

Seems it's not difficult to implement set of SBA registers to access N-Trace components ONLY, to be "compliant" with N-Trace spec , BUT will it work with "general" RISCV debuggers?

How will such debugger determine that the SBA works with N-Trace only and not suitable for system memories accesses?

See discussion beginning in:
riscv-non-isa/tg-nexus-trace#93

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions