Memory system and operating method thereof
The solid-state drive system for computing realizes approximation and precise search through multiple memory strings and sensing amplifier circuits, solves the bandwidth and delay problems between the processor and storage device, improves data processing efficiency, and is suitable for large-scale data management and real-time applications.
Patent Information
- Application Number
- CN202311117230.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-05
- Filing Date
- 2023-08-31
- Publication Date
- 2024-11-05
AI Technical Summary
In the prior art, when processing large-scale data, bandwidth and latency problems between the processor and storage device lead to low resource utilization efficiency and difficult to meet real-time data management and storage requirements.
Using a solid state hard disk (SSD) system for computing, the approximate search and accurate search functions are realized through multiple memory strings and sensing amplifier circuits, reducing dependence on processors and buses, and using word and bit line circuits to provide presets and dynamics. Operation conditions, optimize data access and calculation operations.
Effectively reduces the use of processors and buses, improves data processing efficiency, reduces bandwidth and latency, can manage and operate data locally, reduces the demand for additional processors and servers, suitable for image processing, database management and artificial intelligence etc.
Smart Images

Figure CN118899013A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a memory capable of performing calculations, including a memory capable of enabling computing using a solid state drive (SSD). Background Art
[0002] The increased volume of data has increased the computing, storage, and bandwidth requirements for managing, organizing, selecting, and analyzing data in real time. Technologies that meet these increased requirements are needed.
[0003] In an exemplary conventional system, data is stored in a storage device that is accessible to a processor via a bus. Prior to processing, the data is transferred from the storage device to the processor (and / or a memory directly accessible by the processor) via a bus. The data is then operated on by the processor, and the results are selectively provided back to the processing device via a bus. Thus, processor usage and / or bus bandwidth usage increases as the amount of data increases. In some use cases, throughput is limited by bandwidth and / or latency between the processor and the storage device. Techniques that reduce, for example, processor usage and / or bus bandwidth usage are desirable. Summary of the invention
[0004] A system of one or more computers is used to implement specific operations and / or actions by having software, firmware, hardware or a combination thereof installed on the system, which enables the system to perform and / or control operations and / or actions when in operation. One or more computer programs are used to perform specific operations and / or actions by containing instructions, which enable the device to perform operations and / or actions when executed.
[0005] One aspect of a method for operating a memory system includes first sensing a first portion of a plurality of memory strings of a memory array based on (1) a plurality of first voltages driving a plurality of word lines of the memory array, and (2) a plurality of preset operating conditions of the first portion of the plurality of memory strings; second sensing a second portion of the plurality of memory strings of the memory array based on (1) a plurality of second voltages driving a plurality of word lines of the memory array, and (2) a plurality of dynamic operating conditions of the second portion of the plurality of memory strings; and providing a result of the second sensing, wherein the second voltage is based on the result of the first sensing. Other embodiments of this aspect include corresponding computer systems, apparatuses, and computer programs recorded on one or more computer storage devices, each for implementing the actions of the method.
[0006] Embodiments of the present disclosure selectively include one or more of the following features. In the first aspect, multiple dynamic operating conditions are generated by operating multiple bit line circuit terminals of a second portion of multiple memory strings according to a dynamic value. The second sensing selectively includes counting the number of approximate matches between multiple values stored in the second portion of the multiple memory strings and the dynamic value. The second sensing selectively includes summing multiple currents of the second portion of the multiple memory strings. The dynamic value is an analog value, the multiple values stored in the second portion of the multiple memory strings are multiple analog values, and the summing is based on an analog method. The second sensing selectively includes scaling and then summing multiple currents of the second portion of the multiple memory strings. The multiple dynamic operating conditions are based on the dynamic value and the mask value so that the dynamic value can be compared to any value stored in the second portion of the multiple memory strings. The multiple dynamic operating conditions are based on a dynamic value and a mask value so that the dynamic value cannot be compared to any value stored in the second portion of the multiple memory strings. The result of the second sensing represents a multiply-accumulate operation, the first operand of the multiply-accumulate operation is the dynamic value, the dynamic value is determined according to a dynamic operation in the multiple dynamic operating conditions, and the second operand of the multiply-accumulate operation corresponds to the multiple values after the second portion of the multiple memory strings are programmed. A plurality of dynamic operating conditions are determined based on the dynamic value and a result of a second sensing, the result of the second sensing indicating a search operation for a dynamic value among a plurality of values programmed in a second portion of the plurality of memory strings. Embodiments of the technology optionally include hardware, methods or programs, or computer software on a computer accessible medium.
[0007] A second aspect of the memory system includes a memory array, wherein the memory array selectively includes first and second parts of a plurality of memory strings, wherein one or more memory strings of the first part of the plurality of memory strings and one or more memory strings of the second part of the plurality of memory strings each include a plurality of memory devices connected in series; a word line circuit having a plurality of terminals, wherein the plurality of terminals of the word line circuit are coupled to corresponding plurality of control inputs of corresponding columns according to the structure of the plurality of memory strings; a bit line circuit having a plurality of terminals, wherein the plurality of terminals of the bit line circuit are coupled to corresponding plurality of word line terminals of the plurality of memory strings; a sense amplifier circuit having a plurality of terminals, wherein the plurality of terminals of the sense amplifier circuit are coupled to corresponding plurality of sense amplifier terminals of the plurality of memory strings; wherein the plurality of memory devices coupled to the plurality of memory strings are connected to the plurality of memory devices; A plurality of terminals of a bit line circuit coupled to a plurality of word line terminals of a first portion of a plurality of memory strings can provide the same preset operating condition to the plurality of word line terminals of the first portion of a plurality of memory strings; wherein a plurality of terminals of a bit line circuit coupled to a plurality of word line terminals of a second portion of a plurality of memory strings can provide a corresponding plurality of dynamic values to the plurality of word line terminals of the second portion of a plurality of memory strings; and wherein the word line circuit can selectively drive a plurality of control inputs according to one of a plurality of first word line control values and a plurality of second word line control values, the plurality of first word line control values corresponding to the provided values, and the plurality of second word line control values corresponding to the results generated by the sense amplifier circuit based on the information provided by the plurality of terminals of the sense amplifier coupled to the plurality of word line terminals of the first portion of the plurality of memory strings. Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each for performing the actions of the method.
[0008] Embodiments of the present disclosure optionally include one or more of the following features. A second aspect optionally includes a counting circuit coupled to the sense amplifier circuit capable of counting the number of actual matches between a plurality of values stored in a second portion of the plurality of memory strings and a plurality of corresponding dynamic values. The system optionally includes a summing circuit coupled to the sense amplifier circuit, the summing circuit capable of summing a plurality of currents in the second portion of the plurality of memory strings. The plurality of corresponding dynamic values are analog values, the values stored in the second portion of the plurality of memory strings are analog values, and the summing circuit can operate according to an analog method. The summing circuit can further scale the plurality of currents before summing. The system optionally includes one or more processors capable of accessing a memory array. A plurality of terminals of a bit line circuit coupled to a plurality of word line terminals of the second portion of the plurality of memory strings can further provide the same preset operating conditions to the plurality of word line terminals of the second portion of the plurality of memory strings, and further includes a page cache circuit coupled to the sense amplifier circuit, the page cache circuit capable of caching the results of a page read from a plurality of values stored in the second portion of the plurality of memory strings. Implementations of the technology optionally include hardware, methods or programs, or computer software in a computer accessible medium.
[0009] A third aspect of the system includes a memory array selectively including a first portion and a second portion of a plurality of memory strings, one or more memory strings of the first portion of the plurality of memory strings and one or more memory strings of the second portion of the plurality of memory strings including a plurality of memory devices connected in series; a word line circuit having a plurality of terminals, the plurality of terminals of the word line circuit being coupled to a plurality of corresponding control inputs of a corresponding column according to the configuration of the plurality of memory strings; a bit line circuit having a plurality of terminals coupled to a plurality of corresponding word line terminals of the plurality of memory strings and capable of providing the same preset operating conditions to the plurality of word line terminals; a sense amplifier circuit having a plurality of terminals coupled to a plurality of corresponding sense amplifier terminals of the plurality of memory strings; and wherein the word line circuit is capable of selectively driving a plurality of control inputs according to one of a plurality of first word line control values and a plurality of second word line control values, the plurality of first word line control values corresponding to the provided values, the plurality of second word line control values corresponding to the results generated by the sense amplifier circuit based on the information provided by the plurality of terminals of the sense amplifier coupled to the plurality of word line terminals of the first portion of the plurality of memory strings. Other embodiments of this aspect include corresponding computer systems, apparatuses, and computer programs recorded on one or more computer storage devices, each for implementing the actions of the method.
[0010] Embodiments of the present disclosure selectively include one or more of the following features. In the third aspect, the provided value selectively includes a key code and a mask, and the selective driving of these control inputs includes selectively driving corresponding multiple pairs of multiple control inputs, which are determined from corresponding bits of the key code and a corresponding bit of the mask respectively according to multiple codes, and (1) the first code responds to the provided value of 0 and can selectively match the stored 0 value, (2) the second code responds to the provided value of 1 and can selectively match the stored 1 value, (3) the third code responds to the provided value of 0 or 1 and can selectively match the stored 0 or 1 value, (4) the fourth code responds to the provided value and selectively cannot match any stored value. The system selectively includes one or more processors that can access a computing solid state drive (SSD) including at least one memory device having a memory array. Implementations of the technology selectively include hardware, methods or programs, or computer software on a computer accessible medium.
[0011] Various embodiments of the aforementioned aspects optionally include hardware, methods or programs, or computer software on a computer-accessible medium.
[0012] Other features, aspects, and advantages will be more clearly understood through the embodiments and drawings. In order to have a better understanding of the above and other aspects of the present invention, the following embodiments are specifically cited and described in detail with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 Schematically illustrates a schematic diagram of an example hardware system based on one or more computing solid state drives (SSDs).
[0014] Figure 2 A schematic diagram schematically shows an example operation memory for an approximate search performed before a precise search based on the results of the approximate search.
[0015] Figure 3 A schematic diagram schematically shows an example operation memory for an approximate search performed before an operation based on a result of the approximate search.
[0016] Figure 4 A schematic diagram schematically shows an example operation memory for an approximate search performed before an access operation based on a result of the approximate search.
[0017] Figure 5 An example flow chart schematically illustrates a technique for operating a computational memory.
[0018] Fig. 6A as well as Figure 6B The overall schematic diagram shows a search through information provided on the word line.
[0019] Figure 6C as well as Fig.6D The overall schematic diagram shows a search through information provided on the bit lines.
[0020] Figure 7 A schematic diagram schematically shows an example of a solid state drive (SSD) for computing.
[0021] Figure 8 A schematic diagram schematically shows an example of a hardware system having a solid state drive (SSD) for computing.
[0022] Description of Reference Numerals
[0023] 100, 800: SSD systems for computing
[0024] 110, 810: CPU
[0025] 120, 820: GPU
[0026] 126: Function
[0027] 130: DRAM
[0028] 140, 700, 840: SSD for computing
[0029] 180: PCIe bus
[0030] 200, 300, 400: Memory for calculation
[0031] 210, 310, 410, 519: approximate
[0032] 211, 221, 311, 321, 411, 421: bit line circuit
[0033] 212, 312, 412, 612: Approximate parts
[0034] 214, 224, 314, 324, 414, 424: Sense amplifier circuits
[0035] 215, 315, 415: Similar search results
[0036] 217, 227, 317, 417, 617, 627: IMS storage unit
[0037] 218, 318, 418: Key code information
[0038] 219, 319, 419: Approximate search parameters
[0039] 220,529: Accurate
[0040] 222, 622: Precise part
[0041] 225, 325: Post-processing
[0042] 226: Accurate search results
[0043] 229: Refine search parameters
[0044] 250, 350, 450: Array
[0045] 252, 352, 452: word line circuit
[0046] 320, 539, 730: Calculation
[0047] 322: Calculation part
[0048] 326: Calculation results
[0049] 327: Category
[0050] 328: Weight
[0051] 329: Calculation parameters
[0052] 420, 549, 740: Access
[0053] 422: Access section
[0054] 426: Access result
[0055] 427: Page data
[0056] 501: Set array
[0057] 502: Programming Array
[0058] 503: First function
[0059] 504, 752, 753, 754: Secondary function
[0060] 512: Programming Approximate Arrays
[0061] 513: Driving WLs, operating BLs, sensing
[0062] 522: Programming Precision Arrays
[0063] 524: Driving WLs, operating BLs, sensing and counting
[0064] 532: Programming Computational Arrays
[0065] 534: Driving WLs, operating BLs, sensing and summing
[0066] 542: Programming Access Array
[0067] 544: drive WLs, operate BLs, sense
[0068] 550: Settings
[0069] 671, 681: T1
[0070] 672, 682: T2
[0071] 691:WL1
[0072] 692:WL2
[0073] 693: BL1
[0074] 698:BL128K-1
[0075] 699:BL128K
[0076] 710: Proximity Search
[0077] 720: Precise Search
[0078] 755: Second function can be set
[0079] 762, 763, 764: Memory device for calculation
[0080] 765: Configurable computing memory device
[0081] 780: Interface
[0082] 782: Host / bus coupling
[0083] 812, 822: Buffer, cache and internal memory
[0084] 830: RAM
[0085] 850: Traditional SSD
[0086] 860: HDD
[0087] 870: I / O
[0088] 880: Bus / Interface DETAILED DESCRIPTION
[0089] For detailed technical information on computing solid state drives (SSDs), refer to Figures 1 to 8 supply.
[0090] One or more flow charts are described herein. The processing described in the flow chart is implementable and / or can be directly used by a programmable processor, which uses a computer program stored in an accessible memory of a computer system and can be executed by a processor, uses dedicated logic hardware (including field programmable integrated circuits (FPGA)), and uses various combinations thereof. Multiple actions can be combined, executed in parallel, and / or executed in different orders without affecting the processing achieved. In some cases, the rearranged multiple actions can achieve the same result only when specific other changes are made at the same time. In other cases, the rearranged multiple actions can achieve the same result only when specific conditions are met. Further, for the sake of clarity, some flow charts herein omit specific unnecessary actions for understanding the disclosed technology. Multiple additional actions can be performed before, after, and / or during the described actions.
[0091] Examples of selected acronyms, mnemonics and abbreviations used for the purposes of this description are listed below.
[0092]
[0093]
[0094] An example key-value store (e.g., a key value SSD) is an object-based storage that receives an object description (e.g., a key) and responsively accesses an object identifiable by the object description (e.g., a value corresponding to the key). In some key-value stores, a translation layer converts between the object description and the underlying data block of non-volatile storage to which it corresponds.
[0095] Concept of SSD for Computing
[0096] Systems based on computing SSD technology, as described herein, reduce processor usage and / or bus bandwidth usage. Systems can use the resources of computing SSDs to perform computing techniques (e.g., searching, calculating, and / or accessing) rather than the resources of a processor and / or bus, thereby reducing or minimizing the movement of information between processing elements and storage devices. Computing SSD technology can manage, organize, select, and analyze ever-increasing amounts of real-time data. Computing SSDs (sometimes referred to as Smart SSDs) can store and manipulate data locally, such as using the resources of a computing SSD to perform CIM, IMC, and / or IMS. Therefore, by using computing SSDs, the processing, storage, and bandwidth requirements of the system are reduced.
[0097] Furthermore, using computational SSDs frees up CPU and / or GPU resources for other work, resulting in faster results. In some use cases, using computational SSDs reduces the need to purchase additional processors and / or servers. In some use cases, using computational SSDs reduces the need to purchase additional power supplies and / or cooling systems. In some use cases, using computational SSDs opens up new insights and opportunities to use native processing technology to accelerate a variety of applications. Example applications of computational SSD technology can include image processing, database management, and artificial intelligence.
[0098] An example computing SSD can perform a coarse search function and then perform a second function that is dependent on the coarse search function. The example computing SSD is based on a single memory array that can be used in two portions: (1) a portion dedicated to the coarse search function, and (2) a portion dedicated to the second function. Example second functions include a precise search (e.g., IMS) function, a calculation (e.g., IMC) function, and an access (e.g., for accessing a value that is paired with a key / value) function.
[0099] As a specific example, a key value SSD may be implemented using the computational SSDs described herein.
[0100] A computing SSD is composed of one or more computing memories. A computing SSD can use the same computing memory to perform multiple functions. For example, a first function is implemented in a specific computing memory, and then a second function (e.g., based on the results of the first function) is performed in this specific computing memory. In some examples, multiple functions are performed in the same memory array of the same computing memory.
[0101] For an example of a search operation, the first function includes a coarse filter and / or a search function, and the second function includes a fine filter and / or a search function. For an example of a calculation operation, the first function includes an approximate filter and / or a search function, and the second function includes an in-memory calculation function. For an example of an access operation, the first function includes an approximate filter and / or a search function, and the second function includes a data access function.
[0102] In some embodiments, the approximate filter and / or search function can be used to reduce or remove processing related to uninteresting or unnecessary portions of the database. For example, in response to the approximate filter function, the characters determined by the approximate filter and / or search function are activated for use in subsequent actions. In the search, calculation and access operation examples, the subsequent actions include the precise filter and / or search function, the in-memory calculation function, and the data access function, respectively.
[0103] In some embodiments, approximate filters and / or search functions use search information provided by word lines, such as similar to TCAM. In some variations, exact search functions use search information provided by bit lines, such as with respect to high-dimensional searches. In some variations, computation functions use computation information provided on bit lines. In some variations, access functions can be used to provide values corresponding to keys paired with key values, such as for use by a CPU and / or GPU.
[0104] Computing SSD System Example
[0105] In some computing SSD systems, one or more computing SSDs can perform a first function and then perform a second function based on the result of the first function. In a first example, the first function is an approximate search function and the second function is an exact search function. In a second example, the first function is an approximate search function and the second function is a calculation function. In a third example, the first function is an approximate search function and the second function is an access function.
[0106] In some configurable computational SSD systems, one or more computational SSDs can perform a first function and then perform a second function based on the results of the first function. In most examples, the second function is configured to have multiple granularities, such as from the entire SSD to a single memory array of the configurable computational SSD. For example, an SSD is configured as a dedicated search computational SSD, which has the entire SSD used for the first function (as an approximate search function) and the second function (as an exact search function). For example, another SSD is configured with a first portion of the memory array used for a computation function, and a second portion of the memory array used for an access function.
[0107] Figure 1 Schematic diagram of a hardware system example of a computing SSD system 100 based on one or more computing solid state drives (SSDs) as computing SSDs. The system includes hardware blocks CPU 110, GPU 120, DRAM 130, and one or more examples of computing SSDs 140, which are coupled via hardware block PCIe bus 180 (one or more). Each example of computing SSD 140 includes one or more computing SSDs, such as Figure 7 One or more instances of the computing SSD 700. The instances of the computing SSD 140 can perform functions related to computing SSDs, such as the functions 126 shown: approximate, precise, compute, access.
[0108] The CPU 110 includes one or more processing units, such as any combination of hardware units capable of executing programmed instructions, microprocessors, signal processors, AI processors, and the like. The GPU 120 includes one or more processing units, such as any combination of units capable of accelerating processing for relatively high parallel processing, such as graphics processing, signal processing, and / or AI processing. The DRAM 130 includes one or more DRAM devices for storage of instructions and / or data, the amount of which is greater than the memory of the CPU 110 and / or the GPU 120. The PCIe bus 180 enables components coupled thereto (such as the CPU 110, the GPU 120, and examples of the computing SSD 140) to communicate using one or more PCIe buses 180. The examples of the computing SSD 140 are individually enabled to perform approximate search, exact search, calculation, and access functions on data stored on the respective computing SSDs without transferring the data to the CPU 110, the DRAM 130, and / or the GPU 120.
[0109] Computational SSD system 100 can reduce or minimize the movement of data between conventional processing elements (e.g., CPU 110 and / or GPU 120) and computational storage elements (e.g., one or more instances of computational SSD 140). Various computational operations are performed on computational SSDs using locally stored data available from the SSDs.
[0110] Other partitioning of the elements shown in the figures, couplings between elements, and capabilities and / or capacities of the elements, as well as other additional elements, may be considered as required for use.
[0111] Memory for calculation
[0112] Three examples of computing memory are described. The first example is two IMS operations in series, such as an approximate search followed by an exact operation based on the result of the approximate operation. The second example is an IMS operation followed by an IMC operation based on the result of the approximate operation, such as an approximate search followed by a calculation operation. The third example is an IMS operation followed by an access operation based on the result of the approximate operation, such as an approximate search followed by an access operation.
[0113] Computational Memory-IMS=>IMS
[0114] Returning to the first example of a computational memory (two IMS operations in succession), a single computational memory array has two sections (one for each IMS operation) that can each perform an approximate search (e.g., operating as a TCAM) followed by an exact search based on the approximate search results. Conceptually, the approximate search section implements a filter (e.g., via wordline input) to reduce the computation performed by the exact search section (e.g., a high-dimensional search via bitline input).
[0115] As an example of operation, selected approximate search information (e.g., all or some portions of a key selectively associated with key mask information) is used to generate (approximate search) word line values for a single operation memory array ("array"). The bit lines of the approximate search portion are operated so that the word line values match the approximate search information stored in the memory device of the approximate search portion. The memory devices are configured into series groups of devices, referred to as memory strings. Each memory string enables the word line values to match the approximate search information stored in the memory string. The memory string indicates a match, for example, by changing impedance. The change in impedance is then reflected by a change in voltage to the bit line coupled to the memory string. For example, the memory string indicates a match by discharging the bit line. The sense amplifier of the approximate search portion detects the voltage change (if any) to the bit line and responsively generates a comparison result. Exact matches and / or approximate matches correspond to a high similarity between the word line value and the approximate search information stored in the memory device of the approximate search portion. For example, in one-hot encoding, a match is encoded as "1" and a non-match is encoded as "0".
[0116] Next, the match is then used to generate (exact search) values for word lines of the array. In some one-hot encoding (by single match) examples, a single word line is driven to "read" and the remaining word lines are driven to "pass" so that an exact search can be performed based on the approximate search results. At the same time, the bit lines of the exact search portion are operated based on comparing selected exact search parameters (e.g., all or some portions of one or more high-dimensional search parameters selectively associated with the high-dimensional mask information) with the exact search information of the memory device stored in the exact search portion. The sense amplifiers of the exact search portion detect changes in the bit lines and generate comparison results, which indicate a high similarity between the exact search parameters and the exact search information stored in the memory device. The comparison results are then combined (e.g., counted) across one or more bit lines to determine one or more overall results. For example, the highest overall result corresponds to a best match.
[0117] The approximate search portion includes matching operations of "match 1" and "match 0", and optionally matching operations of "match any value" (e.g., "don't care" or alternatively "WildCard") and "no match" (e.g., "invalid value" or alternatively "invalid search"), through pairs of word lines and pairs of serial memory devices in the first portion. Similarly, the exact search portion includes similar encoding through pairs of bit lines and pairs of corresponding memory devices in the second portion.
[0118] Figure 2An example computing memory, such as computing memory 200, is schematically shown for performing an approximate search and then performing an exact search based on the result of the approximate search.
[0119] The operation memory 200 includes two parts, approximate 210 for performing approximate search and exact 220 for performing exact search. Approximate part 212 and exact part 222 are multiple parts of the same memory array (array 250). Word line circuit 252 is enabled to provide the results of the approximate search to the exact search.
[0120] Approximation 210 includes a bit line circuit 211, an approximation portion 212, and a sense amplifier circuit 214. Approximation portion 212 includes a plurality of memory strings, each memory string including a plurality of serially connected memory devices. The memory strings are coupled to the bit line circuit 211 and the sense amplifier circuit 214, and are thus conceptually serially connected in the vertical direction of the figure. The memory strings are conceptually replicated in the horizontal direction of the figure, and the word lines couple corresponding devices of each memory string in the horizontal dimension. For each memory string, one end of the memory string (e.g., a bit line terminal) is coupled to the bit line circuit 211, and the other end of the memory string (e.g., a sense line terminal) is coupled to the sense amplifier circuit 214.
[0121] The bit line circuit 211 includes a bit line circuit capable of operating each bit line terminal according to a preset value. For example, the bit line circuit 211 includes a precharger for each bit line terminal of the approximate portion 212. The precharger operates (in conjunction with other circuits, such as the word line circuit 252 and / or the sense amplifier circuit 214) to precharge the memory string of the approximate portion 212.
[0122] The sense amplifier circuit 214 includes a sensing circuit capable of determining a change in current and / or voltage at each sense amplifier terminal of the approximate portion 212 based on one or more predetermined thresholds, for example, the sense amplifier circuit 214 includes a sense amplifier for each sense amplifier terminal. The sense amplifier operates (along with other circuits, such as the word line circuit 252 and / or the bit line circuit 211) to determine a change in current and / or voltage of the memory string at the approximate portion 212. The sense amplifier circuit 214 provides the result of the change to the word line circuit 252 via the approximate search result 215.
[0123] Changes in current and / or voltage across the approximate portion 212 of the memory string may result from, for example, selective discharge of the memory string based on the stored values of the series-connected memory devices in the memory string and the value provided to the word line by the word line circuit 252 .
[0124] Precise 220 includes a bit line circuit 221, a precise portion 222, a sense amplifier circuit 224, and a post-processing 225 (counting). Precise portion 222 (similar to approximate portion 212) includes a plurality of memory strings, each of which includes a plurality of serially connected memory devices. The memory strings are coupled to the bit line circuit 221 and the sense amplifier circuit 224, and thus are conceptually serially connected in the vertical direction in the figure. The memory strings are conceptually replicated in the horizontal direction in the figure, and the word lines couple the corresponding devices of each memory string in the horizontal dimension. For each memory string, one end of the memory string (e.g., the bit line terminal) is coupled to the bit line circuit 221, and the other end of the memory string (e.g., the sense line terminal) is coupled to the sense amplifier circuit 224.
[0125] The bit line circuit 221 (similar in some respects to the bit line circuit 211) includes bit line circuitry that can operate each bit line terminal based on a dynamic value provided via the precision search parameter 229 (rather than a preset value as in the bit line circuit 211), for example, the bit line circuit 221 includes a conditional precharger for each bit line terminal of the precision portion 222. The bit line circuit 221 operates on pairs of bit line terminals, for example, conceptually represented by IMS memory cells (Cells) 227 (precise). The conditional precharger operates (in conjunction with other circuitry, such as the word line circuit 252 and / or the sense amplifier circuit 224) to conditionally precharge the memory string of the precision portion 222.
[0126] Sense amplifier circuit 224 includes sensing circuitry capable of determining a change in current and / or voltage at each sense amplifier terminal of precise portion 222 based on one or more predetermined thresholds, e.g., sense amplifier circuit 224 includes a sense amplifier for each sense amplifier terminal. The sense amplifier operates (along with other circuitry, such as word line circuit 252 and / or bit line circuit 221) to determine a change in current and / or voltage at a memory string of precise portion 222. Sense amplifier circuit 224 provides a result of the change to post-processing 225 (count), such as a single binary number for each sense amplifier. Each single binary number represents one of two mutually exclusive conditions: (1) the change is less than or equal to the threshold, and (2) the change is greater than the threshold.
[0127] The change in current and / or voltage of the memory string of the precise portion 222 is due to the selective discharge of the conditionally precharged memory string, for example, based on the stored values of the serially connected memory devices in the memory string and the value provided to the word line by the word line circuit 252.
[0128] Post-processing 225 includes a counting circuit for counting the number of times that the sense amplifiers of sense amplifier circuit 224 indicate a change greater than a threshold value (or alternatively a change less than or equal to a threshold value). The count indicates a relative match between approximate search parameter 219 and / or exact search parameter 229 and one of a plurality of comparisons of values stored in approximate portion 212 and / or exact portion 222, respectively, provided by exact search result 226 (e.g., provided to a host). In other examples, the outputs of a first portion of the sense amplifiers of sense amplifier circuit 224 are counted together as a first result provided by exact search result 226. The outputs of a remaining portion of the sense amplifiers of sense amplifier circuit 224 are counted together as a second result provided by exact search result 226. Various configurations of sense amplifiers and counts may be used for comparisons of multiple portions of exact search parameter 229, such as one or more dimensions.
[0129] Thus, refined search result 226 has information based on approximate search parameter 219, information stored in approximate portion 212, information based on refined search parameter 229, information stored in refined portion 222, and a count implemented by post-processing 225 (count).
[0130] The word line circuit 252 includes word line conversion and driving circuitry that can conditionally operate in two modes, such as a first mode during operation in a first phase, and then a second mode during operation in a second phase. In the first mode, one or more search parameters, approximate search parameters 219 (e.g., key and optionally mask) are converted to suitable voltages to perform a proximate search function using the memory string of the approximate portion 212 (e.g., parallel comparison with each instance of key information 218). In the first mode, the word line circuit 252 converts a pair of voltages, which are conceptually represented by IMS memory cells 217 (approximate). In the second mode, one or more results (approximate search results 215) from the first mode operation are converted to suitable voltages to perform a precise operation function using the memory string of the precise portion 222. In some variations, in the second mode, circuits not used in the second mode are not activated (e.g., bit lines in the approximate search portion are not activated in the second mode).
[0131] In some variations and / or use cases, during a first phase of operation, approximation 210 functions as a TCAM capable of exact match, and at most one sense amplifier of sense amplifier circuit 214 detects a change corresponding to the exact match. During a second phase of operation (in response to the detection of the exact match), exact 220 is operated once. Wordline circuit 252 drives a single wordline of array 250 (corresponding to the exact match represented in approximation search result 215) for reading (e.g., providing voltage Vread). Wordline circuit 252 enables the remaining wordlines of array 250 for passing (e.g., providing voltage Vpass).
[0132] Approximation 210 and / or precision 220 can be independently performed based on multiple features. Features include match type (e.g., exact and / or approximate), number of matches (0, 1 and / or multiple), and order of approximate matches (parallel or sequential). Example match types include exact matches and approximate matches. Exact matches correspond to all bit matches, such as all bits of the search parameter match all bits of the value stored in the memory string. Approximate matches correspond to matches of less than all bits, such as one bit of all bits does not match, two bits of all bits do not match, or alternatively a portion of the bits match, such as 90% bit matches (e.g., 9 out of 10 bits match). For example, approximation 210 can achieve exact matching, and precision 220 can perform approximate matching. In another example, both approximation 210 and precision 220 can perform exact matching (or both can perform approximate matching). Example numbers of matches include at most one match, and at most multiple matches. For example, approximation 210 can detect at most one match (exact or approximate), and precision 220 can detect at most one match (exact or approximate). In another example, approximate 210 can detect a maximum number of matches (exact or approximate), and exact 220 can detect a maximum number of matches (exact or approximate). One example of approximate match ordering includes processing all matches (exact or approximate) in parallel, such as a single use of exact portion 222. Another example of approximate match ordering includes serial processing of each match (exact or approximate) of a single use of exact portion 222. For example, if there are two approximate matches, then exact portion 222 is responsively used twice in series, each time as an approximate match. A description of some example combinations of match type, number of matches, and approximate match ordering is as follows.
[0133] In some similar variations and / or use cases, multiple sense amplifiers of sense amplifier circuit 214 detect corresponding multiple exact matches. According to one technique, in response to multiple comparisons, the second stage of operation is serially repeated for each exact match, and counting performed by post-stage processing 225 is performed across these successive repetitions. For example, the first, second, and third sense amplifiers of sense amplifier circuit 214 each detect an exact match. In response, the second stage of operation is repeated three times (e.g., the three repetitions include the first repetition, the second repetition, and the third repetition), and counting is performed across the three repetitions. The first repetition is counted. The second stage of operation is performed a first time, using the match detected by the first sense amplifier that detected a match in the first stage of operation. Post-stage processing 225 starts counting, using the results of the second stage of operation, as performed in the first repetition, to start counting. The second repetition continues counting. The second stage of operation is performed a second time, using the match detected by the second sense amplifier that detected a match in the first stage of operation. Post-processing 225 continues counting, using the results of the second phase of operation as performed in the second iteration to continue counting by counting the results of the second first iteration and the results of the previous count results of the first iteration. The third iteration ends counting. The second phase of operation is performed a third time, using the match detected by the third sense amplifier detecting a match in the first phase of operation. Post-processing 225 ends counting, using the results of the second phase of operation as performed in the third iteration by counting the results of the third iteration and the results of the previous counts of the first and second iterations to end counting. According to other techniques, in response to multiple matches, the second phase of operation is performed once, with multiple word lines of array 250 being enabled (corresponding to multiple exact matches). For example, the first, second, and third sense amplifiers of sense amplifier circuit 214 each detect an exact match. In response, the second phase of operation is performed once. Post-processing 225 performs counting, using the results of the second phase of operation to perform counting.
[0134] In some variations and / or use cases, the approximation 210 may be operated as an exact and approximate match TCAM. During a first phase of operation, the approximation 210 operates as a TCAM capable of exact and approximate matches. Thus, zero or more sense amplifiers of the sense amplifier circuit 214 detect matches. In response, a second phase of operation is repeated successively for each match, and counting performed by the post-processing 225 is performed across these successive repetitions. For an approximate match technique, the sense amplifiers of the sense amplifier circuit 214 may detect changes based on more than one threshold (e.g., in series through different sensing time lengths, or in parallel through parallel operation of multiple detection mechanisms). For example, one threshold corresponds to an exact match and another threshold corresponds to an approximate match (e.g., one or two bits out of a total mismatch). The corresponding number of approximate matches may be implemented by relative thresholds (e.g., by respective sensing time lengths). For example, a first number of approximate matches (corresponding to two or fewer bits of mismatch) is implemented by a first threshold (e.g., by a first sensing time length). A second number of approximate matches (corresponding to mismatches of four or fewer bits) is enforced by a second threshold (eg, by a second sensing time length that is greater than the first sensing time length).
[0135] In some variations and / or use cases, exact 220 may be operated to compare the stored information both exactly and approximately, depending on the wordline value, relative to the search parameter. During a second phase of operation, exact 220 operates the exact and approximate comparisons, whereby zero or more sense amplifiers of sense amplifier circuit 224 detect matches. Each detection indicates that the respective match is exact or approximate. Further, for example, the techniques described above with respect to the approximate comparison of approximate 210 may be applied to exact 220. Post-processing 225 may count the exact and approximate matches, respectively. For example, the count value of the exact match value is greater than the approximate match value.
[0136] The dimensions of array 250 and the allocation between approximate portion 212 and precise portion 222 vary depending on the use. For example, approximate portion 212 has N memory strings and precise portion 222 has M memory strings, resulting in array 250 having a total of N+M memory strings. Each memory string has L memory devices (connected in series) in each memory string, resulting in a total of L*(N+M) memory devices in array 250. Word line circuit 252 has L word lines coupled to array 250. Each word line is coupled to N+M memory devices (in parallel), conceptually spanning the entire "width" of array 250. Each of the N memory strings of approximate portion 212 is coupled to a respective bit line circuit of bit line circuit 211 and a respective sense amplifier of sense amplifier circuit 214. Thus, there are N bit line circuits in bit line circuit 211 and N sense amplifiers in sense amplifier circuit 214. Similarly, each of the M memory strings of precision portion 222 is coupled to a respective bit line circuit of bit line circuit 221 and a respective sense amplifier of sense amplifier circuit 224. Thus, there are M bit line circuits in bit line circuit 221 and M sense amplifiers in sense amplifier circuit 224. For example, as a specific example, N=48, M=128K-48, and L=48. As another specific example, N=232, M=128K-232, and L=232.
[0137] In some variations, approximate search results 215 are selectively provided elsewhere, such as via an interface circuit to a host computer.
[0138] The functional separation between the sense amplifier circuit 224 and the post-processing stage 225 is arbitrary. For example, variations are contemplated in which some or all of the post-processing stage 225 functionality is incorporated into the sense amplifier circuit 224, or vice versa.
[0139] An exemplary implementation of the IMS storage unit 217 (approximately) is shown in FIG. Fig. 6A and Figure 6B An exemplary implementation of the IMS storage unit 227 (precisely) is described in Figure 6C and Fig.6D In some variations, the paired devices in IMS storage unit 217 (approximately) and / or IMS storage unit 227 (exactly) are implemented as paired SONOS devices.
[0140] Computational Memory-IMS=>IMC
[0141] Continuing with the second example of the computational memory (IMS operation followed by IMC operation), similar to the first example, a single computational memory array has two sections (one for IMS operation and one for IMC operation) that can respectively perform approximate search (e.g., operate as a TCAM) followed by calculations based on the results of the approximate search. Conceptually, the approximate search section implements a filter (e.g., via wordline input) to reduce the calculations performed by the calculation section (e.g., via bitline input).
[0142] As an example of operation, the approximate search portion is similar to the first example and is used similarly. Therefore, the approximate search portion is operated as a TCAM, and the example results are one-hot encoding. Further, the matches from the approximate search portion are then used to generate (calculate) the values of the word lines of the array. At the same time, the bit lines of the calculation portion are operated to cooperate with the calculation, for example, according to the corresponding terms / bits of the first vector input of the inner product. The information stored in the storage cells of the calculation portion corresponds to the relative terms / bits of the second vector input of the inner product.
[0143] As a specific example, the TCAM result corresponds to a match class, the first vector input corresponds to a neuron value, and the second vector input corresponds to a weight applied to the neuron value. As another specific example, the bit lines of the computation portion are driven to a voltage (e.g., an analog voltage) representing the first vector input (each bit line voltage corresponds to an element of the first vector). The threshold voltages of the memory cells are programmed to a voltage representing the second vector input (each memory cell threshold voltage corresponds to a cell of the second vector). The currents across the bit lines are summed (optionally scaled) to accumulate the respective products (bit line voltage multiplied by a portion of the memory cell current determined by the threshold voltage) as the inner product result of the first input vector and the second input vector. One type of scaling is based on powers of two, for example, to effectively encode a binary value. Another type of scaling is based on relative importance, for example, scaling based on the importance of a feature. Some variations produce a single summation across all bit lines of the computation portion. Other variations produce multiple summations corresponding to respective groups of bit lines of the computation portion.
[0144] The sensing in the computation portion is multiple values and is encoded by digital or analog techniques. For example, in an analog technique, the sense amplifier of the computation portion responds to the bit line change and generates an analog output, which is then selectively scaled by analog techniques. The scaled analog outputs are then combined, such as by analog summation, to generate a computation result. In the context of a specific example, the computation result corresponds to an inner product result. The computation result is selectively converted to a two-bit presentation. Figure 3An example operation memory, such as operation memory 300, is schematically shown for performing an approximate search and then performing operations based on the results of the approximate search.
[0145] Similar to Figure 2 The operation memory 200 of the embodiment of the present invention comprises two parts. The approximation 310 is used to perform the approximate search, and the calculation 320 is used to perform the calculation. The approximation part 312 and the calculation part 322 are part of the same memory array (array 350). The word line circuit 352 is enabled to provide the result of the approximate search to the calculation.
[0146] Figure 3 Some components of Figure 2 310. For further explanation, reference is made to corresponding elements. For example, sense amplifier circuit 314 includes sense circuitry capable of determining current and / or voltage changes at each sense amplifier terminal of approximation portion 312, as sense amplifier circuit 214. In another example, IMS storage cell 317 (approximation) and key information 318 each correspond to IMS storage cell 217 (approximation) and key information 218. As a final example, bit line circuit 311 includes bit line circuitry capable of operating each bit line terminal according to a predetermined value, as bit line circuit 211 operates. Further, array 350 corresponds to array 250, approximation 310 corresponds to approximation 210, calculation 320 roughly corresponds to exact 220 (post-processing 325 (scaling and summing) has a different function than post-processing 225 (counting)), etc. Figure 3 The elements in correspond to Figure 2 The components in the can be identified by the last two digits of the component symbol. Therefore, the following description focuses on Figure 3 The components of Figure 2 The corresponding component operates differently or does not appear Figure 2 The middle one.
[0147] Operational memory 200 is directed to approximate search followed by exact search. In contrast, operational memory 300 is directed to approximate search followed by calculation. Considering approximate search, in some variations, approximation 310 has the same operation as approximation 210. Considering calculation for exact search, calculation 320 operates differently than exact 220. Bit line circuit 321 operates the memory strings of calculation portion 322 individually, rather than in pairs, as in the example of bit line circuit 221 (IMS storage unit 227 (exact) for weight 328). Bit line circuit 321 is selectively capable of driving the memory string according to analog values. Calculation portion 322 is selectively capable of storing analog values. Sense amplifier circuit 324 and post-processing 325 (scaling and summing) are selectively capable of operating with analog values.
[0148] More specifically, the bit line circuit 321 can operate the bit lines to obtain respective voltages and / or currents in a manner that allows the bit lines to be independently of each other, such as by conditional precharging techniques, or by continuous supply techniques. The sense amplifiers of the sense amplifier circuit 324 can represent more than two values by digital (e.g., multiple bits on respective multiple terminals) or analog (e.g., different currents on a single channel) techniques. Post-processing 325 (scaling and summing) can selectively scale the results (voltage or current) of the sense amplifiers according to one or more scaling factors. For example, respective scaling factors are applied to respective groups of sense amplifier outputs of the sense amplifier circuit 324. One form of scaling is by analog techniques. Another form of scaling is by digital techniques. Post-processing 325 (scaling and summing) can further combine the selectively scaled sense amplifier outputs, such as by analog summing and / or digital summing. One or more outputs of post-processing 325 (scaling and summing) are represented as one or more results by calculation results 326. In some variations, the operations of sense amplifier circuit 324 and post-processing 325 (scaling and summing) are combined, such that the combining (e.g., by analog summing) conceptually occurs before some or all of the sensing, resulting in a reduced number of sense amplifiers used. In some variations, the output of computation result 326 is analog, while in other variations, its output is digital.
[0149] As in precision portion 222, changes in current and / or voltage of a memory string in calculation portion 322 are due to, for example, selective discharge of a conditionally precharged memory string based on the stored values of the series-connected memory devices of the memory string and the value provided to the word line by word line circuit 352.
[0150] Therefore, the calculation result 326 includes information based on the approximate search parameters 319, information stored in the approximate part 312, information based on the calculation parameters 329, information stored in the calculation part 322, and the sum achieved by the post-processing 325 (scaling and summing).
[0151] Wordline circuit 352, such as wordline circuit 252, can conditionally operate in two modes during respective first and second phases of operation. The first mode of operation is identical to the first mode of operation of wordline circuit 252. In summary, one or more search parameters (approximate search parameters 319) are converted into pairs (as conceptually represented by IMS storage cells 317 (approximate)) of suitable voltages to perform an approximate search function using the memory strings of approximate portion 312 (e.g., conceptually represented by key information 318). In the second mode, one or more results from the first mode of operation, i.e., approximate search result 315, are converted into suitable voltages to perform a computation function using the memory strings of computation portion 322 (rather than an exact search function as in exact portion 222). For example, wordline circuit 352 drives zero or more wordlines of array 350 (corresponding to the exact search represented by approximate search result 315) for reading (e.g., providing voltage Vread). Wordline circuit 352 drives the remaining wordlines of array 350 for passing (e.g., providing voltage Vpass).
[0152] An example of a memory cell used as a weight is weight 328. In some variations, each memory cell used as a weight is implemented by a corresponding SONOS device, with a weight value implemented by a corresponding threshold voltage. In some variations, each memory cell used as a weight is implemented using SLC technology, MLC technology, TLC technology, QLC technology, or analog technology.
[0153] An example of a column of storage cells used as a class is shown as class 327 .
[0154] In some variations and / or use cases, sub-portions of the computation portion 322 are used according to respective features, so that in post-processing 325 (scaling and summing), the summation across the entire computation portion 322 produces an overall score across these features. The overall score can be used, for example, as a ranking result, such as ranking a number of highest scoring instances. In some variations, computation 320 is used to perform a MAC process, calculating a likelihood score between a query and a selected instance in computation portion 322. The selected instance is determined by approximation 310 and used to increase efficiency.
[0155] Computational Memory-IMS=>Access
[0156] Continuing with the third example of the operational memory (IMS operation followed by access operation), similar to the first example, a single operational memory array has two sections (one for IMS operation and one for access operation) that can respectively perform an approximate search (e.g., as a TCAM operation) followed by an access operation based on the results of the approximate search. Conceptually, the approximate search section implements a filter (e.g., via wordline input) to reduce the access consumption performed by the access section (e.g., providing one or more result values).
[0157] As an example of operation, the approximate search portion is similar to the first example and is used similarly. Therefore, the approximate search portion is operated as a TCAM, and the example result is one-hot encoding. Further, the matches from the approximate search portion are then used to generate (access operation) values for the word lines of the array. At the same time, the bit lines of the access portion are operated to read the stored values from the memory cells of the access operation portion selected by the word lines. The sense amplifiers of the access operation portion detect the stored values from the selected memory cells and provide, for example, a page of data.
[0158] As a specific example, the value stored in the approximate search portion corresponds to a key value to compare (optionally mask) the input key to the value stored in the access operation portion corresponding to the relative value. The approximate search portion is used so that at most one match is found, so only one word line is activated during the access operation. Therefore, the operation memory can be operated as a key value storage.
[0159] Figure 4 An example computing memory, such as computing memory 400, is schematically shown for performing an approximate search and then performing an access operation based on the result of the approximate search.
[0160] Similar to Figure 2 The operation memory 400 includes two parts. Approximation 410 is used to perform an approximate search, and access 420 is used to perform an access operation. Approximation part 412 and access part 422 are part of the same memory array (array 450). Word line circuit 452 is enabled to provide the result of the approximate search to the access operation.
[0161] Figure 4 Some of the elements are identical, substantially similar, or similar to Figure 2For corresponding elements in the description, reference is made to corresponding elements in the further description thereof. For example, IMS storage unit 417 (approximately) and key information 418 correspond to IMS storage unit 217 (approximately) and key information 218, respectively. Further, array 450 corresponds to array 250, approximate 410 corresponds to approximate 210, access 420 roughly corresponds to exact 220 (bit line circuit 421 lacks inputs corresponding to exact search parameters 229 and post-processing 225, and has no corresponding elements in exact 220), etc. As Figure 3 middle, Figure 4 The elements in correspond to Figure 2 The components in the can be identified by the last two digits of the component symbol. Therefore, the following description focuses on Figure 4 The components of Figure 2 The corresponding component operates differently or does not appear Figure 2 The middle one.
[0162] Like wordline circuit 252, wordline circuit 452 drives a single wordline of array 450 (corresponding to the exact search shown in approximate search result 415) for reading (eg, providing voltage Vread). Wordline circuit 452 enables the remaining wordlines of array 450 for passing (eg, providing voltage Vpass).
[0163] Although bit line circuit 421 topologically corresponds to bit line circuit 221, it differs in that the bit line terminals of access portion 422 are operated according to a preset value, for example, a precharger is included at each bit line terminal (similar to bit line circuit 221). The precharger operates (in conjunction with other circuits, such as word line circuit 452 and / or sense amplifier circuit 424) to precharge the memory string of access portion 422.
[0164] Sense amplifier circuit 424 corresponds to sense amplifier circuit 224. However, rather than providing the result to other components for further processing, the result is provided directly (e.g., in a two-bit encoded manner) as access result 426. This result corresponds to a selected page of data, an example of which is shown as page data 427.
[0165] Therefore, access result 426 includes information based on approximation search parameter 419 as well as information stored in approximation portion 412 and access portion 422 .
[0166] In some variations of the aforementioned computational memory, the word line is continuous across the two portions of the array. For example, a plurality of word lines (eg, WL1, ..., WL48) are continuous across the approximate portion 212 and the precise portion 222 ( Figure 2 In other examples, the word line is continuous across the approximation portion 312 and the computation portion 322 ( Figure 3) and spans across the approximation portion 412 and the access portion 422 ( Figure 4 In some variations, the word lines of the two portions are driven separately. For example, the word lines are discontinuous between the two portions.
[0167] In some variations of the aforementioned operational memory, the bit line circuits and / or sense amplifier circuits are partitioned between two portions of the array. For example, the bit line circuits 211 and 221 are two partitions of the bit line circuits spanning the approximate portion 212 and the precise portion 222 ( Figure 2 For other examples, the bit line circuit 311 and the bit line circuit 321 are two partitions of the bit line circuit spanning the approximation part 312 and the calculation part 322 ( Figure 3 ), bit line circuit 411 and bit line circuit 421 are two partitions of the bit line circuit across the approximate portion 412 and the access portion 422. For the approximate example, sense amplifier circuit 214 and sense amplifier circuit 224 are two partitions of the sense amplifier circuit across the approximate portion 212 and the precise portion 222 ( Figure 2 For other similar examples, the sense amplifier circuit 314 and the sense amplifier circuit 324 are two partitions of the sense amplifier circuit across the approximation portion 312 and the calculation portion 322 ( Figure 3 ), the sense amplifier circuit 414 and the sense amplifier circuit 424 are two partitions of the sense amplifier circuit across the approximation portion 412 and the access portion 422. In some examples of partitioned sense amplifier circuits, the post-stage sense amplifier processing is included in one partition of the sense amplifier circuit. As an example, the sense amplifier circuit 214 is included in the first partition of the sense amplifier circuit, and the sense amplifier circuit 224 as a whole and the post-stage processing (counting) 225 are included in the second partition of the sense amplifier circuit ( Figure 2 As another example, the sense amplifier circuit 314 is included in the first partition of the sense amplifier circuit, and the sense amplifier circuit 324 as a whole and the post-processing 325 (scaling and summing) are included in the second partition of the sense amplifier circuit ( Figure 3 ).
[0168] In some variations of the aforementioned computing memory, the bit line is precharged, for example, according to a preset value or according to a dynamic value, depending on whether the bit line is used for input. In other variations, the bit line is driven according to a preset value or a dynamic value instead of being precharged.
[0169] In some variations of the aforementioned operational memory, each memory cell can store one or more symbols, such as by binary or analog technology. For example, the memory cell can store a single symbol as an analog value, such as a device threshold voltage. As a specific example, the threshold voltage of the programmed SONOS cell is used for (e.g., analog) data storage. For other examples, the memory cell can use SLC technology to store a single symbol, such as represented as a single bit of information. For other examples, the memory cell can use MLC, TLC, or QLC technology to store multiple symbols.
[0170] In some variations of the aforementioned computational memory, a page buffer (implemented as a page buffer circuit) and / or a page cache (implemented as a page cache circuit) is used to store the results. For example, the refined search result 226 is stored in the page buffer ( Figure 2 For other examples, the calculation result 326 is stored in a page buffer ( Figure 3 ), the access result 426 is stored in the page buffer and / or page cache ( Figure 4 In other examples, access result 426 is stored in a page buffer circuit coupled to sense amplifier circuit 424. Page buffer circuit can cache pages of results read from access portion 422. The page of results corresponds to, for example, information stored in page data 427.
[0171] Memory device for calculation
[0172] Some devices (such as integrated circuits, one or more units of a system-on-a-chip and / or a package unit) include one or more computing memories (such as Figure 2 The computing memory 200, Figure 3 The computing memory 300 and / or Figure 4 The computing memory 400 of the computing SSD) and one or more optional hardware circuit blocks to realize the memory element can be used as a separate element and / or can be used as an element in the system. For example, the hardware circuit can enable the computing memory (e.g. Figure 7 The computing SSD 700 in the embodiment may be configured to have a computing memory device 765 and / or Figure 8 For other examples, the optional hardware circuit blocks can enable the use of the computing memory as a component of a single-chip system.
[0173] Example optional hardware circuit blocks are I / O interfaces, controllers, and analog sources.
[0174] The I / O interface can connect an external medium to the computing memory (such as a host) to use the computing memory. An example use is to set the array of the computing memory (such as Figure 5 The setting array 501), the array of programming operation memory (for example Figure 5 502), directing the operation memory to perform the first function and selectively receiving the result of the first function (e.g. Figure 5 503), and directing the operation memory to perform a second function and selectively receive a result of the second function (e.g. Figure 5 The second function 504).
[0175] The controller can provide overall control of operations between multiple different hardware circuit blocks of one or more computing memories. For example, the controller coordinates the operation of multiple portions of the memory array of the computing memory with the I / O interface. For another example, the controller coordinates the operation of the analog source with respect to the setting information. For another example, the controller selectively coordinates the sequencing of the second function based on the first function.
[0176] The analog source can generate and / or provide one or more analog outputs to, for example, a memory array, a bit line circuit, a sense amplifier circuit, and / or a word line circuit of a computational memory. The analog outputs include zero or more voltage and / or current sources (e.g., reference sources), such as those generated by one or more bias circuits.
[0177] Memory Operation for Computation
[0178] Figure 5 An example flow chart of a technique for operating a computing memory, such as a computing SSD technique described in or referenced in any other figure, is schematically illustrated.
[0179] The flow proceeds in four actions: setting the array 501, programming the array 502, first function 503, and second function 504. The flow is for one of three types of dedicated arrays, and an array that can be set according to any one or more of the three types of dedicated arrays. The flow for each type of dedicated array is described, followed by the flow for the settable array.
[0180] The process for any of the three types of dedicated arrays begins with programming the array 502. Consider an array dedicated to a first IMS (approximate search), followed by a second IMS (exact search) based on the first search (e.g. Figure 2 The details of the process are illustrated by the actions of approximation 519 and exact 529.
[0181] The process begins by storing values into the respective portions of the dedicated array, programming the array 502. The approximate search portion of the array is programmed with values to be searched for matches using the approximate search portion of the array (program approximate array 512). The exact search portion of the array is programmed with values stored for matches used for search information provided by the bit lines of the exact search portion of the array (program exact array 522).
[0182] Next, the process proceeds to the first function 503. The first of the two functions (corresponding to the approximate search) is performed using the approximate search portion of the array. The word lines of the array are driven, and the bit lines of the approximate search portion of the array are operated and sensed (drive WLs, operate BLs, sense 513). More specifically, the word lines of the array are driven according to the approximate search information (e.g., key information and optionally a mask). The bit lines of the approximate search portion of the array are operated according to a preset value and a value programmed into the approximate search portion of the array, wherein the preset value enables the approximate search portion of the array to operate as a readable memory relative to the word lines. The bit lines of the approximate search portion of the array are sensed to determine a match between the word lines and the programmed value as a result of the first function. The result of the first function (approximate search) is provided for the second function.
[0183] Next, the flow proceeds to the second function 504. The second of the two functions (exact search) is performed, using the exact search portion of the array. The word lines of the array are driven and the bit lines of the exact search portion of the array are manipulated, sensed, and counted (drive WLs, manipulate BLs, sense and count 524). More specifically, the word lines of the array are driven based on the results of the approximate search. The bit lines of the exact search portion of the array are manipulated based on a relative dynamic value, which is provided as a search parameter, and the exact search portion of the array searches (in parallel) for this search parameter among the values stored in the exact search portion of the array. The bit lines of the exact search portion of the array are sensed to determine a match, and then the matches are counted (e.g., in one or more groups) to determine the overall one or more highest matches as the results of the second function. The results of the second function (exact search) can then be used by other agents. Thus, the flow for an array dedicated to a first IMS followed by a second IMS is completed.
[0184] Consider a method dedicated to IMS (approximate search) followed by IMC (computation) based on IMS (e.g. Figure 3 The details of the process are illustrated by the actions of approximation 519 and calculation 539.
[0185] As with the arrays dedicated to the first and second IMS searches, the process begins by storing values into the corresponding portions of the dedicated arrays, by programming the array 502. The approximate search portion of the array is programmed with values to be searched for comparison using the approximate search portion of the array (programming approximate array 512). The computation portion of the array is programmed with values to store and compute computation parameters provided on the bit lines through the computation portion of the array (programming computation array 532).
[0186] As with the arrays dedicated to the first and second IMS searches, flow then proceeds to the first function 503, which is performed by driving the word lines of the array and operating and sensing the bit lines of the proximity search portion of the array (drive WLs, operate BLs, sense 513). The results of the first function (proximity search) are provided for the second function.
[0187] As with the arrays dedicated to the first and second IMS searches, flow then proceeds to the second function 504. The second of the two functions (computation) is performed using the computational portion of the array. The word lines of the array are driven, and the bit lines of the computational portion of the array are manipulated, sensed, and summed (drive WLs, operate BLs, sense and sum 534). More specifically, the word lines of the array are driven according to the approximate search. The bit lines of the computational portion of the array are manipulated according to respective dynamic values, which are provided as computation parameters, and the computational portion of the array uses the computation parameters as a computation operand (in parallel) to be operated on together with the values stored in the computational portion of the array. The bit lines of the computational portion of the array are sensed to determine respective intermediate results (e.g., respective analog currents or voltages). The intermediate results are then combined (e.g., summed using analog techniques) to produce one or more results of the second function. The results are optionally converted to digital representations. In some variations, sensing and summing are performed together. The results of the second function (computation) are then available for use by other performers. Thus, the process for an array dedicated to IMS followed by IMC is completed.
[0188] Next, consider an array dedicated to IMS (approximate search) followed by access operations according to IMS (e.g. Figure 4 The details of the process are illustrated by the actions of approximation 519 and access 549.
[0189] As with the arrays dedicated to the first and second IMS searches, the process begins by storing values in the respective portions of the dedicated arrays, programming the array 502. The proximity search portion of the array is programmed to have values that are searched for comparison to the proximity search portion of the array (program proximity array 512). The access operation portion of the array is programmed to have values that are stored and available for reading by the next access operation (program access array 542).
[0190] As with the arrays dedicated to the first and second IMS searches, flow then proceeds to the first function 503 to perform the first function by driving the word lines of the array and operating and sensing the bit lines of the proximity search portion of the array (drive WLs, operate BLs, sense 513). The results of the first function (proximity search) are provided for the second function.
[0191] As with the array dedicated to the first and second IMS searches, the flow then proceeds to the second function 504. The second of the two functions (access operation) is performed, using the access operation portion of the array. The word lines of the array are driven, and the bit lines of the access operation portion of the array are operated and sensed (drive WLs, operate BLs, sense 544). More specifically, the word lines of the array are driven based on the results of the approximate search. The bit lines of the access operation portion of the array are operated based on preset values that allow the access operation of the array to be operated like a readable memory, relative to the word lines and values programmed in the exact search portion of the array. The bit lines of the access operation portion of the array are sensed to determine respective digital results, which collectively form one or more results of the second function. The results of the second function (access operation) can then be used by other performers. Thus, the flow for the array dedicated to IMS followed by access operations is complete.
[0192] The process for setting an array begins with the action of setting the array 501. The array (e.g. Figure 2 , Figure 3 and / or Figure 4 The configurable combination of elements can be set according to the allocation (apportionment) dedicated to each corresponding operation type: precise search, calculation and access operation.
[0193] The flow then proceeds individually for each allocation (optionally in parallel) according to the settings described, for example, as settings 550. Thus, at each allocation set to a first IMS (approximate search) followed by a second IMS (exact search) based on the first IMS search, the flow proceeds according to approximation 519 and exact 529. At each allocation set to a first IMS (approximate search) followed by a second IMC (calculation) based on the first IMS search, the flow proceeds according to approximation 519 and calculation 539. At each allocation set to a first IMS (approximate search) followed by an access operation based on the first IMS search, the flow proceeds according to approximation 519 and access 549.
[0194] Example of wordline and bitline based search
[0195] Fig. 6A and Figure 6B The overall schematic diagram shows a search using information provided by a word line. Figure 6C and Fig.6D The overall schematic diagram shows a search using information provided by the bit lines.
[0196] Reference first Fig. 6A , Figure 6B And by searching the word line, the approximate portion 612 and the IMS storage unit 617 (approximately) correspond to Figure 2 Approximate portion 212 and IMS storage unit 217 (approximate) (only Fig. 6A Omit some Figure 2 Details are schematically shown). T1 671 and T2 672 are connected in series at BL1 693 and are coupled to word lines WL1 691 and WL2 692, respectively. Figure 6B An example of programming the threshold voltages of T1671 and T2672, and the search voltages used to drive WL1691 and WL2692, so as to be able to compare the search information with the stored information is schematically shown.
[0197] Figure 6B The threshold voltages shown for T1671 and T2672 illustrate coding to be able to match only 0, only 1, anything ("X"), and nothing (invalid). Figure 6B The search voltages shown for WL1 691 and WL2 692 illustrate coding to be able to search for only 0, only 1, anything / WildCard ("WC"), and nothing (invalid). As a specific example, to match a 0, T1 671 is programmed to a threshold voltage of Vt.High and T2 672 is programmed to a threshold voltage of Vt.Low. To search for a 0, WL1 691 is driven to V.High2 and WL2 692 is driven to V.High1. Figure 6B The last column in the table in schematically shows an example relationship between two threshold voltages Vt.Low and Vt.High and two search voltages V.High1 and V.High2. Specifically, the two threshold voltages (Vt.Low and Vt.High) are lower than either of the two search voltages (V.High1 and V.High2). In another way of explanation, the two search voltages are higher than either of the two threshold voltages. In addition, the Vt.Low voltage is lower than the Vt.High, and the V.High1 voltage is lower than the V.High2. In a specific example, Vt.Low (lowest voltage) is -1V, Vt.High is 3V, V.High1 is 4V, and V.High2 (highest voltage) is 5V.
[0198] In operation, pairs of memory devices (e.g., Figure 2 The memory devices BL1, ..., BL48 of the approximate portion 212 are programmed to have Figure 6B Programming is performed, for example, Figure 5 The portion of the programmed approximation array 512 is then searched according to Figure 6B The driving pair of word lines (e.g. Figure 2 WL1, WL2, ..., WL47, WL48) are searched. Figure 5 The driving WLs, operating BLs, and sensing 513 parts are performed.
[0199] Next reference Figure 6C , Fig.6D And by searching the bit lines, the exact portion 622 and the IMS storage unit 627 (exact) each correspond to Figure 2 The exact portion 222 and the IMS storage unit 227 (exact) (only Figure 6C Omit some Figure 2 (Details are schematically shown). T1 681 and T2 682 are coupled to corresponding bit lines BL128K-1 698 and BL128K 699, respectively, and share a word line. Fig.6D An example is shown of the threshold voltages used to program T1 681 and T2 682, and the search voltages used to drive BL128K-1698 and BL128K 699 so that the search information can be compared with the stored information.
[0200] Similar to Figure 6B , the threshold voltages for T1 681 and T2 682 are as follows Fig.6D As shown, the instructions are encoded to be able to match only 0, only 1, anything ("X"), and nothing (invalid). The search voltage for the BL128K-1 698 and BL128K 699 is as follows Fig.6D As shown, the instructions are encoded to be able to search for only 0, only 1, anything / WildCard ("WC"), and nothing (invalid). As a specific example, to match 0, T1 681 is programmed to a threshold voltage of Vt.High and T2 682 is programmed to a threshold voltage of Vt.Low. To search for 0, BL128K-1 698 is driven to V.High and BL128K 699 is driven to V.Low. Figure 6BThe last column in the table in schematically shows an example relationship between the threshold voltages Vt.Low and Vt.High and the search voltages V.Low and V.High. Specifically, two threshold voltages (Vt.Low and Vt.High) are mixed with the voltage level between the two search voltages (V.Low and V.High). V.Low is the lowest voltage. Vt.Low is the next higher voltage. V.High is the next higher voltage, and Vt.High is the highest voltage. In a specific example, V.Low is 0V, Vt.Low is 1V, V.High is 2V, and Vt.High is 3V.
[0201] In operation, pairs of memory devices (e.g. Figure 2 BL49, BL50, ..., BL128K-1, BL128K memory devices) are programmed to have Fig.6D The data to be searched. Programming is performed, e.g. Figure 5 The programming precision array 522 portion. Then according to the Fig.6D Search based on driving pairs of bit lines (e.g. Figure 2 A search is performed, for example, as Figure 5 The driving WLs, operating BLs, sensing and counting parts of 524.
[0202] For example, an example of word line coding (such as Figure 6B ), the search information is a binary key value, and only 0 or 1 can be searched. In other examples, the search information is a binary key value, associated with a binary mask value of the same length as the binary key value. Each bit in the binary mask value indicates whether there is a corresponding bit in the binary key value to be ignored, such as matching any value, or based on a match in the corresponding binary key value bit. As yet another example, based on the previous example, other binary mask values are further used to indicate whether there is a corresponding bit in the binary key value to be considered invalid, such as no match. For example, the 4-bit key value is 0b0111 and the corresponding mask value is 0b0001, so that it is a search for 0b011x, so the stored value 0b110 or 0b0111 is a match. Similar examples of bit line encoding (such as in Fig.6D ) using a search value alone, a search value associated with a mask value, and / or a search value associated with multiple mask values. For example, a 4-bit search (e.g., key) value of 0b1010 corresponds to a mask value of 0b1000, making it a search for 0bx110, so the stored value 0b1010 or 0b0010 is a match.
[0203] Computing SSD
[0204] Computational SSD resources can be used in multiple systems (e.g., systems using intelligent SSDs), such as computing servers, database servers, IMS servers, IMC servers, and AI accelerators.
[0205] Figure 7 Schematic diagrams of examples of computing SSDs, such as computing SSD 700 , are schematically shown.
[0206] The computing SSD 700 includes at least one example of a computing memory device, such as at least one of a computing memory device 762, a computing memory device 763, a computing memory device 764, and a configurable computing memory device 765. Note that the examples of the approximate search 710, the exact search 720, the calculation 730, and the access 740 are similar, substantially similar, or identical to each other according to the settings.
[0207] The computational memory device 762 is directed to implement precise search capabilities and includes a memory array operable as two parts to implement approximate search 710 and provide information to the second function 752 to implement precise search 720. The computational memory device 762 can be used, for example, in a system directed to provide large-scale search capabilities, such as a database server.
[0208] The computing memory device 763 is directed to implement computing capabilities and includes a memory array operable as two parts to implement the approximate search 710 and provide information to the second function 753 to implement the computing 730. The computing memory device 763 can be used, for example, in a server directed to provide large-scale computing capabilities, such as an AI system.
[0209] The computational memory device 764 is directed to implement access capabilities and includes a memory array operable as two parts to implement the approximate search 710 and provide information to the second function 754 to implement the access 740. The computational memory device 764 can be used, for example, in a server directed to provide key value information, such as an SSD-based system of key values.
[0210] The configurable computing memory device 765 is directed to the configurable computing SSD capability, for example, depending on the configuration, it can be used in an SSD-based system such as a database server, an AI system and / or a key value. The configurable computing memory device 765 includes a memory array that can be operated as two parts to implement the approximate search 710 and provide information to the configurable second function 755 to implement one of the configuration-determined precise search 720, calculation 730, and access 740.
[0211] The interface 780 connects the computing memory device to the host and / or bus via the host / bus coupling 782 .
[0212] SSD 700 for computing Figure 8 An exemplary embodiment of the computing SDD 840, the host / bus coupling 782 is used to couple to Figure 8 Bus / interface 880.
[0213] Similar Search 710 by Figure 2 Approximation 210, Figure 3 Approximately 310 and / or Figure 4 The approximation 410 is an example.
[0214] Exact search 720 by Figure 2 The exact 220 is used as an example. 730 is calculated by Figure 3 The calculation 320 is taken as an example. The access 740 is performed by Figure 4 Access 420 is taken as an example.
[0215] Depending on usage requirements, other partitions of the components schematically shown in the figures, couplings between components, and capabilities and / or capacities of the components, as well as other additional components, may be considered.
[0216] Computing SSD Systems
[0217] Figure 8 Schematic diagram of an example of a hardware system with a computing SSD is shown, such as a computing SSD system 800. The system includes hardware blocks CPU 810, GPU 820, RAM 830, computing SSD 840, traditional SSD 850, HDD 860, and I / O 870, which are all coupled via a hardware block bus / interface 880.
[0218] Computing SSD 840 includes Figure 7 One or more instances of SSD 700 are used for computing.
[0219] CPU 810 includes one or more processing units, such as any combination of hardware units capable of executing programmed instructions, microprocessors, signal processors, AI processors, and the like. The one or more processing units optionally include one or more internal registers (some of which are optionally architecturally visible), one or more caches, and / or one or more internal memories (e.g., related to buffering and / or merging), as represented by registers, caches, and internal memories 812.
[0220] GPU 820 includes one or more processing units, such as any combination of units, capable of accelerating processing for relatively highly parallel processing such as graphics processing, signal processing, and / or AI processing. Similar to registers, caches, and internal memory 812 of CPU 810, one or more processing units optionally include one or more internal registers (some of which are optionally architecturally visible), one or more caches, and / or one or more internal memories (e.g., related to buffering and / or merging), as represented by registers, caches, and internal memory 822.
[0221] RAM 830 includes one or more storage elements for storing instructions and / or data, and its data volume is larger than the internal storage of CPU 810 and / or GPU 820. RAM 830 is implemented, for example, by non-volatile memory elements such as DRAMs and / or SRAMs.
[0222] Conventional SSD 850 includes one or more storage elements, such as flash-based storage elements, for storage of instructions and / or data, which may be selectively accessed with less latency than HDD 860 .
[0223] HDD 860 includes one or more storage elements, such as rotation-based magnetic and / or optical non-volatile storage elements (eg, platters) for storage of instructions and / or data, optionally capable of storing a greater amount of data than conventional SSD 850 .
[0224] I / O 870 includes components that can connect any combination of CPU 810, GPU 820, RAM 830, computing SSD 840, conventional SSD 850, and / or HDD 860 to external components of computing SSD system 800. Example external components include mass storage devices, local or wide area networks (such as the Internet), human interface components (such as keyboards, mice, and / or monitors), and other components that provide capabilities for extending and / or enhancing capabilities not provided by computing SSD system 800.
[0225] The bus / interface 880 enables communication between components coupled thereto (e.g., the CPU 810, GPU 820, RAM 830, computing SSD 840, conventional SSD 850, HDD 860, and / or I / O 870). The I / O 870 may include one or more serial and / or parallel channels in various ways, as well as optional protocol conversion and / or adaptation capabilities to enhance communication between components coupled thereto.
[0226] Conceptually, the various storage elements in the computing SSD system 800 comprise a memory hierarchy, for example, to reduce overall instruction and / or data access time, to reduce overall consumption in instruction and / or data storage, and to reduce power consumption associated with storage capacity. For example, the registers, caches, and internal memory 812 of the CPU 810 and the registers, caches, and internal memory 822 of the GPU 820 collectively comprise a top level of the memory hierarchy. The memory hierarchy further comprises (from high to low level) RAM 830, conventional SSD 850, HDD 860, and optional storage accessible via I / O 870 (e.g., website information accessible via the Internet). In an example, higher levels of the memory hierarchy have lower latency and lower capacity than lower levels, for example, the registers, caches, and internal memory 812 and the registers, caches, and internal memory 822 have lower access latency and lower storage capacity than the RAM 830. RAM 830 has lower access latency and / or lower storage capacity than traditional SSD 850, etc.
[0227] In a first variation of the example, the computing SSD 840 includes a layer of memory hierarchy between the RAM 830, the conventional SSD 850 and / or the HDD 860, bridging the gap in access latency and / or storage capacity therebetween. In a second variation of the example, any one or more of the registers, caches and internal memory 812, the registers, caches and internal memory 822, the RAM 830, the conventional SSD 850, the HDD 860 and / or the storage accessed through the I / O 870 are enhanced by components based on the technology of the computing SSD 840 to reduce access latency and / or increase storage capacity. In other examples, multiple combinations of SCM, NVDIMM, CXL memory, SSD and / or DRAM-like storage are implemented using the technology of the computing SSD 840. In yet another example, the computational SSD 840 can reduce processing load (eg, on the CPU 810 and / or GPU 820 ) and / or reduce traffic on the bus / interface 880 by performing local processing.
[0228] Other partitions of the components, couplings between components, and capabilities and / or capacities of the components schematically shown in the figures, as well as additional components, are contemplated as required for use.
[0229] Computing SSD Additional Information
[0230] Figure 2 , Figure 3 as well as Figure 4The schematic diagram shows a technique that can be applied to the architecture of computing SSDs. Other techniques can also be applied, for example based on different memory technologies.
[0231] Example memory technologies applicable to memory arrays of computing SSDs as described herein include floating gate, split gate, SONOS, floating dot memory, DRAM, DRAM-like (e.g., 2TOC), FeFET, and any memory technology compatible with searching through word lines and bit lines. Example SONOS memory technology (sometimes referred to as charge capture memory) uses an insulating layer (e.g., silicon nitride) with traps to capture and retain charge ejected from a channel. Example floating point memory technology conceptually uses floating silicon nanodots, or embedded floating silicon nanodots, to replace the floating gate in a polysilicon gate. Example 2TOC memory technology uses parasitic capacitance of a read transistor to store charge, rather than using an explicit storage capacitor. Example FeFET memory technology uses permanent electric field polarization of a ferroelectric material embedded between a gate and a source-gate conduction region to store information. Example memory structures applicable to memory arrays of computing SSDs include two-dimensional structures (e.g., 2D flash structures) and three-dimensional structures (e.g., 3D flash structures). Example array architectures of memory arrays that may be used in computing SSDs include a NOR / OR type array architecture and an AND / NAND type array architecture.
[0232] It is to be understood that although the present invention has been disclosed above in the form of implementations, variations, embodiments and examples, they are not intended to limit the present invention. A person skilled in the art in the art to which the present invention belongs may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the scope of the attached claims.
Claims
1. A method of operating a memory system, comprising: Performing a first sensing to sense a first portion of a plurality of memory strings of a memory array, the first sensing being performed according to a plurality of first voltages driving a plurality of word lines of the memory array and according to a plurality of preset operating conditions of the first portion of the memory strings; performing a second sensing to sense a second portion of the memory strings of the memory array, the second sensing being performed based on a plurality of second voltages driving the word lines of the memory array and based on a plurality of dynamic operating conditions of the second portion of the memory strings; as well as providing a result of the second sensing; The second voltages are generated based on the result of the first sensing.
2. The method of operating a memory system according to claim 1, wherein the dynamic operating conditions are generated by operating the plurality of bit line circuit terminals of the second portion of the memory strings according to a dynamic value. 3 . The method of operating a memory system according to claim 2 , wherein the second sensing comprises counting a number of approximate matches between a plurality of values stored in the second portion of the memory strings and the dynamic value. 4 . The method of operating a memory system according to claim 2 , wherein the second sensing comprises summing a plurality of currents of the second portion of the memory strings. 5 . The method of operating a memory system according to claim 4 , wherein the dynamic value is an analog value, the values stored in the second portion of the memory strings are analog values, and the summing is performed according to an analog method. 6 . The method of operating a memory system according to claim 5 , wherein the second sensing comprises scaling and then summing the currents of the second portion of the memory strings.
7. The method of operating a memory system according to claim 1, wherein the dynamic operating conditions are based on a dynamic value and a mask value such that the dynamic value can be compared to any value stored in the second portion of the memory strings.
8. The method of operating a memory system according to claim 1, wherein the dynamic operating conditions are based on a dynamic value and a mask value such that the dynamic value cannot match any value stored in any portion of the second portion of the memory strings.
9. The method for operating a memory system according to claim 1, wherein the result of the second sensing represents a multiplication-accumulation operation, a first operand of the multiplication-accumulation operation is a dynamic value, and the dynamic value is determined according to a dynamic operation in these dynamic operating conditions, and a second operand of the multiplication-accumulation operation corresponds to a plurality of values after the second portion of the memory strings are programmed.
10. The method of operating a memory system according to claim 1, wherein the dynamic operating conditions are determined based on a dynamic value and a result of the second sensing, the result of the second sensing indicating a search operation for the dynamic value among a plurality of values after the second portion of the memory strings are programmed.
11. A memory system comprising: A memory array comprising a first portion and a second portion of a plurality of memory strings, wherein one or more memory strings of the first portion of the memory strings and one or more memory strings of the second portion of the memory strings each comprise a plurality of series-connected memory devices; a word line circuit having a plurality of terminals, the terminals of the word line circuit being coupled to corresponding control inputs of corresponding columns according to the configuration of the memory strings; a bit line circuit having a plurality of terminals, the terminals of the bit line circuit being coupled to corresponding word line terminals of the memory strings; as well as a sense amplifier circuit having a plurality of terminals, the terminals of the sense amplifier circuit being coupled to corresponding plurality of sense amplifier terminals of the memory strings; wherein the terminals of the bit line circuit coupled to the word line terminals of the first portion of the memory strings are capable of providing a same preset operating condition to the word line terminals of the first portion of the memory strings; wherein the terminals of the bit line circuit coupled to the word line terminals of the second portion of the memory strings are capable of providing corresponding dynamic values to the word line terminals of the second portion of the memory strings; The word line circuit is capable of selectively driving the control inputs according to one of a plurality of first word line control values and a plurality of second word line control values, the first word line control values corresponding to provided values, the second word line control values corresponding to results generated by the sense amplifier circuit based on information provided by the terminals of the sense amplifier coupled to the word line terminals of the first portion of the memory strings.
12. The memory system of claim 11, further comprising a counting circuit coupled to the sense amplifier circuit, capable of counting actual matches between the values stored in the second portion of the memory strings and the corresponding dynamic values. 13 . The memory system of claim 11 , further comprising a summing circuit coupled to the sense amplifier circuit, the summing circuit being capable of summing a plurality of currents of the second portion of the memory strings.
14. The memory system of claim 13, wherein the corresponding dynamic values are analog values, the values stored in the second portion of the memory strings are analog values, and the summing circuit is operable according to an analog method.
15. The memory system of claim 14, wherein the summing circuit is further capable of scaling the currents before summing.
16. The memory system of claim 11, further comprising one or more processors capable of accessing the memory array.
17. The memory system of claim 11, wherein the terminals of the bit line circuit coupled to the word line terminals of the second portion of the memory strings are further capable of providing the same preset operating conditions to the word line terminals of the second portion of the memory strings, and further comprising a page cache circuit coupled to the sense amplifier circuit, the page cache circuit being capable of caching the results of a page read out of the multiple values stored in the second portion of the memory strings.
18. A memory system comprising: A memory array comprising a first portion and a second portion of a plurality of memory strings, one or more memory strings of the first portion of the memory strings and one or more memory strings of the second portion of the memory strings comprising a plurality of memory devices connected in series; a word line circuit having a plurality of terminals, the terminals of the word line circuit being coupled to corresponding control inputs of corresponding columns according to the configuration of the memory strings; A bit line circuit has a plurality of terminals, coupled to the corresponding plurality of word line terminals of the memory strings, and capable of providing a same preset operating condition to the word line terminals; as well as a sense amplifier circuit having a plurality of terminals coupled to corresponding plurality of sense amplifier terminals of the memory strings; The word line circuit is capable of selectively driving the control inputs according to one of a plurality of first word line control values corresponding to provided values and a plurality of second word line control values corresponding to results generated by the sense amplifier circuit based on information provided by the terminals of the sense amplifier coupled to the word line terminals of the first portion of the memory strings.
19. The memory system of claim 18, wherein the provided value comprises a key code and a mask, and the selective driving of the control inputs comprises selectively driving corresponding pairs of the control inputs, determined according to a plurality of codes respectively from corresponding bits of the key code and a corresponding bit of the mask, a first code responding to the provided value of 0 selectively matching a stored value of 0, a second code responding to the provided value of 1 selectively matching a stored value of 1, a third code responding to the provided value of 0 or 1 selectively matching a stored value of 0 or 1, and a fourth code responding to the provided value selectively failing to match any stored value.
20. The memory system of claim 18, further comprising one or more processors capable of accessing a computing solid state drive (SSD) comprising at least one memory device having the memory array.
