Skip to content
STIMSMITH

General Purpose Register Initialization

Concept

General purpose register initialization is a step in riscv-dv assembly program generation where the riscv_asm_program_gen flow calls init_gpr() to initialize RISC-V general-purpose registers with random values before directed and random instruction streams are generated.

First seen 5/26/2026
Last seen 5/28/2026
Evidence 1 chunks
Wiki v1

WIKI

Overview

General purpose register initialization refers to the init_gpr() step in the riscv_asm_program_gen assembly-generation flow. In the described riscv-dv flow, gen_program() generates the sections of a complete RISC-V assembly program and, after generating the program header, calls init_gpr() to initialize general purpose registers with random values. [General purpose register initialization in gen_program]

Role in riscv-dv program generation

READ FULL ARTICLE →

NEIGHBORHOOD

No graph connections found for this entity yet. It may appear in future ingestion runs.

explore full graph →

RELATIONSHIPS

1 connections
init_gpr ← implements 100% 1e
init_gpr implements the functionality to initialize general purpose registers with random values.

CITATIONS

6 sources
6 citations — click to expand
[1] General purpose register initialization in gen_program RISC-V source class riscv_asm_program_gen, the brain behind ...
[2] riscv_asm_program_gen generates assembly sections RISC-V source class riscv_asm_program_gen, the brain behind ...
[4] Instruction generation uses GPR operands RISC-V source class riscv_asm_program_gen, the brain behind ...
[5] Configuration before program generation RISC-V source class riscv_asm_program_gen, the brain behind ...