Skip to content

This work space consist of examples and test cases for understanding riscv instruction set architecture, simulation support available in spike and qemu

Notifications You must be signed in to change notification settings

pratikkedar/riscv-isa-workspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rvv-examples

Example of RISC-V Vector programming

Organization

Building the docker image

This project relies on Docker to reliably build a working RISC-V build and run environment. You can build the image with the following command:

docker build  -t riscv:riscv-toolchain -f riscv-toolchain.Dockerfile . 

The built image will be stored with the tag riscv:riscv-toolchain

Running example in a docker container

The easiest way to build and run the example is to run them in a docker container started on the image previously built. By running the following command while at the top of the ./rvv-examples directory you can bind the full directory content to the directory /home/app within the container. Any modification made within the container will be visible outside of it (and the opposite is also true).

docker run  -ti --mount type=bind,source="$(pwd)"/,target=/home/app/ riscv:riscv-toolchain

About

This work space consist of examples and test cases for understanding riscv instruction set architecture, simulation support available in spike and qemu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •