CTSRD-CHERI / SIMTight

Synthesisable SIMT-style RISC-V GPGPU
27 stars 8 forks source link

Add cheri tools #26

Closed jianyicheng closed 1 year ago

jianyicheng commented 1 year ago
mn416 commented 1 year ago

Thanks @JianyiCheng, looks promising. Will give it a try. What do you think about removing the submodules and instead doing several "git clone" in the `build-cheri.sh" script? The trouble with the submodules is that cloning the repo becomes very expensive even when you don't want to enable CHERI.

jianyicheng commented 1 year ago

OK. Will move them to the bash script.

mn416 commented 1 year ago

Also wondering if we can use cheribuild's llvm target (rather than sdk-riscv64-purecap) to avoid building qemu, cheribsd, and gdb.

jianyicheng commented 1 year ago

Also wondering if we can use cheribuild's llvm target (rather than sdk-riscv64-purecap) to avoid building qemu, cheribsd, and gdb.

It might be possible, but we may need to change the makefile as well - last time I tried the make command and it failed... Shall we discuss the future road map of SIMTight to see if you will need CPU/OS in future works?

mn416 commented 1 year ago

Looks very useful. Before merging, I'd like to see:

jianyicheng commented 1 year ago

Done. Do you know how to make cheribuild with LLVM only - I am not sure how to disable the others

mn416 commented 1 year ago

Done. Do you know how to make cheribuild with LLVM only - I am not sure how to disable the others

Is it not just ./cheribuild.py llvm?

jianyicheng commented 1 year ago

Oh sorry. I did not find it in the help info... It has now been updated.