Cargando…
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...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Frontiers Media S.A.
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8219932/ https://www.ncbi.nlm.nih.gov/pubmed/34179768 http://dx.doi.org/10.3389/frai.2021.659060 |
_version_ | 1783711046790283264 |
---|---|
author | Lu, Anni Peng, Xiaochen Li, Wantong Jiang, Hongwu Yu, Shimeng |
author_facet | Lu, Anni Peng, Xiaochen Li, Wantong Jiang, Hongwu Yu, Shimeng |
author_sort | Lu, Anni |
collection | PubMed |
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. |
format | Online Article Text |
id | pubmed-8219932 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | Frontiers Media S.A. |
record_format | MEDLINE/PubMed |
spelling | pubmed-82199322021-06-24 NeuroSim Simulator for Compute-in-Memory Hardware Accelerator: Validation and Benchmark Lu, Anni Peng, Xiaochen Li, Wantong Jiang, Hongwu Yu, Shimeng Front Artif Intell Artificial Intelligence 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. Frontiers Media S.A. 2021-06-09 /pmc/articles/PMC8219932/ /pubmed/34179768 http://dx.doi.org/10.3389/frai.2021.659060 Text en Copyright © 2021 Lu, Peng, Li, Jiang and Yu. https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms. |
spellingShingle | Artificial Intelligence Lu, Anni Peng, Xiaochen Li, Wantong Jiang, Hongwu Yu, Shimeng NeuroSim Simulator for Compute-in-Memory Hardware Accelerator: Validation and Benchmark |
title | 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_short | NeuroSim Simulator for Compute-in-Memory Hardware Accelerator: Validation and Benchmark |
title_sort | neurosim simulator for compute-in-memory hardware accelerator: validation and benchmark |
topic | Artificial Intelligence |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8219932/ https://www.ncbi.nlm.nih.gov/pubmed/34179768 http://dx.doi.org/10.3389/frai.2021.659060 |
work_keys_str_mv | AT luanni neurosimsimulatorforcomputeinmemoryhardwareacceleratorvalidationandbenchmark AT pengxiaochen neurosimsimulatorforcomputeinmemoryhardwareacceleratorvalidationandbenchmark AT liwantong neurosimsimulatorforcomputeinmemoryhardwareacceleratorvalidationandbenchmark AT jianghongwu neurosimsimulatorforcomputeinmemoryhardwareacceleratorvalidationandbenchmark AT yushimeng neurosimsimulatorforcomputeinmemoryhardwareacceleratorvalidationandbenchmark |