NeuroSim Simulator for Compute-in-Memory Hardware Accelerator: Validation and Benchmark

Compute-in-memory (CIM) is an attractive solution to process the extensive workloads of multiply-and-accumulate (MAC) operations in deep neural network (DNN) hardware accelerators. A simulator with options of various mainstream and emerging memory technologies, architectures, and networks can be a g...

Full description

Bibliographic Details
Main Authors: Anni Lu, Xiaochen Peng, Wantong Li, Hongwu Jiang, Shimeng Yu
Format: Article
Language:English
Published: Frontiers Media S.A. 2021-06-01
Series:Frontiers in Artificial Intelligence
Subjects:
Online Access:https://www.frontiersin.org/articles/10.3389/frai.2021.659060/full
id doaj-8ac8edafb035461bb11a2448dca72775
record_format Article
spelling doaj-8ac8edafb035461bb11a2448dca727752021-06-09T05:08:54ZengFrontiers Media S.A.Frontiers in Artificial Intelligence2624-82122021-06-01410.3389/frai.2021.659060659060NeuroSim Simulator for Compute-in-Memory Hardware Accelerator: Validation and BenchmarkAnni LuXiaochen PengWantong LiHongwu JiangShimeng YuCompute-in-memory (CIM) is an attractive solution to process the extensive workloads of multiply-and-accumulate (MAC) operations in deep neural network (DNN) hardware accelerators. A simulator with options of various mainstream and emerging memory technologies, architectures, and networks can be a great convenience for fast early-stage design space exploration of CIM hardware accelerators. DNN+NeuroSim is an integrated benchmark framework supporting flexible and hierarchical CIM array design options from a device level, to a circuit level and up to an algorithm level. In this study, we validate and calibrate the prediction of NeuroSim against a 40-nm RRAM-based CIM macro post-layout simulations. First, the parameters of a memory device and CMOS transistor are extracted from the foundry’s process design kit (PDK) and employed in the NeuroSim settings; the peripheral modules and operating dataflow are also configured to be the same as the actual chip implementation. Next, the area, critical path, and energy consumption values from the SPICE simulations at the module level are compared with those from NeuroSim. Some adjustment factors are introduced to account for transistor sizing and wiring area in the layout, gate switching activity, post-layout performance drop, etc. We show that the prediction from NeuroSim is precise with chip-level error under 1% after the calibration. Finally, the system-level performance benchmark is conducted with various device technologies and compared with the results before the validation. The general conclusions stay the same after the validation, but the performance degrades slightly due to the post-layout calibration.https://www.frontiersin.org/articles/10.3389/frai.2021.659060/fullcompute-in-memoryhardware acceleratordeep neural networkdesign automationbenchmarking and validation
collection DOAJ
language English
format Article
sources DOAJ
author Anni Lu
Xiaochen Peng
Wantong Li
Hongwu Jiang
Shimeng Yu
spellingShingle Anni Lu
Xiaochen Peng
Wantong Li
Hongwu Jiang
Shimeng Yu
NeuroSim Simulator for Compute-in-Memory Hardware Accelerator: Validation and Benchmark
Frontiers in Artificial Intelligence
compute-in-memory
hardware accelerator
deep neural network
design automation
benchmarking and validation
author_facet Anni Lu
Xiaochen Peng
Wantong Li
Hongwu Jiang
Shimeng Yu
author_sort Anni Lu
title NeuroSim Simulator for Compute-in-Memory Hardware Accelerator: Validation and Benchmark
title_short NeuroSim Simulator for Compute-in-Memory Hardware Accelerator: Validation and Benchmark
title_full NeuroSim Simulator for Compute-in-Memory Hardware Accelerator: Validation and Benchmark
title_fullStr NeuroSim Simulator for Compute-in-Memory Hardware Accelerator: Validation and Benchmark
title_full_unstemmed NeuroSim Simulator for Compute-in-Memory Hardware Accelerator: Validation and Benchmark
title_sort neurosim simulator for compute-in-memory hardware accelerator: validation and benchmark
publisher Frontiers Media S.A.
series Frontiers in Artificial Intelligence
issn 2624-8212
publishDate 2021-06-01
description Compute-in-memory (CIM) is an attractive solution to process the extensive workloads of multiply-and-accumulate (MAC) operations in deep neural network (DNN) hardware accelerators. A simulator with options of various mainstream and emerging memory technologies, architectures, and networks can be a great convenience for fast early-stage design space exploration of CIM hardware accelerators. DNN+NeuroSim is an integrated benchmark framework supporting flexible and hierarchical CIM array design options from a device level, to a circuit level and up to an algorithm level. In this study, we validate and calibrate the prediction of NeuroSim against a 40-nm RRAM-based CIM macro post-layout simulations. First, the parameters of a memory device and CMOS transistor are extracted from the foundry’s process design kit (PDK) and employed in the NeuroSim settings; the peripheral modules and operating dataflow are also configured to be the same as the actual chip implementation. Next, the area, critical path, and energy consumption values from the SPICE simulations at the module level are compared with those from NeuroSim. Some adjustment factors are introduced to account for transistor sizing and wiring area in the layout, gate switching activity, post-layout performance drop, etc. We show that the prediction from NeuroSim is precise with chip-level error under 1% after the calibration. Finally, the system-level performance benchmark is conducted with various device technologies and compared with the results before the validation. The general conclusions stay the same after the validation, but the performance degrades slightly due to the post-layout calibration.
topic compute-in-memory
hardware accelerator
deep neural network
design automation
benchmarking and validation
url https://www.frontiersin.org/articles/10.3389/frai.2021.659060/full
work_keys_str_mv AT annilu neurosimsimulatorforcomputeinmemoryhardwareacceleratorvalidationandbenchmark
AT xiaochenpeng neurosimsimulatorforcomputeinmemoryhardwareacceleratorvalidationandbenchmark
AT wantongli neurosimsimulatorforcomputeinmemoryhardwareacceleratorvalidationandbenchmark
AT hongwujiang neurosimsimulatorforcomputeinmemoryhardwareacceleratorvalidationandbenchmark
AT shimengyu neurosimsimulatorforcomputeinmemoryhardwareacceleratorvalidationandbenchmark
_version_ 1721389182438342656