RISC-V Assembly Program Generation
ConceptRISC-V assembly program generation in RISCV-DV produces bare-metal RISC-V assembly programs, or in some modes executable memory-loadable dumps, for RISC-V processor and model verification. The flow is configurable through randomized generator configuration and command-line parameters, constructs main and optional sub-program instruction streams, inserts directed streams for sequenced scenarios, emits program sections such as initialization, data, stack, page-table, and trap-handling code, and converts randomized instruction streams into assembly text.
WIKI
Overview
RISC-V assembly program generation, as described for RISCV-DV, is the process of producing a complete bare-metal RISC-V assembly language test program for processor verification. The generated program can be compiled and executed on a RISC-V processor core or model. RISCV-DV can also generate an executable dump that may be loaded directly into memory for simulation or emulation; in the SystemVerilog version, this dump is represented as ASCII text because SystemVerilog does not provide native binary-data processing support. [1]
In the RISCV-DV implementation, the riscv_asm_program_gen.sv class is the central SystemVerilog/UVM component responsible for generating the full assembly program. The generated ASM program includes sections such as initialization, instruction, data, stack, page table, interrupt handling, and exception handling, with those sections produced by functions in riscv_asm_program_gen. [2]
NEIGHBORHOOD
No graph connections found for this entity yet. It may appear in future ingestion runs.
explore full graph →