mhartid

Machine Hart ID

Reports the unique hart-specific ID in the system.

Attributes

Defining Extension

  • I, version >= 0

CSR Address

0xf14

Length

32-bit

64-bit

Privilege Mode

M

Format

This CSR format changes dynamically.

svg
svg

Field Summary

Name Location Type Reset Value

ID

63:0

RO

UNDEFINED_LEGAL

Fields

ID

Location

63:0

Description

hart-specific ID.

Type

RO

Reset value

UNDEFINED_LEGAL

Software read

This CSR may return a value that is different from what is stored in hardware.

return hartid();