# 全局异步、局部同步

全局异步、局部同步（GALS）是一种数字系统——尤其是片上系统——的设计风格。在这种风格中，每个功能模块运行在自己的本地时钟上，而模块之间的通信采用异步握手，而非单一的全局时钟。局部同步的部分是那些时钟驱动模块的集合；全局异步的部分则是连接它们的网络。<sup>[1](https://edoc.hu-berlin.de/server/api/core/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/content)</sup><sup> • </sup><sup>[2](https://ptolemy.berkeley.edu/projects/embedded/research/hsc/polis_gals.html)</sup> 这一概念最早由夏皮罗于1984年提出。<sup>[1](https://edoc.hu-berlin.de/server/api/core/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/content)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 每个模块由本地时钟定时；模块之间的互连采用异步握手电路，将计算与通信解耦<sup>[1](https://edoc.hu-berlin.de/server/api/core/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/content)</sup> |
| 起源 | 概念由夏皮罗于1984年提出；可暂停时钟原型可追溯至斯图基与考克斯，1979年<sup>[1](https://edoc.hu-berlin.de/server/api/core/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/content)</sup> |
| 时钟关系 | 同步（比率1）、准同步（1，固定相位）、类同步（≈1）、比率同步（M/N）、异步（任意）<sup>[1](https://edoc.hu-berlin.de/server/api/core/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/content)</sup> |
| 主要接口策略 | 可暂停时钟、基于FIFO的方法、边界同步<sup>[3](https://citeseerx.ist.psu.edu/document?doi=7d6126d0dc3a693c5c43235a59ab002903d1ce69&repid=rep1&type=pdf)</sup> |
| 核心隐患 | 跨时钟域可能违反建立与保持时间，产生亚稳态输出<sup>[4](https://www.researchgate.net/publication/3251506_A_Survey_and_Taxonomy_of_GALS_Design_Styles)</sup> |
| 实测开销 | FPGA上的MPEG-4编码器SoC：相比同步架构，GALS的面积与性能开销仅为1%<sup>[5](https://trepo.tuni.fi/bitstream/handle/10024/114283/kulmala.pdf?isAllowed=y&sequence=1)</sup> |
| 功耗效果 | 在不同实验中，相比全局同步设计，时钟功耗分别报告降低70%和30%<sup>[6](https://trepo.tuni.fi/bitstream/handle/10024/114283/kulmala.pdf)</sup> |

## 为何存在这种风格

同步设计——即用一个全局时钟为芯片上每个寄存器定时——数十年来主导着VLSI产业，因为它简化了逻辑设计、测试与工具链。随着时钟频率和芯片面积的增长，在整块芯片上分布低偏斜时钟树变得耗费硬件资源，工艺偏差与电源完整性要求压缩了时序裕量，而集成各自期望不同时钟频率的预开发IP核也变得困难。<sup>[1](https://edoc.hu-berlin.de/server/api/core/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/content)</sup> 同步系统整体上也可能更慢，因为时钟必须以最慢模块的速率运行。<sup>[2](https://ptolemy.berkeley.edu/projects/embedded/research/hsc/polis_gals.html)</sup>

全异步设计彻底去除时钟，通过相邻逻辑之间的握手来调度工作，具有可扩展性、可靠性和模块化优势，但在工业界极少应用。其行为建模与综合从根本上不同于同步流程，商业质量的CAD工具被认为尚不成熟，标准自动测试设备对异步芯片的处理也很差。<sup>[1](https://edoc.hu-berlin.de/server/api/core/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/content)</sup>

GALS填补了两种范式之间的空白。系统的大部分仍是采用成熟流程设计的传统同步电路，[异步设计](https://www.edgepedia.org/zh/asynchronous-design)仅限于接口逻辑的一小部分。这样既允许同步设计与测试技术的迁移和复用，又允许每个模块拥有自己的时钟频率、动态电压频率调节，并去除全局时钟树。<sup>[1](https://edoc.hu-berlin.de/server/api/core/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/content)</sup><sup> • </sup><sup>[4](https://www.researchgate.net/publication/3251506_A_Survey_and_Taxonomy_of_GALS_Design_Styles)</sup> 国际半导体技术路线图将GALS系统列为解决时钟分布问题的备选方案。<sup>[7](https://www.sciencedirect.com/science/article/abs/pii/S0026269209000391)</sup>

## 域间时钟关系

GALS设计按发送端（TX）与接收端（RX）时钟之间的频率关系分类：<sup>[1](https://edoc.hu-berlin.de/server/api/core/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/content)</sup>

- **准同步**：频率相同，相对相位稳定或轻微漂移；用于层次化时钟分布，其中偏斜的本地网络由全局源时钟触发。
- **类同步**：频率几乎相同但有微小失配，因此相位偏差随时间累积；[千兆以太网](https://www.edgepedia.org/zh/gigabit-ethernet)即为一例。
- **比率同步**：频率不同但呈有理数关系，如1:3或5:2，给出周期性、可预测的相位差；典型做法是对参考时钟进行整数分频或倍频。
- **异步**：本地时钟不相关，不假定任何时序关系。

相位行为遵循频率比：同步可忽略漂移，准同步恒定偏移，类同步漂移，比率同步周期性变化，全异步时钟则变化不定。<sup>[1](https://edoc.hu-berlin.de/server/api/core/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/content)</sup>

## 接口策略与亚稳态

跨时钟域是GALS设计的核心问题。当触发器的数据来自另一个时序域时，建立与保持要求可能被违反，产生最终值不可预测的[亚稳态](https://www.edgepedia.org/zh/metastability)输出。<sup>[4](https://www.researchgate.net/publication/3251506_A_Survey_and_Taxonomy_of_GALS_Design_Styles)</sup> 在异步系统中亚稳态无法防止，但恰当的设计可以使亚稳态持续到足以导致故障的概率小到可接受。<sup>[8](https://www.electronicsguide.net/foundations-and-theory/signal-integrity/reference-clock-architecture/multi-clock-domains/)</sup> 同步器和仲裁器——处理这些跨域信号的组件——会带来延迟，因为可靠性需要同步时间，而仲裁器还会增加亚稳态延迟。<sup>[9](https://www.sciencedirect.com/science/article/pii/S1571066109002527)</sup>

实现GALS接口的三种主要策略：<sup>[3](https://citeseerx.ist.psu.edu/document?doi=7d6126d0dc3a693c5c43235a59ab002903d1ce69&repid=rep1&type=pdf)</sup>

1. **双时钟FIFO**，大多数GALS系统的基础。发送方写入FIFO，接收方读取。FIFO同步器不干扰局部同步模块的运行，因此吞吐量高，但在宽数据总线情况下FIFO耗费硅面积，需要专用单元来生成空、满流控标志，且功耗高到在移动系统中该方法可能失效。<sup>[1](https://edoc.hu-berlin.de/server/api/core/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/content)</sup><sup> • </sup><sup>[3](https://citeseerx.ist.psu.edu/document?doi=7d6126d0dc3a693c5c43235a59ab002903d1ce69&repid=rep1&type=pdf)</sup>
2. **可暂停时钟**，一种经典的GALS风格，其首个原型可追溯至1979年的斯图基与考克斯。它不将数据令牌同步到固定时钟沿，而是在必要时拉伸或暂停本地时钟，以匹配输入数据的到达时间。它被描述为已知唯一能够在完全独立时钟之间实现无亚稳态同步的技术，并且能以很小的功耗和硅面积代价实现高数据吞吐量。<sup>[1](https://edoc.hu-berlin.de/server/api/core/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/content)</sup> 可暂停时钟包装器环绕每个同步域，时钟发生器通常使用环形振荡器，其反馈路径被门控，使得传输到达时时钟暂停。<sup>[10](https://www.electronicsguide.net/foundations-and-theory/digital-electronics/asynchronous-digital-design/asynchronous-design-styles/)</sup><sup> • </sup><sup>[11](https://edoc.hu-berlin.de/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/download)</sup>
3. **边界同步**，仅对进入同步核心的请求或应答线进行同步，在域边界接受亚稳态风险，并需要平均无故障时间分析以确保可接受的可靠性。<sup>[3](https://citeseerx.ist.psu.edu/document?doi=7d6126d0dc3a693c5c43235a59ab002903d1ce69&repid=rep1&type=pdf)</sup><sup> • </sup><sup>[10](https://www.electronicsguide.net/foundations-and-theory/digital-electronics/asynchronous-digital-design/asynchronous-design-styles/)</sup>

许多设计在每个同步模块周围使用异步包装器，将其同步接口转换为面向外部世界的异步、事件驱动接口。<sup>[12](https://stars.library.ucf.edu/etd/227/)</sup>

## 实践中的收益与代价

**功耗与噪声。** 每个模块以自己的最低速度定时可节省功耗，去除全局低偏斜时钟则消除了一大功耗来源。<sup>[4](https://www.researchgate.net/publication/3251506_A_Survey_and_Taxonomy_of_GALS_Design_Styles)</sup> 坦佩雷的一项比较中引用的实验报告称，相比全局同步设计，时钟功耗分别降低70%和30%。<sup>[6](https://trepo.tuni.fi/bitstream/handle/10024/114283/kulmala.pdf)</sup> 在一个GALS处理器加存储器的实现中，动态功耗从12.5 mW降至9.8 mW（降低21.6%），总功耗从13.7 mW降至11.1 mW（降低18.9%），代价是额外同步电路带来8%的面积开销。<sup>[13](https://cjamc.ci-stem.org/docs/2026/Jul-Dec-2026/CJAMC010201.html)</sup> 将设计划分为M个功耗均衡的类同步时钟域，理论上可将基频处电源电流的频谱峰值降低20·lg M dB，这种方法被用于衰减片上数字开关噪声。<sup>[1](https://edoc.hu-berlin.de/server/api/core/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/content)</sup>

**性能与面积。** 一个功能完整的FPGA上的MPEG-4视频编码器表明，GALS多处理器SoC相比同步多时钟域架构仅带来约1%的面积与性能开销，同时获得了逐模块时钟频率、动态频率与电压调节、去除时钟树以及IP可复用性。<sup>[5](https://trepo.tuni.fi/bitstream/handle/10024/114283/kulmala.pdf?isAllowed=y&sequence=1)</sup> 在65纳米工艺下，异步GALS互连可以像简单导线一样工作，在几纳秒内将数据送达接收模块，而基于总线或端到端的同步设计可能需要数个时钟周期和数十纳秒才能将数据跨芯片传输。<sup>[14](https://www.eetimes.com/taking-gals-to-65-nm-designs/)</sup>

**代价。** 与同步系统相比，GALS放弃了设计者和工具所假定的系统级时间概念：本地时钟任意漂移分离，离开本地时钟域的每次通信都需要同步。每个本地孤岛还需要自己的振荡器，这增加了元件并降低了可靠性；片上RC振荡器的频率随温度和电源电压变化达10%至30%。<sup>[15](https://onlinelibrary.wiley.com/doi/10.1155/2011/936712)</sup> 同步器延迟会降低核间通信链路的性能，只要避免亚稳态的技术增加了等待，就必须考虑延迟。<sup>[15](https://onlinelibrary.wiley.com/doi/10.1155/2011/936712)</sup><sup> • </sup><sup>[12](https://stars.library.ucf.edu/etd/227/)</sup> 实践者指出，当流水线能够隐藏异步协议的延迟时，GALS才有意义。<sup>[16](https://www.techdesignforums.com/blog/2013/10/30/real-intent-gals-asynchronous/)</sup>

## 采用与应用

尽管有诸多优势，GALS并未获得普遍接受，仍然是一种小众技术——这是苏黎世联邦理工学院集成系统实验室的一篇综述所指出的，该实验室一直是实用GALS实现领域的领先研究机构之一。相比其他自定时方法的主要优势在于，系统中只有一小部分、定义明确的部分包含自定时电路，因此大部分设计仍使用标准同步方法和流程。<sup>[17](https://iis-people.ee.ethz.ch/~kgf/acacia/acacia.html)</sup>

已记录的应用包括用于抵御侧信道攻击的密码加速器的GALS系统设计，该架构与已知对策相结合，提高了AES实现的安全性。<sup>[17](https://iis-people.ee.ethz.ch/~kgf/acacia/acacia.html)</sup> 在IHP，采用可暂停时钟GALS构建了两款与工业相关的测试芯片：[Lighthouse](https://www.edgepedia.org/zh/lighthouse)，一款带有GALS FFT协处理器的混合信号FMCW雷达传感器；以及Moonrake，一款OFDM基带发射机。<sup>[1](https://edoc.hu-berlin.de/server/api/core/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/content)</sup> GALS还在商用同步FPGA上进行了原型验证，包括在Spartan-3E器件上连接不同时钟域IP核的异步片上网络。<sup>[18](https://arxiv.org/abs/1203.4150)</sup> 由于跨时钟域容易产生亚稳态且功能缺陷可能漏检，针对GALS风格设计已开发出面向CDC的形式验证方法学。<sup>[19](https://arxiv.org/abs/2406.06533)</sup>

## References

1. [Xin Fan (2013). GALS Design Methodology Based on Pausible Clocking, dissertation, Humboldt-Universität zu Berlin](https://edoc.hu-berlin.de/server/api/core/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/content)
2. [Ellen Sentovich. A Short Note on POLIS and Timing Semantics, UC Berkeley Ptolemy project](https://ptolemy.berkeley.edu/projects/embedded/research/hsc/polis_gals.html)
3. [S. O. Bykov and S. G. Mosin. Comparing GALS Architectures and Communicational Protocols, Vladimir State University](https://citeseerx.ist.psu.edu/document?doi=7d6126d0dc3a693c5c43235a59ab002903d1ce69&repid=rep1&type=pdf)
4. [Paul Teehan, Mark Greenstreet, and Guy Lemieux (2007). A Survey and Taxonomy of GALS Design Styles, IEEE Design & Test of Computers 24(5):418-428](https://www.researchgate.net/publication/3251506_A_Survey_and_Taxonomy_of_GALS_Design_Styles)
5. [Ari Kulmala, Timo D. Hämäläinen, and Marko Hännikäinen. Comparison of GALS and Synchronous Architectures with MPEG-4 Video Encoder on Multiprocessor System-on-Chip FPGA, Tampere University of Technology](https://trepo.tuni.fi/bitstream/handle/10024/114283/kulmala.pdf?isAllowed=y&sequence=1)
6. [3. interconnection-based design](https://trepo.tuni.fi/bitstream/handle/10024/114283/kulmala.pdf)
7. [From synchronous to GALS: A new architecture for FPGAs, Microelectronics Journal (ScienceDirect)](https://www.sciencedirect.com/science/article/abs/pii/S0026269209000391)
8. [Multi-Clock Domains and Asynchronous Design Styles, Electronics Guide](https://www.electronicsguide.net/foundations-and-theory/signal-integrity/reference-clock-architecture/multi-clock-domains/)
9. [Synchronization and Arbitration in GALS, ScienceDirect](https://www.sciencedirect.com/science/article/pii/S1571066109002527)
10. [asynchronous design styles - electronics guide](https://www.electronicsguide.net/foundations-and-theory/digital-electronics/asynchronous-digital-design/asynchronous-design-styles/)
11. [Xin Fan. GALS Design Methodology Based on Pausible Clocking (full text download)](https://edoc.hu-berlin.de/bitstreams/68bb8419-6d27-499f-996c-056c8f779eae/download)
12. [Akarsh Ravi. Globally-Asynchronous, Locally-Synchronous Wrapper Configurations, University of Central Florida thesis](https://stars.library.ucf.edu/etd/227/)
13. [GALS versus conventional synchronous architecture comparison, CJAMC](https://cjamc.ci-stem.org/docs/2026/Jul-Dec-2026/CJAMC010201.html)
14. [Taking GALS to 65-nm designs, EE Times](https://www.eetimes.com/taking-gals-to-65-nm-designs/)
15. [Fuchs (2011). VLSI Implementation of a Distributed Algorithm for Fault-Tolerant Clock Generation, Journal of Electrical and Computer Engineering (Wiley)](https://onlinelibrary.wiley.com/doi/10.1155/2011/936712)
16. [The prospects for GALS: Real Intent's view, Tech Design Forum](https://www.techdesignforums.com/blog/2013/10/30/real-intent-gals-asynchronous/)
17. [GALS System Design: Side Channel Attack Secure Cryptographic Accelerators, ETH Zurich IIS (ACACIA project)](https://iis-people.ee.ethz.ch/~kgf/acacia/acacia.html)
18. [Designing a WISHBONE Protocol Network Adapter for an Asynchronous Network-on-Chip, arXiv:1203.4150](https://arxiv.org/abs/1203.4150)
19. [Pragmatic Formal Verification Methodology for Clock Domain Crossing (CDC), arXiv:2406.06533](https://arxiv.org/abs/2406.06533)

---
*Initially written Oct 15, 2026 · Edited: Oct 25, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Processors & processor engineering › Computer architecture theory

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/globally-asynchronous-locally-synchronous

English original: https://www.edgepedia.org/globally-asynchronous-locally-synchronous
