Semiconductor memory device

By utilizing separate buses for data and error correction code transmission, the semiconductor memory device allows parallel execution of mask write operations, addressing processing performance issues in consecutive writes to the same banks.

JP2024124037AActive Publication Date: 2024-09-12DENSO CORP +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023031937
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-02
Publication Date
2024-09-12
Estimated Expiration
2043-03-02

AI Technical Summary

Technical Problem

Consecutive mask write operations to the same banks in semiconductor memory devices result in processing performance deterioration due to the need to wait for previous operations to complete before initiating the next operation.

Method used

The semiconductor memory device is configured with separate buses for data output from sense amplifiers to error correction sections and for error correction code generation to sense amplifiers, allowing parallel execution of operations even when accessing the same banks.

Benefits of technology

This configuration enables parallel execution of mask write processes without delay, thereby preventing a decline in data processing performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024124037000001
    Figure 2024124037000001
Patent Text Reader

Abstract

To suppress reduction in data processing performance during mask write processing in a semiconductor memory device.SOLUTION: A semiconductor memory devices 100, 100A which can execute a mask write process includes: a plurality of banks B0-B7 comprising a data recording unit 30 on which write data is recorded and an ECC code recording unit 40 on which error correction codes corresponding to the write data are recorded; sense amplifiers SA for reading / writing data to / from the banks; an ECC code generation unit 22 which generates the error correction codes; an error correction unit 21 which corrects an error of the data using the error correction codes; first buses MRB, RR, LRB connecting the sense amplifiers and the error correction unit and transferring the data output from the sense amplifiers to the error correction unit; and second buses MWB, WR, LWB connecting the ECC code generation unit and the sense amplifiers and transferring the data output from the ECC code generation unit to the sense amplifiers.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to semiconductor memory devices. [Background technology]

[0002] As a semiconductor memory device, for example, a dynamic random access memory (DRAM) that has an error check and correct (ECC) function and autonomously performs error correction processing on data is sometimes used. Also, a DRAM that has an ECC function and is capable of a mask write process that rewrites only a part of data when writing data to the semiconductor memory device is known (Patent Document 1). In the semiconductor memory device described in Patent Document 1, a decrease in the data processing performance of the semiconductor memory device is suppressed by pipeline processing of multiple mask write processes in which the banks to which data is written are different from each other. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] US Patent Application Publication No. 2022 / 0245031A1 Summary of the Invention [Problem to be solved by the invention]

[0004] However, when multiple mask write processes are executed consecutively, each of which accesses the same bank, the next mask write process cannot be executed until the previous series of processes is completed, resulting in a problem of reduced data processing performance. [Means for solving the problem]

[0005] The present disclosure can be realized in the following forms.

[0006] According to one aspect of the present disclosure, (100, 100A) is provided. This semiconductor memory device is a semiconductor memory device (100, 100A) capable of executing a mask write process for rewriting data of a data length smaller than a preset data access unit, and includes a plurality of banks (B0 to B7) having a data recording unit (30) in which write data is recorded and an ECC code recording unit (40) in which an error correction code corresponding to the write data is recorded, a sense amplifier (SA) provided in each of the plurality of banks for reading and writing data to each of the banks, an ECC code generation unit (22) for generating the error correction code, an error correction unit (21) for correcting errors in the data using the error correction code, first buses (MRB, RR, LRB) connecting each of the sense amplifiers to the error correction unit and transmitting data output from each of the sense amplifiers to the error correction unit, and second buses (MWB, WR, LWB) connecting the ECC code generation unit to each of the sense amplifiers and transmitting data output from the ECC code generation unit to each of the sense amplifiers.

[0007] According to the control device of this embodiment, since the control device is provided with the first bus and the second bus, the output of data from the sense amplifier to the error correction unit and the input of data from the ECC code generation unit to the sense amplifier can be executed in parallel in the same bank. Therefore, even when a plurality of mask write processes are executed consecutively in which the same bank is the target of data writing, if the columns to be accessed are different, the next mask write process can be executed in parallel without waiting for the completion of the previous mask write process, and the degradation of data processing performance can be suppressed. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is an explanatory diagram showing a schematic configuration of a semiconductor memory device according to a first embodiment. [Diagram 2] 5 is a flowchart showing a procedure of a mask write process according to the first embodiment. [Diagram 3] 5 is a flowchart showing a procedure of a mask write process according to the first embodiment. [Figure 4] 4 is a timing chart showing an example of an operation of the semiconductor memory device of the first embodiment. [Diagram 5] FIG. 11 is an explanatory diagram showing a schematic configuration of a semiconductor memory device according to a second embodiment. [Figure 6] 13 is a flowchart showing a procedure of a mask write process according to a second embodiment. [Figure 7] 13 is a flowchart showing a procedure of a mask write process according to a second embodiment. [Figure 8] 13 is a flowchart showing a procedure of a mask write process according to a second embodiment. [Figure 9] 10 is a timing chart showing an example of an operation of the semiconductor memory device according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] A. First embodiment: A-1.Device configuration: The semiconductor memory device 100 of this embodiment reads and writes data in response to a request received from a calculation device 200 such as a CPU or a GPU (Graphics Processing Unit). In this embodiment, the semiconductor memory device 100 is configured as LPDDR4 (Low Power DDR4) and is configured to be able to execute a mask write process in addition to a write process for normal data writing. The "mask write process" is a process in which a part of data read in a data access unit preset as a specification of the semiconductor memory device 100 is rewritten with newly input data having a data length smaller than the access unit, and then written back again. In the following description, a command issued by the calculation device 200 to request a mask write process is also called a "mask write command."

[0010] In the following description, data having a data length smaller than the data access unit is also referred to as "mask data." Data in which a part is rewritten by the mask data is also referred to as "data to be rewritten." Of the data to be rewritten, a bit string to be rewritten by the mask data is also referred to as a "portion to be rewritten." In this embodiment, the mask data includes address information indicating the address of the memory area in which the data to be rewritten is held, and information indicating which bit string of the data to be rewritten is to be the portion to be rewritten.

[0011] As shown in Fig. 1, the semiconductor memory device 100 of this embodiment includes an input / output circuit 10, an input / output bus IOB, a plurality of banks B0 to B7, an ECC calculation circuit 20, a main read bus MRB, and a main write bus MWB. In addition to the above-mentioned configuration, the semiconductor memory device 100 also includes a clock generation circuit and various decoders, but since these configurations are similar to those of a general LPDDR4, they are not shown in Fig. 1.

[0012] The input / output circuit 10 controls input / output of data to / from the arithmetic device 200. More specifically, the input / output circuit 10 inputs / outputs data according to a clock signal supplied from outside the semiconductor memory device 100 or a clock signal generated by a clock generating circuit (not shown) included in the semiconductor memory device 100. In this embodiment, the input / output circuit 10 has a data bus inversion (DBI) function. When data input from the arithmetic device 200 is bit-inverted, the input / output circuit 10 restores the original data by inverting the bits again. In this way, when transmitting data including many "0s" that consume more power than "1s," the DBI process is performed by the DBI function, thereby reducing power consumption during data transmission. Note that the semiconductor memory device 100 does not need to have the DBI function.

[0013] Each of the banks B0 to B7 has a memory area ST, a sense amplifier SA, a read register RR, a write register WR, a local read bus LRB, and a local write bus LWB. The memory area ST is formed by arranging memory cells, which are memory elements, in a matrix. Among the banks B0 to B7, the memory areas ST of the banks B0 to B3 function as a data recording unit 30 that holds write data written from the arithmetic device 200. Among the banks B0 to B7, the memory areas ST of the banks B4 to B7 function as an ECC code recording unit 40 that holds an ECC code generated by an ECC code generating unit 22, which will be described later, in correspondence with the data written to the data recording unit 30.

[0014] The sense amplifier SA is connected to the memory area ST and reads data from the memory area ST and writes data to the memory area ST. More specifically, when reading data from the memory area ST according to a command issued by the arithmetic device 200, the sense amplifier SA reads data held in a memory cell designated by a row address selected by a row decoder (not shown) according to an address designated by a received active command. On the other hand, when writing data to the memory area ST according to a command issued by the arithmetic device 200, the sense amplifier SA writes data held in a memory cell designated by a row address designated when the active command is issued, according to a received precharge command.

[0015] The read register RR is connected to the sense amplifier SA via a local read bus LRB, and is connected to the ECC calculation circuit 20 via a main read bus MRB. When data is output from the sense amplifier SA to outside the bank, the read register RR temporarily holds the data output from the sense amplifier SA via the local read bus LRB, and outputs the data to the ECC calculation circuit 20 via the main read bus MRB.

[0016] The write register WR is connected to the sense amplifier SA via a local write bus LWB, and is connected to the ECC calculation circuit 20 via a main write bus MWB. When inputting data to the sense amplifier SA from outside the bank, the write register WR temporarily holds the data input from the ECC calculation circuit 20 via the main write bus MWB, and inputs the data to the sense amplifier SA via the local write bus LWB. Data output from the sense amplifier SA to the read register RR via the local read bus LRB, and data input from the write register WR to the sense amplifier SA via the local write bus LWB can be performed in parallel with each other.

[0017] The ECC calculation circuit 20 is connected to the input / output circuit 10 via an input / output bus IOB. The ECC calculation circuit 20 includes an error correction unit 21 and an ECC code generation unit 22.

[0018] The error correction unit 21 is connected to each of the read registers RR of each bank via the main read bus MRB. In this way, in the semiconductor memory device 100, a data transmission path that connects the sense amplifier SA and the error correction unit 21 to each other is formed by each local read bus LRB of each bank, each read register RR of each bank, and the main read bus MRB. In the following description, such a data transmission path is also called a "first bus." When reading data from the data recording unit 30, the error correction unit 21 also reads an ECC code corresponding to the read data from the ECC code recording unit 40, and if an error occurs in the read data, corrects the error using the ECC code. The error correction unit 21 selects a bank from which the read data is to be read and a bank from which the ECC code is to be read, according to a bank address specified by the received mask write command.

[0019] The ECC code generating unit 22 is connected to each of the write registers WR of each bank via the main write bus MWB. In this manner, in the semiconductor memory device 100, a data transmission path that connects the sense amplifiers SA and the ECC code generating unit 22 is formed by each local write bus LWB of each bank, each write register WR of each bank, and the main write bus MWB. In the following description, such a data transmission path is also called a "second bus." When writing data to the data recording unit 30, the ECC code generating unit 22 generates an error correction code (ECC code) corresponding to the write data. The ECC code generating unit 22 selects a bank to which the write data is to be written and a bank to which the ECC code is to be written according to a bank address specified by the received mask write command.

[0020] In the above-mentioned mask write process, the ECC code generation unit 22 receives the data to be rewritten and the mask data, and rewrites the part of the data to be rewritten with the mask data. In this embodiment, this process is performed by inputting the data to be rewritten and the mask data to a multiplexer (not shown) included in the ECC code generation unit 22.

[0021] A-2. Mask light processing: When a mask write command is issued from the arithmetic device 200, the semiconductor memory device 100 executes the mask write process shown in Figures 2 and 3. In this embodiment, when the banks to be accessed are different from each other, or when the banks to be accessed are the same from each other but the columns to be accessed are different from each other, the semiconductor memory device 100 can execute a plurality of mask write processes in parallel.

[0022] 2, the semiconductor memory device 100 receives a mask write command from the arithmetic device 200. Thereafter, the semiconductor memory device 100 executes the processes of steps S20, S30, and S40 and the processes of steps S22, S32, S42, S52, and S62 in parallel, as shown in FIG.

[0023] In step S20, the semiconductor memory device 100 receives mask data from the arithmetic unit 200 at the input / output circuit 10.

[0024] In step S30, the semiconductor memory device 100 executes the above-mentioned DBI processing on the mask data in the input / output circuit 10.

[0025] In step S40, the semiconductor memory device 100 transmits mask data from the input / output circuit 10 to the ECC code generator 22.

[0026] In step S22, the semiconductor memory device 100 reads the data to be rewritten and the ECC code corresponding to the data to be rewritten from the storage area ST to the sense amplifier SA. More specifically, the semiconductor memory device 100 reads the data to be rewritten from the data recording unit 30 of the bank designated by the mask write command among the banks B0 to B3 to the sense amplifier SA connected to the data recording unit 30. The semiconductor memory device 100 also reads the ECC code from the ECC code recording unit 40 that holds the ECC code generated corresponding to the data to be rewritten among the banks B4 to B7 to the sense amplifier SA connected to the ECC code recording unit 40. Note that the bank in which the data to be rewritten is held and the bank in which the ECC code is held are different from each other, so the above-mentioned process is executed independently in each bank.

[0027] In step S32, the semiconductor memory device 100 transmits the rewrite target data and the ECC code from the sense amplifier SA to the read register RR via the local read bus LRB. As in step S22 described above, this process is performed independently in each bank.

[0028] In step S42, the semiconductor memory device 100 transmits the data to be rewritten and the ECC code from the read register RR to the error correction unit 21 via the main read bus MRB.

[0029] In step S52, the semiconductor memory device 100 causes the error correction unit 21 to execute error correction on the data to be rewritten using the ECC code.

[0030] In step S 62 , the semiconductor memory device 100 transmits the data to be rewritten from the error correction unit 21 to the ECC code generation unit 22 .

[0031] After steps S40 and S62 are completed, in step S70 shown in FIG. 3, the semiconductor memory device 100 causes the error correction unit 21 to replace the portion of the data to be rewritten with mask data to generate rewrite data.

[0032] In step S80, the semiconductor memory device 100 causes the ECC code generator 22 to generate an ECC code corresponding to the rewrite data.

[0033] In step S90, the semiconductor memory device 100 transmits the rewrite data and the ECC code from the ECC code generator 22 to the write register WR via the main write bus MWB.

[0034] In step S100, the semiconductor memory device 100 transmits rewrite data and an ECC code from the write register WR to the sense amplifier SA via the local write bus LWB.

[0035] In step S110, the semiconductor memory device 100 writes the rewrite data and the ECC code from the sense amplifier SA to the storage area ST. With this, the semiconductor memory device 100 ends the mask write process.

[0036] A more specific description will be given with reference to an example of a timing chart showing a case where a plurality of mask write processes are executed in parallel in the semiconductor memory device 100 of this embodiment, shown in Fig. 4. In Fig. 4, the horizontal axis shows the elapsed time in terms of the number of clocks CLK, and the hatched rectangular areas show that each element constituting the semiconductor memory device 100 shown on the vertical axis is used during the clock interval shown by the rectangular area.

[0037] 4 shows a case where mask write commands MWR1 to MWR4 are received at clock counts CLK0, 8, 16, and 24, respectively. In other words, the semiconductor memory device 100 receives one mask write command per cycle, with the clock count being 8. The mask write commands MWR1 to MWR4 are commands that request mask write processing in which the same bank is accessed but different columns are accessed.

[0038] As described above, the semiconductor memory device 100 of this embodiment has a local read bus LRB and a local write bus LWB, so that data output from the sense amplifier SA to the read register RR via the local read bus LRB and data input from the write register WR to the sense amplifier SA via the local write bus LWB can be performed in parallel with each other. Therefore, as shown by the clock numbers CLK28 to CLK32 in FIG. 4, the semiconductor memory device 100 can perform write operations and read operations in the sense amplifier SA in parallel even in the same bank. In addition, in the case of a mask write command requesting a mask write process for different banks, the sense amplifier SA in which the write operation is performed and the sense amplifier SA in which the read operation is performed are different from each other, so that the write operation and the read operation in each sense amplifier SA can be performed in parallel.

[0039] On the other hand, in a semiconductor memory device in which one bus extending from a sense amplifier branches off to connect to a read register and a write register, in the same bank, data output from the sense amplifier to the read register and data input from the write register to the sense amplifier cannot be performed while the other process is being performed. Therefore, in a semiconductor memory device with such a configuration, it is necessary to receive the subsequent mask write command with a delay so that the write operation and the read operation in the sense amplifier are not performed in parallel, which reduces the data processing performance when the mask write process is performed. According to the semiconductor memory device 100 of this embodiment, such a problem can be avoided, and the reduction in data processing performance when multiple mask write processes are performed can be suppressed.

[0040] According to the semiconductor memory device 100 of the first embodiment described above, since it is provided with the first bus and the second bus, in the same bank, the output of data from the sense amplifier SA to the error correction unit 21 and the input of data from the ECC code generation unit 22 to the sense amplifier SA can be executed in parallel. Therefore, even when a plurality of mask write processes are executed consecutively in which the same bank is accessed, if the columns to be accessed are different, the next mask write process can be executed in parallel without waiting for the completion of the previous mask write process, and a decrease in data processing performance can be suppressed.

[0041] B. Second embodiment: The semiconductor memory device 100A of the second embodiment differs from the semiconductor memory device 100 of the first embodiment in that it includes buffers BF1 to BF3 as shown in Fig. 5. The semiconductor memory device 100A of the second embodiment also differs from the semiconductor memory device 100 of the first embodiment in that, in the mask write process, as shown in Fig. 6, steps S12 and S14 shown in Fig. 8 are executed, and step S120 is executed in parallel with steps S90 to S110 as shown in Fig. 7. The device configuration of the semiconductor memory device 100A of the second embodiment and other steps in the mask write process are the same as those of the semiconductor memory device 100 of the first embodiment, so the same configurations and steps are denoted by the same reference numerals and detailed descriptions thereof are omitted.

[0042] 5, the semiconductor memory device 100A further includes buffers BF1-BF3, a buffer write bus BWB, and a buffer read bus BRB. In this embodiment, the number of buffers BF1-BF3, "3," corresponds to one less than "4," which is the number of cycles required from the start to the end of the above-mentioned mask write process. The number of buffers is not limited to three, and may be four or more.

[0043] The buffers BF1 to BF3 are connected to the ECC code generating unit 22 via a buffer write bus BWB and a buffer read bus BRB. The buffers BF1 to BF3 store buffer data input from the ECC code generating unit 22 via the buffer write bus BWB. The "buffer data" refers to information indicating the rewrite data and the write destination bank address and write destination column address of the rewrite data, which are output when the rewrite data is written from the ECC code generating unit 22 to the sense amplifier SA. By storing the buffer data in the buffer, the rewrite data related to the most recent mask write process can be used in the next mask write process even before the rewrite data by the mask write process is written back to the data recording unit 30. Details of this effect will be described later.

[0044] The buffers BF1 to BF3 output the buffer data to the ECC code generation unit 22 via a buffer read bus BRB.

[0045] The buffers BF1 to BF3 store the buffer data until a preset number of clocks has elapsed since the buffer data was stored, and erase the buffer data after the elapse. In this embodiment, the buffers BF1 to BF3 erase the buffer data they held after three cycles have elapsed. After three cycles have elapsed since the buffer data was stored, writing back the rewritten data by the mask write process to the data recording unit 30 is completed. Therefore, when the next mask write process is executed, the rewritten data related to the most recent mask write process held in the data recording unit 30 can be used, and it becomes unnecessary to use the data stored in the buffer. The preset number of cycles from when the buffer data is stored until it is erased, "3", corresponds to the number of buffers BF1 to BF3, "3".

[0046] In the mask write process of the second embodiment shown in Fig. 6 to Fig. 8, after step S10 as shown in Fig. 6, in parallel with steps S20, S30, and S40, in step S12 shown in Fig. 8, the semiconductor memory device 100A judges whether or not an address matching buffer exists. The "address matching buffer" refers to a buffer among the buffers BF1 to BF3 in which the write destination bank address and write destination column address held as buffer data match the write destination address of the target data of the received mask write command. If the address matching buffer does not exist (step S12: No), the semiconductor memory device 100A sequentially executes the processes from step S22 onwards as in the first embodiment, and reads the data to be rewritten from the data recording unit 30 to the ECC code generating unit 22 as in the first embodiment.

[0047] If the address matching buffer exists (step S12: Yes), the semiconductor memory device 100A transmits the rewrite data held in the address matching buffer to the ECC code generating unit 22 (step S14). After that, in step S70 shown in FIG. 7, the semiconductor memory device 100 generates new rewrite data in the ECC code generating unit 22 using the data read from the address matching buffer as the data to be rewritten.

[0048] 7, in parallel with steps S90 to S110, in step S120, the semiconductor memory device 100A writes buffer data to one of the buffers BF1 to BF3. The semiconductor memory device 100A selects one of the buffers BF1 to BF3 from which data has been read in the above-mentioned step S14, and rewrites the buffer data held in that buffer with buffer data including new rewrite data. Note that, if the buffer data held in that buffer has been erased over time as described above, the semiconductor memory device 100A writes new buffer data including new rewrite data to the now empty buffer.

[0049] A more specific description will be given with reference to an example of a timing chart shown in Fig. 9 when a plurality of mask write processes are executed in parallel in the semiconductor memory device 100A of the second embodiment. The horizontal axis indicates the elapsed time by the number of clocks CLK, and the rectangular areas shown with hatching or cross-hatching indicate that each element constituting the semiconductor memory device 100A shown on the vertical axis is used during the clock interval indicated by the rectangular area. Note that the rectangular areas shown with hatching indicate that they are used in the mask write process related to the mask write command MWR5, and the rectangular areas shown with cross-hatching indicate that they are used in the mask write process related to the mask write command MWR6.

[0050] 9 shows a case where mask write commands MWR5 and MWR6 are received at clock numbers CLK0 and CLK8, respectively. The mask write commands MWR5 and MWR6 are commands requesting mask write processing in which the same bank and column are to be accessed.

[0051] In the mask write process according to the mask write command MWR5, the data to be rewritten is read from the storage area ST to the sense amplifier SA in CLK4 to CLK8. After that, the data to be rewritten is transmitted to the ECC code generating unit 22 through transmission via the local read bus LRB, transmission via the main read bus MRB, and error correction in the error correcting unit 21. Furthermore, after the process in the ECC code generating unit 22 is completed, in parallel with the output of the rewrite data to the sense amplifier SA, buffer data is output from the ECC code generating unit 22 in CLK20 and the buffer data is stored in the buffer BF1. In FIG. 9, the buffer data stored in the buffer BF1 in CLK20 to CLK26 is buffer data according to the mask write command MWR5, which is indicated by a hatched rectangular area.

[0052] In the mask write process related to the mask write command MWR6, the buffer BF1 stores buffer data related to the mask write command MWR6, which has the same access target address as the mask write command MWR5. Therefore, the semiconductor memory device 100A omits the read operation in the sense amplifier SA, the transmission via the local read bus LRB, the transmission via the main read bus MRB, and the error correction in the error correction unit 21, which are shown in the rectangular area surrounded by a thick solid line in Fig. 9 and are not hatched, and transmits the data to be rewritten from the buffer BF1 to the ECC code generation unit 22 via the buffer read bus BRB in CLK22. In this way, the semiconductor memory device 100A can execute the process in the ECC code generation unit 22 by using the buffer data stored in the buffer BF1 before the rewrite data related to the mask write command MWR5 is written back to the data recording unit 30.

[0053] After the process in the ECC code generating unit 22 is completed, in parallel with the output of the rewrite data to the sense amplifier SA, in CLK28, the semiconductor memory device 100A rewrites the buffer BF1 with new buffer data. In Fig. 9, the buffer data stored in the buffer BF1 in CLK28 to CLK50 is shown by a cross-hatched rectangular area to be the buffer data related to the mask write command MWR6. The buffer data stored in BF1 is erased after three cycles in CLK52.

[0054] In the mask write process according to the mask write command MWR6, when the read process is performed in the sense amplifier shown by the thick solid line in CLK12, the mask write process is performed based on old data before the mask write process according to the mask write command MWR5 is completed, and data inconsistency occurs. Therefore, in a semiconductor memory device that does not have a buffer, when performing multiple mask write processes in which the banks and columns to be accessed are the same, in order to prevent data inconsistency from occurring, it is necessary to receive the subsequent mask write command with a delay so that the next mask write process is started after the rewritten data by the previous mask write process is written back to the data recording unit. Therefore, in a semiconductor memory device with such a configuration, the data processing performance during the mask write process is reduced. According to the semiconductor memory device 100A of the present embodiment, such a problem can be avoided, so that the reduction in data processing performance during the execution of multiple mask write processes can be further suppressed.

[0055] According to the semiconductor memory device 100A of the second embodiment described above, since it includes the buffers BF1-BF3 for storing buffer data, when mask write processes in which the same bank and column are accessed are executed consecutively, the next mask write process can be executed using the buffer data read from any of the buffers BF1-BF3 even before the rewrite data by the previous mask write process is written back to the data recording unit 30. Therefore, even if the same bank and column are accessed, the next mask write process can be executed in parallel without waiting for the previous mask write process to finish, and degradation of data processing performance can be further suppressed.

[0056] C. Other embodiments: (C1) In the above embodiment, in the semiconductor memory device 100 and the semiconductor memory device 100A, the first bus is formed by the local read bus LRB, the read register RR, and the main read bus MRB, and the second bus is formed by the local write bus LWB, the write register WR, and the main write bus MWB, but the present disclosure is not limited to this. The sense amplifier SA and the error correction unit 21 may be directly connected by the main read bus MRB. In this embodiment, the main read bus MRB corresponds to the "first bus" in this disclosure. Also, the sense amplifier SA and the ECC code generation unit 22 may be directly connected by the main write bus MWB. In this embodiment, the main write bus MWB corresponds to the "second bus" in this disclosure. The semiconductor memory device of this embodiment also provides the same effects as the above embodiment.

[0057] (C2) In the above first embodiment, the effect of the semiconductor memory device 100 is described by taking as an example a case where a plurality of mask write processes are executed in which the banks to be accessed are the same and the columns to be accessed are different, but the present disclosure is not limited thereto. Even when a write process that only writes data is followed by a mask write process in which the banks to be accessed in the write process are the same and the columns to be accessed are different, the semiconductor memory device 100 achieves the same effect as the above embodiment. This is because, even in such a case, the write operation by the write process and the read operation by the mask write process can be executed in parallel in the sense amplifier SA of the same bank.

[0058] (C3) In the above second embodiment, the effect of the semiconductor memory device 100A is described by taking as an example a case where a plurality of mask write processes are executed in which the banks and columns to be accessed are the same, but the present disclosure is not limited thereto. Even when a mask write process in which only data is written is executed followed by a mask write process in which the banks and columns to be accessed in the write process are the same, the semiconductor memory device 100A achieves the same effect as the above embodiment. Even in such a case, after the process related to the write process in the ECC code generating unit 22 is completed, the buffer data is stored in the buffer, and the mask write process can be executed in parallel using the buffer data before the writing of data by the write process is completed.

[0059] (C4) In the above embodiment, the data recording unit 30 and the ECC code recording unit 40 are realized in the memory areas ST of different banks, but the present disclosure is not limited thereto. The data recording unit 30 and the ECC code recording unit 40 may be realized in the memory areas ST of the same bank. For example, 128-bit data and an 8-bit ECC code corresponding to the data may be held in memory cells designated by the same row address in the memory areas ST of the same bank, where the data unit designated by the row address and read by the sense amplifier SA is 136 bits or more. The semiconductor memory device of this form also achieves the same effect as the above embodiment. In addition, since the corresponding data and ECC code can be read and written to the memory area ST in one read and write in one bank, the deterioration of data processing performance can be suppressed compared to a form in which the data and the ECC code are read and written in different banks.

[0060] The present disclosure is not limited to the above-mentioned embodiment, and can be realized in various configurations without departing from the spirit of the present disclosure. For example, the technical features in each embodiment corresponding to the technical features in the form described in the Summary of the Invention column can be appropriately replaced or combined in order to solve some or all of the above-mentioned problems or to achieve some or all of the above-mentioned effects. Furthermore, if the technical feature is not described as essential in this specification, it can be appropriately deleted. [Explanation of symbols]

[0061] 21...error correction unit, 22...ECC code generation unit, 30...data recording unit, 40...ECC code recording unit, 100, 100A...semiconductor memory device, B0 to B7...banks, LRB...local read bus, LWB...local write bus, MRB...main read bus, MWB...main write bus, RR...read register, SA...sense amplifier, WR...write register

Claims

1. A semiconductor memory device (100, 100A) capable of performing a mask write process for rewriting data having a data length smaller than a preset data access unit, a plurality of banks (B0 to B7) each having a data recording section (30) in which write data is recorded and an ECC code recording section (40) in which an error correction code corresponding to the write data is recorded; a sense amplifier (SA) provided in each of the plurality of banks for reading and writing data from and to each of the banks; an ECC code generation unit (22) for generating the error correction code; an error correction unit (21) that corrects errors in data using the error correction code; a first bus (MRB, RR, LRB) connecting each of the sense amplifiers and the error correction unit and transmitting data output from each of the sense amplifiers to the error correction unit; a second bus (MWB, WR, LWB) connecting the ECC code generation unit and each of the sense amplifiers and transmitting data output from the ECC code generation unit to each of the sense amplifiers; Equipped with Semiconductor memory device.

2. 2. The semiconductor memory device according to claim 1, a plurality of buffers (BF1 to BF3) for storing buffer data indicating the write data, a destination bank address of the write data, and a destination column address of the write data, the number of buffers being equal to or greater than the number of cycles required from start to finish of the mask write process minus 1; each of the plurality of buffers erases the buffer data when a number of cycles equal to the number of the plurality of buffers has elapsed after the buffer data is stored; when there is an address match buffer in which the write destination bank address and the write destination column address stored in the buffer match a write destination address of the target data of the mask write process, the semiconductor memory device executes the mask write process using the write data read from the address match buffer; if the address match buffer does not exist, the mask write process is executed by using the write data read from the sense amplifier of the bank indicated by the write destination address. Semiconductor memory device.

Citation Information

Patent Citations

  • Semiconductor memory device

    JP2006244632A

  • Apparatuses and methods to mask write operations for a mode of operation using ECC circuitry

    US20210294533A1

  • Apparatuses, systems, and methods for error correction

    US20220245031A1