Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Docker Container for Verification #72

Open
shahzaibk23 opened this issue Oct 20, 2023 · 3 comments
Open

Create Docker Container for Verification #72

shahzaibk23 opened this issue Oct 20, 2023 · 3 comments
Assignees

Comments

@shahzaibk23
Copy link
Member

To Create a Docker Image and Container for Verification.

Image should have:

  • RISC-V Sail ISS
  • Spike
  • RV GCC
  • RISCOF
@latifbhatti
Copy link
Collaborator

latifbhatti commented Oct 30, 2023

I have completed docker image. firstly install docker by this command
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

i have install the gcc tool chain and spike, Now pull the docker image from docker hub.
latif040/rvv_gcc_tool_chain:1.0
then check docker image by this command
docker images
and finally run this command
sudo docker run --rm -it latif040/rvv_gcc_tool_chain:1.0

now give the assembly file to docker image. firstly save the file in same directory(home/app) touch file name.s open the file in editor vim f1.s then to generate object file
riscv32-unknown-elf-gcc -c -march=rv32imv -o f1.o f1.s and finally to get machine code riscv32-unknown-elf-objdump -d test.o | awk '{print $2}' | grep -E '^[0-9a-f]+$'

@hadirkhan10
Copy link
Member

@shahzaibk23 why is this issue still open? Any pending changes left?

@shahzaibk23
Copy link
Member Author

Yes, The Docker image that @latifbhatti has created contains only RISC-V GCC and Spike ISS.

RISC-V SAIL ISS and RISCOF Framework are still under development by @SyedHassanUlHaq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants