面向CIM加法器树的误差对消近似全加器——数字电子技术基础创新教学设计
Error Cancellation Approximate Full Adder for CIM Adder Tree—Innovative Teaching Design for Fundamentals of Digital Electronic Technology
摘要: 存内计算(Computing-in-Memory, CIM)通过直接在存储阵列内完成计算,消除冯·诺依曼架构的数据搬运开销,是深度神经网络(Deep Neural Networks, DNN)高能效推理的重要技术路线。数字CIM是集成电路、人工智能方向本科《数字电子技术基础》课程重要前沿教学案例。数字CIM架构内部加法器树作为乘累加运算的核心模块,存在显著的面积与功耗开销;传统或门近似全加器以牺牲计算精度换取低延迟,但是会产生单向累积系统误差,直接造成深度学习推理精度剧烈退化。本文将前沿科研成果转化为数字电路技术基础创新综合实验项目,设计双模式误差对消近似全加器。教学实践表明,该综合实验打通理论原理–电路设计–仿真验证-AI应用完整教学链条,训练学生硬件–算法协同分析思维,有效提升集成电路本科生工程实践与科研创新能力。
Abstract: Computing-in-Memory (CIM) eliminates the data transfer overhead of the von Neumann architecture by directly performing computations within the storage array, making it an important technical approach for energy-efficient inference in Deep Neural Networks (DNN). Digital CIM is a significant cutting-edge teaching case in the undergraduate course “Fundamentals of Digital Electronics” in the fields of integrated circuits and artificial intelligence. The internal adder tree of the digital CIM architecture serves as the core module for multiply-accumulate operations, incurring significant area and power consumption overhead. Traditional OR-gate approximate full adders sacrifice computational accuracy for low latency, but they generate unidirectional cumulative systematic errors, directly leading to severe degradation in deep learning inference accuracy. This paper transforms cutting-edge scientific research results into an innovative comprehensive experimental project for “Fundamentals of Digital Circuit Technology”, designing a dual-mode error cancellation approximate full adder. Teaching practice has shown that this comprehensive experiment integrates the complete teaching chain from theoretical principles to circuit design, simulation verification, and AI application, cultivating students’ collaborative analysis thinking between hardware and algorithms, and effectively enhancing the engineering practice and scientific research innovation abilities of undergraduate integrated circuit students.
参考文献
|
[1]
|
王兴, 张磊. 新工科背景下数字集成电路课程实验教学改革[J]. 教育进展, 2023, 13(5): 2145-2150.
|
|
[2]
|
He, W., et al. (2023) LSAC: A Low-Power Adder Tree for Digital CIM by Sparsity and Approximate Circuits Co-Design. IEEE Transactions on Circuits and Systems-II, 70, 4711-4715.
|
|
[3]
|
Fang, Z., Wang, Y. and Xu, Y. (2025) Low-Power and Area-Efficient CIM. Microelectronics Journal, 166, Article ID: 106903. https://doi.org/10.1016/j.mejo.2025.106903
|
|
[4]
|
周宇, 李昊. 近似加法器综述与本科教学实践[J]. 实验室研究与探索, 2024, 43(2): 134-139.
|
|
[5]
|
陈晨. 存内计算芯片教学案例设计[J]. 高等教育研究学报, 2024, 47(1): 89-94.
|