Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

ECC memory manager, ECC memory management method and electronic equipment

A manager and memory technology, applied in the field of memory, can solve problems such as loss of performance, slowing down of byte data read and write speed, and achieve the effects of improving read and write speed, increasing the scope of application, reducing area and cost

Active Publication Date: 2020-05-12
ZHEJIANG UNIV +1
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But this means that the data must be read and written in 32 bits. When only one byte of data is written, it is also necessary to read back the 32-bit data first, modify the byte data, and then perform an ECC check on the entire 32-bit word before writing it back. , which makes the read and write speed of byte data several times slower than the original
[0005] To sum up, memory security measures, memory overhead, and memory read / write speed are mutually restrictive, and system-on-chip designers can only choose a compromise solution to lose one or two of the performance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • ECC memory manager, ECC memory management method and electronic equipment
  • ECC memory manager, ECC memory management method and electronic equipment
  • ECC memory manager, ECC memory management method and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] see figure 1 , this application provides an ECC memory manager, including:

[0043] Bus interface module for external communication, memory read-write management module, ECC error correction calculation module, and memory module; the bus interface module has a register set to configure the configuration information of the ECC memory manager. The configuration information includes the working mode and ECC range ;The memory read-write management module is electrically connected with the bus interface module, the memory module, and the ECC error correction calculation module, so as to perform memory read-write operations according to the configuration information:

[0044] If the working mode is the ECC off state or the ECC range is invalid, the memory read-write management module directly performs data read-write operations on the memory module;

[0045]If the working mode is ECC enabled and the ECC range is valid, the memory module is divided into common memory area and...

Embodiment 2

[0066] see Figure 4 , the present application provides an ECC memory management method based on Embodiment 1, comprising the following steps:

[0067] S1: Configure and read configuration information, where the configuration information includes the working mode of ECC memory management and ECC range;

[0068] S2: Perform memory read and write operations according to the configuration information:

[0069] If the working model is in the ECC off state or the ECC range is invalid, the data is read and written directly to the memory;

[0070] If the working mode is ECC enabled and the ECC range is valid, the memory is divided into common memory area and ECC memory area according to the ECC range, and data read and write operations are performed according to the division of memory: the read and write memory area is the ordinary memory area, then Directly perform data read and write operations on the ordinary memory area; the read and write memory area is the ECC memory area, th...

Embodiment 3

[0078] The present application provides an electronic device based on Embodiment 1, including the ECC memory manager in Embodiment 1. The electronic device can be any one with a memory such as a computer, a mobile phone, an automobile, a factory production device, a testing device, etc. Electronic equipment.

[0079] Based on the ECC memory manager, the electronic device of this embodiment has the following advantages:

[0080] In this embodiment, by setting the register group in the bus interface module, the working mode and the ECC range of the ECC memory manager are configured through the register group, wherein, the switch of the ECC error correction function can be freely realized through the working mode, and the ECC range can be flexibly configured with the ECC memory area In this way, it not only supports flexible partitioning of memory, but also can choose the switch state of ECC error correction function to realize the multiplexing of ordinary memory and ECC memory, ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an ECC memory manager, an ECC memory management method and electronic equipment. A bus interface module is provided with a register group and is used for configuring configuration information of an ECC memory manager. The memory can be freely divided into an ECC memory area and a common memory area according to an address space; the ECC error correction function of the memory is freely switched; when the ECC memory area is configured to be 0, namely an ECC closed state, the two memory areas are consistent with a conventional use mode; and when the ECC is in an open state and an effective memory area range is configured, an ECC check value is generated at the corresponding ECC area address for all byte data written into the ECC memory area through the ECC error correction calculation module, and errors of the read data are carefully detected and corrected through the ECC error correction calculation module. Therefore, the invention has the technical characteristics that the memory utilization rate is high, the ECC function can be freely switched on and off, the size of the ECC memory is adjustable, and the read-write speed is high.

Description

technical field [0001] The invention belongs to the technical field of memory, and in particular relates to an ECC memory manager, method and electronic equipment. Background technique [0002] ECC is the abbreviation of "Error Correcting Code", and the Chinese name is "Error Correcting Code". ECC is a technology that can realize "error checking and correction". ECC memory is the memory that applies this technology, making the whole system more secure and stable when working. ECC can correct single-bit or multi-bit errors in the memory, and the calculation speed is very fast. This allows errors to be tolerated in the memory and corrected so that the system continues to operate normally without being interrupted by errors. [0003] For memories such as flash that perform erasing and writing operations in units of blocks or pages, an ECC check can be performed on the entire page (for example, 512 bytes) to generate a small amount of ECC check codes. However, for SRAM memory...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/10
CPCG06F11/1044
Inventor 杨大胜潘再生唐艳丽李红波曹焱郑慧娴来晓刘勇
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products