Memory device and operating method of memory device

By designing memory cell array, sensing amplifier and recovery circuit in memory devices, activating multiple word lines for weighting and calculation and performing recovery operations, the charge leakage problem caused by communication speed bottleneck in memory devices in arithmetic operations is solved, and the charge leakage problem caused by the communication speed bottleneck in arithmetic operations is improved. The operating speed and stability of the memory system are achieved.

CN118942506APending Publication Date: 2024-11-12SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410041381.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-05-11
Filing Date
2024-01-11
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

When performing arithmetic operations, the charge leakage problem caused by the communication speed bottleneck affects the operating efficiency and speed of the memory.

Method used

A memory device is designed, including a memory cell array, a sensing amplifier and a recovery circuit. By activating multiple word lines for weighting and computing, and performing recovery operations after calculation, reducing data movement between the host and the memory and improving The operating speed of the memory system.

Benefits of technology

It effectively reduces bottlenecks caused by communication speed, improves the operating speed of the memory system, and reduces charge leakage through recovery operations, improving the stability and efficiency of the memory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118942506A_ABST
    Figure CN118942506A_ABST
Patent Text Reader

Abstract

A memory device and an operating method of the memory device are provided. The memory device may include a memory cell array including first to fourth memory cells connected to first to fourth word lines, respectively; a sense amplifier including a first sense circuit configured to generate a first weighted sum based on a first weight stored in the first memory cell and a second weight stored in the third memory cell in response to activation of the first word line and the third word line at a first point in time; an input and output circuit configured to output a first weighted sum to an external device in response to a first read command; and a recovery circuit configured to perform a recovery operation for storing the first data item stored in the second memory cell to the first memory cell and for storing the second data item stored in the fourth memory cell to the third memory cell after the first point in time.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to and the benefit of Korean Patent Application No. 10-2023-0061274 filed in the Korean Intellectual Property Office on May 11, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0002] The present disclosure relates to semiconductor memories, and more particularly to memory devices and methods of operating the memory devices. Background Art

[0003] Generally, the operation speed of the memory device and the operation speed of the processor are faster than the communication speed between the processor and the memory device. With the development of artificial intelligence technology, various technologies are being studied to solve the bottleneck caused by such communication speed. For example, in recent years, the processing in memory (PIM) technology in which the memory device performs some arithmetic operations has been studied.

[0004] Dynamic random access memory (DRAM) devices are widely used as main memory for processors. DRAM devices store data in the form of electric charge stored in memory cells. However, the electric charge stored in the memory cells of the DRAM device may leak as a read operation is performed. Therefore, when a read operation is performed on the memory cells of the DRAM, a recovery operation may be performed to recover the leaked electric charge. Summary of the invention

[0005] Embodiments of the present disclosure may provide a memory device that performs an arithmetic operation and an operating method of the memory device.

[0006] A memory device according to an embodiment of the present disclosure may include: a memory cell array including first to fourth memory cells connected to first to fourth word lines, respectively; a sense amplifier including a first sensing circuit, the first sensing circuit being configured to generate a first weighted sum based on a first weight stored in the first memory cell and a second weight stored in the third memory cell in response to activation of the first word line and the third word line at a first time point; an input and output circuit configured to output the first weighted sum to an external device in response to a first read command; and a recovery circuit configured to perform, after the first time point, a recovery operation for storing a first data item stored in the second memory cell to the first memory cell and for storing a second data item stored in the fourth memory cell to the third memory cell.

[0007] A method for operating a memory device, the memory device comprising a memory cell array and a sense amplifier, the memory cell array comprising a plurality of memory cell rows respectively connected to a plurality of word lines, the sense amplifier being connected to the memory cell array via a plurality of bit lines, the method comprising: activating a first word line connected to a first memory cell row and a second word line connected to a second memory cell row; storing a first data item stored in the third memory cell row to the sense amplifier by activating a third word line connected to a third memory cell row; storing the first data item in the first memory cell row and the third memory cell row respectively by activating the first word line and the third word line; storing a second data item stored in the fourth memory cell row in the sense amplifier by activating a fourth word line connected to a fourth memory cell row; and storing the second data item in the second memory cell row and the fourth memory cell row respectively by activating the second word line and the fourth word line.

[0008] A method for operating a memory system, the memory system comprising a memory device and a host device, wherein the memory device comprises a first plurality of memory cells connected to a first plurality of word lines and a second plurality of memory cells connected to a second plurality of word lines, the operation comprising: providing a multi-activation command to the memory device through the host device; activating the first plurality of word lines through the memory device in response to the multi-activation command; and after the first plurality of word lines are activated, performing a recovery operation on the first plurality of memory cells based on the second plurality of memory cells through the memory device. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 is a block diagram illustrating a memory system according to an embodiment of the present disclosure.

[0010] Figure 2 is shown in more detail Figure 1 Block diagram of a memory device in FIG.

[0011] Figure 3 is shown in more detail Figure 2 Block diagram of a memory cell array.

[0012] Figure 4 Shown by Figure 2 The memory device performs a multiply-accumulate (MAC) operation.

[0013] Figure 5A and Figure 5B A recovery operation according to an embodiment of the present disclosure is illustrated.

[0014] Figure 6 A recovery operation according to another embodiment of the present disclosure is shown.

[0015] Figure 7An operating unit according to an embodiment of the present disclosure is shown.

[0016] Figure 8 It is shown Figure 1 A flowchart of a method of operating a memory system.

[0017] Fig. 9 is a timing diagram illustrating the operation of a memory device according to an embodiment of the present disclosure.

[0018] Fig.10 It shows that according to Fig. 9 A flow chart of the operation of a memory system of an embodiment.

[0019] Fig.11A and Fig. 11B It is shown in detail Fig.10 Flowchart of the operation of .

[0020] Fig.12 is a diagram showing a method according to an embodiment of the present invention. Figure 2 Block diagram of a sense amplifier.

[0021] Fig.13 It shows that according to Fig.12 A timing diagram of the operation of a memory device of an embodiment.

[0022] Fig.14 It shows that according to Fig.13 A flow chart of the operation of a memory system of an embodiment.

[0023] Fig.15 is a block diagram illustrating a memory system according to an embodiment of the present disclosure.

[0024] Fig.16 is shown in more detail Fig.15 Block diagram of a memory device in FIG.

[0025] Fig.17 is a block diagram illustrating a memory system according to an embodiment of the present disclosure.

[0026] Fig.18 is a block diagram illustrating a memory system according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0027] Hereinafter, the embodiments of the present disclosure will be described clearly and in detail to the extent that the present disclosure can be easily practiced by a person skilled in the art of the present disclosure. Details such as detailed configuration and structure are provided only to facilitate a comprehensive understanding of the embodiments of the present disclosure. Therefore, without departing from the technical spirit and scope of the present disclosure, a person skilled in the art may perform variations of the embodiments described in the text. In addition, for clarity and conciseness, the description of well-known functions and structures is omitted. The components in the following figures or specific embodiments may be connected to other elements except the constituent elements shown in the figures or described in the specific embodiments. The terms used in this text are defined terms in consideration of the functions of the present disclosure and are not limited to specific functions. The definition of the terms may be determined based on the details described in the specific embodiments. As used herein, the term "and / or" includes any combination and all combinations of one or more of the associated listed items. It should be noted that the aspects described for one embodiment may also be incorporated into different embodiments, even without a specific description thereof. That is, the features of all embodiments and / or any embodiment may be combined in any manner and / or combination.

[0028] The constituent elements described with reference to the terms used in the specific embodiments (such as, drivers or blocks) can be implemented in the form of software, hardware, or a combination thereof. Illustratively, the software can be machine code, firmware, embedded code, and / or application software. For example, the hardware can include circuits, electronic circuits, processors, computers, integrated circuit cores, pressure sensors, inertial sensors, micro-electromechanical systems (MEMS), passive components, or a combination thereof.

[0029] Figure 1 is a block diagram showing a memory system according to an embodiment of the present disclosure. Figure 1 , the memory system 100 may include a host device 110 and a memory device 120 .

[0030] In one embodiment, host device 110 may be one of various types of processors, such as a central processing unit (CPU) or a graphics processing unit (GPU).

[0031] In the following, for a more concise description, it is assumed that the memory device 120 is a dynamic random access memory (DRAM), and the host device 110 and the memory device 120 communicate with each other based on a double data rate (DDR) interface. However, the embodiments of the present disclosure are not limited thereto. For example, the host device 110 and the memory device 120 may communicate with each other based on a low power double data rate (LPDDR) interface.

[0032] The host device 110 may store data items DATA (e.g., weights or weighted sums) in the memory device 120 or read data items DATA from the memory device 120. For example, the host device 110 may control the memory device 120 by sending various types of commands and addresses to the memory device 120 via the command / address signal C / A.

[0033] In one embodiment, the command / address signal C / A may represent command (CMD) and address (ADDR) information. For example, the command / address signal C / A may represent a read command, a write command, and / or a multi-activate command. The command / address signal C / A may represent one or more memory bank addresses, row addresses, or column addresses. However, embodiments of the present invention are not limited thereto, and the command / address signal C / A may indicate various types of commands and addresses.

[0034] The memory device 120 may include a plurality of memory cells. The plurality of memory cells may be connected to a plurality of word lines and a plurality of bit lines.

[0035] The memory device 120 may store the plurality of weights W received from the host device 110 in a plurality of memory cells in response to a write command from the host device 110 .

[0036] The memory device 120 may perform a multiply-accumulate (MAC) calculation based on a plurality of weights W in response to a multi-activation command from the host device 110. For example, the memory device 120 may receive a multi-activation command and a row address from the host device 110. In this case, the memory device 120 may calculate a weighted sum WSM based on weights stored in a plurality of memory cells corresponding to the row address in response to the multi-activation command. A detailed method for the memory device 120 to calculate the weighted sum WSM according to some embodiments will be described in detail below with reference to the accompanying drawings.

[0037] The memory device 120 may output the weighted sum WSM to the host device 110 in response to a read command from the host device 110. That is, according to an embodiment of the present disclosure, the memory device 120 may output the weighted sum WSM calculated based on a plurality of weights W in response to the control of the host device 110. In this case, the number of times the host device 110 accesses the memory device 120 to calculate the weighted sum WSM may be reduced or minimized. Therefore, since the bottleneck caused by the communication speed between the host device 110 and the memory device 120 may be reduced or minimized, the operation speed of the memory system 100 may be improved.

[0038] In one embodiment, the multi-activation command may be a command to activate a plurality of word lines of the memory device 120. That is, according to an embodiment of the present disclosure, a plurality of word lines of the memory device 120 may be activated simultaneously or in unison with each other.

[0039] In one embodiment, the memory device 120 may include a restore circuit 127. The restore circuit 127 may control various elements of the memory device 120 to restore data stored in memory cells connected to a plurality of activated word lines. The specific functions and operations of the restore circuit 127 will be described in detail below with reference to the accompanying drawings.

[0040] Figure 2 is shown in more detail Figure 1 A block diagram of a memory device in FIG. Figure 2 , the memory device 120 may include a command / address decoder (121; C / A decoder), a memory cell array 122, a row decoder 123, a sense amplifier 124, input and output circuits (125; I / O circuits), a control logic circuit 126, and a recovery circuit 127.

[0041] The command / address decoder 121 may receive a command / address signal C / A provided from the host device 110. The command / address decoder 121 may decode the command / address signal C / A into a command CMD and an address ADDR. In this case, the address ADDR may include a bank address, a row address RA, and / or a column address.

[0042] The memory cell array 122 may include a read area RDA and a storage area STRA. Each of the read area RDA and the storage area STRA may include a plurality of memory cells arranged in a row direction and a column direction. The plurality of memory cells may be connected to a plurality of word lines WL extending in a row direction and a plurality of bit lines BL extending in a column direction.

[0043] In one embodiment, the read region RDA and the storage region STRA may be connected to different word lines from each other, and may be connected to the same bit line. That is, the read region RDA and the storage region STRA may be arranged in different rows of the memory cell array 122. Figure 3 The specific implementation method of the reading area RDA and the storage area STRA is described.

[0044] In one embodiment, the memory cells included in the read area RDA may store weights to be used in MAC calculations.

[0045] In one embodiment, the memory cells included in the storage area STRA may store data (e.g., weight) to be used for the recovery operation of the read area RDA. For example, the memory cells included in the storage area STRA may store the same data as the memory cells included in the read area RDA. However, embodiments of the present disclosure are not limited thereto.

[0046] The row decoder 123 may control the plurality of word lines WL based on the row address RA. For example, the row decoder 123 may activate some of the plurality of word lines WL based on the row address RA.

[0047] In one embodiment, the row decoder 123 may activate some word lines connected to the read area RDA based on the row address RA received together with the multi active command.

[0048] The sense amplifier 124 may be connected to the memory cell array 122 through a plurality of bit lines BL. The sense amplifier 124 may temporarily store data items provided from the memory cell array 122. For example, the sense amplifier 124 may store data items stored in memory cells connected to an activated word line.

[0049] In one embodiment, the sense amplifier 124 may generate a weighted sum WSM based on data of memory cells connected to the activated plurality of word lines. That is, the sense amplifier 124 may generate a weighted sum WSM in response to a multi-activation command. Figure 4 The specific operation of the sense amplifier 124 to generate the weighted sum WSM is described in more detail.

[0050] The I / O circuit 125 may receive data items DATA from an external device (e.g., the host device 110) or transmit data items DATA to the host device 110. For example, the I / O circuit 125 may provide the weight W received from the host device 110 to a write driver (not shown) to write to the memory cell array 122, or may output the weighted sum WSM generated by the sense amplifier 124 to the host device 110.

[0051] The control logic circuit 126 may receive a command CMD and an address ADDR. The control logic circuit 126 may control the operation of each constituent element of the memory device 120 based on the command CMD and the address ADDR. For example, the control logic circuit 126 may control the row decoder 123 through a row address RA.

[0052] In one embodiment, the control logic circuit 126 may provide a plurality of row addresses RA to the row decoder 123 in response to a multi-activation command. In this case, the plurality of row addresses RA may correspond to a domain signal DS. The domain signal DS may represent a value to be used in an arithmetic operation (i.e., MAC calculation) using a weight W. For example, the weighted sum WSM may be determined by a MAC calculation of the domain signal DS and the weight W. That is, according to an embodiment of the present disclosure, the host device 110 may indicate a domain signal DS that will be used for a MAC calculation using the weight W in the form of a row address. Referring to Figure 4 The MAC calculation of the domain signal DS and the weight W is described in more detail.

[0053] The restore circuit 127 may restore data stored in memory cells included in the read area RDA based on data stored in memory cells included in the storage area STRA.

[0054] In one embodiment, the recovery circuit 127 may store the data of the memory cells connected to the first word line (e.g., the data included in the memory cells of the storage area STRA) in the sense amplifier 124 by controlling the row decoder 123. Afterwards, the recovery circuit 127 may control the row decoder 123 to activate both the first word line and the second word line connected to the read area RDA. In this case, the data stored in the sense amplifier 124 may be restored to the memory cells connected to the second word line (i.e., the memory cells included in the read area RDA). In this way, the recovery circuit 127 may restore the data stored in the memory cells of the read area RDA. However, the embodiments of the present disclosure are not limited to this example, and the recovery circuit 127 may restore the data stored in the memory cells of the read area RDA by activating the word lines connected to the read area RDA and the word lines connected to the storage area STRA simultaneously or in unison with each other. The specific operation of the memory device 120 according to the control of the recovery circuit 127 will be described in detail below with reference to the accompanying drawings.

[0055] Figure 3 is shown in more detail Figure 2 Block diagram of the memory cell array in . Figures 1 to 3 , the memory cell array 122 may include a plurality of memory cells MC. The plurality of memory cells MC may be arranged in row and column directions to form a matrix structure. For a more concise description below, the memory cells arranged in the same row of the memory cell array 122 are referred to as a "memory cell row".

[0056] A plurality of memory cells MC may be connected to a plurality of word lines WL. For a more concise explanation, Figure 3, memory cells connected to the first to fourth word lines WL1 to WL4 are representatively shown, but the embodiments of the present disclosure are not limited thereto. For example, the embodiments of the present disclosure are not limited to the number of word lines and the number of memory cells.

[0057] The read area RDA may include a plurality of memory cell rows. Hereinafter, for a more concise description, a memory cell row included in the read area RDA is referred to as a read row RDR.

[0058] In one embodiment, the read area RDA may include memory cell rows connected to odd-numbered word lines of the memory cell array 122. For example, the read area RDA may include a first read row RDRa connected to the first word line WL1 and a second read row RDRb connected to the third word line WL3.

[0059] The storage region STRA may include a plurality of memory cell rows. Hereinafter, for a more concise description, a memory cell row included in the storage region STRA is referred to as a storage row STRR.

[0060] In one embodiment, the storage region STRA may include memory cell rows connected to even-numbered word lines of the memory cell array 122. For example, the storage region STRA may include a first storage row STRRa connected to the second word line WL2 and a second storage row STRRb connected to the fourth word line WL4.

[0061] For more concise explanation, an embodiment in which a memory cell row connected to an odd-numbered word line of the memory cell array 122 is a read row RDR, and a memory cell row connected to an even-numbered word line is a storage row STRR is representatively described. However, embodiments of the present disclosure are not limited to the arrangement of the read row RDR and the storage row STRR on the memory cell array 122. For example, a memory cell row disposed at the top of the memory cell array 122 (e.g., a memory cell row disposed away from the sense amplifier 124) may be a read row RDR, and a memory cell row disposed at the bottom of the memory cell array 122 (e.g., a memory cell row disposed adjacent to the sense amplifier 124) may be a storage row STRR.

[0062] A plurality of read rows RDR and a plurality of storage rows STRR may be paired with each other. For example, a first read row RDRa may be paired with a first storage row STRRa, and a second read row RDRb may be paired with a second storage row STRRb.

[0063] In one embodiment, the paired read row and storage row may be connected to word lines adjacent to each other. However, the embodiments of the present disclosure are not limited thereto.

[0064] Each of the plurality of storage rows STRR may store the same data (i.e., weight) as the paired read row. For example, the first storage row STRRa may store the same data as the first read row RDRa, and the second storage row STRRb may store the same data as the second read row RDRb. In this case, each of the plurality of storage rows STRR may be used for the recovery operation of the paired read row. Figure 5A and Figure 5B A recovery operation of a read row using a paired storage row is described in more detail.

[0065] A plurality of memory cells MC may be connected to a plurality of bit lines BL. For example, a plurality of memory cells MC may be connected to first to nth bit lines BL1 to BLn.

[0066] Each of the plurality of memory cells MC may be a DRAM cell. For example, each of the plurality of memory cells MC may include a transistor TR and a capacitor CAP, and may store data based on a level of charge stored in the capacitor CAP.

[0067] In one embodiment, the memory cell MC may store a weight W in a binary format. For example, if the capacitor CAP of the memory cell MC is charged with an electric charge, it may be referred to as storing a weight "1", and if the capacitor CAP is not charged, it may be referred to as storing a weight "0". However, embodiments of the present disclosure are not limited thereto.

[0068] In one embodiment, memory cells included in a read row may be referred to as read cells.

[0069] In one embodiment, memory cells included in a memory row may be referred to as memory cells.

[0070] In one embodiment, an activated word line may be referred to as an "activated word line".

[0071] Figure 4 Shown by Figure 2 The memory device performs the MAC calculation. Figures 1 to 4, memory cells included in different read rows adjacent to each other may store weights different from each other. For example, memory cells included in the first read row RDRa (i.e., a memory cell row connected to the first word line WL1) may store weights W11 to Wn1, respectively; memory cells included in the second read row RDRb (i.e., a memory cell row connected to the third word line WL3) may store weights W12 to Wn2, respectively; memory cells included in the third read row RDRc (i.e., a memory cell row connected to the fifth word line WL5) may store weights W13 to Wn3, respectively; and memory cells included in the fourth read row RDRd (i.e., a memory cell row connected to the seventh word line WL7) may store weights W14 to Wn4, respectively.

[0072] The host device 110 may control the memory device 120 to perform MAC calculation by sending a multi-activate command. For example, the host device 110 may provide the memory device 120 with a multi-activate command and a plurality of row addresses RA.

[0073] The memory device 120 may activate some word lines connected to the read row RDR in response to a plurality of row addresses provided together with the multi-activation command. That is, the row decoder 123 may activate word lines corresponding to the plurality of row addresses RA. For example, when the row addresses corresponding to the first word line WL1, the third word line WL3, and the seventh word line WL7 are received, the row decoder 123 may activate the first word line WL1, the third word line WL3, and the seventh word line WL7. On the other hand, if the row address corresponding to the fifth word line WL5 is not included in the received row address, the row decoder 123 may not activate the fifth word line WL5.

[0074] In one embodiment, the memory device 120 may not activate the word line connected to the storage row STRR in response to the multi-activation command. That is, while the MAC operation is performed, the word line connected to the storage row STRR may not be activated. In this case, the charge stored in the memory cell of the storage row STRR may not be leaked.

[0075] In one embodiment, the host device 110 may determine the domain signal DS for which MAC calculation will be performed based on the row address to be provided together with the multi-activation command. For example, the host device 110 may determine the first domain signal DS1 as "1" by providing the row address of the word line (i.e., the first word line WL1) connected to the first read row RDRa together with the multi-activation command. Similarly, the host device 110 may determine the second domain signal DS2 or the fourth domain signal DS4 as "1" by providing the row address of the word line (i.e., the third word line WL3 or the seventh word line WL7) connected to the second read row RDRb or the fourth read row RDRd together with the multi-activation command. On the other hand, the host device 110 may determine the third domain signal DS3 as "0" by providing the row address of the word line (i.e., the fifth word line WL5) connected to the third read row RDRc together with the multi-activation command. That is, according to an embodiment of the present disclosure, when a multi-activation command is received, whether the first read row RDRa is activated may indicate the first domain signal DS1; whether the second read row RDRb is activated may indicate the second domain signal DS2; and whether the third read row RDRc is activated may indicate the third domain signal DS3.

[0076] The sense amplifier 124 may include first to n-th sense circuits SC1 to SCn. The first to n-th sense circuits SC1 to SCn may be connected to first to n-th bit lines BL1 to BLn. For example, the first sense circuit SC1 may be connected to the first bit line BL1, and the second sense circuit SC2 may be connected to the second bit line BL2.

[0077] Each of the first to n-th sensing circuits SC1 to SCn may calculate a weighted sum based on a weight stored in a memory cell connected to a corresponding bit line. For example, the first to n-th sensing circuits SC1 to SCn may calculate first to n-th weighted sums WSM1 to WSMn, respectively. Hereinafter, for a more concise description, a method in which the first sensing circuit SC1 calculates a weighted sum will be representatively described. Because the method in which the second to n-th sensing circuits SC2 to SCn calculate a weighted sum is similar to the method in which the first sensing circuit SC1 calculates a weighted sum, a detailed description will be omitted.

[0078] The first sensing circuit SC1 may calculate a first weighted sum WSM1 based on the changed voltage level of the first bit line BL1. The size of the first weighted sum WSM1 may be determined as in Equation 1 below.

[0079] [Equation 1]

[0080]

[0081] In one embodiment, DSk may indicate the value of the kth domain signal, W 1kM may indicate a weight stored in a memory cell disposed in a first row and a kth column of the memory cell array 122 , and M may indicate the number of read rows RDR included in the memory cell array 122 .

[0082] The first sensing circuit SC1 may calculate the first weighted sum WSM1 by sensing the voltage level of the first bit line BL1 that varies based on the activated word line. For example, if the first word line WL1, the third word line WL3, and the seventh word line WL7 are activated, the voltage level of the first bit line BL1 may be changed according to the sum of the weights "W11", "W12", and "W14". On the other hand, if the fifth word line WL5 is not activated, the voltage level of the first bit line BL1 may be changed regardless of the weight "W13". In this case, the voltage level change sensed by the first sensing circuit SC1 may correspond to the sum of W11, W12, and W14. In this way, the first sensing circuit SC1 may be able to calculate the first weighted sum WSM1.

[0083] Therefore, the memory device 120 according to the present disclosure may calculate the weighted sum in response to the multi-activation command received from the host device 110. In this case, since data movement between the host device 110 and the memory device 120 may be reduced or minimized, the operation speed of the memory system 100 may be improved.

[0084] In addition, according to an embodiment of the present disclosure, the weighted sum can be calculated using only the configuration of the memory cell MC itself without incorporating a neural processor (NPU) into the memory cell array 122. Therefore, according to an embodiment of the present disclosure, a memory device 120 that satisfies "cell-level parallelism" can be provided.

[0085] In one embodiment, memory cells connected to different bit lines may store different weights. In this case, even if a multi-activation command is issued once from the host device 110, the sensing circuits connected to different bit lines for the same domain signal DS may calculate the weighted sum based on different weights. That is, each of the sensing circuits according to the embodiments of the present disclosure may operate as a PE (Processing Element).

[0086] In one embodiment, when the weight for the MAC operation is multi-bit, each of the sensing circuits connected to different bit lines can perform a MAC operation for the value of a different position of the multi-bit weight. In this case, the value stored in Figure 4Each of the weights W in the memory cells MC may be one of the bits of the weight to be used for the MAC operation. For example, if the weight to be used for the MAC operation is 2 bits, the memory cell connected to the first bit line BL1 may store the most significant bit (MSB) of the weight, and the memory cell connected to the second bit line BL2 may store the least significant bit (LSB) of the weight. In this case, the first sensing circuit SC1 may be able to calculate the weighted sum of the MSB of the weight and the domain signal DS; and the second sensing circuit SC2 may be able to calculate the weighted sum of the least significant bit LSB of the weight and the domain signal DS. However, embodiments of the present disclosure are not limited thereto.

[0087] In one embodiment, when the domain signal to be used for the MAC operation is multi-bit, the host device 110 may sequentially provide a plurality of multi-activation commands to the memory device 120. The memory device 120 may perform MAC operations corresponding to values ​​of different positions of the multi-bit domain signal in response to the plurality of multi-activation commands. In this case, Figure 4 Each of the domain signals DS may be one of the bits of a multi-bit domain signal to be used for a MAC operation. For example, if the domain signal to be used for a MAC operation is 2 bits, the host device 110 may issue a row address corresponding to the MSB of the multi-bit domain signal together with a first multi-activation command, and may issue a row address corresponding to the LSB of the multi-bit domain signal together with a second multi-activation command. In this case, the memory device 120 may calculate a weighted sum of the MSBs of the domain signal in response to the first multi-activation command, and calculate a weighted sum of the LSBs of the domain signal in response to the second multi-activation command. However, embodiments of the present disclosure are not limited thereto.

[0088] Each of the first to nth sensing circuits SC1 to SCn may temporarily store the calculated weighted sum. In response to a read command issued from the host device 110 , each of the first to nth sensing circuits SC1 to SCn may provide the stored weighted sum to the I / O circuit 125 .

[0089] In one embodiment, when the word lines connected to a plurality of read rows are activated simultaneously or in unison with each other, the data stored in the sense amplifier 124 may be different from the data stored in each of the plurality of memory cells. For example, each of the first weighted sum WSM1 to the nth weighted sum WSMn stored in the sense amplifier 124 may be different from the weights W11 to Wn1 stored in the first read row RDRa. In this case, it may be difficult to perform a recovery operation on each read row RDR by the data stored in the sense amplifier 124 in response to a multi-activation command. Hereinafter, a method of performing a recovery operation on a plurality of read rows after the word lines connected to the plurality of read rows have been activated simultaneously or in unison with each other will be described in detail.

[0090] In one embodiment, each of the first to nth sensing circuits SC1 to SCn may determine a weighted sum by comparing a voltage level of a connected bit line with a precharge voltage. However, embodiments of the present disclosure are not limited to specific operation methods of the first to nth sensing circuits SC1 to SCn.

[0091] In one embodiment, the number of memory cell rows included in the read area RDA may be determined based on the capacitance of the first to nth sensing circuits SC1 to SCn. For example, the number of memory cell rows included in the read area RDA may be determined based on the voltage level of the bit line that can be sensed by each of the first to nth sensing circuits SC1 to SCn. As a more detailed example, if each of the first to nth sensing circuits SC1 to SCn can sense a voltage level transition of the bit line that changes in response to turning on "4" memory cells simultaneously or in unison with each other, the number of memory cell rows included in the read area RDA may be "4". In this case, the memory cell array 122 is a plurality of read areas, but embodiments of the present disclosure are not limited thereto.

[0092] Figure 5A and Figure 5B The recovery operation according to the embodiment of the present disclosure is shown. Figure 5A and Figure 5B The first read row RDRa is representatively described.

[0093] First, with Figures 1 to 4 Refer to Figure 5A , a word line connected to a storage row (ie, a first storage row STRRa paired with the first read row RDRa) may be activated. For example, the restore circuit 127 may control the row decoder 123 to activate the second word line WL2.

[0094] When the second word line WL2 is activated (for example, when the second word line WL2 is activated after the first weighted sum WSM1 is generated or after the first word line WL1 and the third word line WL3 are activated), the data stored in the first storage row STRRa may be stored in the sense amplifier. For example, data items stored in memory cells connected to the first bit line BL1 among the memory cells included in the first storage row STRRa may be stored in the first sense circuit SC1. Similarly, data items stored in memory cells connected to the second bit line BL2 among the memory cells included in the first storage row STRRa may be stored in the second sense circuit SC2.

[0095] Secondly, refer to Figures 1 to 4 and FIG. 5A to FIG. 5B, the first read row RDRa and the word line connected to the storage row paired with the first read row RDRa (ie, the first storage row STRRa) may be activated. For example, the recovery circuit 127 may control the row decoder 123 to activate the first word line WL1 and the second word line WL2.

[0096] When the first word line WL1 and the second word line WL2 are activated after the data items of the first storage row STRRa are stored in the sense amplifier 124 (or when the first word line WL1 and the second word line WL2 are activated after the second word line WL2 is activated), the data items stored in the sense amplifier 124 may be stored in the first read row RDRa and the first storage row STRRa. For example, the data items stored in the first sensing circuit SC1 (i.e., the data items stored in the memory cells connected to the second word line WL2 and the first bit line BL1) may be stored in the memory cells of the first read row RDRa and the first storage row STRRa connected to the first bit line BL1. Similarly, the data items stored in the second sensing circuit SC2 may be stored in the memory cells of the first read row RDRa and the first storage row STRRa connected to the second bit line BL2.

[0097] In one embodiment, the data stored in the first storage row STRRa may be the same as the data stored in the first read row RDRa. Figure 5A and Figure 5B The described recovery operation normally performs the recovery operation of the first read row RDRa. That is, according to an embodiment of the present disclosure, even if word lines connected to the plurality of read rows are activated simultaneously or in unison with each other, the recovery operation of the memory cells included in the plurality of read rows can be normally performed.

[0098] In one embodiment, the recovery operation may be performed before the memory device 120 enters the idle state. For example, the recovery operation may be performed before performing the precharge operation of the first to nth bit lines BL1 to BLn. However, embodiments of the present disclosure are not limited thereto.

[0099] Figure 6 The recovery operation according to another embodiment of the present disclosure is shown. Figure 6 The recovery operation of the first read row RDRa is described as a representative example.

[0100] Reference Figures 1 to 4 and Figure 6 , the word lines connected to the first read row RDRa and the first storage row STRRa may be activated simultaneously or in unison with each other. For example, the recovery circuit 127 may control the row decoder 123 to activate the first word line WL1 and the second word line WL2 simultaneously, or in unison with each other.

[0101] When the first word line WL1 and the second word line WL2 are activated simultaneously or in unison with each other (for example, when the first word line WL1 and the second word line WL2 are activated simultaneously or in unison with each other after the first weighted sum WSM1 is generated or after the first word line WL1 and the third word line WL3 are activated), the data stored in the memory cells of the first storage row STRRa can be restored to the first read row RDRa. For example, the charge stored in the memory cells connected to the first storage row STRRa and the first bit line BL1 can be moved to the memory cells connected to the first read row RDRa and the first bit line BL1. In other embodiments, the charge of the memory cells connected to the first read row RDRa and the first bit line BL1 can be moved to the memory cells connected to the first storage row STRRa and the first bit line BL1. In this case, the data items of the memory cells connected to the first read row RDRa and the first bit line BL1 can be restored based on the charge of the memory cells connected to the first storage row STRRa and the first bit line BL1.

[0102] In one embodiment, by Figure 6 The amount of charge of the read cell restored by the embodiment may have a size between the amount of charge stored in the read cell before the MAC operation is performed and the amount of charge stored in the read cell after the MAC operation is performed.

[0103] That is, according to an embodiment of the present disclosure, memory cells of a read row “destructively read” by a MAC operation may be restored based on memory cells storing the same data as those of the read row before the MAC operation is performed.

[0104] Figure 7 1 shows an operation unit according to an embodiment of the present disclosure. Figures 1 to 7 , the memory cell array 122 may include a plurality of operation units UNIT. Each of the plurality of operation units UNIT may include two memory cells connected to the same bit line and connected to word lines different from each other. In this case, the memory cells included in one operation unit UNIT may be included in each paired read row and storage row. For example, the operation unit UNIT11 may include a memory cell connected to the first bit line BL1 and included in the first read row RDRa, and a memory cell connected to the first bit line BL1 and included in the first storage row STRRa. Similarly, the operation unit UNIT2n may include a memory cell connected to the nth bit line BLn and included in the second read row RDRb, and a memory cell connected to the nth bit line BLn and included in the second storage row STRRb.

[0105] Two memory cells included in one operation unit UNIT may store the same weight as each other. For example, among the memory cells included in one operation unit UNIT, the memory cells included in the read row may be used to refer to Figure 4 In this case, among the memory cells included in one operation unit UNIT, the memory cells included in the storage row can be used to refer to FIG. 5A to FIG. 5B and Figure 6 Describes the recovery operation.

[0106] In one embodiment, among the memory cells included in one operation unit UNIT, the memory cells included in the read row may be the read cells.

[0107] In one embodiment, among the memory cells included in one operation unit UNIT, the memory cells included in a memory row may be memory cells.

[0108] In one embodiment, the memory units included in one operation unit UNIT may be referred to as being paired with each other.

[0109] That is, according to an embodiment of the present disclosure, the memory device 120 may be operated as a 2T-2C (2 transistors, 2 capacitors) unit. For example, a basic unit in which the memory device 120 operates may include two memory units paired with each other. Therefore, each operating unit UNIT may include two transistors and two capacitors. However, the embodiments of the present disclosure are not limited thereto.

[0110] In one embodiment, while the recovery operation is performed, two memory units included in one operation unit UNIT may be activated simultaneously or in unison with each other. However, embodiments of the present disclosure are not limited thereto.

[0111] In one embodiment, two memory cells included in one operation unit UNIT may be connected to word lines adjacent to each other. However, embodiments of the present disclosure are not limited thereto.

[0112] In one embodiment, the transistors of the memory cells included in one operation unit UNIT may share an activation pattern. For example, two memory cells included in one operation unit UNIT may share a drain region formed at the center of the activation pattern and may include different source regions. In this case, the drain region shared by the two memory cells included in one operation unit UNIT may be connected to one bit line. However, embodiments of the present disclosure are not limited thereto.

[0113] In one embodiment, when the memory cells included in one operation unit UNIT are configured to share a drain region, and word lines connected to the memory cells are activated simultaneously or in unison with each other, charges can move through the shared drain region. In this case, since the charge movement path can be reduced or minimized (i.e., the charge can move without passing through the bit line), the reference operation is performed. Figure 6 The time required for the described recovery operation may be reduced or minimized. However, embodiments of the present disclosure are not limited thereto.

[0114] Figure 8 It is shown Figure 1 Flow chart of a method of operating a memory system. Figures 1 to 8 , in operation S11 , the host device 110 may send a write command for the weight to the memory device 120 .

[0115] In operation S12, the memory device 120 may store the weight received from the host device 110 in the memory cell array 122. For example, the memory device 120 may store the weight received from the host device 110 in the read row RDR and the storage row STRR.

[0116] For a more concise explanation, Figure 8 The embodiment in which the memory device 120 stores weights in response to a single write command is shown, however, the embodiments of the present disclosure are not limited to the number of times the host device 110 issues a write command. For example, the host device 110 may sequentially issue multiple write commands to store weights in all memory cells of the memory cell array 122.

[0117] In one embodiment, the host device 110 may use the memory device 120 to execute a neural network including a plurality of layers. In this case, the weight W stored in the memory device 120 may correspond to one of the plurality of layers of the neural network. Therefore, when the layer to be calculated is changed, the memory system 100 may re-execute the above-mentioned operations S11 and S12. However, the embodiments of the present disclosure are not limited thereto. It will be understood that a multi-layer neural network is a multi-layer artificial neural network including artificial neurons or nodes, and does not include a biological neural network including real biological neurons.

[0118] In one embodiment, the host device 110 may store different weights in different areas of the memory device 120. For example, the host device 110 may store weights corresponding to a first layer of the neural network in a first memory bank of the memory device 120, and store weights corresponding to a second layer of the neural network in a second memory bank of the memory device 120. In this case, the number of update weights stored in the memory device 120 may be reduced or minimized. However, embodiments of the present disclosure are not limited thereto.

[0119] In operation S13, the host device 110 may provide the multi-activation command together with the row addresses respectively corresponding to the domain signals DS to the memory device 120. Figure 4 The relationship between the domain signal DS and the row address is described, and thus further detailed description thereof is omitted.

[0120] In operation S14, the memory device 120 may perform a MAC operation on the weight W and the domain signal DS. For example, the memory device 120 may perform a MAC operation by simultaneously activating or uniformly activating the word lines corresponding to the row address RA provided in operation S13. In this case, the sense amplifier 124 may store a plurality of weighted sums. For example, the first weighted sum WSM1 to the nth weighted sum WSMn may be stored in the first sense circuit SC1 to the nth sense circuit SCn, respectively. Figure 4 A specific method of performing a MAC operation by the memory device 120 is described, and thus further detailed description thereof is omitted.

[0121] In one embodiment, after storing the plurality of weighted sums in the sense amplifier 124, the memory device 120 may perform a recovery operation. For example, after storing the plurality of weighted sums in the sense amplifier 124, the recovery circuit 127 may recover the weighted sums by referring to Figure 6 The described method sequentially performs the recovery operation on a plurality of read rows. In this case, the recovery operation may be performed regardless of whether the read operation on the memory device 120 is completed. However, the embodiments of the present disclosure are not limited thereto.

[0122] In operation S15, the host device 110 may send a read command and a column address to the memory device 120. For example, the host device 110 may determine the column address to be sent in operation S15 based on which weights will be used to generate and read the weighted sums. That is, the host device 110 may determine the column address based on which weighted sum (and the bit line corresponding to the weighted sum) will be read.

[0123] In operation S16, the memory device 120 may provide the weighted sum corresponding to the received column address to the host device 110. For example, the I / O circuit 125 may output the weighted sum corresponding to the column address stored in the sensing circuit to the host device 110. That is, the I / O circuit 125 may output the weighted sum stored in the sensing circuit connected to the bit line corresponding to the received column address to the host device 110.

[0124] In operation S17, the host device 110 may determine whether the read operation is completed. For example, the host device 110 may determine whether the weighted sum to be read from the memory device 120 remains.

[0125] When the host device 110 determines that the read operation on the memory device 120 is not completed, the above operations S15 to S16 may be repeatedly performed. In this case, the first to nth weighted sums WSM1 to WSMn stored in the first to nth sensing circuits SC1 to SCn may be sequentially read.

[0126] When the host device 110 determines that the read operation of the memory device 120 is completed, the operation of the memory system 100 may be completed. However, the embodiments of the present disclosure are not limited thereto, and the host device 110 may provide a multi-activation command to the memory device 120 or write a new weight into the memory device 120 based on the new domain signal DS.

[0127] In one embodiment, when the host device 110 determines that the read operation on the memory device 120 is completed, the host device 110 may provide a precharge command to the memory device 120. However, embodiments of the present disclosure are not limited thereto.

[0128] Fig. 9 is a timing diagram showing the operation of the memory device according to the embodiment. Figures 1 to 9 At the first time point t1, the memory device 120 may receive a multi-activation command MACT and a plurality of row addresses RA from the host device 110. For example, the memory device 120 may receive a command / address signal C / A indicating the multi-activation command MACT and a plurality of row addresses RA from the host device 110.

[0129] In one embodiment, the plurality of row addresses RA provided to the memory device 120 at the first time point t1 may represent some of the word lines connected to the plurality of read rows RDR.

[0130] At the first time point t1, the memory device 120 may activate a plurality of word lines WL simultaneously or in unison with each other in response to the received row address RA. For example, the row decoder 123 may activate a plurality of word lines WL corresponding to the received row address RA simultaneously or in unison with each other.

[0131] In one embodiment, each of the plurality of word lines WL activated at the first time point t1 may be included in the read area RDA and may not be included in the storage area STRA. For example, each of the plurality of word lines WL activated at the first time point t1 may be one of the read rows RDR. In this case, even if the plurality of word lines WL are activated simultaneously or in unison with each other, the charge charged in the capacitor CAP included in each of the memory cells of the storage row STRR will not leak.

[0132] During the row command delay time tRCD after the first time point t1, a weighted sum based on the plurality of activated word lines WL may be calculated. For example, the sense amplifier 124 may detect the voltage levels of the plurality of bit lines BL to determine the weighted sum WSM. In this case, the weighted sum WSM may be stored in the sense amplifier 124 at a second time point t2 after the row command delay time tRCD has passed from the first time point t1.

[0133] After the second time point t2, the memory device 120 may return the weighted sum to the host device 110 in response to the read command RD. For example, the memory device 120 may receive the first read command RD1 and the first column address CA1 at a third time point t3 after the second time point t2; and receive the second read command RD2 and the second column address CA2 at a fourth time point t4. Hereinafter, for a more concise description, it is assumed that the first column address CA1 corresponds to the first bit line BL1, and the second column address CA2 corresponds to the second bit line BL2.

[0134] The memory device 120 may output the first weighted sum WSM1 corresponding to the first column address CA1 (e.g., the weighted sum of weights in memory cells included in the plurality of read rows RDR and connected to the first bit line BL1) stored in the sensing circuit in response to the first read command RD1 to the host device 110. That is, after a predetermined time has passed from the third time point t3, the I / O circuit 125 may output the first weighted sum WSM1 from the first sensing circuit SC1 to the host device 110.

[0135] The memory device 120 may output the second weighted sum WSM2 corresponding to the second column address CA2 (e.g., the weighted sum of the weights in the memory cells included in the plurality of read rows RDR and connected to the second bit line BL2) stored in the sensing circuit in response to the second read command RD2 to the host device 110. That is, after a predetermined time has passed from the fourth time point t4, the I / O circuit 125 may output the second weighted sum WSM2 from the second sensing circuit SC2 to the host device 110.

[0136] For a more concise explanation, Fig. 9 An embodiment in which the first weighted sum WSM1 is output to the host device 110 between the third time point t3 and the fourth time point t4 is shown, but the embodiments of the present disclosure are not limited thereto. For example, regardless of the fourth time point t4, the first weighted sum WSM1 may be returned to the host device 110 after a certain time (e.g., a read delay time or a read latency) has passed since the third time point t3.

[0137] After all read operations are completed, the memory device 120 may receive a precharge command PRE from the host device 110 at a fifth time point t5. For example, after a read operation for a weighted sum calculated by the multi-activation command MACT issued at the first time point t1 is completed, the host device 110 may issue a precharge command PRE.

[0138] In one embodiment, the memory device 120 may receive at least one bank address BA along with the precharge command PRE. However, embodiments of the present disclosure are not limited thereto.

[0139] In one embodiment, after issuing the precharge command PRE, the host device 110 may no longer issue a read command for the weighted sum WSM stored in the sense amplifier 124 .

[0140] The memory device 120 may perform a restore operation after receiving the precharge command PRE. For example, the memory device 120 may perform a restore operation RESTORE from a fifth time point t5 to a sixth time point t6.

[0141] That is, during the fifth time point t5 to the sixth time point t6, the recovery circuit 127 may perform a recovery operation on the plurality of read rows RDR based on the plurality of storage rows STRR. For example, the recovery circuit 127 may recover the data stored in the first storage row STRRa to the first read row RDRa. In a similar manner, the recovery circuit 127 may sequentially perform a recovery operation on the read rows connected to the word line activated at the first time point t1.

[0142] After the sixth time point t6, the memory device 120 may perform a precharge operation. For example, the memory device 120 may perform a precharge operation on a memory bank corresponding to the bank address BA. In this case, the precharged memory bank may enter an idle state.

[0143] For a more concise explanation, Fig. 9 The embodiment in which the memory device 120 performs the recovery operation RESTORE in response to the precharge command PRE is representatively shown, but the embodiments of the present disclosure are not limited thereto. For example, the memory device 120 may perform the recovery operation by receiving any type of command notifying the end of the read operation instead of the precharge command. That is, the embodiments of the present disclosure are not limited to the type of command that triggers the recovery operation RESTORE.

[0144] Fig.10 It shows that according to Fig. 9 Flowchart of the operation of the memory system of an embodiment. Figures 1 to 9In operation S110, the host device 110 may provide the multi-activation command MACT together with the plurality of row addresses RA to the memory device 120. For example, the host device 110 may provide the multi-activation command MACT together with the plurality of row addresses RA to the memory device 120 at the first time point t1. In this case, each of the plurality of row addresses RA may correspond to a different domain signal. Operation S110 is similar to that of reference 1. Figure 8 Operation S13 is not described, and thus a detailed description thereof is omitted.

[0145] In operation S120, the memory device 120 may activate the word lines corresponding to the received row address RA simultaneously or in unison with each other. For example, at the first time point t1, the memory device 120 may activate the word lines corresponding to the received row address RA simultaneously or in unison with each other. In this case, during the row command delay time tRCD, a weighted sum based on the plurality of activated word lines WL may be calculated. For example, the sense amplifier 124 may sense the voltage levels of the plurality of bit lines BL to determine (i.e., calculate) the weighted sum WSM.

[0146] In operation S130, the memory device 120 may store the weighted sum WSM in the sense amplifier 124. For example, at the second time point t2, each of the first to nth sense circuits SC1 to SCn included in the sense amplifier 124 may store a weighted sum determined by detecting a voltage level change of a connected bit line.

[0147] In operation S140, the host device 110 may transmit a read command and a column address to the memory device 120. For example, the host device 110 may transmit a first read command RD1 and a first column address CA1 to the memory device 120 at a third time point t3.

[0148] In operation S150, the memory device 120 may provide a weighted sum corresponding to the received column address to the host device 110. For example, the memory device 120 may output a first weighted sum WSM1 to the host device 110.

[0149] In operation S160, the host device 110 may determine whether the read operation is completed. Operation S160 is similar to Figure 8 Operation S17 is described below, and thus a detailed description thereof may be omitted.

[0150] In one embodiment, when it is determined in operation S160 that the read operation is completed, operation S170 may be performed.

[0151] In one embodiment, when it is determined in operation S160 that the read operation is not completed, operations S140 to S150 may be repeatedly performed. For example, the host device 110 may send a second read command RD2 and a second column address CA2 to the memory device 120 at a fourth time point t4. In this case, the memory device 120 may output the second weighted sum WSM2 to the host device 110.

[0152] In operation S170, the host device 110 may send a precharge command PRE to the memory device 120. For example, the host device 110 may send the precharge command PRE to the memory device 120 at the fifth time point t5. In this case, the precharge command PRE may indicate that the host device 110 may no longer read the weighted sum WSM stored in the sense amplifier 124. However, embodiments of the present disclosure are not limited to the type of command sent in operation S170.

[0153] In operation S180, the memory device 120 may perform a restore operation on the read row RDR based on the data stored in the storage row STRR. For example, the memory device 120 may perform a restore operation RESTORE from the fifth time point t5 to the sixth time point t6. FIG. 11A to FIG. 11B Operation S180 is described in more detail.

[0154] In one embodiment, after operation S180, the memory device 120 may perform a precharge operation. In this case, the memory device 120 may enter an idle state (IDLE). For example, after performing the precharge operation, the memory device 120 may operate in response to various types of commands (such as a self-refresh entry command and an activation command).

[0155] FIG. 11A to FIG. 11B It is shown in detail Fig.10 Flow chart of operation S180. Fig.11A Describe in more detail Figure 5A and Figure 5B The operation S180 implemented by the embodiment of the present invention and referring to Fig. 11B Describe in more detail Figure 6 Operation S180 implemented by an embodiment of the present invention.

[0156] First, refer to Figures 1 to 4 , FIG. 5A to FIG. 5B , Figures 7 to 10 and Fig.11A , operation S180 may include operations S181a to S186a.

[0157] In operation S181a, the memory device 120 may activate a word line connected to one memory row STRR. For example, the recovery circuit 127 may control the row decoder 123 to activate the second word line WL2 connected to the first memory row STRRa.

[0158] In operation S182a, the memory device 120 may store data stored in a storage row connected to the word line activated in operation S181a to the sense amplifier 124. For example, the sense amplifier 124 may store data stored in a memory cell of the first storage row STRa. In more detail, the first sense circuit SC1 may store data of a memory cell connected to the first bit line BL1 among the memory cells of the first storage row STRRa; and the second sense circuit SC2 may store data of a memory cell connected to the second bit line BL2 among the memory cells of the first storage row STRRa.

[0159] In operation S183a, the memory device 120 may activate the word lines connected to the storage row and the read row paired with the storage row in operation S182a. For example, the memory device 120 may simultaneously activate or activate the second word line WL2 connected to the first storage row STRRa and the first word line WL1 connected to the first read row RDRa in unison with each other.

[0160] In operation S184a, the memory device 120 may restore the memory cells connected to the activated word line based on the data stored in the sense amplifier 124. For example, the data stored in the sense amplifier 124 may be equally stored in the memory cells of the first storage row STRRa and the first read row RDRa. In more detail, the data stored in the first sense circuit SC1 may be stored in the memory cells of the first storage row STRRa and the first read row RDRa connected to the first bit line BL1. Similarly, the data stored in the second sense circuit SC2 may be stored in the memory cells of the first storage row STRRa and the first read row RDRa connected to the second bit line BL2.

[0161] In operation S185a, the memory device 120 may determine whether all recovery operations have been completed. For example, the recovery circuit 127 may determine whether the recovery operations of all read rows activated in response to the multi-activation command MACT have been completed. However, the embodiments of the present disclosure are not limited thereto, and the recovery circuit 127 may determine whether the recovery operations of all read rows included in the read area RDA have been completed.

[0162] In operation S185a, when it is determined that the restoration operation is not completed, operation S186a may be performed.

[0163] In operation S186a, the memory device 120 may activate a word line connected to another storage row STRR. For example, the recovery circuit 127 may control the row decoder 123 to activate the fourth word line WL4 connected to the second storage row STRRb. That is, the memory device 120 may sequentially activate storage rows paired with the read row activated in step S120.

[0164] Thereafter, the memory device may repeatedly perform the above-described operations S182a to S185a. That is, the memory device 120 may sequentially perform a recovery operation on the read row activated in operation S120.

[0165] In operation S185a, when it is determined that all the recovery operations are completed, operation S180 may end. In this case, the memory device 120 may enter an idle state by performing a precharge operation.

[0166] Continue to refer to Figures 1 to 4 , Figures 6 to 10 and Fig. 11B , operation S180 may include operations S181b to S184b.

[0167] In operation S181b, the memory device 120 may activate word lines connected to one memory cell row pair that are paired with each other. For example, the recovery circuit 127 may control the row decoder 123 to activate the first word line WL1 and the second word line WL2 simultaneously or in unison with each other.

[0168] In operation S182b, the memory device 120 may restore memory cells of a read row connected to an activated word line (eg, WL1) based on memory cells of a storage row connected to an activated word line (eg, WL2). Figure 6 In the described manner, data stored in the first storage row STRRa may be stored in the first read row RDRa.

[0169] In operation S183b, the memory device 120 may determine whether all recovery operations have been completed. The operation of the memory device 120 according to operation S183b is similar to that described above with reference to Fig.11A Operation S185a is described, and thus its detailed description is omitted.

[0170] In operation S183b, when it is determined that the restoration operation is not completed, operation S184b may be performed.

[0171] In operation S184b, the memory device 120 may activate word lines connected to another pair of memory cell rows paired with each other. For example, the recovery circuit 127 may control the row decoder 123 to activate the third word line WL3 and the fourth word line WL4 simultaneously or in unison with each other. That is, the memory device 120 may sequentially activate the read row activated in operation S120 and the storage row paired with the read row.

[0172] Thereafter, the memory device 120 may be operated by repeating the above-described operations S182b to S184b. That is, the memory device 120 may sequentially perform a recovery operation on the read row activated in operation S120.

[0173] In operation S183b, when it is determined that all the recovery operations are completed, operation S180 may end. In this case, the memory device 120 may enter an idle state by performing a precharge operation.

[0174] Fig.12 The invention is a diagram showing the embodiment according to the disclosure Figure 2 The block diagram of the sense amplifier is shown in Figure 1. Figures 1 to 8 and Fig.12 , Figure 2 The sense amplifier 124 can be composed of Fig.12 The sense amplifier 224 is implemented.

[0175] The sense amplifier 224 may include first to n-th sense circuits SC1 to SCn. Each of the first to n-th sense circuits SC1 to SCn may be connected to each of the first to n-th bit lines BL1 to BLn. The functions and operations of each of the first to n-th sense circuits SC1 to SCn are similar to those described above, and thus a detailed description thereof is omitted.

[0176] The sense amplifier 224 may include a buffer circuit BFC. The buffer circuit BFC may be connected to the first to n-th sensing circuits SC1 to SCn. The buffer circuit BFC may receive the weighted sums WSM from the first to n-th sensing circuits SC1 to SCn. For example, the first to n-th weighted sums WSM1 to WSMn may be received from the first to n-th sensing circuits SC1 to SCn.

[0177] The buffer circuit BFC may temporarily store the received weighted sum WSM. The buffer circuit BFC may output the stored weighted sum WSM to the host device 110 through the I / O circuit 125. For example, when a read command is received from the host device 110, the I / O circuit 125 may output one of the first weighted sum WSM1 to the nth weighted sum WSMn stored in the buffer circuit BFC to the host device 110.

[0178] In one embodiment, when the weighted sum stored in the buffer circuit BFC is output to the host device 110 in response to the read command, the recovery operation can be performed regardless of whether the read operation of the host device 110 is completed. That is, if the weighted sum WSM is stored in the buffer circuit BFC, even if the first to nth sensing circuits SC1 to SCn do not store the weighted sum WSM, the weighted sum can be output to the host device 110 in response to the read command. Therefore, according to Fig.12 In the embodiment, when the weighted sum WSM is stored in the buffer circuit BFC, the first sensing circuit SC1 to the nth sensing circuit SCn may respond to the control of the restoration circuit 127 by referring to FIG. 5A to FIG. 5B The method described above can be used to perform the recovery operation. However, the embodiments of the present disclosure are not limited thereto. For example, after the weighted sum WSM is stored in the buffer circuit BFC, the recovery circuit 127 can be used as described above. Figure 6 Describes the method that performs a recovery operation.

[0179] Fig.13 It shows that according to Fig.12 A timing diagram of the operation of a memory device of an embodiment of the present invention is shown. Figures 1 to 8 and Figure 12 to Figure 13 , at the eleventh time point t11, the memory device 120 may receive the multi-activation command MACT and the plurality of row addresses RA from the host device 110. In this case, the weighted sum WSM may be stored in the sense amplifier 224 at the twelfth time point t12 after the row command delay time tRCD from the eleventh time point t11. The operation of the memory device 120 from the eleventh time point t11 ​​to the twelfth time point t12 is similar to that described above with reference to Fig. 9 The operation of the memory device 120 from the first time point t1 to the second time point t2 is described, and thus the operation will not be described in further detail.

[0180] At the twelfth time point t12 to the thirteenth time point t13, the memory device 120 may store the weighted sum WSM stored in the first to nth sensing circuits SC1 to SCn in the buffer circuit BFC. Therefore, after the thirteenth time point t13, the memory device 120 may output the weighted sum stored in the buffer circuit BFC to the host device 110 in response to the read command.

[0181] For example, the memory device 120 may receive a first read command RD1 and a first column address CA1 at a fourteenth time point t14 after the thirteenth time point t13; and may receive a second read command RD2 and a second column address CA2 at a fifteenth time point t15. Hereinafter, for a more concise description, it is assumed that the first column address CA1 corresponds to the first bit line BL1, and the second column address CA2 corresponds to the second bit line BL2.

[0182] The memory device 120 may output the first weighted sum WSM1 corresponding to the first column address CA1 to the host device 110 in response to the first read command RD1. That is, after a certain amount of time has passed from the fourteenth time point t14, the I / O circuit 125 may output the first weighted sum WSM1 from the buffer circuit BFC to the host device 110.

[0183] The memory device 120 may output the second weighted sum WSM2 corresponding to the second column address CA2 to the host device 110 in response to the second read command RD2. That is, after a certain amount of time has passed from the fifteenth time point t15, the I / O circuit 125 may output the second weighted sum WSM2 from the buffer circuit BFC to the host device 110.

[0184] For a more concise explanation, Fig.13 The embodiment in which the first weighted sum WSM1 is output to the host device 110 between the fourteenth time point t14 and the fifteenth time point t15 is representatively shown, but the embodiments of the present disclosure are not limited thereto. For example, regardless of the fifteenth time point t15, the first weighted sum WSM1 may be returned to the host device 110 after a certain time (e.g., a read delay time or a read latency) has passed since the fourteenth time point t14.

[0185] Meanwhile, the memory device 120 may perform a recovery operation at the thirteenth time point t13 to the sixteenth time point t16. For example, even if a command notifying that the read operation is completed (e.g., a precharge command PRE) is not received from the host device 110, the recovery circuit 127 may perform a recovery operation on the read row RDR.

[0186] In one embodiment, the fourteenth time point t14 and the fifteenth time point t15 may be before the sixteenth time point t16. Fig.12 and Fig.13 According to the embodiment disclosed in the present disclosure, even before the restore operation RESTORE inside the memory device 120 is completed, the host device 110 may send a read command and receive the weighted sum from the memory device 120. However, the embodiments of the present disclosure are not limited thereto.

[0187] The memory device 120 may receive a precharge command PRE at the seventeenth time point t17. Fig.12 and Fig.13According to the embodiment disclosed in , the host device 110 may read the weighted sum from the memory device 120 by issuing a read command during a read available period tRDAB between a thirteenth time point t13 and a seventeenth time point t17. That is, the read available period tRDAB may represent a time period during which the host device 110 may read the weighted sum stored in the buffer circuit BFC by sending a read command to the memory device 120.

[0188] After the seventeenth time point t17, the memory device 120 may enter the idle state by performing the precharge operation PREC in response to the precharge command PRE. However, embodiments of the present disclosure are not limited thereto.

[0189] Fig.14 It shows that according to Fig.13 Flowchart of the operation of the memory system of an embodiment. Figures 1 to 8 and Figure 12 to Figure 14 In operation S210, the host device 110 may provide a multi-activation command MACT together with a plurality of row addresses RA to the memory device 120. In operation S220, the memory device 220 may simultaneously activate or uniformly activate word lines corresponding to the received row addresses RA. Operations S210 to S220 are similar to those described above with reference to Fig.10 Operations S110 to S120 are described herein, and thus detailed descriptions thereof are omitted.

[0190] In operation S230, the memory device 120 may store the weighted sum WSM in a plurality of sensing circuits. For example, the memory device 120 may store the first to nth weighted sums WSM1 to WSMn in the first to nth sensing circuits SC1 to SCn, respectively.

[0191] In operation S240, the memory device 120 may store the weighted sum WSM in the buffer circuit BFC. In this case, all of the first to nth weighted sums WSM1 to WSMn may be stored in the buffer circuit BFC.

[0192] In operation S250, the memory device 120 may perform a recovery operation on the read row RDR based on the data stored in the storage row STRR. The operation of the memory device 120 in operation S250 is similar to that described above with reference to FIG. Fig.10 and FIG. 11A to FIG. 11B Operation S180 is described above, and thus the operation will not be described in further detail.

[0193] In operation S260, the host device 110 may transmit a precharge command PRE to the memory device 120. In this case, the host device 110 may perform a precharge operation PREC and enter an idle state.

[0194] In one embodiment, during the read available period tRDAB between the execution of operation S240 and the execution of operation S260 , the host device 110 may issue a read command to read the weighted sum from the memory device 120 .

[0195] Fig.15 is a block diagram showing a memory system according to an embodiment. Fig.15 , the memory system 1000 may include a host device 1100 and a memory device 1200 .

[0196] The host device 1100 may store data items DATA in the memory device 1200 or read data items DATA from the memory device 1200 through the command / address signal C / A. The configuration and operation of the host device 1100 are similar to those described previously with reference to Figure 1 The configuration and operation of the host device 1100 are described above, and thus the configuration and operation will not be described in further detail.

[0197] The memory device 1200 may include a restore circuit 1270 and an address inversion circuit (AIC). The operation of the restore circuit 1270 may be similar to that described above with reference to Figures 1 to 14 The operation of the restoration circuit 127 is described.

[0198] The address inversion circuit AIC may receive a row address and invert the row address. For example, the address inversion circuit AIC may invert the row address provided by the command / address signal C / A from the host device 1100. Alternatively, the address inversion circuit AIC may invert the row address received from the recovery circuit 1270. Fig.16 A more detailed operation of the address inversion circuit AIC is described in more detail.

[0199] Fig.16 It is shown in detail Fig.15 A block diagram of a memory device. Fig.15 and Fig.16 , the memory device 1200 may include a command / address decoder 1210 , a memory cell array 1220 , a row decoder 1230 , a sense amplifier 1240 , an I / O circuit 1250 , a control logic circuit 1260 , and a recovery circuit 1270 .

[0200] The specific functions and operations of the command / address decoder 1210, the memory cell array 1220, the sense amplifier 1240, the I / O circuit 1250, the control logic circuit 1260, and the recovery circuit 1270 are similar to those described above with reference to Figure 2 The specific functions and operations described herein are not described in detail and therefore will not be described in further detail.

[0201] The memory cell array 1220 may include a read area RDA and a storage area STRA. Each of the read area RDA and the storage area STRA may include a plurality of memory cell rows. Each of the memory cell rows included in the read area RDA may be paired with a memory cell row included in the storage area STRA. The relationship between the paired memory cell rows is similar to that described with reference to FIG. Figure 3 The relationship described is therefore not described in further detail.

[0202] The row decoder 1230 may include an address inversion circuit AIC. The address inversion circuit AIC may change the received row address into a row address of a memory cell row that is paired with a memory cell row corresponding to the received row address. That is, the address inversion circuit AIC may invert or convert the row address of the read row RDR into the row address of the storage row STRR, or invert or convert the row address of the storage row STRR into the row address of the read row RDR.

[0203] The address inversion circuit AIC may operate only during a specific time period and may not operate during other time periods. For example, a time period during which the address inversion circuit AIC does not operate will be referred to as a first time period, and a time period during which the address inversion circuit AIC operates will be referred to as a second time period.

[0204] During the first time period when the address inversion circuit AIC is not operated, the read area RDA may include memory cell rows connected to odd-numbered word lines, and the storage area STRA may include memory cell rows connected to even-numbered word lines. That is, during the first time period, the memory device 1200 may be operated in a manner similar to that described above with reference to Figures 1 to 7 The memory device 120 operates in the manner described above.

[0205] In another embodiment, during the second time period in which the address inversion circuit AIC operates, the read area RDA may include memory cell rows connected to even-numbered word lines, and the storage area STRA may include memory cell rows connected to odd-numbered word lines. That is, in the first time period and the second time period, the word lines connected to the memory cell rows operated by the read area RDA may be different from each other. Similarly, in the first time period and the second time period, the word lines connected to the memory cell rows operated by the storage area STRA may be different from each other.

[0206] Therefore, according to Figure 15 to Figure 16 According to an embodiment of the present invention, the number of operations of memory cells of the memory device 1200 may become uniform, and thus, the operation life of the memory device 1200 may be increased.

[0207] Fig.17is a block diagram showing a memory system according to an embodiment. Fig.17 , the memory system 2000 may include a host device 2100 and a memory device 2200. The memory device 2200 may include a recovery circuit 2270.

[0208] The host device 2100 may store the data item DATA in the memory device 2200 or read the data item DATA from the memory device 2200 through the command / address signal C / A.

[0209] The host device 2100 may provide the mode selection signal MS to the memory device 2200. For example, the host device 2100 may provide the mode selection signal MS to the memory device 2200 by connecting to a pin of the memory device 2200. For example, the host device 2100 may provide the mode selection signal MS to the memory device 2200 by any combination of command / address signals C / A sent via command / address pins. However, embodiments of the present disclosure are not limited to a specific method of sending the mode selection signal MS. For example, the host device 2100 may send the mode selection signal MS through a separate pin.

[0210] In response to the mode selection signal MS, the memory device 2200 may operate in one of a first operation mode of operating in PIM (Process In Memory) and a second operation mode of operating in a memory of the host device 2100 .

[0211] When the mode selection signal MS indicates the first operation mode, the memory device 2200 may operate to output the weighted sum by performing a MAC operation. For example, the memory device 2200 may output the weighted sum in the same manner as the reference Figures 1 to 14 The described embodiments operate in a similar manner.

[0212] When the mode selection signal MS indicates the second operation mode, the memory device 2200 may operate in a manner similar to a general volatile memory device. For example, the memory device 2200 may operate as a main memory of the host device 2100.

[0213] That is to say, according to Fig.17 In an embodiment of the present invention, the memory device 2200 may be implemented to selectively perform a MAC operation according to an operation mode. For example, the recovery circuit 2270 may operate only in the first operation mode and may not operate in the second operation mode described above. In this case, since a single memory device 2200 may perform two different functions, the implementation cost of the memory system 2000 may be reduced.

[0214] Fig.18 is a block diagram showing a memory system according to an embodiment. Fig.18, the memory system 3000 may include a host device 3100 and a memory device 3200. The memory device 3200 may include a memory cell array 3220.

[0215] The memory cell array 3220 may include a MAC operation area MOA and a normal operation area NOA. Each of the MAC operation area MOA and the normal operation area NOA may include a plurality of memory cells.

[0216] MAC operation area MOA can be used for previous reference Figures 1 to 14 For example, the MAC operation area MOA may include the MAC operation previously described in Figure 2 In this case, the read area RDA can be used for the MAC operation, and the storage area STRA can be used for the recovery operation of the read area RDA.

[0217] The normal operation area NOA may be used as a storage space of the host device 3100. For example, the memory unit of the normal operation area NOA may be implemented to store data items DATA in response to the control of the host device 3100 or to output the stored data items DATA to the host device 3100.

[0218] The host device 3100 may control the MAC operation area MOA and the normal operation area NOA through the command / address signal C / A. For example, the host device 3100 may control the MAC operation area MOA by issuing an address corresponding to the MAC operation area MOA, and may control the normal operation area NOA by issuing an address corresponding to the normal operation area NOA. However, the embodiments of the present disclosure are not limited thereto.

[0219] In one embodiment, the number of memory cells included in the MAC operation area MOA and the normal operation area NOA may be adjusted. For example, the host device 3100 may provide an area adjustment signal (AA) to the memory device 3200. In this case, the memory device 3200 may adjust the size of the MAC operation area MOA and the normal operation area NOA (more specifically, the number of memory cells) in response to the area adjustment signal AA.

[0220] In one embodiment, the MAC operation area MOA and the normal operation area NOA may be connected to different word lines.

[0221] In one embodiment, the host device 3100 may provide the region adjustment signal AA to the memory device 3200 through a pin connected to the memory device 3200. For example, the host device 3100 may provide the region adjustment signal AA to the memory device 3200 through any combination of command / address signals C / A sent via command / address pins. However, embodiments of the present disclosure are not limited to a specific method of sending the region adjustment signal AA.

[0222] The above contents are specific embodiments for implementing the present disclosure. The present disclosure will include not only the above embodiments, but also embodiments that can be simply designed to be changed or easily changed. In addition, the present disclosure will also include technologies that can be easily modified and implemented by using the embodiments. Although the present disclosure has been described with reference to the embodiments of the present disclosure, it will be clear to those of ordinary skill in the art that various changes and modifications may be made thereto without departing from the spirit and scope of the disclosure as set forth in the appended claims.

Claims

1. A memory device, include: a memory cell array including first to fourth memory cells connected to first to fourth word lines, respectively; a sense amplifier including a first sense circuit configured to generate a first weighted sum based on a first weight stored in the first memory cell and a second weight stored in the third memory cell in response to activation of the first word line and the third word line at a first point in time; an input and output circuit configured to output the first weighted sum to an external device in response to a first read command; as well as A restore circuit is configured to perform a restore operation for storing a first data item stored in the second memory unit to the first memory unit and for storing a second data item stored in the fourth memory unit to the third memory unit after a first time point.

2. The memory device according to claim 1, in, The first data item is the first weight, and The second data item is a second weight.

3. The memory device according to claim 2, in, The recovery circuit is also configured to: storing the first data item in the first sensing circuit by activating the second word line at a second time point after the first time point; as well as The first data item stored in the first sensing circuit is stored to the first memory cell and the second memory cell by respectively activating the first word line and the second word line at a third time point after the second time point.

4. The memory device according to claim 3, in, The recovery circuit is also configured to: storing a second data item stored in a fourth memory cell in the first sensing circuit by activating a fourth word line at a fourth time point after the third time point; as well as The second data item stored in the first sensing circuit is stored to the third memory cell and the fourth memory cell by respectively activating the third word line and the fourth word line at a fifth time point after the fourth time point.

5. The memory device according to claim 1, in, The recovery circuit is also configured to: activating the first word line and the second word line at a sixth time point after the first time point; as well as The third word line and the fourth word line are activated at a seventh time point after the sixth time point.

6. The memory device according to claim 1, in, Each of the first to fourth memory cells is connected to a first bit line, which is connected to a first sensing circuit.

7. The memory device according to claim 6, in, The memory cell array further includes fifth to eighth memory cells connected to the first to fourth word lines, respectively; The sense amplifier further includes a second sense circuit configured to generate a second weighted sum based on a third weight stored in the fifth memory cell and a fourth weight stored in the seventh memory cell in response to activation of the first word line and the third word line at a first point in time; The input and output circuit is further configured to output the second weighted sum to an external device in response to a second read command; and Each of the fifth to eighth memory cells is connected to a second bit line connected to a second sensing circuit.

8. The memory device according to claim 6, in, The restore operation is performed before performing the precharge operation of the first bit line.

9. The memory device according to claim 1, in, The recovery circuit is further configured to perform a recovery operation in response to a precharge command received from an external device after the first time point.

10. The memory device according to claim 1, in, The sense amplifier further includes a buffer circuit connected between the first sensing circuit and the input and output circuits, wherein the buffer circuit is configured to store the first weighted sum, and The input and output circuit is configured to output the first weighted sum stored in the buffer circuit to an external device in response to a first read command.

11. The memory device according to claim 10, in, The input and output circuit is configured to output the first weighted sum to an external device while the restoration operation is performed.

12. A method for operating a memory device, the memory device comprising a memory cell array and a sense amplifier, the memory cell array comprising a plurality of memory cell rows respectively connected to a plurality of word lines, the sense amplifier being connected to the memory cell array via a plurality of bit lines, the method for operating include: activating a first word line connected to a first memory cell row and a second word line connected to a second memory cell row; storing a first data item stored in a third memory cell row to a sense amplifier by activating a third word line connected to the third memory cell row; storing a first data item in a first memory cell row and a third memory cell row by activating a first word line and a third word line, respectively; storing a second data item stored in a fourth memory cell row in the sense amplifier by activating a fourth word line connected to the fourth memory cell row; as well as By activating the second word line and the fourth word line, a second data item is stored in the second memory cell row and the fourth memory cell row, respectively.

13. The operating method according to claim 12, in, The sense amplifier is configured as: In response to activation, storing a first weighted sum determined based on a first weight stored in the first memory cell row and a second weight stored in the second memory cell row; and In response to a read command received from the external device, the first weighted sum is output to the external device.

14. The operating method according to claim 13, in, The first word line and the third word line are arranged adjacent to each other, and The second word line and the fourth word line are arranged adjacent to each other.

15. The operating method according to claim 13, in, The plurality of bit lines include a first bit line and a second bit line, The sense amplifier includes a first sense circuit connected to the first bit line and a second sense circuit connected to the second bit line, The first memory cell row includes a first memory cell connected to a first bit line and a second memory cell connected to a second bit line, a second memory cell row including a third memory cell connected to the first bit line and a fourth memory cell connected to the second bit line; a third memory cell row including a fifth memory cell connected to the first bit line and a sixth memory cell connected to the second bit line; and The fourth memory cell row includes a seventh memory cell connected to the first bit line and an eighth memory cell connected to the second bit line.

16. A method for operating a memory system, the memory system comprising a memory device and a host device, in, A memory device includes a first plurality of memory cells connected to a first plurality of word lines and a second plurality of memory cells connected to a second plurality of word lines, the operating method including: providing, by the host device, a multi-activate command to the memory device; activating, by a memory device, the first plurality of word lines in response to a multi-activate command; and After the first plurality of word lines are activated, a recovery operation is performed on the first plurality of memory cells based on the second plurality of memory cells by a memory device.

17. The operating method according to claim 16, further comprising: include: providing, by the host device, a first read command to the memory device; as well as In response to a first read command, a first sum of weights stored in memory cells connected to a first bit line among the first plurality of memory cells is output to a host device through a memory device.

18. The operating method according to claim 16, further comprising: include: providing, by the host device, a second read command to the memory device; as well as In response to a second read command, a second sum of the weights stored in the memory cells connected to the second bit line among the second plurality of memory cells is output to the host device by the memory device.

19. The operating method according to claim 16, in, The memory device includes a sense amplifier, and the steps of performing a recovery operation include: activating a first word line of the first plurality of word lines and a second word line of the second plurality of word lines; and A third word line of the first plurality of word lines and a fourth word line of the second plurality of word lines are activated.

20. The operating method according to claim 16, after performing the recovery operation, further include: The memory device is put into an idle state through the precharge operation.