Chipyard:加州大學柏克萊分校的開源框架,有望讓RISC-V晶片設計普及化

GitHub April 2026
⭐ 2230
Source: GitHubArchive: April 2026
加州大學柏克萊分校的Chipyard是一個開源、靈活的框架,用於生成客製化的RISC-V系統單晶片(SoC)設計。它利用Chisel硬體建構語言,提供前所未有的模組化與可配置性,能從有序核心到複雜加速器實現快速原型開發。
The article body is currently shown in English by default. You can generate the full version in this language on demand.

Chipyard, developed at UC Berkeley's ASPIRE Lab, represents a paradigm shift in how custom silicon is designed. Unlike traditional, monolithic hardware design flows that are rigid and time-consuming, Chipyard provides a modular, generator-based approach built on the Chisel hardware construction language. It allows designers to compose a complete SoC from a library of pre-verified components—including in-order cores like Rocket, out-of-order cores like BOOM, and a variety of accelerators (e.g., for machine learning, cryptography, or DSP). The framework automatically generates the necessary RTL, test harnesses, and software stacks, dramatically reducing the time from concept to tape-out. With over 2,230 stars on GitHub and a vibrant academic and industry community, Chipyard is lowering the barrier to entry for RISC-V system-level design. Its significance lies not just in its technical capabilities but in its potential to democratize chip design, enabling startups, academic groups, and even hobbyists to create custom silicon for specialized workloads—a capability previously reserved for large semiconductor companies with massive budgets.

Technical Deep Dive

Chipyard's core innovation is its use of a generator-based design methodology built on Chisel. Chisel (Constructing Hardware in a Scala Embedded Language) is a domain-specific language embedded in Scala that allows hardware designers to write parameterized, reusable hardware generators. Instead of writing millions of lines of Verilog, a designer writes a high-level Scala program that *generates* the Verilog (or FIRRTL) for the specific configuration.

Architecture: Chipyard is not a single core but a meta-framework. It integrates several key Berkeley projects:

- Rocket Chip: The foundational SoC generator, providing the TileLink bus protocol, cache coherence protocols, and a library of components.
- Rocket Core: A 5-stage, in-order, single-issue RISC-V core, highly optimized for area and power efficiency.
- BOOM (Berkeley Out-of-Order Machine): A superscalar, out-of-order RISC-V core that targets high performance, comparable to ARM Cortex-A series cores.
- Ara: A vector processing unit that implements the RISC-V V (vector) extension, providing SIMD-like performance for data-parallel workloads.
- Accelerators: A growing library of custom accelerators, including Gemmini (spatial array for ML), NVDLA (NVIDIA Deep Learning Accelerator wrapper), and various cryptographic accelerators.

Configuration System: The framework uses a sophisticated configuration system built on Scala's trait system. Designers create a configuration object that mixes in traits for each component (e.g., `WithRocketCores`, `WithBOOMCore`, `WithGemminiAccelerator`). This system automatically resolves dependencies and generates the correct RTL. For example:

```scala
class MySoCConfig extends Config(
new WithNBigCores(4) ++ // 4 BOOM cores
new WithRocketCores(2) ++ // 2 Rocket cores
new WithGemminiAccelerator ++ // ML accelerator
new WithUART ++ // Serial port
new WithDDRMemory // DDR memory controller
)
```

Open-Source Ecosystem: The entire Chipyard stack is open-source on GitHub (repo: `ucb-bar/chipyard`). The project is actively maintained with over 2,230 stars and a growing community. It includes a full software development kit (SDK) with Linux kernel support, a custom build system (Chipyard's `make`-based flow), and simulation infrastructure (Verilator, VCS, FireSim).

Benchmark Performance: While specific performance numbers depend heavily on the configuration, the following table shows representative data from published research and community benchmarks:

| Core Configuration | CoreMark/MHz | Dhrystone DMIPS/MHz | Area (28nm, mm²) | Power (28nm, mW/MHz) |
|---|---|---|---|---|
| Rocket (single-core) | 2.57 | 1.72 | 0.04 | 0.15 |
| BOOM (single-core) | 5.12 | 3.41 | 0.28 | 0.85 |
| BOOM (4-core) | 4.89 (per core) | 3.25 (per core) | 1.15 | 3.40 |
| Rocket + Gemmini | 2.55 (CPU) | 1.70 (CPU) | 0.65 (total) | 1.20 (total) |

Data Takeaway: BOOM delivers roughly 2x the performance of Rocket per clock cycle, but at a 7x area and 5.7x power cost. This trade-off is exactly what Chipyard's modularity enables: designers can mix in-order and out-of-order cores based on workload requirements, rather than being locked into a single microarchitecture.

Key Players & Case Studies

Chipyard is primarily a UC Berkeley project, led by the ASPIRE Lab under Professor Krste Asanović (RISC-V co-inventor) and Professor Jonathan Bachrach. The project's development is driven by a core team of PhD students and researchers, including:

- Alon Amid: A key architect of the Chipyard framework and the FireSim simulation platform.
- Abraham Gonzalez: Contributed heavily to the BOOM core and the integration of accelerators.
- Jerry Zhao: Led the development of the Gemmini accelerator generator.

Industry Adoption: While Chipyard is primarily academic, several companies are actively using it:

- SiFive: The leading commercial RISC-V IP company, founded by the original Berkeley RISC-V team, uses Chisel and Chipyard-derived technology for its core IP. SiFive's Intelligence X280 and Performance P670 cores are built on the same generator methodology.
- Esperanto Technologies: Uses a Chisel-based flow for its massive RISC-V AI accelerator chips, which contain thousands of custom cores.
- Ventana Micro Systems: Develops high-performance RISC-V server-class chips using generator-based design.
- Google: Has invested in the OpenTitan project (open-source silicon root of trust), which uses Chisel for its hardware design.

Competing Frameworks: Chipyard is not the only open-source SoC design framework. The following table compares it with key alternatives:

| Framework | Language | Core Support | Accelerator Support | Maturity | GitHub Stars |
|---|---|---|---|---|---|
| Chipyard | Chisel (Scala) | Rocket, BOOM, CVA6 | Gemmini, NVDLA, custom | High | ~2,230 |
| OpenPiton | Verilog | Ariane (CVA6), OpenSPARC | Limited | Medium | ~500 |
| PULP Platform | SystemVerilog | RISCY, CV32E40P | Hardware accelerators | High | ~1,000 |
| LiteX | Migen (Python) | VexRiscv, Rocket | Limited | Medium | ~2,500 |

Data Takeaway: Chipyard's unique advantage is its tight integration with high-performance cores (BOOM) and its generator-based approach, which allows for far more complex configurations than competitors. However, LiteX has a larger community due to its Python-based flow, which is more accessible to software developers.

Industry Impact & Market Dynamics

Chipyard's impact extends far beyond academia. It is a key enabler of the democratization of chip design, a trend that is reshaping the semiconductor industry.

Market Context: The global semiconductor market is projected to reach $1 trillion by 2030. However, the cost of designing a custom chip at advanced nodes (7nm and below) has skyrocketed to over $50 million for a full-custom design. This has created a barrier that only the largest companies (Apple, NVIDIA, AMD, Intel) can afford.

Chipyard's Role: By providing a free, open-source framework that can generate complete SoCs, Chipyard dramatically reduces the entry cost. A startup can now design a custom RISC-V chip for a specific AI workload for a fraction of the traditional cost—perhaps $1-5 million for a 28nm or 22nm design. This is enabling a new wave of domain-specific architecture startups.

Funding and Investment: The RISC-V ecosystem has attracted significant investment:

| Company | Total Funding | Key Investors | Focus |
|---|---|---|---|
| SiFive | $350M+ | Intel, Qualcomm, SK Hynix | RISC-V IP cores |
| Ventana Micro | $100M+ | Marvell, Samsung | Server-class RISC-V |
| Esperanto | $100M+ | Samsung, Google | AI accelerators |
| Tenstorrent | $1B+ | Samsung, LG | AI chips (uses RISC-V) |

Data Takeaway: The RISC-V ecosystem has raised over $2 billion in venture funding. Chipyard, as the leading open-source design framework, is a critical piece of infrastructure that makes these companies' business models viable.

Adoption Curve: We predict that by 2028, over 50% of new RISC-V chip designs will use some form of generator-based methodology, with Chipyard being the dominant open-source choice. This is analogous to how high-level synthesis (HLS) tools like Xilinx Vitis are transforming FPGA design.

Risks, Limitations & Open Questions

Despite its promise, Chipyard faces significant challenges:

1. Verification Complexity: Chipyard generates RTL, but verifying that the generated RTL is correct for all possible configurations is a monumental task. The configuration space is combinatorial—there are millions of possible SoC configurations. Traditional verification methodologies (UVM, formal verification) struggle to keep up. The Chipyard team relies heavily on simulation (FireSim) and FPGA prototyping, but this is not a substitute for formal verification for safety-critical applications.

2. Toolchain Maturity: While Chisel is powerful, its toolchain is less mature than Verilog/VHDL. The FIRRTL intermediate representation has improved, but there are still issues with synthesis tool support (Synopsys Design Compiler, Cadence Genus) and timing closure for advanced nodes (7nm and below). Many commercial flows still require converting Chisel-generated Verilog, which can introduce bugs.

3. Performance Gap: While BOOM is competitive with ARM Cortex-A75, it still lags behind high-end x86 cores (Intel Core i9, AMD Ryzen) and Apple's M-series cores in single-threaded performance. For workloads that rely on single-thread performance, RISC-V (and Chipyard) are not yet viable replacements.

4. Ecosystem Fragmentation: The RISC-V ecosystem is highly fragmented. There are multiple instruction set extensions (V, P, Zbc, etc.) and multiple core implementations. Chipyard tries to unify this, but the fragmentation can confuse newcomers and increase integration risk.

5. Security Concerns: As an open-source framework, Chipyard's generated designs could be audited for backdoors or vulnerabilities. However, the complexity of the generated RTL makes it difficult to guarantee security. The recent discovery of the "GhostWrite" vulnerability in the T-Head C910 RISC-V core highlights the risks of open-source hardware.

AINews Verdict & Predictions

Chipyard is one of the most important open-source hardware projects of the decade. It is not just a tool; it is a philosophical statement that hardware design should be as agile and modular as software design. The team at UC Berkeley has successfully demonstrated that generator-based design can produce production-quality RTL for complex SoCs.

Our Predictions:

1. Chipyard will become the "Linux kernel" of RISC-V SoC design. Within 5 years, it will be the default starting point for any new RISC-V chip project, much like Linux is the default kernel for embedded systems. This will be driven by the growing community and the increasing availability of pre-verified generator blocks.

2. The biggest impact will be in AI accelerators. The Gemmini generator, combined with Chipyard's ability to integrate custom accelerators, will enable a wave of domain-specific AI chips for edge and IoT applications. We expect to see at least 10 startups using Chipyard for AI chip design by 2027.

3. Verification will be the bottleneck. The Chipyard team will need to invest heavily in formal verification tools and methodologies, possibly integrating with open-source tools like SymbiYosys or commercial tools from Cadence/Synopsys. Without this, Chipyard will remain limited to academic and low-risk commercial designs.

4. The Chisel ecosystem will mature. We predict that by 2028, Chisel will have first-class support from major EDA vendors, making it a viable alternative to SystemVerilog for production designs. This will be driven by customer demand from RISC-V startups.

What to Watch:

- The next major Chipyard release: Look for support for chiplets (multi-die integration) and improved support for advanced node synthesis.
- FireSim enhancements: The FPGA-accelerated simulation platform is critical for verification; improvements here will directly impact Chipyard's adoption.
- Commercial support: Watch for companies like SiFive or Esperanto to offer commercial support and customization services for Chipyard-based designs.

Chipyard is not a silver bullet—it will not replace full-custom design for high-volume, high-performance chips like Apple's A-series. But for the vast majority of chip designs—those that require specialization, agility, and low cost—Chipyard is the future.

More from GitHub

Astral:開源工具終於讓 GitHub 星標變得真正有用GitHub Stars have always been a one-dimensional bookmark: you click the star, and the repository disappears into a flat,GitHub Stars Manager:終於修復 GitHub 書籤功能的工具GitHub's native starred repositories feature is, by any honest measure, a glorified bookmark list. You can star a repo, Stability AI 的生成式模型倉庫:重塑 AI 影像的開源引擎Stability AI's generative-models repository is more than a code dump; it is the central nervous system of the open-sourcOpen source hub1142 indexed articles from GitHub

Archive

April 20262663 published articles

Further Reading

CIRCT:LLVM 的雄心壯志,統一硬體編譯並重塑晶片設計CIRCT(電路IR編譯器與工具)正利用LLVM成熟的編譯器基礎架構與MLIR,打造一個統一的開源硬體編譯框架。本文分析其潛力,探討它如何顛覆專有的EDA領域,並加速敏捷硬體開發。Astral:開源工具終於讓 GitHub 星標變得真正有用Astral 是一款開源網頁應用,能將 GitHub 混亂的星標列表轉換為井然有序、可標籤、可搜尋的資料庫。該工具在其 GitHub 倉庫中已獲得 3,519 顆星,解決了 GitHub 多年來忽視的痛點。GitHub Stars Manager:終於修復 GitHub 書籤功能的工具一款名為 githubstarsmanager 的新開源工具正迅速獲得關注,它由 amintacccp 開發,解決了開發者長期以來的痛點:管理 GitHub 星標倉庫。該前端應用程式提供直觀的分類、搜尋和批次操作功能,已獲得超過 2,000Stability AI 的生成式模型倉庫:重塑 AI 影像的開源引擎Stability AI 在 GitHub 上的生成式模型倉庫已成為文字轉圖像的實際開源標準。該倉庫擁有超過 27,000 顆星,收納了從 SDXL 到最新 SD3 整個 Stable Diffusion 系列的權重與程式碼,從根本上降低了

常见问题

GitHub 热点“Chipyard: UC Berkeley's Open-Source Framework That Could Democratize RISC-V Chip Design”主要讲了什么?

Chipyard, developed at UC Berkeley's ASPIRE Lab, represents a paradigm shift in how custom silicon is designed. Unlike traditional, monolithic hardware design flows that are rigid…

这个 GitHub 项目在“Chipyard vs OpenPiton vs LiteX for RISC-V SoC design”上为什么会引发关注?

Chipyard's core innovation is its use of a generator-based design methodology built on Chisel. Chisel (Constructing Hardware in a Scala Embedded Language) is a domain-specific language embedded in Scala that allows hardw…

从“How to use Chipyard with Gemmini for AI accelerators”看,这个 GitHub 项目的热度表现如何?

当前相关 GitHub 项目总星标约为 2230,近一日增长约为 0,这说明它在开源社区具有较强讨论度和扩散能力。