MEMORY DEVICE

Providing a memory device that initializes memory cell data in a batch by specifying initialization data, or a memory device that initializes memory cell data in a batch by partially masking the initialization area. A memory device is provided that includes a control circuit that receives an initialization mode signal transmitted from an initialization control circuit and generates an internal clock and a write control signal, an IO (Input/Output) input circuit that applies a Low level to the True side or Bar side of a bit line according to initialization data transmitted from the initialization control circuit, and a selection circuit that simultaneously selects multiple word lines and multiple bit lines, and writes the initialization data simultaneously into a memory cell connected to the selected word lines and bit lines.

CROSS-REFERENCE TO RELATED APPLICATIONS

The disclosure of Japanese Patent Application No. 2023-139535 filed on Aug. 30, 2023, including the specification, drawings and abstract is incorporated herein by reference in its entirety.

BACKGROUND

This disclosure relates to a memory device, for example, SRAM (Static Random Access Memory).

There are disclosed techniques listed below.[Patent Document 1] Japanese Unexamined Patent Application Publication No. 2023-88805

Technologies for initializing the data of memory cells have been developed. Patent Document 1 discloses a technology for initializing the data of memory cells relatively quickly while suppressing an increase in area. The control circuit of the semiconductor device, based on the reset signal being set to a high level, turns off the first transistor, selects multiple word lines, turns off the precharge circuit, turns on the write column switch, and turns off the read column switch. By setting the first bit line to a low level and the second bit line to a high level by the write circuit, multiple memory cells are initialized.

SUMMARY

The initialization described in Patent Document 1 shortens the initialization time by initializing all memory cell areas at the same time. However, because the data at the time of initialization is fixed inside the SRAM, it can only be initialized to 0 or 1. Also, only all memory cell areas can be initialized. Therefore, there was a problem that it was not possible to initialize all memory cells at once in a memory with an ECC (Error Checking and Correction) memory or an area where important data is held.

Therefore, the purpose of this disclosure is to provide a memory device that initializes all memory cell data by specifying initialization data or a memory device that initializes all memory cell data by partially masking the initialization area.

According to one embodiment, the memory device initializes any area with any data.

According to the one embodiment, it is possible to provide a memory device that initializes all memory cell data by specifying initialization data or a memory device that initializes all memory cell data by partially masking the initialization area.

DETAILED DESCRIPTION

For clarity of explanation, the following description and drawings are appropriately omitted and simplified. Each element described in the drawings as a function block for performing various processes can be configured by hardware such as a CPU (Central Processing Unit), memory, and other circuits, and can be realized by software such as a program loaded into memory. Therefore, these function blocks can be realized by hardware, software operating on hardware, or a combination thereof. In the drawings, the same elements are denoted by the same reference numerals, and a repetitive description thereof is omitted as necessary.

(Description of the Memory Device According to the Embodiment)

FIG.1is a schematic diagram showing the state of bulk initialization of the memory device.FIG.2is a schematic diagram showing an example of a state in which the Hamming code of the memory device is masked.FIG.3is a schematic diagram showing another example of a state in which the Hamming code of the memory device is masked.FIG.4is a schematic diagram showing a case where the initialization in the word direction of the memory device is restricted.FIG.5is a schematic diagram showing a case where the initialization in the bit direction of the memory device is restricted.FIG.6is a schematic diagram of a circuit of a memory device according to an embodiment. The memory device according to the embodiment will be described with reference toFIGS.1to6. The memory device600is, for example, an SRAM (Static Random Access Memory).

As shown inFIG.1, SRAM macros to which ECC is not applied can be initialized in bulk. The memory area is set to all zeros. On the other hand, it is desirable that SRAM macros to which ECC is applied are not all zeros, as shown inFIGS.2and3, for example. From the viewpoint of functional safety, as shown inFIG.2, it is desirable to put a value of 1 in the Hamming code of adjacent bit lines. Also, as shown inFIG.3, it is desirable to put a value of 1 in the Hamming code with a different code.

Also, as shown inFIG.4, there may be a case where it is desired to restrict the initialization in the word line direction. Furthermore, as shown inFIG.5, there may be a case where it is desired to restrict the initialization in the bit line direction. The memory device of the present disclosure is a memory device that specifies initialization data of memory cell data and initializes it in bulk, or a memory device that masks a part of the initialization area of the memory cell data and initializes it in bulk, and these states can be realized in bulk.

As shown inFIG.6, the memory device600according to the embodiment includes an initialization control circuit (not shown), a Write/Read internal clock generation circuit601, a write control circuit602, an internal clock generation circuit603, a Row address decoder and word multiple simultaneous selection circuit604during initialization, a Col address decoder and column switch multiple simultaneous selection circuit605during initialization, an internal clock generation circuit607, a BitWrite mask circuit608, and a Write circuit609.

The initialization control circuit sends an initialization mode signal that transitions the memory device to the initialization mode. The initialization mode is a state in which initialization is performed. Also, the initialization control circuit sends 0 or 1 initialization data to write to the memory device600. The initialization data is data for initializing the memory device. Also, the initialization control circuit may send an initialization address area mask signal that masks the area to be initialized. Also, the initialization control circuit may send an initialization data mask signal that masks the data to be initialized.

The control circuit602, the internal clock generation circuit603, and the internal clock generation circuit607are collectively referred to as a control circuit. The internal clock generation circuit603receives a clock signal and an initialization mode signal from the Write/Read internal clock generation circuit601to generate an internal clock for initialization. The internal clock generation circuit607receives a clock signal and an initialization mode signal from the Write/Read internal clock generation circuit601to generate an internal clock for initialization. The write control circuit602generates a write control signal that enables the Write circuit's enable signal during initialization to enable writing.

The Row address decoder and word multiple simultaneous selection circuit604during initialization is also referred to as the word line selection circuit604. The word line selection circuit604has the function of a normal Row address decoder. Furthermore, the word line selection circuit604can restrict the initialization in the word line direction by selecting word lines with arbitrary variations by capturing the initialization area information input.

As shown in the table inFIG.6, for example, when the initialization mode signal INITM is 1 and the address input A is 000, all word lines are selected. When the initialization mode signal is 1 and the address input A is 001, even word lines are selected. When the address input A is 010, odd word lines are selected. When the address input A is 011, the lower half word lines are selected. When the address input A is 100, the upper half word lines are selected. In this way, multiple word lines can be selected simultaneously at initialization.

The Col address decoder and the initialization time column switch multiple simultaneous selection circuit605, also known as the bit line selection circuit605. The bit line selection circuit605is equipped with the function of a column address decoder. Furthermore, the bit line selection circuit605can capture initialization area information input and select a column switch with any variation, thereby limiting the initialization in the bit line direction on a column-by-column basis.

The word line selection circuit604and the bit line selection circuit605are collectively referred to as a selection circuit. In this way, the selection circuit masks a part of the initialization of the address area based on the initialization address area mask signal input from the initialization control circuit. The word line selection circuit604is connected to the word driver section700. The bit line selection circuit605is connected to the column selector and the precharge section610.

The BitWrite mask circuit608has a function to disable data input during normal times and limit input in the bit line direction. Normal times refer to when the memory device600is used as a memory device. Furthermore, the BitWrite mask circuit608also has a function to disable data input during initialization and limit input in the bit line direction.

The Write circuit609has a function to input 0 or 1 data during normal times. Furthermore, the Write circuit609has a function to input 0 or 1 data during initialization. The BitWrite mask circuit608and the Write circuit609are collectively referred to as the IO input circuit. In this way, the IO input circuit masks a part of the IO input of the memory cell according to the initialization data mask signal input from the initialization control circuit.

The internal clock generation circuit607and the IO input circuit are collectively referred to as the write buffer and sense amplifier section606. The write buffer and sense amplifier section606are connected to the column selector and the precharge section610. The column selector and precharge section610are equipped with BT (Bit True) lines and BB (Bit Bar) lines connected to the memory cells. During normal times, a high level is applied to the True side and Bar side of the bit line. Initialization is performed by applying a low level to the True side or Bar side of the bit line.

With the above configuration, it is possible to provide a memory device that initializes all memory cell data by specifying initialization data, or a memory device that masks a part of the initialization area of the memory cell data and initializes all of them.

(Description of the Word Driver Section of the Memory Device According to the Embodiment)

FIG.7is a diagram with a circuit added to lower the voltage level of the word line driver of the memory device according to the embodiment. Referring toFIG.7, the word driver section of the memory device according to the embodiment will be described. The word driver section700is a circuit that drives the word line.

As shown inFIG.7, the word driver section700includes a wiring701connected to the word line selection circuit604, a word line driver circuit702, and a level reduction circuit703.

The wiring701is connected to multiple word line driver circuits702. The wiring701raises multiple word lines in response to a signal generated by the word line selection circuit604during initialization.

Multiple word line driver circuits702are connected to one level reduction circuit703. The level reduction circuit703is a complementary transistor equipped with an N-channel type transistor and a P-channel type transistor. The level reduction circuit703is connected to the gate with a reset write signal, and the output is connected to the power line of the word driver circuit. The level reduction circuit703allows a through current to flow during the initialization restriction in the bit line direction, so it turns off the P-channel type transistor and turns on the N-channel type transistor during initialization. Therefore, the level reduction circuit703can lower the high level potential of the word line at the time of rising. As a result, the level reduction circuit703suppresses the peak current and the charge/discharge current, thereby reducing the power consumption of the memory device600.

(Description of the Timing Chart of the Memory Device According to the Embodiment)

FIG.8is a timing chart of the memory device according to the embodiment. Referring toFIGS.6and8, the timing chart of the memory device according to the embodiment will be described.

As shown inFIGS.6and8, INITM is an initialization mode signal. When the initialization mode signal becomes High level, initialization is executed. When the initialization mode signal INITM becomes High, the write control signal WIRSTE of the write control circuit602becomes High. Also, when the initialization mode signal INITM becomes High, the internal clock CPIO of the internal clock generation circuit607becomes High.

Then, LLHL data is input to the BT (Bit True) line according to the initialization data input DIN (0010). HHLH data is input to the BB (Bit Bar) line according to the initialization data input DIN (0010).

In response to the initialization mode signal, multiple word lines are selected in the High state, and the memory cell inputs (0010) data according to the initialization data input DIN (0010).

With the above configuration, multiple word lines are selected, and the selected initialization data is input to the memory cell.

(Description of the Memory Device with Added ECC (Error Checking and Correction) Circuit According to the Embodiment)

FIG.9is a block diagram of the memory device with added ECC circuit according to the embodiment. Referring toFIG.9, the memory device with added ECC circuit according to the embodiment will be described. The ECC circuit is an error detection/correction circuit.

The memory device900with added ECC circuit includes a system control circuit901, an ECC circuit902, and a memory device903.

The MBIST (Memory Built In Self Test) circuit904is a test circuit that tests the memory before shipment. For example, it outputs initialization data MDIN during the initialization before shipment of the memory device900with added ECC circuit.

The system control circuit901includes an initialization control circuit. In the memory test after shipment, the system control circuit901outputs the initialization mode signal INITM, initialization data CDIN, initialization address area mask signal CA, and initialization data mask signal CBWN.

The ECC circuit902is connected to the system control circuit901. Also, the ECC circuit is connected to the memory device903. That is, the ECC circuit902is arranged between the system control circuit901and the memory device903. The ECC circuit receives initialization data and transmits error detection/correction code EDIN.

The memory device903is, for example, an SRAM macro. The memory device903captures initialization data including a Hamming code output from ECC during initialization in the memory test after shipment, and is collectively initialized according to the data DIN.

The initialization flow of the memory device900with added ECC circuit is as follows. First, the system control circuit901outputs initialization data including a bit designation signal to the ECC circuit. Also, the system control circuit901outputs an address signal specifying the initialization area to the memory device903. Next, the ECC circuit902receives the initialization data and generates a Hamming code. Next, the memory device903receives the initialization data including the Hamming code from the ECC circuit902and receives the initialization area designation address signal from the system control circuit901. Next, the system control circuit901outputs the initialization mode signal to the memory device903. Finally, the memory device903performs initialization processing of the specified area.

With the above configuration, it can cope with initialization with initialization data including a Hamming code due to the addition of the ECC circuit.

Although the invention made by the inventor has been specifically described based on the embodiment, the present invention is not limited to the embodiment already described, and it is needless to say that various modifications can be made without departing from the gist thereof.