Skip to content

Class rv64::RegFile

ClassList > rv64 > RegFile

Public Types

Type Name
enum e

Public Functions

Type Name
RegFile ()
RegFile (const RegFile & other)
std::array< int64_t, 32 > get_regs ()
int64_t & operator[] (const uint64_t idx)
int64_t read (uint64_t index)
uint64_t shamt (uint64_t index)
uint64_t shamt_w (uint64_t index)
void show ()
void write (uint64_t index, int64_t value)

Public Types Documentation

enum e

enum rv64::RegFile::e {
    x0 = 0,
    x1,
    x2,
    x3,
    x4,
    x5,
    x6,
    x7,
    x8,
    x9,
    x10,
    x11,
    x12,
    x13,
    x14,
    x15,
    x16,
    x17,
    x18,
    x19,
    x20,
    x21,
    x22,
    x23,
    x24,
    x25,
    x26,
    x27,
    x28,
    x29,
    x30,
    x31,
    zero = x0,
    ra = x1,
    sp = x2,
    gp = x3,
    tp = x4,
    t0 = x5,
    t1 = x6,
    t2 = x7,
    s0 = x8,
    fp = x8,
    s1 = x9,
    a0 = x10,
    a1 = x11,
    a2 = x12,
    a3 = x13,
    a4 = x14,
    a5 = x15,
    a6 = x16,
    a7 = x17,
    s2 = x18,
    s3 = x19,
    s4 = x20,
    s5 = x21,
    s6 = x22,
    s7 = x23,
    s8 = x24,
    s9 = x25,
    s10 = x26,
    s11 = x27,
    t3 = x28,
    t4 = x29,
    t5 = x30,
    t6 = x31
};

Public Functions Documentation

function RegFile [1/2]

rv64::RegFile::RegFile () 

function RegFile [2/2]

rv64::RegFile::RegFile (
    const RegFile & other
) 

function get_regs

std::array< int64_t, 32 > rv64::RegFile::get_regs () 

function operator[]

int64_t & rv64::RegFile::operator[] (
    const uint64_t idx
) 

function read

int64_t rv64::RegFile::read (
    uint64_t index
) 

function shamt

uint64_t rv64::RegFile::shamt (
    uint64_t index
) 

function shamt_w

uint64_t rv64::RegFile::shamt_w (
    uint64_t index
) 

function show

void rv64::RegFile::show () 

function write

void rv64::RegFile::write (
    uint64_t index,
    int64_t value
) 


The documentation for this class was generated from the following file projects/casvp/src/bindings/cp/rv64/Regfile.h