[go: up one dir, main page]

CN109285576B - Memory device - Google Patents

Memory device Download PDF

Info

Publication number
CN109285576B
CN109285576B CN201810789754.8A CN201810789754A CN109285576B CN 109285576 B CN109285576 B CN 109285576B CN 201810789754 A CN201810789754 A CN 201810789754A CN 109285576 B CN109285576 B CN 109285576B
Authority
CN
China
Prior art keywords
memory cells
memory cell
column
memory
bit
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201810789754.8A
Other languages
Chinese (zh)
Other versions
CN109285576A (en
Inventor
威兰·菲舍尔
贝恩德·迈尔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Infineon Technologies AG
Original Assignee
Infineon Technologies AG
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 Infineon Technologies AG filed Critical Infineon Technologies AG
Publication of CN109285576A publication Critical patent/CN109285576A/en
Application granted granted Critical
Publication of CN109285576B publication Critical patent/CN109285576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H10SEMICONDUCTOR DEVICES; ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10BELECTRONIC MEMORY DEVICES
    • H10B41/00Electrically erasable-and-programmable ROM [EEPROM] devices comprising floating gates
    • H10B41/30Electrically erasable-and-programmable ROM [EEPROM] devices comprising floating gates characterised by the memory core region
    • H10B41/35Electrically erasable-and-programmable ROM [EEPROM] devices comprising floating gates characterised by the memory core region with a cell select transistor, e.g. NAND
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/005Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor comprising combined but independently operative RAM-ROM, RAM-PROM, RAM-EPROM cells
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/56Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using storage elements with more than two stable states represented by steps, e.g. of voltage, current, phase, frequency
    • G11C11/5621Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using storage elements with more than two stable states represented by steps, e.g. of voltage, current, phase, frequency using charge storage in a floating gate
    • G11C11/5628Programming or writing circuits; Data input 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/0059Security or protection circuits or methods
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/04Erasable programmable read-only memories electrically programmable using variable threshold transistors, e.g. FAMOS
    • G11C16/0408Erasable programmable read-only memories electrically programmable using variable threshold transistors, e.g. FAMOS comprising cells containing floating gate transistors
    • G11C16/0441Erasable programmable read-only memories electrically programmable using variable threshold transistors, e.g. FAMOS comprising cells containing floating gate transistors comprising cells containing multiple floating gate devices, e.g. separate read-and-write FAMOS transistors with connected floating gates
    • G11C16/0458Erasable programmable read-only memories electrically programmable using variable threshold transistors, e.g. FAMOS comprising cells containing floating gate transistors comprising cells containing multiple floating gate devices, e.g. separate read-and-write FAMOS transistors with connected floating gates comprising two or more independent floating gates which store independent data
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/04Erasable programmable read-only memories electrically programmable using variable threshold transistors, e.g. FAMOS
    • G11C16/0466Erasable programmable read-only memories electrically programmable using variable threshold transistors, e.g. FAMOS comprising cells with charge storage in an insulating layer, e.g. metal-nitride-oxide-silicon [MNOS], silicon-oxide-nitride-oxide-silicon [SONOS]
    • G11C16/0475Erasable programmable read-only memories electrically programmable using variable threshold transistors, e.g. FAMOS comprising cells with charge storage in an insulating layer, e.g. metal-nitride-oxide-silicon [MNOS], silicon-oxide-nitride-oxide-silicon [SONOS] comprising two or more independent storage sites which store independent data
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/22Safety or protection circuits preventing unauthorised or accidental access to memory cells
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/24Bit-line control circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/26Sensing or reading circuits; Data output circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/70Masking faults in memories by using spares or by reconfiguring
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/24Memory cell safety or protection circuits, e.g. arrangements for preventing inadvertent reading or writing; Status cells; Test cells
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C8/00Arrangements for selecting an address in a digital store
    • G11C8/16Multiple access memory array, e.g. addressing one storage element via at least two independent addressing line groups
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/08Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
    • G11C29/12Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
    • G11C2029/4402Internal storage of test result, quality data, chip identification, repair information
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/08Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
    • G11C29/10Test algorithms, e.g. memory scan [MScan] algorithms; Test patterns, e.g. checkerboard patterns 
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/70Masking faults in memories by using spares or by reconfiguring
    • G11C29/702Masking faults in memories by using spares or by reconfiguring by replacing auxiliary circuits, e.g. spare voltage generators, decoders or sense amplifiers, to be used instead of defective ones

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Read Only Memory (AREA)

Abstract

A memory device is described having a field of memory cells, wherein each column is associated with one bit line and each row is associated with one word line, wherein the columns comprise: a first column of memory cells storing valid data; and a second column type of columns of memory cells storing preset verification data, wherein memory cells of at least the second column type of columns of memory cells upon a read access place an associated bit line at a value corresponding to a logical combination of values stored by memory cells of the second column type of columns, the memory cells belonging to a row of memory cells addressed upon a read access; and a detection circuit designed to detect, upon a read access, whether a bit line associated with a column of memory cells of the second column type is set to a value corresponding to a logical combination of values stored by memory cells of the column of memory cells of the second column type, and the values of the memory cells belonging to different rows of memory cells.

Description

存储器装置Memory device

技术领域Technical Field

实施例普遍涉及存储器装置。Embodiments generally relate to memory devices.

背景技术Background technique

电子设备在大量应用中必须抵御攻击。典型的实例是:芯片卡,所述芯片卡处理和存储秘密数据(例如密钥或密码)或应抵御篡改的数据(例如预付卡上的存款);或还有控制设备,例如在车辆中的控制设备,所述芯片卡或控制设备的正确的功能对于用户的安全是重要的。对电子设备的可能的攻击点是其存储器,通过篡改所述存储器,攻击者能够获知秘密数据或损害电子设备的正确功能。因此,期望用于保护电子存储器的有效机制。Electronic devices have to be protected against attacks in a large number of applications. Typical examples are chip cards, which process and store secret data (e.g. keys or passwords) or data that should be protected against manipulation (e.g. deposits on prepaid cards), or also control devices, e.g. in vehicles, the correct functioning of which is important for the safety of the user. A possible attack point on an electronic device is its memory, by tampering with which an attacker could learn secret data or impair the correct functioning of the electronic device. Effective mechanisms for protecting electronic memories are therefore desired.

发明内容Summary of the invention

根据一个实施方式,提供一种存储器装置,所述存储器装置具有:存储器单元场,所述存储器单元场具有存储器单元列和存储器单元行;位线和字线,其中每列与一个位线相关联,并且每行与一个字线相关联,其中存储器单元列包括:第一列类型的存储器单元列,其设计用于存储有效数据;和第二列类型的存储器单元列,其设计用于存储预设的校验数据。至少第二列类型的存储器单元列的存储器单元设计成并且与位线连接成,使得一个存储器单元列的存储器单元在读访问时将与该列相关联的位线设定成如下值,所述值对应于由该列的存储器单元存储的值的逻辑组合,这些存储器单元属于在读访问时编址的存储器单元行。存储器装置具有探测电路,所述探测电路设计用于:在读访问时探测,是否将与第二列类型的一个存储器单元列相关联的位线设定成如下值,所述值对应于由第二列类型的该存储器单元列的存储器单元存储的值的逻辑组合,并且这些存储器单元的值属于不同的存储器单元行。According to one embodiment, a memory device is provided, the memory device having: a memory cell field, the memory cell field having memory cell columns and memory cell rows; bit lines and word lines, wherein each column is associated with a bit line, and each row is associated with a word line, wherein the memory cell columns include: a memory cell column of a first column type, which is designed to store valid data; and a memory cell column of a second column type, which is designed to store preset verification data. At least the memory cells of the memory cell column of the second column type are designed and connected to the bit lines so that the memory cells of a memory cell column set the bit lines associated with the column to the following value during a read access, the value corresponding to the logical combination of the values stored by the memory cells of the column, and these memory cells belong to the memory cell row addressed during the read access. The memory device has a detection circuit, the detection circuit being designed to: during a read access, detect whether the bit lines associated with a memory cell column of the second column type are set to the following value, the value corresponding to the logical combination of the values stored by the memory cells of the memory cell column of the second column type, and the values of these memory cells belong to different memory cell rows.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

附图不描绘实际的大小关系,而是应当用于:图解说明不同的实施例的原理。下面,参考下面的附图描述不同的实施例。The drawings do not depict actual size relationships, but should be used to illustrate the principles of different embodiments. In the following, different embodiments are described with reference to the following drawings.

图1示出存储器单元场。FIG. 1 shows a memory cell field.

图2示出两个存储器单元,所述存储器单元与相同的位线相关联并且与该位线借助于相应的下拉晶体管连接。FIG. 2 shows two memory cells which are associated with the same bit line and are connected to it by means of corresponding pull-down transistors.

图3示出存储器单元场以用于存储校验数据的存储器单元扩展,所述校验数据基于同时激活多个字线。FIG. 3 shows the expansion of a memory cell field to store memory cells for storing verify data which is based on the simultaneous activation of a plurality of word lines.

图4示出两个存储器单元行的实例,所述存储器单元行分别存储预先计算的位模式。FIG. 4 shows an example of two memory cell rows, each storing a pre-calculated bit pattern.

图5示出存储器装置。FIG5 shows a memory device.

下面详细的描述涉及示出细节和实施例的所附的附图。详细地描述所述实施例,使得本领域技术人员能够实施本发明。其他的实施方式也是可行的,并且实施例能够在结构、逻辑和电学方面改变,而没有偏离本发明的主题。不同的实施例不必是相互排斥的,而是能够将不同的实施例彼此组合,使得形成新的实施方式。在本说明书的范围内,术语“连接”、“联接”以及“耦联”用于描述直接的和间接的连接、直接的或间接的联接以及直接的或间接的耦联。The following detailed description relates to the attached drawings showing details and embodiments. The embodiments are described in detail so that those skilled in the art can implement the present invention. Other embodiments are also feasible, and the embodiments can be changed in structure, logic and electricity without departing from the subject matter of the present invention. Different embodiments do not have to be mutually exclusive, but different embodiments can be combined with each other to form new embodiments. Within the scope of this specification, the terms "connect", "connect" and "couple" are used to describe direct and indirect connections, direct or indirect connections and direct or indirect couplings.

具体实施方式Detailed ways

电子存储器典型地具有存储器单元的点阵(二维场或阵列或矩阵),其中行通过字线编址,并且列通过位线编址。Electronic memories typically have a lattice (a two-dimensional field or array or matrix) of memory cells with rows addressed by word lines and columns addressed by bit lines.

图1示出存储器单元场100。FIG. 1 shows a memory cell field 100 .

存储器单元场具有多个存储器单元101,所述存储器单元以矩阵的形式设置,所述矩阵具有存储器单元列102和存储器单元行103。The memory cell field has a plurality of memory cells 101 which are arranged in the form of a matrix having memory cell columns 102 and memory cell rows 103 .

每存储器单元列102与一个位线104相关联,并且每存储器单元行103与一个字线105相关联。Each memory cell column 102 is associated with one bit line 104 , and each memory cell row 103 is associated with one word line 105 .

通过激活字线105,能够借助于位线104同时读取或写入经由所述字线编址的行103(即与所述字线相关联的行103)的全部存储器单元(或其一部分)。By activating a word line 105 , all memory cells (or a portion thereof) of a row 103 addressed via said word line (ie the row 103 associated with said word line) can be read or written simultaneously by means of the bit lines 104 .

为了能够实现存储器的尽可能节约空间的结构方式,全部可通过所提出的位线编址的存储器单元(即与一条位线相关联、即与该位线连接的全部存储器单元)能够通过专门的开关技术(“漏极开路”或“线或”)与位线连接。这种开关技术的实例在图2中示出。In order to achieve a memory structure that saves as much space as possible, all memory cells that can be addressed via the proposed bit line (i.e., all memory cells that are associated with a bit line, i.e., connected to the bit line) can be connected to the bit line via a special switching technology ("open drain" or "wired OR"). An example of such a switching technology is shown in FIG. 2.

图2示出两个存储器单元201、202,所述存储器单元与相同的位线203相关联,并且与位线203借助于相应的下拉晶体管204、205连接。FIG. 2 shows two memory cells 201 , 202 which are associated with the same bit line 203 and are connected to the bit line 203 by means of respective pull-down transistors 204 , 205 .

每个存储器单元202、203还与相应的字线206、207连接。Each memory cell 202 , 203 is also connected to a corresponding word line 206 , 207 .

在该实例中,例如在读访问时,将位线203预充电到高电位上(借助所谓的“预充电(precharge)”),激活字线206、207之一,并且与激活的字线206、207相关联的存储器单元201、202,根据其是否存储1或0,将位线203向下拉(到低电位)或不向下拉。In this example, for example, during a read access, the bit line 203 is precharged to a high potential (by means of so-called "precharge"), one of the word lines 206, 207 is activated, and the memory cells 201, 202 associated with the activated word lines 206, 207, depending on whether they store 1 or 0, pull the bit line 203 down (to a low potential) or not.

如果所存储的0例如对应于相应的下拉晶体管204、205的激活,那么存储器单元201、202当其存储0时将位线203拉到低电位上,这随后解释为将0输出到位线203上。If the stored 0 corresponds, for example, to the activation of the corresponding pull-down transistor 204 , 205 , the memory cell 201 , 202 pulls the bit line 203 to a low potential when it stores a 0, which is then interpreted as outputting a 0 on the bit line 203 .

如果现在激活两个字线206、207,那么足够的是:两个存储器单元201、202之一存储0,以便将位线203向下拉。相反,仅当两个存储器单元201、202存储1时,位线203才保持在高电位上。因此,在同时激活多个字线的情况下,将位线203设定成所存储的值的逻辑组合,在该实例中为与组合(因为仅当两个存储器单元201、202都存储1时,位线才保持在1上)。If both word lines 206, 207 are now activated, it is sufficient that one of the two memory cells 201, 202 stores a 0 in order to pull the bit line 203 down. Conversely, the bit line 203 remains at a high potential only if both memory cells 201, 202 store a 1. Thus, in the case of simultaneous activation of multiple word lines, the bit line 203 is set to a logical combination of the stored values, in this example an AND combination (since the bit line remains at 1 only if both memory cells 201, 202 store a 1).

根据所存储的1和所存储的0与哪个电压电位相关联和是否使用上拉晶体管代替下拉晶体管204、205,也能够得到由存储器单元201、202所存储的值的或组合作为值,将位线203设定成所述值并且所述值由位线203输出。Depending on which voltage potential the stored 1 and the stored 0 are associated with and whether pull-up transistors are used instead of pull-down transistors 204 , 205 , a combination of the values stored by memory cells 201 , 202 can also be obtained as the value to which bit line 203 is set and which is output by bit line 203 .

如参考图2描述的借助于开关技术将多个存储器单元联接到一个位线上允许了晶体管的节约,并且对于存储器阵列的正常运行不示出功能限制。但是,对于攻击者而言,由于在对多个字线同时编址时将存储器内容的逻辑组合输出给一个位线的事实,得到实施特定的攻击的如下可行性:The connection of a plurality of memory cells to one bit line by means of switching technology as described with reference to FIG. 2 allows for the saving of transistors and does not present functional limitations for the normal operation of the memory array. However, for an attacker, due to the fact that a logical combination of the memory contents is output to one bit line when a plurality of word lines are addressed simultaneously, the following possibilities for carrying out specific attacks are obtained:

·如果攻击者在读访问存储器期间通过侵入性攻击同时激活存储器单元场的多个字线(例如,通过借助于探针或借助激光进行强制攻击),那么该开关技术暗含地引起:在位线处读取与该位线相关联的全部同时激活的存储器单元的逻辑关系。如上面阐述的那样,根据开关技术和存储器单元场的结构,该暗含的计算的结果是同时激活(即借助于字线编址)的与该位线相关联的存储器单元的逻辑与组合或者逻辑或组合。If an attacker simultaneously activates a plurality of word lines of a memory cell field by an invasive attack during a read access to the memory (e.g. by a forced attack by means of a probe or by means of a laser), the switching technique implicitly causes the logical relationship of all simultaneously activated memory cells associated with this bit line to be read at the bit line. As explained above, depending on the switching technique and the structure of the memory cell field, the result of this implicit calculation is a logical AND combination or a logical OR combination of the simultaneously activated (i.e. word line addressed) memory cells associated with this bit line.

·类似地,攻击者,当其在写访问期间同时激活存储器单元场的多个字线时,将要存储的数据的不期望的拷贝置于存储器单元场中的另外的、未使用的位处。攻击者随后在稍后的时间点在读访问时能够通过激活适当的字线再次播放这种拷贝,并且以该方式产生错误的系统状态(进而执行所谓的“克隆”和“重放”攻击)。以该方式,攻击者能够阻止:例如计数器到期并触发安全警报,所述计数器代表货币价值或者应该识别对PIN和密码的暴力攻击。Similarly, an attacker, when he activates multiple word lines of a memory cell field simultaneously during a write access, places an undesired copy of the data to be stored at an otherwise unused position in the memory cell field. The attacker can then play this copy again at a later point in time during a read access by activating the appropriate word line and in this way generate a false system state (thus performing a so-called "clone" and "replay" attack). In this way, the attacker can prevent, for example, a counter representing a monetary value from expiring and triggering a security alarm, which counter represents a monetary value or which should identify a brute force attack on PINs and passwords.

对于安全应用而言,存储器单元场能够以对字线的地址编码来扩展,以便能够识别字线的偶发瞬态的错误编址或单元场中的永久缺陷。对此,例如将预先计算的位模式永久地插入到单元阵列中。这例如能够通过如在ROM存储器单元中的技术或通过对所使用的存储器单元的适当改变(例如,省略接触部或省略个别存储器单元的晶体管)来进行。尽管所述技术能够实现识别具有预设冗余的故障,但典型地不适合于相对于主动攻击者提供保护。此外,典型地出于效率原因而使用的线性码与通过多个激活的字线的按位的逻辑与或者逻辑或的关系不兼容。线性码通常定义为关于有限域的向量空间,并且仅保持其关于该向量空间中的关联映射方面的特性。侵入性攻击者可以有针对性地利用单元场的对字线的地址编码的部分中的关联映射的不兼容性,以便通过同时激活多个字线绕开所使用的代码的识别故障的特性。如果读取的数据不包含任何其他冗余的信息以校验其有效性,则无法识别这种攻击。For security applications, the memory cell field can be extended with address encoding of word lines so as to be able to identify occasional transient misaddressing of word lines or permanent defects in the cell field. For this, for example, a pre-calculated bit pattern is permanently inserted into the cell array. This can be done, for example, by technology such as in ROM memory cells or by appropriate changes to the memory cells used (for example, omitting contacts or omitting transistors of individual memory cells). Although the technology can realize the identification of faults with preset redundancy, it is typically not suitable for providing protection against active attackers. In addition, the linear code typically used for efficiency reasons is incompatible with the relationship of logical and or logical or by bit by multiple activated word lines. Linear codes are usually defined as vector spaces about finite fields, and only their characteristics about the associative mapping in the vector space are maintained. Invasive attackers can purposefully exploit the incompatibility of the associative mapping in the part of the cell field that encodes the address of the word line, so as to bypass the characteristics of the fault identification of the code used by activating multiple word lines at the same time. If the read data does not contain any other redundant information to verify its validity, such an attack cannot be identified.

因为由存储器单元构成的场(也称为“阵列”)一方面由于其大小可以极其容易地在集成电路的布图中识别,并且另一方面由于其规则的规范结构可以容易地分析和篡改,所以对于用于安全应用的集成电路需要的是,在运行中能够验证:从存储器单元场的正确的、由应用编址的存储器单元中读取数据,或者写入到正确的、编址的存储器单元中。除了校验实际用于读或写的存储器单元的物理地址之外,尤其属于此的还有:抵御通过同时激活存储器单元场中的多个字线进行攻击的机制。Since the field (also called "array") of memory cells can be easily identified in the layout of the integrated circuit due to its size on the one hand, and can be easily analyzed and manipulated due to its regular, standardized structure on the other hand, it is necessary for integrated circuits for security applications to be able to verify during operation that data is read from the correct memory cell of the memory cell field addressed by the application or is written to the correct, addressed memory cell. In addition to checking the physical address of the memory cell actually used for reading or writing, this also includes, in particular, mechanisms to protect against attacks by simultaneously activating multiple word lines in the memory cell field.

下面描述这种机制,根据实施例,所述机制基于特定的数据模式,所述数据模式例如能够作为固定的(例如ROM)模式附于存储器阵列的字线上,并且能够经由附加的位线读取。所述数据模式能够实现:借助用于用信号通知识别到的攻击的报警线路的预设的冗余,可靠地探测同时激活多个字线的攻击。Such a mechanism is described below and, according to an exemplary embodiment, is based on a specific data pattern which can be attached to the word lines of the memory array, for example, as a fixed (e.g. ROM) pattern and can be read via additional bit lines. The data pattern enables reliable detection of attacks that activate multiple word lines simultaneously, with the aid of a predefined redundancy of the alarm circuits for signaling a detected attack.

图3示出存储器单元场以用于存储校验数据、例如代码字或数据模式、用于抵御攻击的存储器单元扩展,所述攻击基于同时激活多个字线。FIG. 3 shows a memory cell field for storing verification data, for example a code word or a data pattern, for the expansion of the memory cells for protection against attacks which are based on the simultaneous activation of a plurality of word lines.

类似于图1的存储器单元场100,存储器单元场300具有多个存储器单元301,所述存储器单元以矩阵的形式设置,所述矩阵具有存储器单元列302、303和存储器单元行304,其中在该实例中,存储器单元场300包括:用于存储有效数据的第一存储器单元列302(也称作为第一列类型的列)(即能够写入例如“正常的”存储器单元来存储数据,所述“正常”的存储器单元能够正常地使用,例如由电子设备、例如芯片卡或控制设备的处理器正常地使用);和用于存储校验数据的第二存储器单元列303(也称作为第二列类型的列)。每存储器单元列302、303与一个位线305相关联,并且每存储器单元行304与一个字线306相关联。Similar to the memory cell field 100 of FIG. 1 , the memory cell field 300 has a plurality of memory cells 301, which are arranged in the form of a matrix, the matrix having memory cell columns 302, 303 and memory cell rows 304, wherein in this example, the memory cell field 300 includes: a first memory cell column 302 (also referred to as a column of the first column type) for storing valid data (i.e., a "normal" memory cell that can be written to store data, the "normal" memory cell can be used normally, for example, by a processor of an electronic device, such as a chip card or a control device); and a second memory cell column 303 (also referred to as a column of the second column type) for storing verification data. Each memory cell column 302, 303 is associated with a bit line 305, and each memory cell row 304 is associated with a word line 306.

第二列303能够视作为由第一列302构成的存储器单元场的扩展。换言之,根据一个实施方式,延长存储器单元场的字线并且添加另外的存储器单元和所属的位线。以该方式,能够借助于附加的存储器单元、即第二列303的存储器单元将预先计算的位模式(例如永久地)插入到存储器单元场中。The second column 303 can be regarded as an extension of the memory cell field formed by the first column 302. In other words, according to one embodiment, the word lines of the memory cell field are extended and further memory cells and associated bit lines are added. In this way, a precalculated bit pattern can be inserted (for example permanently) into the memory cell field by means of the additional memory cells, namely the memory cells of the second column 303.

所述预先计算的位模式能够借助于另外的位线(即与第二列303相关联的位线305)读出。第二列303的存储器单元设计成并且与相关联的位线连接成,使得在同时激活多个字线306时,所述位线经受全部激活的存储器单元的与存储器单元场的其余区域、即与第一存储器单元列302相关联的位线相同的按位的逻辑与或者或关系。The precalculated bit pattern can be read out by means of a further bit line, namely the bit line 305 associated with the second column 303. The memory cells of the second column 303 are designed and connected to the associated bit line in such a way that, when a plurality of word lines 306 are activated simultaneously, the bit line is subjected to the same bitwise logical AND or OR relationship of all activated memory cells as the rest of the memory cell field, namely the bit lines associated with the first memory cell column 302.

在随后的实例中假设:同时激活的字线的与相同的位线相关联的存储器单元将位线设定成由其存储的按位的逻辑或关系,但是所述位能够类似地用于逻辑与关系。In the examples that follow it is assumed that memory cells of a word line that are activated simultaneously and are associated with the same bit line set the bit line to a logical OR relationship of the bits stored thereby, but the bits can similarly be used for a logical AND relationship.

根据一个实施方式,第二列303的存储器单元存储预先计算的位模式,其中一行304的属于第二列303的全部存储器单元存储预先计算的位模式,即预先计算的位模式属于每个存储器单元行304,并且其中适用的是:According to one embodiment, the memory cells of the second column 303 store a pre-calculated bit pattern, wherein all memory cells of a row 304 belonging to the second column 303 store the pre-calculated bit pattern, i.e. a pre-calculated bit pattern belongs to each memory cell row 304, and wherein it applies that:

A)全部预先计算的位模式具有相同的汉明权重w>0,以便在无故障的情况下能够实现尽可能有效的识别。A) All pre-calculated bit patterns have the same Hamming weight w>0, in order to enable the most efficient possible recognition in the absence of errors.

B)如果同时激活两个或更多个字线,那么所得出的模式的汉明权重至少具有w+d,所述所得出的模式从位模式的按位的逻辑或关系中得出,所述位模式属于与激活的字线相关联的存储器单元的行,其中d>0是用于冗余地识别同时激活多个字线的预设的常量。B) If two or more word lines are activated simultaneously, the resulting pattern has a Hamming weight of at least w+d, which results from a bitwise logical OR relationship of bit patterns belonging to the row of memory cells associated with the activated word lines, where d>0 is a preset constant for redundantly identifying the simultaneous activation of multiple word lines.

图4示出两个存储器单元行401、402的实例,所述存储器单元行分别存储预先计算的位模式。FIG. 4 shows an example of two memory cell rows 401 , 402 , which each store a precalculated bit pattern.

每个存储器单元行401、402具有:第一存储器单元403,所述第一存储器单元组成用于存储有效数据的第一存储器单元列;和用于存储校验数据的第二存储器单元404,所述校验数据在该情况下为6位长的预先计算的位模式。Each memory cell row 401 , 402 has first memory cells 403 , which form a first memory cell column for storing valid data, and second memory cells 404 for storing check data, which in this case is a precalculated bit pattern that is 6 bits long.

在该实例中,第一存储器单元行401存储位模式000111,并且第二存储器单元行402存储位模式001011。In this example, the first memory cell row 401 stores the bit pattern 000111 and the second memory cell row 402 stores the bit pattern 001011.

根据A),两个位模式具有相同的汉明权重w=3。According to A), both bit patterns have the same Hamming weight w=3.

根据B),所得出的、从两个位模式的或组合中得出的位模式具有大于3的权重,即4(001111的权重,这是000111和001011的按位的或组合)。According to B), the resulting bit pattern resulting from the OR combination of the two bit patterns has a weight greater than 3, namely 4 (the weight of 001111, which is the bitwise OR combination of 000111 and 001011).

基于A)和B),用于探测基于同时激活多个字线的攻击的、与同第二列相关联的位线连接的探测电路307能够如下设置:所述探测电路在所得出的、由与第二列303相关联的位线输出的位模式中确定具有值1的位的数量x,并且将所述数量与原始预先计算的位模式的汉明权重w比较。如果x>w,那么这指示出同时激活多个字线。Based on A) and B), a detection circuit 307 connected to the bit line associated with the second column for detecting an attack based on the simultaneous activation of multiple word lines can be set as follows: the detection circuit determines the number x of bits with the value 1 in the resulting bit pattern output by the bit line associated with the second column 303, and compares the number with the Hamming weight w of the original pre-calculated bit pattern. If x>w, then this indicates that multiple word lines are activated simultaneously.

如果例如与图4的实例的第二存储器单元404连接的六个位线提供模式001111,那么探测电路307能够确定:所得出的模式的权重大于预先计算的位模式的权重(4>3),并且能够相应地反应,例如将报警信号经由探测电路307的报警信号输出线路308输出,例如输出给相应的电子设备的处理器或还输出给复位电路,所述复位电路在报警时将电子设备复位(和例如尤其清除存储器)。If, for example, the six bit lines connected to the second memory cell 404 of the example of Figure 4 provide the pattern 001111, then the detection circuit 307 can determine that the weight of the resulting pattern is greater than the weight of the precalculated bit pattern (4>3) and can react accordingly, for example, by outputting an alarm signal via the alarm signal output line 308 of the detection circuit 307, for example, to a processor of a corresponding electronic device or also to a reset circuit, which resets the electronic device (and, for example, in particular clears the memory) when an alarm occurs.

值d能够视作为用于识别同时激活多个字线的冗余。攻击者必须在d个位处篡改所得出的模式,以便实现多个字线的同时激活,而没有探测到这种情况。为了整体上实现期望的冗余d(即由存储器和探测电路构成的总系统的期望的冗余),例如能够设有总计d个探测电路(和相应的报警信号输出线路308)。因此,也在探测电路的层面上得到d重冗余。由此,攻击者必须篡改d个探测电路,以便实现多个字线的同时激活,而没有检测到这种情况。The value d can be regarded as a redundancy for identifying the simultaneous activation of multiple word lines. An attacker must falsify the resulting pattern at d bits in order to achieve simultaneous activation of multiple word lines without detecting this. In order to achieve the desired redundancy d as a whole (i.e. the desired redundancy of the total system consisting of memory and detection circuit), for example, a total of d detection circuits (and corresponding warning signal output lines 308) can be provided. Thus, d-fold redundancy is also obtained at the level of the detection circuit. As a result, an attacker must falsify d detection circuits in order to achieve simultaneous activation of multiple word lines without detecting this.

如上面描述的那样基于具有特定权重的预先计算的位模式和确定所得出的(输出)位模式的权重进行的探测能够借助于对得出的位模式进行简单的解码(确定其权重)来实现。因此,探测电路307能够通过用于区分是否同时激活多个字线或单个字线的简单电路来实现。所述电路仅必须确定从存储器单元场的第二列303中读取的位模式的汉明权重,并且与预设的参考值(汉明权重w)进行比较,并且根据比较结果输出报警信号。探测电路的硬件的期望的d重冗余能够通过d重重复电路来实现。The detection based on the pre-calculated bit patterns with specific weights and the determination of the weights of the resulting (output) bit patterns as described above can be realized by means of a simple decoding of the resulting bit patterns (determining their weights). Therefore, the detection circuit 307 can be realized by a simple circuit for distinguishing whether a plurality of word lines or a single word line are activated simultaneously. The circuit only has to determine the Hamming weight of the bit pattern read from the second column 303 of the memory cell field and compare it with a preset reference value (Hamming weight w) and output an alarm signal according to the comparison result. The desired d-fold redundancy of the hardware of the detection circuit can be realized by a d-fold repetition circuit.

适合于标记存储器场中的附加的单元的位模式能够以简单的方式从线性码中获得。下面,描述用于产生具有期望的特性A)和B)的适合的位模式的通用构造方法。下面的实例基于:逻辑组合是或组合。但是能够以类似的方式确定用于逻辑与关系的位模式,其中在同时激活多个字线时所得出的位模式的汉明权重相对于预先计算的位模式的汉明权重相应地降低。A bit pattern suitable for marking additional cells in the memory field can be obtained in a simple manner from the linear code. Below, a general construction method for generating a suitable bit pattern with the desired properties A) and B) is described. The following example is based on the fact that the logical combination is an OR combination. However, the bit pattern for the logical AND relationship can be determined in an analogous manner, wherein the Hamming weight of the bit pattern obtained when multiple word lines are activated simultaneously is correspondingly reduced compared to the Hamming weight of the precalculated bit pattern.

下面描述的构造方法一方面证明适当的位模式的存在,所述位模式满足A)和B),并且另一方面提供用于适合于标记字线的位模式的长度的上限。The construction method described below, on the one hand, proves the existence of a suitable bit pattern which satisfies A) and B) and, on the other hand, provides an upper limit for the length of a bit pattern which is suitable for marking a word line.

如果给出关于长度为n、维度为k和冗余为d的GF2(具有两个元素的有限域)的线性(n,k,d)码。那么存在用于标记字线的2k个长度为2n的位模式的(2n,k,d)位模式集,使得能够以d重冗余识别多个字线的同时激活:如果x=(xn,……,x1)是线性码的代码字,那么通过y=(yn,……,y1)给出所属的位模式y,其中适用的是:对于1≤i≤n,如果xi=0,则yi=01,和如果xi=1,则yi=10。If a linear (n, k, d) code is given for GF 2 (a finite field with two elements) of length n, dimension k and redundancy d, then there is a set of (2n, k, d) bit patterns of 2 k bit patterns of length 2n for marking wordlines, making it possible to identify simultaneous activation of multiple wordlines with d-fold redundancy: If x=( xn , ..., x1 ) is a codeword of the linear code, then the associated bit pattern y is given by y=( yn , ..., y1 ), where it applies that for 1≤i≤n, if xi =0, then yi =01, and if xi =1, then yi =10.

如果存储器单元场的每行用以该方式生成的位模式y标记,那么所有标记位模式y在构造之后具有汉明权重HW(y)=n。所使用的线性码的特性还确保,区分在至少d个位对yi处的两个不同的位模式。如果现在同时激活至少两个字线,那么在至少d个位处,将位对“01”和“10”通过逻辑或关系改变为“11”模式。由此,所得到的位模式的汉明权重至少增大所要求的数值d。If each row of a memory cell field is marked with a bit pattern y generated in this way, then all marked bit patterns y have a Hamming weight HW(y)=n after construction. The properties of the linear code used also ensure that two different bit patterns are distinguished at at least d bit pairs yi . If at least two word lines are now activated simultaneously, then at at least d bits, the bit pairs "01" and "10" are changed to the "11" pattern by a logical OR relationship. The Hamming weight of the resulting bit pattern is thereby increased by at least the required value d.

相反地,在假设长度为n的标记模式包含刚好e个位1和(n-e)个位0的情况下,适用的是:对于每个具有冗余d的标记模式y,为了识别多个激活的字线,存在至少由具有e个1和(n-e)个0的U(n,e,d)模式构成的环境,所述环境不能够用作为标记模式,因为所述环境在小于d个位中与标记模式y不同。因此能够确定用于根据本发明的标记模式的长度n的下限。On the other hand, assuming that a marking pattern of length n contains exactly e 1 bits and (n-e) 0 bits, it applies that for each marking pattern y with redundancy d, in order to identify a plurality of activated word lines, there is at least one environment consisting of a U(n,e,d) pattern with e 1s and (n-e) 0s, which cannot be used as a marking pattern because it differs from the marking pattern y in less than d bits. It is thus possible to determine a lower limit for the length n of the marking pattern according to the invention.

如果考虑具有固定数量的具有值1的位的全部位序列的集,那么得到用于标记字线的位模式的实例。因此,例如集If we consider the set of all bit sequences with a fixed number of bits having the value 1, we get an example of a bit pattern for marking a word line.

M={000111,001011,001101,001110,010011,010101,010110,011001,011010,011100,100011,100101,100110,101001,101010,101100,110001,110010,110100,111000}的16个任意的元素得到各一个(6,4,1)标记模式。各两个模式在至少一个位置处不同。普遍适用的是,这种位模式必须满足不等式16 arbitrary elements of M = {000111, 001011, 001101, 001110, 010011, 010101, 010110, 011001, 011010, 011100, 100011, 100101, 100110, 101001, 101010, 101100, 110001, 110010, 110100, 111000} each result in a (6, 4, 1) marking pattern. Each two patterns differ in at least one position. It is generally applicable that such a bit pattern must satisfy the inequality

在另一实施例中,将出自集M中的16个元素选择成,使得实现对标记的字线的地址的尽可能简单的解码,即每个字线以简单的方式一对一地与一个位模式相关联,所述位模式能够以有效的方式实现从M中的相关联的标记模式的值中重建激活的字线的地址:集M例如包含14个模式000111,001011,001101,010011,010101,011001,011100,100011,100101,101001,101100,110001,110100,111000,所述模式的高4位示出其用于次序的按照二进制表示的序列号,这些模式以该次序给出。对于16个位模式,能够为第0个位模式和第15个位模式从集M的剩余的6个元素中选择两个任意模式。于是用于字线的地址的解码器仅还必须识别对于0和15的特殊情况。在全部其他情况下,所述解码器输出位模式的高4位。标记模式在该情况下同样形成用于识别多个字线同时激活的(6,4,1)模式,所述模式附加地能够实现从相关联的位模式中简单地确定字线的地址。In another embodiment, 16 elements from the set M are selected so that the simplest possible decoding of the addresses of the marked word lines is achieved, i.e. each word line is associated in a simple manner one-to-one with a bit pattern, which enables the address of the activated word line to be reconstructed in an efficient manner from the value of the associated marking pattern in M: the set M contains, for example, 14 patterns 000111, 001011, 001101, 010011, 010101, 011001, 011100, 100011, 100101, 101001, 101100, 110001, 110100, 111000, the upper 4 bits of which indicate their binary serial number for the order in which the patterns are given. For the 16 bit patterns, two arbitrary patterns can be selected from the remaining 6 elements of the set M for the 0th bit pattern and the 15th bit pattern. The decoder for the address of the word line then only has to recognize the special cases for 0 and 15. In all other cases, the decoder outputs the upper 4 bits of the bit pattern. The marking pattern in this case also forms a (6, 4, 1) pattern for identifying the simultaneous activation of multiple word lines, which additionally enables a simple determination of the address of the word line from the associated bit pattern.

在另一实施例中,通过重复标记位模式来提高抵抗侵入式故障攻击的冗余。例如,如果考虑M中的位模式的4元组,那么能够以该方式发现长度为24的272个位模式,其中所述4元组具有如下特性:各两个4元组在M中的四个位模式中的至少三个处不同。所述位模式因此形成(24,8,3)位模式集。上面描述的构造方法为关于GF2的线性(12,8,3)码同样提供长度为24的标记模式作为上限。In another embodiment, the redundancy against intrusive fault attacks is increased by repeating the marking bit pattern. For example, if a 4-tuple of the bit pattern in M is considered, 272 bit patterns of length 24 can be found in this way, wherein the 4-tuple has the following property: each two 4-tuples differ in at least three of the four bit patterns in M. The bit patterns thus form a (24, 8, 3) bit pattern set. The construction method described above also provides a marking pattern of length 24 as an upper limit for a linear (12, 8, 3) code with respect to GF 2 .

通过重复位标记模式,能够将用于对地址有效解码的技术与用于识别多个同时激活的字线的特性组合。By repeating the bit mark pattern, a technique for efficiently decoding addresses can be combined with a feature for identifying multiple simultaneously activated word lines.

综上所述,根据不同的实施方式,提供如在图5中示出的存储器装置。In summary, according to various embodiments, a memory device as shown in FIG. 5 is provided.

图5示出存储器装置500。FIG. 5 shows a memory device 500 .

存储器装置500具有存储器单元场,所述存储器单元场具有存储器单元501的列502、503和行504、位线505和字线506,其中每列502、503与一个位线505相关联,并且每行504与一个字线506相关联。The memory device 500 has a memory cell field with columns 502 , 503 and rows 504 of memory cells 501 , bit lines 505 and word lines 506 , wherein each column 502 , 503 is associated with one bit line 505 and each row 504 is associated with one word line 506 .

存储器单元列502、503包括:第一列类型502的存储器单元列,其设计用于存储有效数据;和第二列类型503的存储器单元列,其设计用于存储校验数据。The memory cell columns 502 , 503 include: a memory cell column of a first column type 502 , which is designed to store valid data; and a memory cell column of a second column type 503 , which is designed to store verification data.

至少第二列类型503的存储器单元列的存储器单元设计成并且与位线505连接成,使得一个存储器单元列502、503的存储器单元501在读访问时将与列503相关联的位线设定成如下值,所述值对应于由列503的存储器单元501存储的值的逻辑组合,所述存储器单元属于在读访问时编址的存储器单元行。The memory cells of at least a second column type 503 of the memory cell column are designed and connected to the bit line 505 so that, during a read access, a memory cell 501 of a memory cell column 502, 503 sets the bit line associated with the column 503 to a value corresponding to a logical combination of the values stored by the memory cells 501 of the column 503, which belong to the memory cell row addressed during the read access.

存储器装置还具有探测电路507,所述探测电路设计成,在读访问时探测:是否将与第二列类型503的一个存储器单元列相关联的位线505设定成如下值,所述值对应于由第二列类型503的该存储器单元列的存储器单元存储的值的逻辑组合,并且这些存储器单元的值属于不同的存储器单元行。The memory device also has a detection circuit 507, which is designed to detect during a read access whether a bit line 505 associated with a memory cell column of the second column type 503 is set to a value that corresponds to a logical combination of values stored by memory cells of the memory cell column of the second column type 503, and the values of these memory cells belong to different memory cell rows.

换言之,根据不同的实施方式,在存储器单元场中设置具有校验信息的存储器单元,其中所述存储器单元场的存储器单元构成为并且联接到位线上,使得在同时激活多个字线时,即在对不同行的存储器单元同时编址时,在每个位线处输出与所述位线连接的编址的存储器单元的内容的逻辑组合。根据之前已知的校验信息,探测电路能够校验:在读访问或写访问时,是否同时激活多个字线。In other words, according to various embodiments, memory cells with verification information are arranged in a memory cell field, wherein the memory cells of the memory cell field are designed and connected to the bit lines so that when a plurality of word lines are activated simultaneously, i.e. when memory cells of different rows are addressed simultaneously, a logical combination of the contents of the addressed memory cells connected to the bit lines is output at each bit line. Based on the previously known verification information, the detection circuit can verify whether a plurality of word lines are activated simultaneously during a read access or a write access.

逻辑组合例如是(按位的)与组合(即与关系)或者(按位的)或组合(即或关系)。根据不同的实施例,直观地,使用逻辑关系与或者或的单调性,以便通过根据一个实施方式一对一地与存储器阵列的字线相关联的预先计算的模式的按位的关系,实现所得出的位模式的汉明权重的改变。在此,在多重激活字线的情况下,通过相应的位模式的逻辑或关系,将结果的汉明权重至少提高值d。在逻辑与关系的情况下,至少降低值d。The logical combination is, for example, a (bitwise) AND combination (i.e., AND relation) or a (bitwise) OR combination (i.e., OR relation). According to various embodiments, intuitively, the monotonicity of the logical relation AND or OR is used in order to achieve a change in the Hamming weight of the resulting bit pattern by the bitwise relation of the pre-calculated pattern, which is associated one-to-one with the word lines of the memory array according to one embodiment. In this case, in the case of multiple activation of word lines, the resulting Hamming weight is increased by at least the value d by the logical OR relation of the corresponding bit patterns. In the case of a logical AND relation, it is reduced by at least the value d.

预设的校验数据例如在安全的环境中存储在第二列类型的存储器单元列的存储器单元中。例如,校验数据能够在制造过程中非易失地且可能甚至不可覆写地存储在第二列类型的存储器单元列的存储器单元中。The predefined verification data are stored, for example, in a secure environment in the memory cells of the memory cell column of the second column type. For example, the verification data can be stored in the memory cells of the memory cell column of the second column type in a non-volatile and possibly even non-overwritable manner during the manufacturing process.

存储器装置提供用于电子存储器的保护机制,并且能够用于保护不同类型的电子存储器。例如,存储器单元RAM(随机存取存储器)存储器单元、闪存存储器单元、RRAM(电阻式随机存储器)存储器单元和FeRAM(铁电随机存储器)存储器单元。The memory device provides a protection mechanism for electronic memory and can be used to protect different types of electronic memory, such as RAM (random access memory) memory cells, flash memory cells, RRAM (resistive random access memory) memory cells and FeRAM (ferroelectric random access memory) memory cells.

存储器装置例如能够是具有另外的存储器部件、例如地址解码器等的存储器的一部分。存储器能够设置在电子设备中,例如设置在芯片卡(具有任意的形状因素)、控制设备(例如与微控制器连接)中,例如设置在车辆中等。The memory device can be, for example, part of a memory having further memory components, such as an address decoder, etc. The memory can be arranged in an electronic device, for example in a chip card (having any form factor), in a control device (for example connected to a microcontroller), for example in a vehicle, etc.

下面,总结地说明一些实施例。Some embodiments are summarized below.

实施例1是如在图5中示出的存储器装置。Embodiment 1 is a memory device as shown in FIG. 5 .

实施例2是根据实施例1的存储器装置,其中探测电路具有报警线路并且设计用于:如果将分别与第二列类型的一个存储器单元列相关联的一个或多个位线在读访问时设定成如下值,所述值对应于由第二列类型的该存储器单元列的存储器单元所存储的值的逻辑组合,并且这些存储器单元的值属于不同的存储器单元行,那么经由报警线路输出报警信号。Embodiment 2 is a memory device according to embodiment 1, wherein the detection circuit has an alarm circuit and is designed to: if one or more bit lines respectively associated with a memory cell column of the second column type are set to the following values during a read access, the values corresponding to the logical combination of the values stored by the memory cells of the memory cell column of the second column type, and the values of these memory cells belong to different memory cell rows, then an alarm signal is output via the alarm circuit.

实施例3是根据实施例1或2的存储器装置,其中校验数据针对每一存储器单元行具有预设的位模式,其中该存储器单元行的第二列类型的存储器单元列的存储器单元设计用于:存储预设的位模式。Embodiment 3 is the memory device according to embodiment 1 or 2, wherein the verification data has a preset bit pattern for each memory cell row, wherein the memory cells of the memory cell column of the second column type of the memory cell row are designed to store the preset bit pattern.

实施例4是根据实施例1至3之一的存储器装置,其中探测电路设计用于探测:是否将与第二列类型的存储器单元列相关联的位线所处的位模式设定成所得出的位模式,所述所得出的位模式对应于不同的存储器单元行的位模式的逻辑组合。Embodiment 4 is a memory device according to one of embodiments 1 to 3, wherein the detection circuit is designed to detect whether the bit pattern of the bit line associated with the second column type of memory cell column is set to a derived bit pattern, and the derived bit pattern corresponds to a logical combination of bit patterns of different memory cell rows.

实施例5是根据实施例4的存储器装置,其中探测电路具有报警线路并且设计用于:如果所得出的位模式对应于不同的存储器单元行的位模式的逻辑组合,那么经由报警线路输出报警信号。Embodiment 5 is a memory device according to embodiment 4, wherein the detection circuit has an alarm line and is designed to output an alarm signal via the alarm line if the resulting bit pattern corresponds to a logical combination of bit patterns of different memory cell rows.

实施例6是根据实施例4或5的存储器装置,其中预设的位模式分别具有预设的汉明权重,并且探测电路设计用于:基于所得出的位模式的汉明权重来校验,所得出的位模式是否对应于不同的存储器单元行的位模式的逻辑组合。Embodiment 6 is a memory device according to embodiment 4 or 5, wherein the preset bit patterns respectively have preset Hamming weights, and the detection circuit is designed to: verify based on the Hamming weight of the obtained bit pattern whether the obtained bit pattern corresponds to a logical combination of bit patterns of different memory cell rows.

实施例7是根据实施例4至6之一的存储器装置,其中两个不同行的预设的位模式在至少对应于预设的冗余值的数量的位置上不同。Embodiment 7 is a memory device according to any one of embodiments 4 to 6, wherein the predetermined bit patterns of two different rows differ in positions corresponding to at least a number of predetermined redundancy values.

实施例8是根据实施例7的存储器装置,其中存储器装置具有与预设的冗余值一样多的探测电路。Embodiment 8 is the memory device according to embodiment 7, wherein the memory device has as many detection circuits as a preset redundancy value.

实施例9是根据实施例1至8之一的存储器装置,其中第二列类型的存储器单元列的存储器单元是非易失性存储器单元。Embodiment 9 is the memory device according to one of embodiments 1 to 8, wherein the memory cells of the column of memory cells of the second column type are non-volatile memory cells.

实施例10是根据实施例1至9之一的存储器装置,其中第二列类型的存储器单元列的存储器单元是只读存储器单元。Embodiment 10 is the memory device according to one of embodiments 1 to 9, wherein the memory cells of the column of memory cells of the second column type are read-only memory cells.

实施例11是根据实施例1至10之一的存储器装置,其中第一列类型的存储器单元列的存储器单元是易失性存储器单元。Embodiment 11 is the memory device according to one of embodiments 1 to 10, wherein the memory cells of the column of memory cells of the first column type are volatile memory cells.

实施例12是根据实施例1至11之一的存储器装置,其中探测电路设计用于:基于关于校验数据与存储器单元行的关联性的信息确定,在读访问时激活一个或多个哪个字线。Embodiment 12 is a memory device according to one of embodiments 1 to 11, wherein the detection circuit is configured to determine, based on information about the association of the verification data with the memory cell row, which word line or lines are activated during a read access.

应当注意的是:全部上述实施例能够彼此任意地组合。It should be noted that all of the above-described embodiments can be combined with each other arbitrarily.

虽然尤其参考特定的实施方式示出和描述了本发明,但是本领域技术人员应该理解,在不脱离本发明的如通过说明书限定的范围和构思的情况下,可以关于设计方案和细节进行许多改变。因此,本发明的范围由说明书确定,并且意在涵盖落入说明书的字义或等价范围中的全部变化。Although the present invention is shown and described with particular reference to specific embodiments, it will be appreciated by those skilled in the art that many changes may be made to the design and details without departing from the scope and concept of the present invention as defined by the specification. Therefore, the scope of the present invention is determined by the specification and is intended to cover all changes that fall within the literal meaning or equivalent range of the specification.

Claims (11)

1.一种存储器装置,所述存储器装置具有:1. A memory device, comprising: 存储器单元场,所述存储器单元场具有存储器单元列和存储器单元行、位线和字线,其中每列与一个位线相关联,并且每行与一个字线相关联;a memory cell field having columns and rows of memory cells, bit lines and word lines, wherein each column is associated with a bit line and each row is associated with a word line; 其中所述存储器单元列包括:第一列类型的存储器单元列,其设计用于存储有效数据;和第二列类型的存储器单元列,其设计用于存储预设的校验数据;The memory cell columns include: a first column type memory cell column, which is designed to store valid data; and a second column type memory cell column, which is designed to store preset verification data; 其中至少所述第二列类型的存储器单元列的存储器单元设计成并且与所述位线连接成,使得所述第二列类型的一个存储器单元列的存储器单元在读访问时将与所述第二列类型的该存储器单元列相关联的位线设定成如下值,所述值对应于由所述第二列类型的该存储器单元列的存储器单元存储的预设的校验数据的逻辑组合,这些存储器单元属于在读访问时编址的存储器单元行;和wherein at least the memory cells of the memory cell column of the second column type are designed and connected to the bit line in such a way that the memory cells of a memory cell column of the second column type set the bit line associated with the memory cell column of the second column type during a read access to a value corresponding to a logical combination of predefined check data stored by the memory cells of the memory cell column of the second column type, which belong to a memory cell row addressed during a read access; and 探测电路,所述探测电路设计用于:在读访问时检测,是否将与所述第二列类型的该存储器单元列相关联的位线设定成如下值,所述值对应于由所述第二列类型的该存储器单元列的存储器单元存储的预设的校验数据的逻辑组合,并且这些存储器单元的值属于至少两个不同的存储器单元行,a detection circuit, the detection circuit being designed to detect, during a read access, whether a bit line associated with the memory cell column of the second column type is set to a value corresponding to a logical combination of preset verification data stored by memory cells of the memory cell column of the second column type, and the values of these memory cells belong to at least two different memory cell rows, 其中在所述第二列类型的每个存储器单元行中存储的所述预设的校验数据具有相应的预设的位模式,所述位模式分别具有相同的预设的汉明权重。The predetermined test data stored in each memory cell row of the second column type have corresponding predetermined bit patterns, which in each case have the same predetermined Hamming weight. 2.根据权利要求1所述的存储器装置,2. The memory device according to claim 1, 其中所述探测电路具有报警线路并且设计用于:如果分别与所述第二列类型的一个存储器单元列相关联的一个或多个位线(i)在读访问时被设定成如下值,所述值对应于由所述第二列类型的该存储器单元列的存储器单元存储的预设的校验数据的逻辑组合,并且(ii)具有不同的值,所述值属于在读访问时编址的不同的存储器单元行的行,那么经由所述报警线路输出报警信号。The detection circuit has an alarm circuit and is designed to output an alarm signal via the alarm circuit if one or more bit lines respectively associated with a memory cell column of the second column type (i) are set to the following values during a read access, which correspond to a logical combination of preset verification data stored by the memory cells of the memory cell column of the second column type, and (ii) have different values, which belong to different memory cell rows addressed during a read access. 3.根据权利要求1所述的存储器装置,3. The memory device according to claim 1, 其中所述探测电路具有报警线路并且设计用于:如果所得出的位模式对应于不同的存储器单元行的位模式的逻辑组合,那么经由所述报警线路输出报警信号。The detection circuit has an alarm line and is designed to output an alarm signal via the alarm line if the resulting bit pattern corresponds to a logical combination of bit patterns of different memory cell rows. 4.根据权利要求1所述的存储器装置,4. The memory device according to claim 1, 其中所述预设的位模式分别具有预设的汉明权重,并且所述探测电路设计用于:基于所得出的位模式的汉明权重来校验,所述所得出的位模式是否对应于不同的存储器单元行的位模式的逻辑组合。The predetermined bit patterns each have a predetermined Hamming weight, and the detection circuit is designed to check, based on the Hamming weights of the resulting bit patterns, whether the resulting bit pattern corresponds to a logical combination of bit patterns of different memory cell rows. 5.根据权利要求1所述的存储器装置,5. The memory device according to claim 1, 其中两个不同行的预设的位模式在至少一个对应于预设的冗余值的位置中不同。The predetermined bit patterns of two different rows differ in at least one position which corresponds to a predetermined redundancy value. 6.根据权利要求5所述的存储器装置,6. The memory device according to claim 5, 其中所述存储器装置具有与预设的冗余值一样多的探测电路。The memory device has as many detection circuits as a preset redundancy value. 7.根据权利要求1所述的存储器装置,7. The memory device according to claim 1, 其中所述第二列类型的存储器单元列的存储器单元是非易失性存储器单元。The memory cells of the second column type of memory cells are non-volatile memory cells. 8.根据权利要求1所述的存储器装置,8. The memory device according to claim 1, 其中所述第二列类型的存储器单元列的存储器单元是只读存储器单元。The memory cells of the second column type of memory cells are read-only memory cells. 9.根据权利要求1所述的存储器装置,9. The memory device according to claim 1, 其中所述第一列类型的存储器单元列的存储器单元是易失性存储器。The memory cells of the first column type memory cell column are volatile memories. 10.根据权利要求1所述的存储器装置,10. The memory device according to claim 1, 其中所述探测电路设计用于:基于关于校验数据与存储器单元行的关联性的信息确定,在读访问时激活哪一个或哪些字线。The detection circuit is designed in this case to determine, based on the information about the association of the verification data with the row of memory cells, which word line or word lines are activated during a read access. 11.根据权利要求4所述的存储器装置,11. The memory device according to claim 4, 其中所述探测电路具有报警线路并且设计用于:基于所述所得出的位模式的汉明权重大于在读访问时编址的存储器单元行的不同行的汉明权重,经由所述报警线路输出报警信号。The detection circuit has an alarm line and is designed to output an alarm signal via the alarm line on the basis that the Hamming weight of the resulting bit pattern is greater than a Hamming weight of a different row of memory cells addressed during a read access.
CN201810789754.8A 2017-07-19 2018-07-18 Memory device Active CN109285576B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE102017116280.1 2017-07-19
DE102017116280.1A DE102017116280B4 (en) 2017-07-19 2017-07-19 STORAGE ARRANGEMENT

Publications (2)

Publication Number Publication Date
CN109285576A CN109285576A (en) 2019-01-29
CN109285576B true CN109285576B (en) 2024-07-26

Family

ID=64951328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810789754.8A Active CN109285576B (en) 2017-07-19 2018-07-18 Memory device

Country Status (3)

Country Link
US (1) US10546866B2 (en)
CN (1) CN109285576B (en)
DE (1) DE102017116280B4 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1404065A (en) * 2001-08-31 2003-03-19 三菱电机株式会社 Storage circuit
CN105304143A (en) * 2014-07-21 2016-02-03 群联电子股份有限公司 Decoding method, memory control circuit unit and memory storage device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4541076A (en) * 1982-05-13 1985-09-10 Storage Technology Corporation Dual port CMOS random access memory
JP3668673B2 (en) * 2000-06-09 2005-07-06 株式会社日立コミュニケーションテクノロジー Error correction code configuration method, decoding method, transmission apparatus, network
CN100347727C (en) * 2002-06-28 2007-11-07 Nxp股份有限公司 Data carrier with detection means for detecting a change in information stored by the storage means
US6879518B1 (en) * 2003-11-21 2005-04-12 Atmel Corporation Embedded memory with security row lock protection
US7546510B2 (en) * 2003-12-30 2009-06-09 Sandisk Il Ltd. Compact high-speed single-bit error-correction circuit
US8379468B2 (en) 2011-06-27 2013-02-19 Freescale Semiconductor, Inc. Word line fault detection
FR2982406A1 (en) * 2011-11-07 2013-05-10 St Microelectronics Rousset SECURE MEMORY THAT PREVENTS DEGRADATION OF DATA
US9490031B2 (en) * 2014-02-26 2016-11-08 Freescale Semiconductor, Inc. High-speed address fault detection using split address ROM
JP2015179960A (en) * 2014-03-19 2015-10-08 ソニー株式会社 Data processing device and data processing method
US9673840B2 (en) * 2014-12-08 2017-06-06 SK Hynix Inc. Turbo product codes for NAND flash

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1404065A (en) * 2001-08-31 2003-03-19 三菱电机株式会社 Storage circuit
CN105304143A (en) * 2014-07-21 2016-02-03 群联电子股份有限公司 Decoding method, memory control circuit unit and memory storage device

Also Published As

Publication number Publication date
CN109285576A (en) 2019-01-29
US20190027485A1 (en) 2019-01-24
US10546866B2 (en) 2020-01-28
DE102017116280B4 (en) 2024-02-22
DE102017116280A1 (en) 2019-01-24

Similar Documents

Publication Publication Date Title
US8560899B2 (en) Safe memory storage by internal operation verification
US9443113B2 (en) Response to tamper detection in a memory device
EP2954415B1 (en) Tamper detection and response in a memory device
EP1634299B1 (en) Integrity control for data stored in a non-volatile memory
US20070226551A1 (en) Apparatus and method for checking an error recognition functionality of a memory circuit
TWI754369B (en) Physical unclonable function code generation appratus and method thereof
CN110277130A (en) Semiconductor device involving repair of redundant regions
WO2011088938A1 (en) Paired programmable fuses
KR20090046910A (en) Data integrity verification of data storage devices
CN106469099A (en) Error correcting in the case of application WOM code
CN109686389B (en) Memory device and method for verifying memory access
EP3136286B1 (en) Data processing system with secure key generation
CN109285576B (en) Memory device
WO2003001381A1 (en) Method and circuit arrangement for memory error processing
CN111630595A (en) Memory device, memory address decoder, system and related methods for memory attack detection
JP5560463B2 (en) Semiconductor device
TWI617944B (en) Method and system for power signature suppression in memory devices
EP1683080B1 (en) Method for storing and/or changing state-information of a memory as well as integrated circuit and data carrier
Chen et al. Reverse engineering resistant ROM design using transformable via-programming structure
Xiao et al. A physically-secure write scheme of Multi-time Programmable RRAM for critical information storage

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant