高级搜索

留言板

尊敬的读者、作者、审稿人, 关于本刊的投稿、审稿、编辑和出版的任何问题, 您可以本页添加留言。我们将尽快给您答复。谢谢您的支持!

姓名
邮箱
手机号码
标题
留言内容
验证码

RGF-SCIM:一种面向可重构有限域运算的存内计算架构

刘文培,  杜怡然,  南龙梅,  王泽萌,  王浩宇

刘文培, 杜怡然, 南龙梅, 王泽萌, 王浩宇. RGF-SCIM:一种面向可重构有限域运算的存内计算架构[J]. 电子与信息学报. doi: 10.11999/JEIT260506
引用本文: 刘文培, 杜怡然, 南龙梅, 王泽萌, 王浩宇. RGF-SCIM:一种面向可重构有限域运算的存内计算架构[J]. 电子与信息学报. doi: 10.11999/JEIT260506
LIU Wenpei, DU Yiran, NAN Longmei, WANG Zemeng, WANG Haoyu. RGF-SCIM: An SRAM Computing-in-Memory Architecture for Reconfigurable Galois-Field Operations[J]. Journal of Electronics & Information Technology. doi: 10.11999/JEIT260506
Citation: LIU Wenpei, DU Yiran, NAN Longmei, WANG Zemeng, WANG Haoyu. RGF-SCIM: An SRAM Computing-in-Memory Architecture for Reconfigurable Galois-Field Operations[J]. Journal of Electronics & Information Technology. doi: 10.11999/JEIT260506

RGF-SCIM:一种面向可重构有限域运算的存内计算架构

doi: 10.11999/JEIT260506 cstr: 32379.14.JEIT260506
详细信息
    作者简介:

    刘文培:女,硕士生,研究方向为存内计算芯片设计,邮箱 1092109893@qq.com

    杜怡然:男,副教授,研究方向为可重构密码芯片设计

    南龙梅:女,副教授,研究方向为大规模集成电路设计、专用集成电路设计

    王泽萌:女,硕士生,研究方向为后量子密码处理器

    王浩宇:男,硕士生,研究方向为可重构专用芯片设计

    通讯作者:

    刘文培 1092109893@qq.com

  • 中图分类号: TN43

RGF-SCIM: An SRAM Computing-in-Memory Architecture for Reconfigurable Galois-Field Operations

  • 摘要: 针对现有存内计算架构难以高效适配有限域运算的问题,该文提出一种面向可重构有限域运算的SRAM存内计算架构——RGF-SCIM(Reconfigurable Galois-Field SRAM-based Compute-In-Memory)。该架构以16字×32位6T SRAM阵列为存储核心,兼容标准读写与存内逻辑运算,并将GF(24)至$ \mathrm{GF}\left(2^{32}\right) $有限域乘法实现为域规模与不可约多项式双可配置的阵列内算子;通过分析有限域运算适配逻辑与存内动态读写扰动产生机理,设计了末行广播单元、自输入异或左移电路及电压域协同调控的读写扰动抑制方案。基于65 nm工艺的SPICE仿真与分层蒙特卡洛验证结果表明:全部关键操作的SA感应裕度σ距离均大于3.6σ,存储节点总翻转率为0.02%(95%置信上界约0.035%),极端PVT条件下σ距离最差点仍大于2.6σ(判决时刻绝对裕度126.7 mV,远超45 mV失效阈值)。与面向AES列混合的传统实现方案相比,RGF-SCIM以吞吐率降低至1/48为代价,实现平均功耗降低98.65%、面积缩减83.21%、单比特能耗降低34.97%(6.36 fJ/bit);面向RS(32,28)里德-所罗门编码应用,在吞吐率降低至传统方案1/20.2的代价下,取得2.27倍的单比特能效提升与74.1%的面积缩减,验证了架构面向多种有限域应用的通用性。RGF-SCIM为高灵活性、高可靠性与高能效的有限域运算硬件实现提供了有效路径。
  • 图  1  X乘法电路架构

    图  2  RGF-SCIM的整体架构

    图  3  存内计算实现布尔逻辑

    图  4  末行广播单元结构及功能

    图  5  自输入异或左移电路结构

    图  6  RGF-SCIM实现$ \operatorname{GF}\left(2^{4}\right) $上有限域乘法的示例

    图  7  存算读访问时不同电压节点情况

    图  9  不同字线电压下读写扰动问题的2000点MC仿真结果

    图  8  存内计算阶段位线与存储节点瞬态电压

    图  10  不同参数配置下的存内计算正确性分布

    图  11  RGF-SCIM操作时序

    图  12  RGF-SCIM单元静态噪声容限

    图  13  标称条件下的统计裕度表征

    图  14  PVT 退化扫描下XOR 操作BL侧的σ距离与存储"1"节点翻转率

    图  15  不同方案抑制效果对比

    1  MSB-first模乘算法

     输入:$ a(x), b(x), f(x) $
     输出:$ c(x)=a(x) \cdot b(x) \text{mod} f(x) $
     1. $ c^{-1}(x)=0 $
     2. FOR $ i=0 $ TO $ n-1 $ DO
     3.  $ c^{\prime}(x)=\left(x c^{t-1}(x)+b_{n-1-1} a(x)\right) \text{mod} f(x) $
     4. END FOR
    下载: 导出CSV

    表  1  RGF-SCIM在不同有限域规模下的性能及其与可重构乘法器的对比

    域规模不可约多项式$ f(x) $最大时钟周期数平均功耗(μW)单次运算能耗(fJ)
    本文方案$ G F\left(2^{4}\right) $$ x^{4}+x+1 $191.6462.32
    $ G F\left(2^{\mathrm{R}}\right) $$ x^{8}+x^{4}+x^{3}+x+1 $432.42208.12
    $ G F\left(2^{16}\right) $$ x^{16}+x^{5}+x^{3}+x^{2}+1 $914.04735.28
    $ G F\left(2^{3 x}\right) $$ x^{32}+x^{31}+x^{22}+x^{17}+x^{12}+x^{3}+1 $18710.123784.88
    文献[16]$ G F\left(2^{\mathrm{R}}\right) $任意不可约多项式134106820
    下载: 导出CSV

    表  2  RGF-SCIM与传统方案不同应用下的性能对比

    应用方案周期数吞吐率(Gbit/s)平均功耗(μW)面积(μm2)能效
    (fJ/bit)
    吞吐率/功耗(Gbit/s/μW)面积归一化吞吐率(Gbit/s/μm2)能量-延迟积(pJ·ns)
    AES
    列混合
    传统方案164625.951618.569.780.1020.03952.50
    本文方案481.338.48271.796.360.1570.004978.15
    RS(32,28)编码传统方案324337.291049.7684.320.01190.00381381.54
    本文方案6450.1987.37271.7937.150.02690.0007312267.42
    下载: 导出CSV
  • [1] 李源堃, 王泽, 张清天, 等. NAS4CIM: 面向忆阻器存算一体芯片的神经网络结构搜索框架[J]. 电子与信息学报, 2025, 47(12): 4948–4958. doi: 10.11999/JEIT250978.

    LI Yuankun, WANG Ze, ZHANG Qingtian, et al. NAS4CIM: Tailored neural network architecture search for RRAM-based compute-in-memory chips[J]. Journal of Electronics & Information Technology, 2025, 47(12): 4948–4958. doi: 10.11999/JEIT250978.
    [2] 谢力凡, 卫松涛, 姚鹏, 等. 基于反向编程策略的高并行高精度RRAM存算一体芯片[J]. 电子与信息学报, 2026, 48(5): 1875–1883. doi: 10.11999/JEIT251174.

    XIE Lifan, WEI Songtao, YAO Peng, et al. A fast and accurate programming strategy for analog in-memory computing validated with a transposable RRAM macro and 0.64% fully-parallel RMS error[J]. Journal of Electronics & Information Technology, 2026, 48(5): 1875–1883. doi: 10.11999/JEIT251174.
    [3] LI Xin, PAN Ying, JIN Qian, et al. Full-array Boolean logic CIM macro with self-recycling 10T-SRAM cell for AES systems[J]. IEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2025, 33(8): 2214–2224. doi: 10.1109/TVLSI.2025.3572140.
    [4] ZHANG Xu, WEI Yaodong, LI Minghao, et al. HRCIM-NTT: An efficient compute-in-memory NTT accelerator with hybrid-redundant numbers[J]. IEEE Transactions on Circuits and Systems I: Regular Papers, 2025, 72(1): 214–227. doi: 10.1109/TCSI.2024.3463184.
    [5] 李雯, 王颖, 何银涛, 等. SMCA: 基于芯粒集成的存算一体加速器扩展框架[J]. 电子与信息学报, 2024, 46(11): 4081–4091. doi: 10.11999/JEIT240284.

    LI Wen, WANG Ying, HE Yintao, et al. SMCA: A framework for scaling chiplet-based computing-in-memory accelerators[J]. Journal of Electronics & Information Technology, 2024, 46(11): 4081–4091. doi: 10.11999/JEIT240284.
    [6] WU J Y, CHEN Y S, KHWA W S, et al. A 40nm low-power logic compatible phase change memory technology[C]. Proceedings of 2018 IEEE International Electron Devices Meeting, San Francisco, USA, 2018: 27.6. 1–27.6. 4. doi: 10.1109/IEDM.2018.8614513.
    [7] SHIM W, JIANG Hongwu, PENG Xiaochen, et al. Architectural design of 3D NAND flash based compute-in-memory for inference engine[C]. Proceedings of the International Symposium on Memory Systems, Washington, USA, 2020: 77–85. doi: 10.1145/3422575.3422779.
    [8] KIM S, LI Zhiyong, UM S, et al. 16.5 DynaPlasia: An eDRAM in-memory-computing-based reconfigurable spatial accelerator with triple-mode cell for dynamic resource switching[C]. Proceedings of 2023 IEEE International Solid-State Circuits Conference, San Francisco, USA, 2023: 256–258. doi: 10.1109/ISSCC42615.2023.10067352.
    [9] JHANG C J, XUE Chengxin, HUNG J M, et al. Challenges and trends of SRAM-based computing-in-memory for AI edge devices[J]. IEEE Transactions on Circuits and Systems I: Regular Papers, 2021, 68(5): 1773–1786. doi: 10.1109/TCSI.2021.3064189.
    [10] 蔺智挺, 徐田, 童忠瑱, 等. 基于静态随机存取存储器的存内计算研究进展[J]. 电子与信息学报, 2022, 44(11): 4041–4057. doi: 10.11999/JEIT210896.

    LIN Zhiting, XU Tian, TONG Zhongzhen, et al. Research on progress of computing in-memory based on static random-access memory[J]. Journal of Electronics & Information Technology, 2022, 44(11): 4041–4057. doi: 10.11999/JEIT210896.
    [11] SI Xin, CHANG Mengfan, KHWA W S, et al. A dual-split 6T SRAM-based computing-in-memory unit-macro with fully parallel product-sum operation for binarized DNN edge processors[J]. IEEE Transactions on Circuits and Systems I: Regular Papers, 2019, 66(11): 4172–4185. doi: 10.1109/TCSI.2019.2928043.
    [12] GU Zupei, DOU Shukao, YOU Heng, et al. A dual-wordline 6T SRAM computing-in-memory macro featuring full signed multi-bit computation for lightweight networks[J]. IEEE Access, 2024, 12: 35195–35203. doi: 10.1109/ACCESS.2024.3369057.
    [13] ZHANG Zhang, CHEN Zhihao, WANG Jiedong, et al. Reconfigurable 10T SRAM for energy-efficient CAM operation and in-memory computing[J]. IEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2025, 33(4): 1065–1072. doi: 10.1109/TVLSI.2025.3526973.
    [14] SU Yang, YANG Bailong, YANG Chen, et al. High-flexible hardware and instruction of composite Galois field multiplication targeted at symmetric crypto processor[J]. Journal of Ambient Intelligence and Humanized Computing, 2021, 12(7): 7727–7743. doi: 10.1007/s12652-020-02497-8.
    [15] JELOKA S, AKESH N, SYLVESTER D, et al. A configurable TCAM/BCAM/SRAM using 28nm push-rule 6T bit cell[C]. Proceedings of 2015 Symposium on VLSI Circuits, Kyoto, Japan, 2015: C272–C273. doi: 10.1109/VLSIC.2015.7231285.
    [16] NAN Longmei, ZENG Xiaoyang, WANG Zhouchuang, et al. Research of a reconfigurable coarse-grained cryptographic processing unit based on different operation similar structure[C]. Proceedings of the IEEE 12th International Conference on ASIC, Guiyang, China, 2017: 191–194. doi: 10.1109/ASICON.2017.8252444.
    [17] LIN Zhiting, TONG Zhongzhen, WANG Fangming, et al. In situ storing 8T SRAM-CIM macro for full-array Boolean logic and copy operations[J]. IEEE Journal of Solid-State Circuits, 2023, 58(5): 1472–1486. doi: 10.1109/JSSC.2022.3206318.
    [18] LEE K, JEONG J, CHEON S, et al. Bit parallel 6T SRAM in-memory computing with reconfigurable bit-precision[C]. Proceedings of 2020 57th ACM/IEEE Design Automation Conference, San Francisco, USA, 2020: 1–6. doi: 10.1109/DAC18072.2020.9218567.
    [19] DERVAY A and ZHAO Wenfeng. BCIM: Constant-time and high-throughput Block-Cipher-in-Memory with massively-parallel bit-serial execution[J]. IEEE Transactions on Emerging Topics in Computing, 2025, 13(4): 1440–1452. doi: 10.1109/TETC.2025.3529842.
  • 加载中
图(15) / 表(3)
计量
  • 文章访问数:  14
  • HTML全文浏览量:  2
  • PDF下载量:  3
  • 被引次数: 0
出版历程
  • 修回日期:  2026-11-23
  • 录用日期:  2026-11-23
  • 网络出版日期:  2026-12-05

目录

    /

    返回文章
    返回