sie

Supervisor interrupt-enable register

Supervisor interrupt-enable register.

Attributes

CSR Address

0x104

Defining extension

S

Length

64-bit

Privilege Mode

S

Format

sie format
Figure 1. sie format

Field Summary

Name Location Type Reset Value

SSIE

1

RW-R

UNDEFINED_LEGAL

STIE

5

RW-R

UNDEFINED_LEGAL

SEIE

9

RW-R

UNDEFINED_LEGAL

LCOFIE

13

RW-R

UNDEFINED_LEGAL

Fields

SSIE

Location

sie[1]

Description

Supervisor Software Interrupt Enable

Type

RW-R

Read-Write Restricted

Field is writable by software. Only certain values are legal. Writing an illegal value into the field is ignored, and the field retains its prior state.

Reset value

UNDEFINED_LEGAL

Software write

This field has special behavior when written by software (e.g., through csrrw).

When software tries to write csr_value, the field will be written with the return value of the function below.

if (CSR[mideleg].SSI == 1'b1) {
  CSR[mie].SSIE = csr_value.SSIE;
  return csr_value.SSIE;
}
return 1'b0;

STIE

Location

sie[5]

Description

Supervisor Timer Interrupt Enable

Type

RW-R

Read-Write Restricted

Field is writable by software. Only certain values are legal. Writing an illegal value into the field is ignored, and the field retains its prior state.

Reset value

UNDEFINED_LEGAL

Software write

This field has special behavior when written by software (e.g., through csrrw).

When software tries to write csr_value, the field will be written with the return value of the function below.

if (CSR[mideleg].STI == 1'b1) {
  CSR[mie].STIE = csr_value.STIE;
  return csr_value.STIE;
}
return 1'b0;

SEIE

Location

sie[9]

Description

Supervisor External Interrupt Enable

Type

RW-R

Read-Write Restricted

Field is writable by software. Only certain values are legal. Writing an illegal value into the field is ignored, and the field retains its prior state.

Reset value

UNDEFINED_LEGAL

Software write

This field has special behavior when written by software (e.g., through csrrw).

When software tries to write csr_value, the field will be written with the return value of the function below.

if (CSR[mideleg].SEI == 1'b1) {
  CSR[mie].SEIE = csr_value.SEIE;
  return csr_value.SEIE;
}
return 1'b0;

LCOFIE

Location

sie[13]

Description

Local Counter Overflow Interrupt Enable

Type

RW-R

Read-Write Restricted

Field is writable by software. Only certain values are legal. Writing an illegal value into the field is ignored, and the field retains its prior state.

Reset value

UNDEFINED_LEGAL

Software write

This field has special behavior when written by software (e.g., through csrrw).

When software tries to write csr_value, the field will be written with the return value of the function below.

if (CSR[mideleg].LCOFI == 1'b1) {
  CSR[mie].LCOFIE = csr_value.LCOFIE;
  return csr_value.LCOFIE;
}
return 1'b0;

Software read

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

  • Pruned

  • Original

return $bits(CSR[CSR[mie]]) & $bits(CSR[CSR[mideleg]]);
return $bits(CSR[CSR[mie]]) & $bits(CSR[CSR[mideleg]]);