vcsr

Vector Control and Status Register

Contains aliases to vxrm and vxsat CSRs

Attributes

Requirement

Defining extensions

Zvl32b

Vector register length must be at least 32 bits

CSR Address

0xf

Length

* 32 when CSR[misa].MXL == 0 * 64 when CSR[misa].MXL == 1

Privilege Mode

U

Format

This CSR format changes dynamically.

vcsr Format when CSR[misa].MXL == 0
Figure 1. vcsr Format when CSR[misa].MXL == 0
vcsr Format when CSR[misa].MXL == 1
Figure 2. vcsr Format when CSR[misa].MXL == 1

Field Summary

Name Location Type Reset Value

vcsr.VXRM

2:1

RW-RH

UNDEFINED_LEGAL

vcsr.VXSAT

0

RW-RH

UNDEFINED_LEGAL

Fields

VXRM

Location

2:1

Description

See vxrm.

Type

RW-RH

Reset value

UNDEFINED_LEGAL

VXSAT

Location

0

Description

See vxsat.

Type

RW-RH

Reset value

UNDEFINED_LEGAL

Software write

This CSR may store a value that is different from what software attempts to write.

When a software write occurs (e.g., through csrrw), the following determines the written value:

VXRM = CSR[vxrm].VALUE = csr_value.VXRM;
return csr_value.VXRM;

VXSAT = CSR[vxsat].VALUE = csr_value.VXSAT;
return csr_value.VXSAT;