登录 注册
开发者工具效率与办公工具网络与基础设施 acceleratorasicdnn
1,568
Stars
308
Forks
31
Watchers
128
Open Issues
NOASSERTION
许可证
Scala
语言
2018-10-31
创建时间
2026-11-12
最近更新

项目能做什么

Gemmini 是伯克利基于 Chisel/Scala 开发的空间阵列生成器,归属于 Chipyard 生态。它解决了全系统深度学习(DNN)硬件与软件协同设计的评估难题。核心功能是快速生成 DNN 专用加速器,并提供配套软硬件全栈仿真与评估环境,支持裸机及 Linux 测试。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<p align="center">
  <img width="1000" src="./img/full-logo.svg">
</p>

Gemmini
====================================

The Gemmini project is developing a full-system, full-stack DNN hardware exploration and evaluation platform.
Gemmini enables architects to make useful insights into how different components of the system and software stack (outside of just the accelerator itself) interact to affect overall DNN performance.

Gemmini is part of the [Chipyard](https://github.com/ucb-bar/chipyard) ecosystem, and was developed using the [Chisel](https://www.chisel-lang.org/) hardware description language.

This document is intended to provide information for beginners wanting to try out Gemmini, as well as more advanced in-depth information for those who might want to start hacking on Gemmini's source code.

![Gemmini's high-level architecture](./img/gemmini-system.png)

Quick Start
==========

We provide here a quick guide to installing Gemmini's dependencies (Chipyard and Spike), building Gemmini hardware and software, and then running that software on our hardware simulators.

Dependencies
---------

Before beginning, install the [Chipyard dependencies](https://chipyard.readthedocs.io/en/latest/Chipyard-Basics/Initial-Repo-Setup.html#default-requirements-installation).

Installing Chipyard and Spike
-----------------------------

Run these steps to install Chipyard and Spike (make sure to checkout the correct Chipyard and Spike commits as shown below):

```shell
git clone https://github.com/ucb-bar/chipyard.git
cd chipyard
./build-setup.sh

source env.sh

cd generators/gemmini
make -C software/libgemmini install
```


Building Gemmini Software
-------------------------

Run the steps below to compile Gemmini programs, including large DNN models like ResNet50, and small matrix-multiplication tests.

```shell
cd chipyard/generators/gemmini/software/gemmini-rocc-tests
./build.sh
```

Afterwards, you'll find RISC-V binaries in `build/`, for "baremetal" environments, Linux environments, and "proxy-kernel" environments.

Linux binaries are meant to be executed on SoCs that run Linux.
These binaries are dynamically linked, and support all syscalls.
Typically, our users run them on [FireSim](https://fires.im/) simulators.

Baremetal binaries are meant to be run in an environment without any operating system available.
They lack support for most syscalls, and do not support virtual memory either.
Our users typically run them on cycle-accurate simulators like Verilator or VCS.

"Proxy-kernel" binaries are meant to be run on a stripped down version of Linux, called the ["RISC-V Proxy Kernel."](https://github.com/riscv-software-src/riscv-pk)
These binaries support virtual memory, and are typically run on cycle-accurate simulators like Verilator.

**Warning:** Proxy-kernel binaries have limited heap space, so some Gemmini programs that work correctly in baremetal or Linux environments may fail on the proxy-kernel.

Building Gemmini Hardware and Cycle-Accurate S
阅读完整原文

项目深度分析 AI 生成

Gemmini定制化设计与IP集成咨询服务

产品构想为采用RISC-V的ASIC/SoC初创企业提供基于Gemmini脉动阵列的定制修改(如支持混合精度、特定量化机制)、Tape-out前验证及集成咨询服务。
核心功能定制化Chisel生成器配置、总线接口(TileLink/AXI)桥接适配、PPA评估辅助、特定工艺综合与时序收敛咨询
目标用户RISC-V芯片初创公司、物联网AI芯片研发团队
难度/周期高 · 3-6个月 · 成本:高(需要深厚EDA工具链、Chisel/Scala开发经验及流片背景)
收费模式项目制咨询费、阶段交付里程碑费用
竞争风险仓库License未明确声明(NOASSERTION),存在商业授权法律风险;客户群体小且决策周期极长。
依据 已验证事实

云端Gemmini/FireSim架构仿真与性能评测SaaS平台

产品构想将复杂的Chipyard/FireSim/Gemmini环境容器化与云端化,提供开箱即用的周期精确级DNN模型性能仿真、分析图表和能效评估平台。
核心功能预置Chipyard环境、Web端配置脉动阵列参数、一键运行ResNet/Transformer等模型仿真、性能瓶颈可视化与Roofline模型分析
目标用户高校科研实验室、AI硬件算法与架构研究人员
难度/周期中等 · 2-4个月 · 成本:中(需要AWS F1 FPGA实例或高性能服务器资源支撑)
收费模式按仿真计算机时订阅收费、学术/企业月度订阅制
竞争风险芯片仿真对计算资源消耗大导致算力成本过高;纯软件仿真(Verilator)速度较慢影响体验。
依据 数据支持的判断

面向Gemmini的算子编译与DNN模型部署工具链增强包

产品构想针对最新主流大模型或轻量级CNN,扩展Gemmini软件栈(如优化TVM/ONNX后端集成),提供自动化模型量化到部署的高性能商业软件开发包。
核心功能INT8/INT4非对称量化工具、扩展算子库(如LayerNorm、Softmax加速软硬件协同)、TVM/MLIR后端优化插件
目标用户在Gemmini架构上部署AI应用的算法工程师、学术界验证新型网络结构的研究人员
难度/周期高 · 3-5个月 · 成本:中(主要为编译器与DNN底层优化开发人力)
收费模式闭源商业软件SDK许可费、企业技术支持订阅
竞争风险软件层依赖庞大的Chipyard/Spike生态,上下游版本变动容易导致维护成本剧增。
依据 AI推测
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建于 2018-10-31,近 30 天仍在推送,发布过 8 个 Release
社区活跃Star 1,568 / Fork 308 / Issue 128(数据支持,可自行核实)
许可证NOASSERTION
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。