WO2021027354A1 - Set module based on rram memristor unit, and forming method therefor - Google Patents

Set module based on rram memristor unit, and forming method therefor Download PDF

Info

Publication number
WO2021027354A1
WO2021027354A1 PCT/CN2020/090988 CN2020090988W WO2021027354A1 WO 2021027354 A1 WO2021027354 A1 WO 2021027354A1 CN 2020090988 W CN2020090988 W CN 2020090988W WO 2021027354 A1 WO2021027354 A1 WO 2021027354A1
Authority
WO
WIPO (PCT)
Prior art keywords
rram
memristor
weight value
weight
units
Prior art date
Application number
PCT/CN2020/090988
Other languages
French (fr)
Chinese (zh)
Inventor
李琛
段杰斌
郭令仪
Original Assignee
上海集成电路研发中心有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海集成电路研发中心有限公司 filed Critical 上海集成电路研发中心有限公司
Publication of WO2021027354A1 publication Critical patent/WO2021027354A1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C13/00Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
    • G11C13/0002Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
    • G11C13/0021Auxiliary circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C13/00Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
    • G11C13/0002Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
    • G11C13/0021Auxiliary circuits
    • G11C13/0038Power supply circuits

Definitions

  • the present invention relates to the technical field of artificial intelligence chip design, in particular to an assembly module based on RRAM memristor units and a forming method thereof.
  • Embedded memory is one of the important components of system-level chips, and it is also the development trend of future memory technology.
  • the architecture of existing embedded memory is mainly based on traditional memory architecture, such as static random access memory (SRAM) or flash memory (Flash).
  • SRAM static random access memory
  • flash flash memory
  • PCRAM phase change memory
  • MRAM magnetic memory
  • RRAM resistive random access memory
  • resistive random access memory is due to its simultaneous With the advantages of high speed, low power consumption, non-volatility, high integration and compatibility with CMOS technology, it has always been a research hotspot in the field of new embedded memory.
  • resistive random access memory represented by RRAM
  • Its device structure has evolved from the initial 2D planar structure to the high-density 3D vertical structure.
  • the cell area has been significantly reduced, and the read and write speed, durability and retention The characteristics and so on have all been significantly improved, and the capacity of the resistive memory chip has also grown from 2Mb to the largest 32Gb.
  • many international memory manufacturers have begun to develop embedded resistive random access memory, including Hewlett-Packard, Sony, Micron, Panasonic and Crossbar.
  • TSMC, UMC and SMIC have also begun to provide Customers provide specialized resistive random access memory production technology.
  • Panasonic is the leader in the industrialization of resistive random access memory.
  • embedded resistive random access memory was first used in single-chip microcomputer (Single Chip Microcomputer, referred to as MCU) products; in 2016, Panasonic also cooperated with Fujitsu, Launched the first memory product based on the 180nm process with a 4Mb capacity. Recently, Panasonic is developing embedded resistive random access memory on the 40nm process line.
  • RRAM in the application process of the storage-calculation integrated chip, RRAM, as a storage medium with variable weights for matrix operations, not only plays the role of multi-valued weight storage, but also plays a role of storage-calculation integration in matrix network operations.
  • RRAM exists as a single device or a single array.
  • the neural network algorithm usually requires various possible RRAM sizes (such as 1024*1024 or 1048*1048 are possible).
  • the current foundry The provided RRAM cannot satisfy such functions. That is to say, the industry needs that the RRAM array scale can be customized according to the algorithm and can be changed according to the depth of the hierarchy; at the same time, the foundry is required to provide a set of RRAM devices with different resistance combinations.
  • the present invention aims to provide an RRAM memristor unit-based assembly module and a method for forming the same.
  • the technical solution of the present invention is as follows:
  • a weight logic library module based on an RRAM memristor includes: N RRAM memristor units for storing weight values and a weight generation unit, wherein the N RRAM memristor units include M variable RRAMs Memristor unit; each of the variable RRAM memristor units includes an original RRAM memristor without a written weight value, a control transistor, an excitation voltage generator and an output terminal; wherein, the N and M are A positive integer greater than or equal to 2, and M is less than or equal to N; when the weight generation unit determines the weight value that each variable RRAM memristor unit needs to store, the excitation voltage generator generates a value corresponding to the For the voltage of the weight value, a fixed weight value is input to each of the variable RRAM memristor units through the control transistor to form a complete set of weight value combinations of the N RRAM memristor units.
  • the M is less than N, and the N RRAM memristor units include N-M fixed RRAM memristor units.
  • the weight value in the set of weight value combinations of the N RRAM memristor units is formed in an arithmetic sequence, or a geometric sequence.
  • the number of the weights in the set of weight value combinations of the N RRAM memristor units is at most 256.
  • the number of the weights in the set of weight value combinations of the N RRAM memristor units is 11.
  • the RRAM memristor unit-based assembly module further includes a digital synthesis tool, and the set of weight values of the N RRAM memristor units are combined to form an X*Y underlying basic weight logic matrix.
  • the digital synthesis tool Directly call the X*Y underlying basic weight logic matrix according to user requirements; wherein the value of X*Y is greater than or equal to the N.
  • a method for forming a collective module based on the RRAM memristor unit described above includes:
  • Step S1 Determine, according to the weight generating unit, a complete set of weight value combinations to be stored in the N RRAM memristor units;
  • Step S2 Fabricate the N RRAM memristor units, where the M variable RRAM memristor units are original RRAM memristors without storing any weight values;
  • Step S3 The excitation voltage generator generates a voltage corresponding to the weight value, and inputs a fixed weight value to each variable RRAM memristor unit through the control transistor to form the M RRAM memories The weight value combination of the resistor unit;
  • Step S4 forming a set of weight value combinations of the N RRAM memristor units.
  • the forming method further includes step S5: the entire set of weight values of the N RRAM memristor units are combined to form an X*Y underlying basic weight logic matrix, and the digital synthesis tool directly calls X*Y according to user needs Basic weight logic matrix
  • the number of the weights in the set of weight value combinations of the N RRAM memristor units is 11, and the N is equal to M, and the step S3 specifically includes the following steps:
  • Step S31 The excitation voltage generator generates 11 voltage values, where the 11 voltage values are respectively V1, V2, ... V11;
  • Step S32 Respectively receive the 11 voltage values V1, V2,...V11 through the 11 control transistors to the 11 variable RRAM memristor units to complete the 11 variable RRAM memristor units The input of the fixed weight value, wherein the fixed weight values of the 11 variable RRAM memristor units are respectively Z1, Z2, ... Z11.
  • the step S4 specifically includes the following steps:
  • Step S41 If the M is less than N, execute step S42, if the M is equal to N, execute step S43;
  • Step S42 the set of weight value combinations of the N RRAM memristor units is the weight value combination of the M RRAM memristor units plus (N-M) weight value combinations of the fixed RRAM memristor unit;
  • Step S43 The whole set of weight value combinations of the N RRAM memristor units is the weight value combination of the M RRAM memristor units.
  • the present invention provides an RRAM memristor unit-based assembly module and its forming method, which has the following technical advantages:
  • weight values can be set arbitrarily
  • the RRAM memristor-based unit has a non-volatile storage function, that is to say, after the weight is made and written, the weight value is permanently retained.
  • Figure 1 is a schematic diagram of a weighted logic library module based on an RRAM memristor in an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a typical RRAM memristor unit in an embodiment of the invention
  • FIG. 3 is a flow chart of the use of the RRAM memristor-based weight logic library module in an embodiment of the present invention
  • Figure 5 is a schematic diagram of the process in the application of the present invention to the neural network inference chip embodiment
  • FIG. 6 is a schematic diagram of an array finally formed by a typical RRAM memristor unit set in an embodiment of the present invention after fabricating and writing weights
  • FIGS. 1-6 the RRAM memristor-based cell set and its formation method of the present invention will be further described in detail through specific embodiments in conjunction with FIGS. 1-6. It should be noted that the drawings all adopt a very simplified form and use imprecise proportions, and are only used to facilitate and clearly achieve the purpose of assisting in describing the embodiments of the present invention.
  • FIG. 1 is a schematic diagram of a weighted logic library module based on an RRAM memristor in an embodiment of the present invention.
  • the RRAM memristor-based weight logic library module includes N RRAM memristor units for storing weight values and a weight generation unit.
  • N is a positive integer greater than or equal to 2.
  • the N RRAM memristor units include M variable RRAM memristor units, where M is a positive integer greater than or equal to 2, and M is less than or equal to N.
  • the N RRAM memristor units are variable RRAM memristor units; when M is less than N, the N RRAM memristor units additionally include NM storage weights. Fixed RRAM memristor unit.
  • each variable RRAM memristor unit includes an original RRAM memristor without a written weight value, a control transistor, an excitation voltage generator and an output terminal. It should be noted that the original RRAM memristor cannot store any value, and the weight value can only be input through subsequent voltage forming.
  • the excitation voltage generator When the weight generation unit (or the user) determines the weight value that each variable RRAM memristor unit needs to store, the excitation voltage generator generates a voltage corresponding to the weight value, and through the control transistor (used to control the RRAM memory Resistor read and write operations) Input a fixed weight value to each variable RRAM memristor unit to form a complete set of weight value combinations of N RRAM memristor units.
  • the weight values in the set of weight value combinations of the N RRAM memristor units can be formed in an arithmetic sequence or can be formed in a geometric sequence.
  • the maximum number of weights in the set of weight value combinations of N RRAM memristor units is usually 256 at most.
  • the number of weights in the set of weight value combinations of N RRAM memristor units is 11.
  • each RRAM memristor unit stores a weight value
  • the RRAM memristor-based unit has a non- Volatile storage function, that is, after the weight is created and written, the weight value can be retained.
  • FIG. 2 is a schematic diagram of a typical RRAM memristor unit in an embodiment of the present invention. As shown in the figure, for each stored RRAM memristor unit (equivalent to a fixed RRAM memristor unit), the digital synthesis tool calls the control transistor to receive the input value, and the input value is calculated together with the weight value to obtain the calculation result.
  • the digital synthesis tool calls the control transistor to receive the input value, and the input value is calculated together with the weight value to obtain the calculation result.
  • FIG. 3 is a flowchart of the use of the weight logic library module based on the RRAM memristor in an embodiment of the present invention.
  • the method for forming a collective module based on the RRAM memristor unit of the present invention includes the following steps:
  • Step S1 Determine a set of weight value combinations to be stored in the N RRAM memristor units according to user requirements.
  • FIG. 4 is a schematic diagram of a weight logic library of an RRAM memristor unit with 11 types of weights in an embodiment of the present invention.
  • the logic library with different weights required by the foundry in advance includes the following devices:
  • Step S2 Fabricate the N RRAM memristor units, wherein the M variable RRAM memristor units are original RRAM memristors without storing any weight values.
  • Step S3 The excitation voltage generator generates a voltage corresponding to the weight value, and a fixed weight value is input to each of the variable RRAM memristor units through a control transistor to form the weight value of M RRAM memristor units combination.
  • the step S3 specifically includes the following steps:
  • Step S31 The excitation voltage generator generates 11 voltage values, where the 11 voltage values are respectively V1, V2, ... V11; wherein, the 11 voltage values can be generated by an excitation voltage generator or Generated by multiple excitation voltage generators.
  • Step S32 Respectively receive the 11 voltage values V1, V2,...V11 through the 11 control transistors to the 11 variable RRAM memristor units to complete the 11 variable RRAM memristor units
  • the input of the fixed weight value wherein the fixed weight values of the 11 variable RRAM memristor units are respectively Z1, Z2, ... Z11.
  • Z1, Z2, ... Z11 are 1.0, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1, and 0.0, respectively.
  • Step S4 forming a set of weight value combinations of the N RRAM memristor units.
  • Step S4 specifically includes the following steps (it should be noted that the following examples include not only the case where M is equal to N, but also the case where M is less than N):
  • Step S41 If the M is less than N, perform step S42, if the M is equal to N, perform step S43;
  • Step S42 the set of weight value combinations of the N RRAM memristor units is the weight value combination of the M RRAM memristor units plus (N-M) weight value combinations of the fixed RRAM memristor unit;
  • Step S43 The whole set of weight value combinations of the N RRAM memristor units is the weight value combination of the M RRAM memristor units.
  • Step S5 The entire set of weight values of the N RRAM memristor units are combined to form an X*Y bottom-level basic weight logic matrix, and the digital synthesis tool directly calls the X*Y bottom-level basic weight logic matrix according to user requirements.
  • Neural Networks are an algorithmic mathematical model that imitates the behavioral characteristics of animal neural networks and performs distributed and parallel information processing. This kind of network relies on the complexity of the system and achieves the purpose of processing information by adjusting the interconnection between a large number of internal nodes.
  • Neural network has the characteristics of multi-layer perception and hierarchical convolution operation.
  • the multiplication and addition MAC matrix (Modal Assurance Criterion, modal confidence matrix) has a huge amount of calculation, and the network scale and level need to be dynamically changed with the algorithm;
  • FIG. 5 is a schematic diagram of a process in an embodiment of a neural network inference chip according to the present invention.
  • the operational characteristics of AI and neural network chips determine: the multiplication and addition network based on multi-value weights can significantly accelerate the multi-layer perception and hierarchical convolution operation, and the most basic single-value/multi-value multiplication and addition of the network matrix Operators are made into a basic unit library, which can effectively decompose the hierarchical convolutional network operation to the underlying basic weight logic operation.
  • the weight network has been trained and fixed, and the underlying basic weight logic can be directly called through the digital synthesis tool.
  • the multiplication-addition matrix can be decomposed into each monomial.
  • the variable weight can be any value of ⁇ , ⁇ , and ⁇ ; the underlying basic weight logic can be directly called by the digital synthesis tool to form the array shown in Figure 6, and the final weight array can be formed through the previous manufacturing process.
  • Step S1 Determine, according to the weight generating unit, a complete set of weight value combinations to be stored in the N RRAM memristor units;
  • Step S2 Fabricate the N RRAM memristor units, wherein the M variable RRAM memristor units are original RRAM memristors without storing any weight values;
  • Step S3 The excitation voltage generator generates a voltage corresponding to the weight value, and inputs a fixed weight value to each variable RRAM memristor unit through the control transistor to form the M RRAM memories The weight value combination of the resistor unit;
  • Step S4 forming a complete set of weight value combinations of the N RRAM memristor units.
  • step S5 the entire set of weight values of the N RRAM memristor units are combined to form an X*Y underlying basic weight logic matrix, and the digital synthesis tool Directly call the underlying basic weight logic matrix of X*Y according to user needs.
  • step S3 It includes the following steps:
  • Step S31 The excitation voltage generator generates 11 voltage values, where the 11 voltage values are respectively V1, V2, ... V11;
  • Step S32 Respectively receive the 11 voltage values V1, V2,...V11 through the 11 control transistors to the 11 variable RRAM memristor units to complete the 11 variable RRAM memristor units The input of the fixed weight value, wherein the fixed weight values of the 11 variable RRAM memristor units are respectively Z1, Z2, ... Z11.
  • step S4 specifically includes the following steps:
  • Step S41 If the M is less than N, execute step S42, if the M is equal to N, execute step S43;
  • Step S42 the set of weight value combinations of the N RRAM memristor units is the weight value combination of the M RRAM memristor units plus (N-M) weight value combinations of the fixed RRAM memristor unit;
  • Step S43 The whole set of weight value combinations of the N RRAM memristor units is the weight value combination of the M RRAM memristor units.

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)
  • Semiconductor Memories (AREA)

Abstract

A set module based on an RRAM memristor unit, and a forming method therefor. The module comprises: N RRAM memristor units used for storing weight values and a weight generation unit, wherein the N RRAM memristor units comprise M variable RRAM memristor units; each variable RRAM memristor unit comprises an original RRAM memristor where a weight value is not written, a control transistor, an excitation voltage generator and an output end, where N and M are positive integers greater than or equal to two, and M is less than or equal to N; and when the weight generation unit determines a weight value needing to be stored by each variable RRAM memristor unit, the excitation voltage generator generates a voltage corresponding to the weight value, and inputs a fixed weight value into each variable RRAM memristor unit by means of the control transistor, so as to form a whole set of weight value combinations of the N RRAM memristor units.

Description

一种基于RRAM忆阻器单元的集合模块及其形成方法An integrated module based on RRAM memristor unit and its forming method
交叉引用cross reference
本申请要求2019年8月9日提交的申请号为201910742298.6的中国专利申请的优先权。上述申请的内容以引用方式被包含于此。This application claims the priority of the Chinese patent application with application number 201910742298.6 filed on August 9, 2019. The content of the above application is included here by reference.
技术领域Technical field
本发明涉及人工智能芯片设计技术领域,尤其涉及一种基于RRAM忆阻器单元的集合模块及其形成方法。The present invention relates to the technical field of artificial intelligence chip design, in particular to an assembly module based on RRAM memristor units and a forming method thereof.
技术背景technical background
嵌入式存储器是系统级芯片的重要组成部分之一,也是未来存储器技术的发展趋势,现有嵌入式存储器的架构主要还是基于传统存储器架构,如静态随机存储器(SRAM)或闪存(Flash)等。目前,基于各种新型存储器架构的嵌入式存储器研究已引起国内外广泛关注,包括相变存储器(PCRAM)、磁存储器(MRAM)和阻变存储器(RRAM)等;其中,阻变存储器因其同时具有高速、低功耗、非易失性、高集成度以及与CMOS工艺兼容等优势,一直是新型嵌入式存储器领域的研究热点。Embedded memory is one of the important components of system-level chips, and it is also the development trend of future memory technology. The architecture of existing embedded memory is mainly based on traditional memory architecture, such as static random access memory (SRAM) or flash memory (Flash). At present, the research of embedded memory based on various new memory architectures has attracted wide attention at home and abroad, including phase change memory (PCRAM), magnetic memory (MRAM) and resistive random access memory (RRAM). Among them, resistive random access memory is due to its simultaneous With the advantages of high speed, low power consumption, non-volatility, high integration and compatibility with CMOS technology, it has always been a research hotspot in the field of new embedded memory.
近年来,以RRAM为代表的阻变存储器的研究已取得很多突破性进展,其器件结构从最初的2D平面结构发展到高密度3D垂直结构,单元面积显著缩小,读写速度、耐久性和保持特性等均显著提升,阻变存储器芯片容量也已经从2Mb发展到最大的32Gb。与此同时,国际上多家存储器厂商也开始布局嵌入式阻变存储器的研发,包括惠普、索尼、美光、松下和Crossbar 等企业,在代工方面,台积电、联电和中芯国际等也开始为客户提供专门的阻变存储器生产工艺。其中,松下公司作为阻变存储器产业化的领跑者,在2013年,嵌入式阻变存储器首次应用于单片微型计算机(Single Chip Microcomputer,简称MCU)产品中;2016年,松下又与富士通合作,推出了首款基于180nm工艺4Mb容量的存储器产品,近期松下公司正在40nm工艺线上进行嵌入式阻变存储器的开发。In recent years, the research on resistive random access memory represented by RRAM has made many breakthroughs. Its device structure has evolved from the initial 2D planar structure to the high-density 3D vertical structure. The cell area has been significantly reduced, and the read and write speed, durability and retention The characteristics and so on have all been significantly improved, and the capacity of the resistive memory chip has also grown from 2Mb to the largest 32Gb. At the same time, many international memory manufacturers have begun to develop embedded resistive random access memory, including Hewlett-Packard, Sony, Micron, Panasonic and Crossbar. In terms of foundry, TSMC, UMC and SMIC have also begun to provide Customers provide specialized resistive random access memory production technology. Among them, Panasonic is the leader in the industrialization of resistive random access memory. In 2013, embedded resistive random access memory was first used in single-chip microcomputer (Single Chip Microcomputer, referred to as MCU) products; in 2016, Panasonic also cooperated with Fujitsu, Launched the first memory product based on the 180nm process with a 4Mb capacity. Recently, Panasonic is developing embedded resistive random access memory on the 40nm process line.
在存算一体芯片应用过程中,RRAM作为矩阵运算可变权重的存储媒介,不仅起到了多值权重存储的作用,而且还能够在矩阵网络运算中,起到存算一体的作用。然而,RRAM均作为单个器件或者单个阵列而存在,在实际的存算一体芯片中,神经网络算法通常要求各种可能的RRAM尺寸(如1024*1024或1048*1048均有可能),目前代工厂提供的RRAM并无法满足此类功能。也就是说,业界需要RRAM的阵列规模根据算法可定制,根据层次深度可变化;同时,要求代工厂提供一套具有不同阻值组合的RRAM器件集合。In the application process of the storage-calculation integrated chip, RRAM, as a storage medium with variable weights for matrix operations, not only plays the role of multi-valued weight storage, but also plays a role of storage-calculation integration in matrix network operations. However, RRAM exists as a single device or a single array. In the actual storage-computing chip, the neural network algorithm usually requires various possible RRAM sizes (such as 1024*1024 or 1048*1048 are possible). The current foundry The provided RRAM cannot satisfy such functions. That is to say, the industry needs that the RRAM array scale can be customized according to the algorithm and can be changed according to the depth of the hierarchy; at the same time, the foundry is required to provide a set of RRAM devices with different resistance combinations.
发明概要Summary of the invention
为实现上述目的,本发明旨在提供一种基于RRAM忆阻器单元的集合模块及其形成方法,为实现上述目的,本发明的技术方案如下:In order to achieve the above objective, the present invention aims to provide an RRAM memristor unit-based assembly module and a method for forming the same. To achieve the above objective, the technical solution of the present invention is as follows:
一种基于RRAM忆阻器的权重逻辑库模块;其包括:用于存储权重值的N个RRAM忆阻器单元和权重生成单元,所述N个RRAM忆阻器单元中包括M个可变RRAM忆阻器单元;每一个所述可变RRAM忆阻器单元包括一个没有写入权重值的原始RRAM忆阻器、一个控制晶体管、激励电压 产生器和输出端;其中,所述N和M为大于等于2的正整数,M为小于等于N;当所述权重生成单元确定每一个所述可变RRAM忆阻器单元所需存储的权重值后,所述激励电压产生器产生相应于所述权重值的电压,通过所述控制晶体管对每一个所述可变RRAM忆阻器单元输入固定的权重值,以形成所述N个RRAM忆阻器单元的整套权重值组合。A weight logic library module based on an RRAM memristor; it includes: N RRAM memristor units for storing weight values and a weight generation unit, wherein the N RRAM memristor units include M variable RRAMs Memristor unit; each of the variable RRAM memristor units includes an original RRAM memristor without a written weight value, a control transistor, an excitation voltage generator and an output terminal; wherein, the N and M are A positive integer greater than or equal to 2, and M is less than or equal to N; when the weight generation unit determines the weight value that each variable RRAM memristor unit needs to store, the excitation voltage generator generates a value corresponding to the For the voltage of the weight value, a fixed weight value is input to each of the variable RRAM memristor units through the control transistor to form a complete set of weight value combinations of the N RRAM memristor units.
优选地,所述M为小于N,所述N个RRAM忆阻器单元中包括N-M个固定RRAM忆阻器单元。Preferably, the M is less than N, and the N RRAM memristor units include N-M fixed RRAM memristor units.
优选地,所述N个RRAM忆阻器单元整套权重值组合中的所述权重值按等差数列形成,或按等比数列形成。Preferably, the weight value in the set of weight value combinations of the N RRAM memristor units is formed in an arithmetic sequence, or a geometric sequence.
优选地,所述N个RRAM忆阻器单元整套权重值组合中的所述权重的数量最大为256。Preferably, the number of the weights in the set of weight value combinations of the N RRAM memristor units is at most 256.
优选地,所述N个RRAM忆阻器单元整套权重值组合中的所述权重的数量为11。Preferably, the number of the weights in the set of weight value combinations of the N RRAM memristor units is 11.
优选地,所述的基于RRAM忆阻器单元的集合模块还包括数字综合工具,所述N个RRAM忆阻器单元整套权重值组合形成X*Y的底层基本权重逻辑矩阵,所述数字综合工具根据用户需求直接调用X*Y的底层基本权重逻辑矩阵;其中,所述X*Y的值大于等于所述N。Preferably, the RRAM memristor unit-based assembly module further includes a digital synthesis tool, and the set of weight values of the N RRAM memristor units are combined to form an X*Y underlying basic weight logic matrix. The digital synthesis tool Directly call the X*Y underlying basic weight logic matrix according to user requirements; wherein the value of X*Y is greater than or equal to the N.
优选地,为实现上述目的,本发明又一技术方案如下:Preferably, in order to achieve the above objective, another technical solution of the present invention is as follows:
一种采用上述基于RRAM忆阻器单元的集合模块的形成方法,包括:A method for forming a collective module based on the RRAM memristor unit described above includes:
步骤S1:根据所述权重生成单元确定所述N个RRAM忆阻器单元中需存储的整套权重值组合;Step S1: Determine, according to the weight generating unit, a complete set of weight value combinations to be stored in the N RRAM memristor units;
步骤S2:制作所述N个RRAM忆阻器单元,其中,所述M个可变RRAM 忆阻器单元为没有存储任何权重值的原始RRAM忆阻器;Step S2: Fabricate the N RRAM memristor units, where the M variable RRAM memristor units are original RRAM memristors without storing any weight values;
步骤S3:所述激励电压产生器产生相应于所述权重值的电压,通过所述控制晶体管对每一个所述可变RRAM忆阻器单元输入固定的权重值,以形成所述M个RRAM忆阻器单元的权重值组合;Step S3: The excitation voltage generator generates a voltage corresponding to the weight value, and inputs a fixed weight value to each variable RRAM memristor unit through the control transistor to form the M RRAM memories The weight value combination of the resistor unit;
步骤S4:形成所述N个RRAM忆阻器单元的整套权重值组合。Step S4: forming a set of weight value combinations of the N RRAM memristor units.
优选地,所述的形成方法还包括步骤S5:所述N个RRAM忆阻器单元整套权重值组合形成X*Y的底层基本权重逻辑矩阵,所述数字综合工具根据用户需求直接调用X*Y的底层基本权重逻辑矩阵Preferably, the forming method further includes step S5: the entire set of weight values of the N RRAM memristor units are combined to form an X*Y underlying basic weight logic matrix, and the digital synthesis tool directly calls X*Y according to user needs Basic weight logic matrix
优选地,所述N个RRAM忆阻器单元整套权重值组合中的所述权重的数量为11,且所述N等于M,所述步骤S3具体包括如下步骤:Preferably, the number of the weights in the set of weight value combinations of the N RRAM memristor units is 11, and the N is equal to M, and the step S3 specifically includes the following steps:
步骤S31:所述激励电压产生器产生11个电压值,其中,所述11个电压值分别为V1、V2、…V11;Step S31: The excitation voltage generator generates 11 voltage values, where the 11 voltage values are respectively V1, V2, ... V11;
步骤S32:分别通过11个所述控制晶体管对11个所述可变RRAM忆阻器单元分别接受所述11个电压值V1、V2、…V11,完成11个所述可变RRAM忆阻器单元固定权重值的输入,其中,11个所述可变RRAM忆阻器单元的固定权重值分别为Z1、Z2、…Z11。Step S32: Respectively receive the 11 voltage values V1, V2,...V11 through the 11 control transistors to the 11 variable RRAM memristor units to complete the 11 variable RRAM memristor units The input of the fixed weight value, wherein the fixed weight values of the 11 variable RRAM memristor units are respectively Z1, Z2, ... Z11.
优选地,所述步骤S4具体包括如下步骤:Preferably, the step S4 specifically includes the following steps:
步骤S41:如果所述M小于N,执行步骤S42,如果所述M等于N,执行步骤S43;Step S41: If the M is less than N, execute step S42, if the M is equal to N, execute step S43;
步骤S42:所述N个RRAM忆阻器单元的整套权重值组合为所述M个RRAM忆阻器单元的权重值组合加上(N-M)个所述固定RRAM忆阻器单元的权重值组合;Step S42: the set of weight value combinations of the N RRAM memristor units is the weight value combination of the M RRAM memristor units plus (N-M) weight value combinations of the fixed RRAM memristor unit;
步骤S43:所述N个RRAM忆阻器单元的整套权重值组合为所述M个RRAM忆阻器单元的权重值组合。Step S43: The whole set of weight value combinations of the N RRAM memristor units is the weight value combination of the M RRAM memristor units.
从上述技术方案可以看出,本发明提供了一种基于RRAM忆阻器单元的集合模块及其形成方法,其具备以下技术优势:It can be seen from the above technical solutions that the present invention provides an RRAM memristor unit-based assembly module and its forming method, which has the following technical advantages:
①、根据用户需求形成一套完整的权重值组合,即权重值任意可设;① Form a complete set of weight value combinations according to user needs, that is, weight values can be set arbitrarily;
②、由于用户在使用时,权重网络已经过训练而固定,所以上述整套权重值的组合通过数字综合工具可直接调用底层基本权重逻辑;②. Since the weight network has been trained and fixed when the user is using it, the combination of the above set of weight values can directly call the underlying basic weight logic through the digital synthesis tool;
③、基于RRAM忆阻器的单元具有非易失性的存储功能,也就是说,在制作完并写入完权重后,该权重值即永久保留。③ The RRAM memristor-based unit has a non-volatile storage function, that is to say, after the weight is made and written, the weight value is permanently retained.
附图说明Description of the drawings
图1为本发明实施例中基于RRAM忆阻器的权重逻辑库模块的示意图Figure 1 is a schematic diagram of a weighted logic library module based on an RRAM memristor in an embodiment of the present invention
图2为本发明实施例中典型的RRAM忆阻器单元的示意图Figure 2 is a schematic diagram of a typical RRAM memristor unit in an embodiment of the invention
图3为本发明实施例中的基于RRAM忆阻器的权重逻辑库模块的使用流程图Figure 3 is a flow chart of the use of the RRAM memristor-based weight logic library module in an embodiment of the present invention
图4为本发明实施例中具有11种权重的RRAM忆阻器单元的权重逻辑库示意图4 is a schematic diagram of the weight logic library of the RRAM memristor unit with 11 weights in an embodiment of the present invention
图5为本发明应用于神经网络推断芯片实施例中过程示意图Figure 5 is a schematic diagram of the process in the application of the present invention to the neural network inference chip embodiment
图6为本发明实施例中典型的RRAM忆阻器单元集合最终形成的制作完并写入权重后的阵列示意图FIG. 6 is a schematic diagram of an array finally formed by a typical RRAM memristor unit set in an embodiment of the present invention after fabricating and writing weights
发明内容Summary of the invention
以下结合附图1-6,通过具体实施例对本发明的基于RRAM忆阻器的单元集合及其形成方法作进一步详细说明。需要说明的是,附图均采用非常简化的形式、使用非精准的比例,且仅用以方便、明晰地达到辅助说明本发明实施例的目的。Hereinafter, the RRAM memristor-based cell set and its formation method of the present invention will be further described in detail through specific embodiments in conjunction with FIGS. 1-6. It should be noted that the drawings all adopt a very simplified form and use imprecise proportions, and are only used to facilitate and clearly achieve the purpose of assisting in describing the embodiments of the present invention.
请参阅图1,图1为本发明实施例中基于RRAM忆阻器的权重逻辑库模块的示意图。如图所示,该基于RRAM忆阻器的权重逻辑库模块其包括用于存储权重值的N个RRAM忆阻器单元和权重生成单元。其中,N为大于等于2的正整数。该N个RRAM忆阻器单元中包括M个可变RRAM忆阻器单元,其中,M大于等于2的正整数,且M小于等于N。也就是说,当M等于N时,该N个RRAM忆阻器单元均是可变RRAM忆阻器单元;当M小于N时,该N个RRAM忆阻器单元还另外包括N-M个存储权重已固定的RRAM忆阻器单元。Please refer to FIG. 1. FIG. 1 is a schematic diagram of a weighted logic library module based on an RRAM memristor in an embodiment of the present invention. As shown in the figure, the RRAM memristor-based weight logic library module includes N RRAM memristor units for storing weight values and a weight generation unit. Among them, N is a positive integer greater than or equal to 2. The N RRAM memristor units include M variable RRAM memristor units, where M is a positive integer greater than or equal to 2, and M is less than or equal to N. That is to say, when M is equal to N, the N RRAM memristor units are variable RRAM memristor units; when M is less than N, the N RRAM memristor units additionally include NM storage weights. Fixed RRAM memristor unit.
在本发明的实施例中,每一个可变RRAM忆阻器单元包括一个没有写入权重值的原始RRAM忆阻器、一个控制晶体管、激励电压产生器和输出端。需要说明的是,原始RRAM忆阻器是不能存储任何值,只能通过后续的电压刷新(forming),才能将权重值输入进去。In the embodiment of the present invention, each variable RRAM memristor unit includes an original RRAM memristor without a written weight value, a control transistor, an excitation voltage generator and an output terminal. It should be noted that the original RRAM memristor cannot store any value, and the weight value can only be input through subsequent voltage forming.
当权重生成单元(或用户)确定好每一个可变RRAM忆阻器单元所需存储的权重值时,激励电压产生器产生相应于所述权重值的电压,通过控制晶体管(用于控制RRAM忆阻器的读写操作)对每一个可变RRAM忆阻器单元输入固定的权重值,以形成N个RRAM忆阻器单元的整套权重值组合。When the weight generation unit (or the user) determines the weight value that each variable RRAM memristor unit needs to store, the excitation voltage generator generates a voltage corresponding to the weight value, and through the control transistor (used to control the RRAM memory Resistor read and write operations) Input a fixed weight value to each variable RRAM memristor unit to form a complete set of weight value combinations of N RRAM memristor units.
在本发明的实施例中,N个RRAM忆阻器单元整套权重值组合中权重值按可以按等差数列形成,或可以按等比数列形成。并且,N个RRAM忆 阻器单元整套权重值组合中的权重的数量最大通常为256,较佳地,N个RRAM忆阻器单元整套权重值组合中权重的数量为11。In the embodiment of the present invention, the weight values in the set of weight value combinations of the N RRAM memristor units can be formed in an arithmetic sequence or can be formed in a geometric sequence. In addition, the maximum number of weights in the set of weight value combinations of N RRAM memristor units is usually 256 at most. Preferably, the number of weights in the set of weight value combinations of N RRAM memristor units is 11.
为简便起见,下面的实施例以M等于N的情况进行示例说明。For the sake of simplicity, the following embodiment uses the case where M is equal to N as an example.
实施例一Example one
在本实施例中,假设N=11,即N个RRAM忆阻器单元的整套权重值组合形成后,每一个RRAM忆阻器单元均存储有一个权重值,基于RRAM忆阻器的单元具有非易失性的存储功能,也就是说,在制作完并写入完权重后,该权重值可保留。In this embodiment, assuming that N=11, that is, after a set of weight values of N RRAM memristor units are combined, each RRAM memristor unit stores a weight value, and the RRAM memristor-based unit has a non- Volatile storage function, that is, after the weight is created and written, the weight value can be retained.
请参阅图2,图2为本发明实施例中典型的RRAM忆阻器单元的示意图。如图所示,每一个已存储RRAM忆阻器单元(相当于固定RRAM忆阻器单元),数字综合工具调用控制晶体管接收输入值,该输入值并同权重值一同运算后得到运算结果。Please refer to FIG. 2. FIG. 2 is a schematic diagram of a typical RRAM memristor unit in an embodiment of the present invention. As shown in the figure, for each stored RRAM memristor unit (equivalent to a fixed RRAM memristor unit), the digital synthesis tool calls the control transistor to receive the input value, and the input value is calculated together with the weight value to obtain the calculation result.
请参阅图3,图3为本发明实施例中的基于RRAM忆阻器的权重逻辑库模块的使用流程图。本发明的采用上述基于RRAM忆阻器单元的集合模块的形成方法,包括如下步骤:Please refer to FIG. 3, which is a flowchart of the use of the weight logic library module based on the RRAM memristor in an embodiment of the present invention. The method for forming a collective module based on the RRAM memristor unit of the present invention includes the following steps:
步骤S1:根据用户需求确定所述N个RRAM忆阻器单元中需存储的整套权重值组合。Step S1: Determine a set of weight value combinations to be stored in the N RRAM memristor units according to user requirements.
请参阅图4,图4为本发明实施例中具有11种权重的RRAM忆阻器单元的权重逻辑库示意图。如图所示,预先由代工厂提供所需不同权重的逻辑库包括如下器件:Please refer to FIG. 4, which is a schematic diagram of a weight logic library of an RRAM memristor unit with 11 types of weights in an embodiment of the present invention. As shown in the figure, the logic library with different weights required by the foundry in advance includes the following devices:
i、权重为1.0的RRAM器件,以及1个控制晶体管;i. An RRAM device with a weight of 1.0 and a control transistor;
ii、权重为0.9的RRAM器件,以及1个控制晶体管;ii. RRAM device with a weight of 0.9 and 1 control transistor;
……...
x、权重为0.1的RRAM器件,以及1个控制晶体管;x, RRAM device with a weight of 0.1, and 1 control transistor;
xi、权重为0.0的RRAM器件,以及1个控制晶体管。xi, RRAM device with a weight of 0.0, and 1 control transistor.
步骤S2:制作所述N个RRAM忆阻器单元,其中,所述M个可变RRAM忆阻器单元为没有存储任何权重值的原始RRAM忆阻器。Step S2: Fabricate the N RRAM memristor units, wherein the M variable RRAM memristor units are original RRAM memristors without storing any weight values.
步骤S3:激励电压产生器产生相应于所述权重值的电压,通过控制晶体管对每一个所述可变RRAM忆阻器单元输入固定的权重值,以形成M个RRAM忆阻器单元的权重值组合。Step S3: The excitation voltage generator generates a voltage corresponding to the weight value, and a fixed weight value is input to each of the variable RRAM memristor units through a control transistor to form the weight value of M RRAM memristor units combination.
在本发明的实施例中,N个RRAM忆阻器单元整套权重值组合中的所述权重的数量为11,且所述N等于M,所述步骤S3具体包括如下步骤:In the embodiment of the present invention, the number of the weights in the set of weight value combinations of N RRAM memristor units is 11, and the N is equal to M, and the step S3 specifically includes the following steps:
步骤S31:所述激励电压产生器产生11个电压值,其中,所述11个电压值分别为V1、V2、…V11;其中,该11个电压值可以由一个激励电压产生器产生,也可以由多个激励电压产生器产生。Step S31: The excitation voltage generator generates 11 voltage values, where the 11 voltage values are respectively V1, V2, ... V11; wherein, the 11 voltage values can be generated by an excitation voltage generator or Generated by multiple excitation voltage generators.
步骤S32:分别通过11个所述控制晶体管对11个所述可变RRAM忆阻器单元分别接受所述11个电压值V1、V2、…V11,完成11个所述可变RRAM忆阻器单元固定权重值的输入,其中,11个所述可变RRAM忆阻器单元的固定权重值分别为Z1、Z2、…Z11。在本实施例中,Z1、Z2、…Z11分别1.0、0.9、0.8、0.7、0.6、0.5、0.4、0.3、0.2、0.1和0.0。Step S32: Respectively receive the 11 voltage values V1, V2,...V11 through the 11 control transistors to the 11 variable RRAM memristor units to complete the 11 variable RRAM memristor units The input of the fixed weight value, wherein the fixed weight values of the 11 variable RRAM memristor units are respectively Z1, Z2, ... Z11. In this embodiment, Z1, Z2, ... Z11 are 1.0, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1, and 0.0, respectively.
步骤S4:形成所述N个RRAM忆阻器单元的整套权重值组合。Step S4: forming a set of weight value combinations of the N RRAM memristor units.
步骤S4具体包括如下步骤(需要说明的是,下述示例的情况不仅包括了M等于N的情况,也包括了M小于N的情况):Step S4 specifically includes the following steps (it should be noted that the following examples include not only the case where M is equal to N, but also the case where M is less than N):
步骤S41:如果所述M为小于N,执行步骤S42,如果所述M为等于N,执行步骤S43;Step S41: If the M is less than N, perform step S42, if the M is equal to N, perform step S43;
步骤S42:所述N个RRAM忆阻器单元的整套权重值组合为所述M个RRAM忆阻器单元的权重值组合加上(N-M)个所述固定RRAM忆阻器单元的权重值组合;Step S42: the set of weight value combinations of the N RRAM memristor units is the weight value combination of the M RRAM memristor units plus (N-M) weight value combinations of the fixed RRAM memristor unit;
步骤S43:所述N个RRAM忆阻器单元的整套权重值组合为所述M个RRAM忆阻器单元的权重值组合。Step S43: The whole set of weight value combinations of the N RRAM memristor units is the weight value combination of the M RRAM memristor units.
步骤S5:所述N个RRAM忆阻器单元整套权重值组合形成X*Y的底层基本权重逻辑矩阵,所述数字综合工具根据用户需求直接调用X*Y的底层基本权重逻辑矩阵。Step S5: The entire set of weight values of the N RRAM memristor units are combined to form an X*Y bottom-level basic weight logic matrix, and the digital synthesis tool directly calls the X*Y bottom-level basic weight logic matrix according to user requirements.
实施例二Example two
神经网络(NNs)或称作连接模型(Connection Model),它是一种模仿动物神经网络行为特征,进行分布式并行信息处理的算法数学模型。这种网络依靠系统的复杂程度,通过调整内部大量节点之间相互连接的关系,从而达到处理信息的目的。Neural Networks (NNs), or Connection Models, are an algorithmic mathematical model that imitates the behavioral characteristics of animal neural networks and performs distributed and parallel information processing. This kind of network relies on the complexity of the system and achieves the purpose of processing information by adjusting the interconnection between a large number of internal nodes.
目前,神经网络芯片的三个重要运算特征如下:At present, the three important operational features of neural network chips are as follows:
①、神经网络具有多层感知、层次化卷积运算的特性,乘加MAC矩阵(Modal Assurance Criterion,模态置信矩阵)运算量极大,且网络规模和层次需随算法动态变化;① Neural network has the characteristics of multi-layer perception and hierarchical convolution operation. The multiplication and addition MAC matrix (Modal Assurance Criterion, modal confidence matrix) has a huge amount of calculation, and the network scale and level need to be dynamically changed with the algorithm;
②、训练运算时,通用逻辑门搭建的经典ASIC(Application Specific Integrated Circuit)架构,本身不具存储特性,由于训练时权重反复刷新,需 要大量与存储单元(Memory)交互数据;② When training calculations, the classic ASIC (Application Specific Integrated Circuit) architecture built by general logic gates does not have storage characteristics itself. Because the weights are repeatedly refreshed during training, a large amount of interaction data with the memory unit (Memory) is required;
③、推断运算时,具有大量搬移的数据运算,为克服带宽和存储的瓶颈,需要多个缓存接口(比如LPDDR4),浪费大量功耗。③. In the inference operation, there are a large number of data operations that are moved. To overcome the bottleneck of bandwidth and storage, multiple cache interfaces (such as LPDDR4) are needed, which wastes a lot of power consumption.
在本发明的实施例中,采用基于RRAM忆阻器单元的集合模块及其形成方法,使上述问题得到了很好地解决。请参阅图5,图5为本发明应用于神经网络推断芯片实施例中过程示意图。如图所示,AI及神经网络芯片的运算特征决定了:基于多值权重的乘加网络可明显加速多层感知层次化的卷积运算,将网络矩阵最基础的单值/多值乘加运算符做成基本单元库,可以有效分解层次化卷积网络运算至底层基本权重逻辑运算。对于推断芯片,权重网络已经过训练而固定,通过数字综合工具可直接调用底层基本权重逻辑。In the embodiment of the present invention, the collective module based on the RRAM memristor unit and the forming method thereof are adopted, so that the above-mentioned problems are well solved. Please refer to FIG. 5, which is a schematic diagram of a process in an embodiment of a neural network inference chip according to the present invention. As shown in the figure, the operational characteristics of AI and neural network chips determine: the multiplication and addition network based on multi-value weights can significantly accelerate the multi-layer perception and hierarchical convolution operation, and the most basic single-value/multi-value multiplication and addition of the network matrix Operators are made into a basic unit library, which can effectively decompose the hierarchical convolutional network operation to the underlying basic weight logic operation. For the inference chip, the weight network has been trained and fixed, and the underlying basic weight logic can be directly called through the digital synthesis tool.
也就是说,对于神经网络推断芯片,权重网络已经过训练而固定,其中,某层神经网络需要特定的乘加矩阵来实现。乘加矩阵可以分解为每个单项式,单项式A中的α、β、γ、δ等为所需要的权重,在这里一共三种权重,α=1、β=0.5、γ=0,δ为可变权重,可以为α、β、γ中的任意值;通过数字综合工具可直接调用底层基本权重逻辑,形成图6所示的阵列,并通过之前的加工制作流程,形成最终的权重阵列。That is to say, for the neural network inference chip, the weight network has been trained and fixed, and a certain layer of neural network needs a specific multiplication and addition matrix to achieve. The multiplication-addition matrix can be decomposed into each monomial. The α, β, γ, δ in the monomial A are the required weights. There are three kinds of weights, α=1, β=0.5, γ=0, and δ is available. The variable weight can be any value of α, β, and γ; the underlying basic weight logic can be directly called by the digital synthesis tool to form the array shown in Figure 6, and the final weight array can be formed through the previous manufacturing process.
以上所述仅为本发明的优选实施例,所述实施例并非用于限制本发明的专利保护范围,因此凡是运用本发明的说明书及附图内容所作的等同结构变化,同理均应包含在本发明所附权利要求的保护范围内。The above are only the preferred embodiments of the present invention, and the described embodiments are not used to limit the scope of patent protection of the present invention. Therefore, any equivalent structural changes made using the contents of the description and drawings of the present invention should be included in the same reasoning Within the protection scope of the appended claims of the present invention.
6、根据权利要求1所述的基于RRAM忆阻器单元的集合模块,其特征在于,还包括数字综合工具,所述N个RRAM忆阻器单元整套权重值组合形成X*Y的底层基本权重逻辑矩阵,所述数字综合工具根据用户需求直接调用X*Y的底层基本权重逻辑矩阵;其中,所述X*Y的值大于等于所述N。6. The RRAM memristor unit-based assembly module according to claim 1, further comprising a digital synthesis tool, and the combination of the entire set of weight values of the N RRAM memristor units forms the underlying basic weight of X*Y Logical matrix, the digital synthesis tool directly calls the X*Y underlying basic weight logical matrix according to user requirements; wherein the value of X*Y is greater than or equal to the N.
7、一种采用权利要求1所述的基于RRAM忆阻器单元的集合模块的形成方法,其特征在于,包括如下步骤:7. A method for forming an aggregate module based on RRAM memristor units according to claim 1, characterized in that it comprises the following steps:
步骤S1:根据所述权重生成单元确定所述N个RRAM忆阻器单元中需存储的整套权重值组合;Step S1: Determine, according to the weight generating unit, a complete set of weight value combinations to be stored in the N RRAM memristor units;
步骤S2:制作所述N个RRAM忆阻器单元,其中,所述M个可变RRAM忆阻器单元为没有存储任何权重值的原始RRAM忆阻器;Step S2: Fabricate the N RRAM memristor units, wherein the M variable RRAM memristor units are original RRAM memristors without storing any weight values;
步骤S3:所述激励电压产生器产生相应于所述权重值的电压,通过所述控制晶体管对每一个所述可变RRAM忆阻器单元输入固定的权重值,以形成所述M个RRAM忆阻器单元的权重值组合;Step S3: The excitation voltage generator generates a voltage corresponding to the weight value, and inputs a fixed weight value to each variable RRAM memristor unit through the control transistor to form the M RRAM memories The weight value combination of the resistor unit;
步骤S4:形成所述N个RRAM忆阻器单元的整套权重值组合。Step S4: forming a complete set of weight value combinations of the N RRAM memristor units.
8、根据权利要求7所述的形成方法,其特征在于,还包括步骤S5:所述N个RRAM忆阻器单元整套权重值组合形成X*Y的底层基本权重逻辑矩阵,所述数字综合工具根据用户需求直接调用X*Y的底层基本权重逻辑矩阵。8. The forming method according to claim 7, further comprising step S5: the entire set of weight values of the N RRAM memristor units are combined to form an X*Y underlying basic weight logic matrix, and the digital synthesis tool Directly call the underlying basic weight logic matrix of X*Y according to user needs.
9、根据权利要求7所述的形成方法,其特征在于,所述N个RRAM忆阻器单元整套权重值组合中的所述权重的数量为11,且所述N等于M,所述步骤S3具体包括如下步骤:9. The method of claim 7, wherein the number of weights in the set of weight value combinations of the N RRAM memristor units is 11, and the N is equal to M, and the step S3 It includes the following steps:
步骤S31:所述激励电压产生器产生11个电压值,其中,所述11个电 压值分别为V1、V2、…V11;Step S31: The excitation voltage generator generates 11 voltage values, where the 11 voltage values are respectively V1, V2, ... V11;
步骤S32:分别通过11个所述控制晶体管对11个所述可变RRAM忆阻器单元分别接受所述11个电压值V1、V2、…V11,完成11个所述可变RRAM忆阻器单元固定权重值的输入,其中,11个所述可变RRAM忆阻器单元的固定权重值分别为Z1、Z2、…Z11。Step S32: Respectively receive the 11 voltage values V1, V2,...V11 through the 11 control transistors to the 11 variable RRAM memristor units to complete the 11 variable RRAM memristor units The input of the fixed weight value, wherein the fixed weight values of the 11 variable RRAM memristor units are respectively Z1, Z2, ... Z11.
10、根据权利要求7所述的形成方法,其特征在于,所述步骤S4具体包括如下步骤:10. The forming method according to claim 7, wherein the step S4 specifically includes the following steps:
步骤S41:如果所述M为小于N,执行步骤S42,如果所述M等于N,执行步骤S43;Step S41: If the M is less than N, execute step S42, if the M is equal to N, execute step S43;
步骤S42:所述N个RRAM忆阻器单元的整套权重值组合为所述M个RRAM忆阻器单元的权重值组合加上(N-M)个所述固定RRAM忆阻器单元的权重值组合;Step S42: the set of weight value combinations of the N RRAM memristor units is the weight value combination of the M RRAM memristor units plus (N-M) weight value combinations of the fixed RRAM memristor unit;
步骤S43:所述N个RRAM忆阻器单元的整套权重值组合为所述M个RRAM忆阻器单元的权重值组合。Step S43: The whole set of weight value combinations of the N RRAM memristor units is the weight value combination of the M RRAM memristor units.

Claims (10)

  1. 一种基于RRAM忆阻器的权重逻辑库模块,其特征在于,包括:用于存储权重值的N个RRAM忆阻器单元和权重生成单元,所述N个RRAM忆阻器单元中包括M个可变RRAM忆阻器单元;每一个所述可变RRAM忆阻器单元包括一个没有写入权重值的原始RRAM忆阻器、一个控制晶体管、激励电压产生器和输出端;其中,所述N和M为大于等于2的正整数,M为小于等于N;当所述权重生成单元确定每一个所述可变RRAM忆阻器单元所需存储的权重值后,所述激励电压产生器产生相应于所述权重值的电压,通过所述控制晶体管对每一个所述可变RRAM忆阻器单元输入固定的权重值,以形成所述N个RRAM忆阻器单元的整套权重值组合。A weighted logic library module based on RRAM memristor, which is characterized in that it comprises: N RRAM memristor units for storing weight values and a weight generating unit, and the N RRAM memristor units include M Variable RRAM memristor unit; each of the variable RRAM memristor units includes an original RRAM memristor without a written weight value, a control transistor, an excitation voltage generator and an output terminal; wherein, the N And M is a positive integer greater than or equal to 2, and M is less than or equal to N; when the weight generation unit determines the weight value that each variable RRAM memristor unit needs to store, the excitation voltage generator generates a corresponding For the voltage of the weight value, a fixed weight value is input to each of the variable RRAM memristor units through the control transistor to form a set of weight value combinations of the N RRAM memristor units.
  2. 根据权利要求1所述的基于RRAM忆阻器单元的集合模块,其特征在于,所述M为小于N,所述N个RRAM忆阻器单元中包括N-M个固定RRAM忆阻器单元。The assembly module based on RRAM memristor units according to claim 1, wherein the M is less than N, and the N RRAM memristor units include N-M fixed RRAM memristor units.
  3. 根据权利要求1所述的基于RRAM忆阻器单元的集合模块,其特征在于,所述N个RRAM忆阻器单元整套权重值组合中的所述权重值按等差数列形成,或按等比数列形成。The assembly module based on RRAM memristor units according to claim 1, wherein the weight values in the set of weight value combinations of the N RRAM memristor units are formed in an arithmetic sequence, or in an equal ratio The sequence is formed.
  4. 根据权利要求1所述的基于RRAM忆阻器单元的集合模块,其特征在于,所述N个RRAM忆阻器单元整套权重值组合中的所述权重的数量最大为256。The assembly module based on RRAM memristor units according to claim 1, wherein the number of the weights in the set of weight value combinations of the N RRAM memristor units is at most 256.
  5. 根据权利要求4所述的基于RRAM忆阻器单元的集合模块,其特征在于,所述N个RRAM忆阻器单元整套权重值组合中的所述权重的数量为11。The assembly module based on RRAM memristor units according to claim 4, wherein the number of the weights in the set of weight value combinations of the N RRAM memristor units is 11.
  6. 根据权利要求1所述的基于RRAM忆阻器单元的集合模块,其特征在于,还包括数字综合工具,所述N个RRAM忆阻器单元整套权重值组合形成X*Y的底层基本权重逻辑矩阵,所述数字综合工具根据用户需求直接调用X*Y的底层基本权重逻辑矩阵;其中,所述X*Y的值大于等于所述N。The assembly module based on RRAM memristor units according to claim 1, characterized in that it further comprises a digital synthesis tool, the set of weight values of the N RRAM memristor units are combined to form an X*Y underlying basic weight logic matrix , The digital synthesis tool directly calls the underlying basic weight logic matrix of X*Y according to user requirements; wherein the value of X*Y is greater than or equal to the N.
  7. 一种采用权利要求1所述的基于RRAM忆阻器单元的集合模块的形成方法,其特征在于,包括如下步骤:A method for forming a collective module based on RRAM memristor units according to claim 1, characterized in that it comprises the following steps:
    步骤S1:根据所述权重生成单元确定所述N个RRAM忆阻器单元中需存储的整套权重值组合;Step S1: Determine, according to the weight generating unit, a complete set of weight value combinations to be stored in the N RRAM memristor units;
    步骤S2:制作所述N个RRAM忆阻器单元,其中,所述M个可变RRAM忆阻器单元为没有存储任何权重值的原始RRAM忆阻器;Step S2: Fabricate the N RRAM memristor units, wherein the M variable RRAM memristor units are original RRAM memristors without storing any weight values;
    步骤S3:所述激励电压产生器产生相应于所述权重值的电压,通过所述控制晶体管对每一个所述可变RRAM忆阻器单元输入固定的权重值,以形成所述M个RRAM忆阻器单元的权重值组合;Step S3: The excitation voltage generator generates a voltage corresponding to the weight value, and inputs a fixed weight value to each variable RRAM memristor unit through the control transistor to form the M RRAM memories The weight value combination of the resistor unit;
    步骤S4:形成所述N个RRAM忆阻器单元的整套权重值组合。Step S4: forming a complete set of weight value combinations of the N RRAM memristor units.
  8. 根据权利要求7所述的形成方法,其特征在于,还包括步骤S5:所述N个RRAM忆阻器单元整套权重值组合形成X*Y的底层基本权重逻辑矩阵,所述数字综合工具根据用户需求直接调用X*Y的底层基本权重逻辑矩阵。The formation method according to claim 7, further comprising step S5: the entire set of weight values of the N RRAM memristor units are combined to form an X*Y underlying basic weight logic matrix, and the digital synthesis tool is based on the user Need to directly call the underlying basic weight logic matrix of X*Y.
  9. 根据权利要求7所述的形成方法,其特征在于,所述N个RRAM忆阻器单元整套权重值组合中的所述权重的数量为11,且所述N等于M,所述步骤S3具体包括如下步骤:The method of claim 7, wherein the number of the weights in the set of weight value combinations of the N RRAM memristor units is 11, and the N is equal to M, and the step S3 specifically includes The following steps:
    步骤S31:所述激励电压产生器产生11个电压值,其中,所述11个电 压值分别为V1、V2、…V11;Step S31: The excitation voltage generator generates 11 voltage values, where the 11 voltage values are respectively V1, V2, ... V11;
    步骤S32:分别通过11个所述控制晶体管对11个所述可变RRAM忆阻器单元分别接受所述11个电压值V1、V2、…V11,完成11个所述可变RRAM忆阻器单元固定权重值的输入,其中,11个所述可变RRAM忆阻器单元的固定权重值分别为Z1、Z2、…Z11。Step S32: Respectively receive the 11 voltage values V1, V2,...V11 through the 11 control transistors to the 11 variable RRAM memristor units to complete the 11 variable RRAM memristor units The input of the fixed weight value, wherein the fixed weight values of the 11 variable RRAM memristor units are respectively Z1, Z2, ... Z11.
  10. 根据权利要求7所述的形成方法,其特征在于,所述步骤S4具体包括如下步骤:The forming method according to claim 7, wherein the step S4 specifically includes the following steps:
    步骤S41:如果所述M为小于N,执行步骤S42,如果所述M等于N,执行步骤S43;Step S41: If the M is less than N, execute step S42, if the M is equal to N, execute step S43;
    步骤S42:所述N个RRAM忆阻器单元的整套权重值组合为所述M个RRAM忆阻器单元的权重值组合加上(N-M)个所述固定RRAM忆阻器单元的权重值组合;Step S42: the set of weight value combinations of the N RRAM memristor units is the weight value combination of the M RRAM memristor units plus (N-M) weight value combinations of the fixed RRAM memristor unit;
    步骤S43:所述N个RRAM忆阻器单元的整套权重值组合为所述M个RRAM忆阻器单元的权重值组合。Step S43: The whole set of weight value combinations of the N RRAM memristor units is the weight value combination of the M RRAM memristor units.
PCT/CN2020/090988 2019-08-09 2020-05-19 Set module based on rram memristor unit, and forming method therefor WO2021027354A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910742298.6 2019-08-09
CN201910742298.6A CN110619905A (en) 2019-08-09 2019-08-09 RRAM (resistive random access memory) memristor unit-based collection module and forming method thereof

Publications (1)

Publication Number Publication Date
WO2021027354A1 true WO2021027354A1 (en) 2021-02-18

Family

ID=68921749

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/090988 WO2021027354A1 (en) 2019-08-09 2020-05-19 Set module based on rram memristor unit, and forming method therefor

Country Status (2)

Country Link
CN (1) CN110619905A (en)
WO (1) WO2021027354A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110619905A (en) * 2019-08-09 2019-12-27 上海集成电路研发中心有限公司 RRAM (resistive random access memory) memristor unit-based collection module and forming method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120317063A1 (en) * 2011-06-08 2012-12-13 Postech Academy-Industry Foundation Synapse for function cell of spike timing dependent plasticity (stdp), function cell of stdp, and neuromorphic circuit using function cell of stdp
US20180095722A1 (en) * 2016-09-30 2018-04-05 Hewlett Packard Enterprise Development Lp Multiply-Accumulate Circuits
CN108205705A (en) * 2016-12-16 2018-06-26 爱思开海力士有限公司 For normalizing the device and method of neural network equipment
CN109800870A (en) * 2019-01-10 2019-05-24 华中科技大学 A kind of Neural Network Online learning system based on memristor
US20190228295A1 (en) * 2018-01-19 2019-07-25 International Business Machines Corporation Synapse memory cell driver
CN110619905A (en) * 2019-08-09 2019-12-27 上海集成电路研发中心有限公司 RRAM (resistive random access memory) memristor unit-based collection module and forming method thereof

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102543172B (en) * 2012-02-27 2014-09-24 北京大学 Control method applicable to resistance changing memory resistor of nerve cell circuit
US10339447B2 (en) * 2014-01-23 2019-07-02 Qualcomm Incorporated Configuring sparse neuronal networks
JP6501146B2 (en) * 2014-03-18 2019-04-17 パナソニックIpマネジメント株式会社 Neural network circuit and learning method thereof
US10614355B2 (en) * 2015-12-30 2020-04-07 SK Hynix Inc. Method for updating weights of synapses of a neuromorphic device
EP3414702A1 (en) * 2016-02-08 2018-12-19 Spero Devices, Inc. Analog co-processor
US10438116B2 (en) * 2017-02-10 2019-10-08 Electronics And Telecommunications Research Institute Neuromorphic arithmetic device
CN109460817B (en) * 2018-09-11 2021-08-03 华中科技大学 Convolutional neural network on-chip learning system based on nonvolatile memory
US10642922B2 (en) * 2018-09-28 2020-05-05 Intel Corporation Binary, ternary and bit serial compute-in-memory circuits

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120317063A1 (en) * 2011-06-08 2012-12-13 Postech Academy-Industry Foundation Synapse for function cell of spike timing dependent plasticity (stdp), function cell of stdp, and neuromorphic circuit using function cell of stdp
US20180095722A1 (en) * 2016-09-30 2018-04-05 Hewlett Packard Enterprise Development Lp Multiply-Accumulate Circuits
CN108205705A (en) * 2016-12-16 2018-06-26 爱思开海力士有限公司 For normalizing the device and method of neural network equipment
US20190228295A1 (en) * 2018-01-19 2019-07-25 International Business Machines Corporation Synapse memory cell driver
CN109800870A (en) * 2019-01-10 2019-05-24 华中科技大学 A kind of Neural Network Online learning system based on memristor
CN110619905A (en) * 2019-08-09 2019-12-27 上海集成电路研发中心有限公司 RRAM (resistive random access memory) memristor unit-based collection module and forming method thereof

Also Published As

Publication number Publication date
CN110619905A (en) 2019-12-27

Similar Documents

Publication Publication Date Title
US11361216B2 (en) Neural network circuits having non-volatile synapse arrays
CN110334799B (en) Neural network reasoning and training accelerator based on storage and calculation integration and operation method thereof
Luo et al. Accelerating deep neural network in-situ training with non-volatile and volatile memory based hybrid precision synapses
Xu et al. Design implications of memristor-based RRAM cross-point structures
CN103875038B (en) Method and apparatus of reducing leakage power in multiple port Sram memory cell
Zidan et al. Memristive computing devices and applications
CN109902822B (en) Memory computing system and method based on Sgimenk track storage
CN112133339B (en) Memory bit-by-bit logic calculation circuit structure based on ferroelectric transistor
CN108446764B (en) Novel neuromorphic chip architecture
TW201937413A (en) Neural network circuits having non-volatile synapse arrays
KR20210059815A (en) Neuromorphic device based on memory
Kumar et al. A Novel RRAM-based FPGA architecture with Improved Performance and Optimization Parameters
Ma et al. In-memory computing: The next-generation ai computing paradigm
WO2021027354A1 (en) Set module based on rram memristor unit, and forming method therefor
Burr et al. Ohm's law+ kirchhoff's current law= better ai: Neural-network processing done in memory with analog circuits will save energy
Rajput et al. An energy-efficient hybrid SRAM-based in-memory computing macro for artificial intelligence edge devices
Nemati et al. A hybrid SRAM/RRAM in-memory computing architecture based on a reconfigurable SRAM sense amplifier
Raman et al. Igzo cim: Enabling in-memory computations using multilevel capacitorless indium–gallium–zinc–oxide-based embedded dram technology
Kumar et al. Stability and performance analysis of low power 6T SRAM cell and memristor based SRAM cell using 45NM CMOS technology
Rios et al. Running efficiently cnns on the edge thanks to hybrid sram-rram in-memory computing
KR102457546B1 (en) Automated method and associated device for non-volatile storage, retrieval and management of message/label associations and label/message associations, with maximum likelihood
CN109521995B (en) Calculation method of logic operation device embedded in memristor array
Biswas et al. A data erasing writing technique based 1t1m quaternary memory circuit design
CN108154226A (en) A kind of neural network chip calculated using simulation
TW202307853A (en) Computing device, memory controller, and method for performing an in-memory computation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20852765

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20852765

Country of ref document: EP

Kind code of ref document: A1