to generate verilog file, use make verilog. The output file is GPGPU_top.v . Notice that if you install ‘mill’ with ‘curl’, use ./mill to replace mill in Makefile commands.
to run tests, use make tests. Output waveform file is at test_run_dir
Notice that current codes are not stable and there are conflicts between existing codes and testcase gaussiangemm. We are preparing new testcase format to integrate with software toolchain and please wait for our new version.
Acknowledgement
We refer to some open-source design when developing Ventus GPGPU.
Ventus(乘影) GPGPU
GPGPU processor supporting RISCV-V extension, developed with Chisel HDL.
Copyright 2021-2023 by International Innovation Center of Tsinghua University, Shanghai
We are calling for contributors. If you are interested in Ventus GPGPU, please contact yang-zx21@mails.tsinghua.edu.cn
“乘影”在RVV编译器工具链、验证环境开发和硬件设计方面还有很多不足,如果您有意愿参与到“乘影”的开发中,欢迎在github上pull request,也欢迎联系 yang-zx21@mails.tsinghua.edu.cn
乘影2.0架构文档在这里,添加了对OpenCL支持所需的改动。如果您在软硬件方面有任何建议,欢迎提issue或邮件联系。
Architecture
The micro-architecture overview of Ventus(乘影) is shown below.
ISA and micro-architecture docs is here. Chinese docs is here.
OpenCL C compiler based on LLVM is developed by Terapines(兆松科技).
Use the script in ventus-llvm to configure the complete software toolchain, including isa-simulator, pocl and driver.
Quick Start
从零开始的配置教程(中文,从WSL和IDEA安装讲起)
The tutorial of Chisel development environment configuration comes from chipsalliance/playground: chipyard in mill :P
pacman -Syu --noconfirm make parallel wget cmake ninja mill dtc verilator git llvm clang lld protobuf antlr4 numactl
nix-shell
IDE support
make bsp # generate IDE bsp
to generate verilog file, use
make verilog
. The output file isGPGPU_top.v
. Notice that if you install ‘mill’ with ‘curl’, use./mill
to replacemill
in Makefile commands.to run tests, use
make tests
. Output waveform file is attest_run_dir
Acknowledgement
We refer to some open-source design when developing Ventus GPGPU.