Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

riscvOVPsim/examples/README.md

In this directory are several examples showing the use of the riscvOVPsim platform.

Application ELF Files

The examples include cross-compiled C applications as elf files and scripts to load onto the processor in the riscvOVPsim platform and execute.

The source of the applications are included and it is expected that you have your own cross-compiler toolchain installed to re-compile.

Debugging Applications

If you want to see an example of debugging an application using GDB, then look at the dhrystone example.

Signature Dump

If you want to see an example of the riscv compatible signature dumper, then look at the fibonacci example.

Vector Extension

If you want to see an example of the riscv vector extension being used, then look at the vector example.

Bit Manipulation Extension

If you want to see an example of the riscv bit manipulation extension being used, then look at the bitmanip example.

Notes

You must ensure that the binary executable you try and execute is appropriate for your host computer.
For example, if you try and run the Linux64 executable on a Linux32 host you get an error such as:

bin/Linux64/riscvOVPsim.exe: cannot execute binary file