mhpmevent12h

Machine Hardware Performance Counter 12 Control, High half

Alias of mhpmevent12[63:32].

Introduced with the Sscofpmf extension. Prior to that, there was no way to access the upper 32-bits of mhpmevent#{hpm_num}.

Attributes

Defining Extension

  • Sscofpmf, version >= 0

CSR Address

0x72c

Length

32-bit

Privilege Mode

M

Format

mhpmevent12h format
Figure 1. mhpmevent12h format

Field Summary

Name Location Type Reset Value

mhpmevent12h.OF

31

[when,"HPM_COUNTER_EN[12]"] RW-H [when,"!(HPM_COUNTER_EN[12])"] RO

[when,"HPM_COUNTER_EN[12]"] UNDEFINED_LEGAL [when,"!(HPM_COUNTER_EN[12])"] 0

mhpmevent12h.MINH

30

[when,"HPM_COUNTER_EN[12]"] RW [when,"!(HPM_COUNTER_EN[12])"] RO

[when,"HPM_COUNTER_EN[12]"] UNDEFINED_LEGAL [when,"!(HPM_COUNTER_EN[12])"] 0

mhpmevent12h.SINH

29

[when,"(HPM_COUNTER_EN[12]) && implemented?(ExtensionName::S && CSR[misa].S == 1’b1)"] RW [when,"!(HPM_COUNTER_EN[12]) && implemented?(ExtensionName::S && CSR[misa].S == 1’b1)"] RO

[when,"HPM_COUNTER_EN[12]) && implemented?(ExtensionName::S"] UNDEFINED_LEGAL [when,"!HPM_COUNTER_EN[12]) && implemented?(ExtensionName::S"] 0

mhpmevent12h.UINH

28

[when,"(HPM_COUNTER_EN[12]) && implemented?(ExtensionName::U && CSR[misa].U == 1’b1)"] RW [when,"!(HPM_COUNTER_EN[12]) && implemented?(ExtensionName::U && CSR[misa].U == 1’b1)"] RO

[when,"HPM_COUNTER_EN[12]) && implemented?(ExtensionName::U"] UNDEFINED_LEGAL [when,"!HPM_COUNTER_EN[12]) && implemented?(ExtensionName::U"] 0

mhpmevent12h.VSINH

27

[when,"(HPM_COUNTER_EN[12]) && implemented?(ExtensionName::H && CSR[misa].H == 1’b1)"] RW [when,"!(HPM_COUNTER_EN[12]) && implemented?(ExtensionName::H && CSR[misa].H == 1’b1)"] RO

[when,"HPM_COUNTER_EN[12]) && implemented?(ExtensionName::H"] UNDEFINED_LEGAL [when,"!HPM_COUNTER_EN[12]) && implemented?(ExtensionName::H"] 0

mhpmevent12h.VUINH

26

[when,"(HPM_COUNTER_EN[12]) && implemented?(ExtensionName::H && CSR[misa].H == 1’b1)"] RW [when,"!(HPM_COUNTER_EN[12]) && implemented?(ExtensionName::H && CSR[misa].H == 1’b1)"] RO

[when,"HPM_COUNTER_EN[12]) && implemented?(ExtensionName::H"] UNDEFINED_LEGAL [when,"!HPM_COUNTER_EN[12]) && implemented?(ExtensionName::H"] 0

mhpmevent12h.EVENT

25:0

[when,"HPM_COUNTER_EN[12]"] RW [when,"!(HPM_COUNTER_EN[12])"] RO

[when,"HPM_COUNTER_EN[12]"] UNDEFINED_LEGAL [when,"!(HPM_COUNTER_EN[12])"] 0

Fields

OF

Location

31

Description

Alias of mhpmevent12.OF.

Type
RW-H
RO
Reset value
UNDEFINED_LEGAL
0

MINH

Location

30

Description

Alias of mhpmevent12.MINH.

Type
RW
RO
Reset value
UNDEFINED_LEGAL
0

SINH

Location

29

Description

Alias of mhpmevent12.SINH.

Type
RW
RO
Reset value
UNDEFINED_LEGAL
0

UINH

Location

28

Description

Alias of mhpmevent12.UINH.

Type
RW
RO
Reset value
UNDEFINED_LEGAL
0

VSINH

Location

27

Description

Alias of mhpmevent12.VSINH.

Type
RW
RO
Reset value
UNDEFINED_LEGAL
0

VUINH

Location

26

Description

Alias of mhpmevent12.VUINH.

Type
RW
RO
Reset value
UNDEFINED_LEGAL
0

EVENT

Location

25:0

Description

High part of event selector for performance counter mhpmcounter12.

Type
RW
RO
Reset value
UNDEFINED_LEGAL
0