vlenb

Vector Byte Length

Holds the value VLEN/8, the vector register length in bytes.

Attributes

CSR Address

0xc22

Defining extension

V

Length

64-bit

Privilege Mode

U

Format

vlenb format
Figure 1. vlenb format

Field Summary

Name Location Type Reset Value

VALUE

63:0

RO

UNDEFINED_LEGAL

Fields

VALUE

Location

vlenb[63:0]

Description

The value in vlenb is a design-time constant in any implementation. Without this CSR, several instructions are needed to calculate VLEN in bytes, and the code has to disturb current vl and vtype settings which require them to be saved and restored.

Type

RO

Read-Only

Field has a hardwired value that does not change. Writes to an RO field are ignored.

Reset value

UNDEFINED_LEGAL