Multi-bit input acceleration method and device based on time domain storage calculation segmented array structure

Through the method of parallel execution and charge sharing of time domain storage and calculation segmented array structure, the problem of large calculation interval of time domain storage and calculation integrated when multi-bit input is solved, energy efficiency and computing power are improved, and high-precision calculation is achieved .

CN118689443APending Publication Date: 2024-09-24TSINGHUA UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410803719.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

When the existing time-domain storage and calculation integrated solution handles multi-bit input, the calculation interval of each 1 bit is large, resulting in a decrease in energy efficiency and computing power.

Method used

Using the time domain storage and calculation segmented array structure, the target time domain storage operator array is connected in parallel and the calculation is performed through the TQC circuit, the time domain is converted into the charge domain, and the accumulation between segments is completed through charge sharing, and finally the modulus converter for quantization.

Benefits of technology

It improves the energy efficiency and computing power of time-domain storage and calculation under multi-bit input, improves system throughput, saves area overhead, and ensures calculation accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118689443A
    Figure CN118689443A
Patent Text Reader

Abstract

The invention relates to the technical field of time domain storage and calculation integration, in particular to a multi-bit input acceleration method and device based on a time domain storage and calculation segmented array structure, and the method comprises the steps: constructing the time domain storage and calculation segmented array structure; parallel triggering is carried out on each section of target time domain storage operator array in the time domain storage operator segmented array structure through the same kep signal, so that the calculation process of each section of target time domain storage operator array is completed in parallel, a plurality of local time domains are obtained, and the results of the plurality of local time domains are respectively transferred to a charge domain; cDAC top plates of the TQC circuits in the time domain storage segmentation array structure are connected to share a plurality of local charge domains; and accumulating the plurality of local charge domains, and quantizing the accumulated charge domains by using an analog-to-digital converter. Therefore, the problems that when an existing time domain storage and calculation integrated system processes multi-bit input, the calculation interval of each bit is large, and therefore energy efficiency and calculation power of multi-bit input calculation are improved are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of time-domain storage and computing integration technology, and in particular to a multi-bit input acceleration method and device based on a time-domain storage and computing segmented array structure. Background Art

[0002] As a new computing domain paradigm, the time domain storage and computing solution has the advantages of high energy efficiency because it is not affected by read interference, has no static current, and has low peripheral circuit power consumption. In addition, it is not affected by IR drop and the time domain accumulation guarantees strict linearity, which makes it have high calculation accuracy. This solution has great potential in high-energy-efficiency application scenarios such as edge computing, IoT applications, and portable devices.

[0003] However, the related time-domain storage-computation integrated solution will be limited by the response speed of the array as the input parallelism of the array increases, which leads to a large delay when the scheme processes multi-bit inputs. This is mainly because the array takes time to transmit the rising edge, especially when pursuing large input parallelism, this time consumption becomes more significant. This leads to the fact that in order to make the time-domain storage-computation integrated solution also have high energy efficiency in the task of processing multi-bit input data, it becomes crucial to compress this delay.

[0004] like Figure 1 and 2 As shown, it can be seen that after the entire delay chain is triggered by a rising edge keep, a large delay is required before there is a response at the output end. According to the description in the related technology "delay buffer unit and its operation method, computing device and its operation method", it can be seen that what really carries the matrix-vector multiplication information is the relative delay of the differential output rising edge, that is, the time difference of the rising edge of DOP / DON in the figure. The relative delay difference is sampled by the subsequent TDC and quantized into a digital output result. The absolute delay from the rising edge of keep to the earlier rising edge in DOP / DON does not contain any information. However, the selection of the high-level time of keep needs to ensure that the rising edge runs through the entire delay chain, which results in a longer keep cycle. Each keep cycle can only load a 1-bit input vector, which results in a larger calculation interval for each 1 bit when processing multi-bit inputs, thereby weakening the energy efficiency and computing power of the scheme under multi-bit input calculations. Summary of the invention

[0005] The present invention provides a multi-bit input acceleration method and device based on a time-domain storage and computing segmented array structure to solve the problem that when the existing time-domain storage and computing integrated system processes multi-bit input, the calculation interval of each bit is large, thereby weakening the energy efficiency and computing power of the multi-bit input calculation.

[0006] The first aspect of the present invention provides a time domain storage and calculation segmented array structure, including: a multi-segment target time domain storage and calculation subarray and a plurality of TQC circuits, wherein:

[0007] Each target time domain storage operator array is connected in parallel to each other, and each target time domain storage operator array is connected to a TQC circuit to execute the calculation process in a multi-segment parallel form to obtain multiple local time domains, and transfer the multiple local time domains to the charge domain respectively.

[0008] Optionally, each TQC circuit includes a first current source, a second current source and a first sampling capacitor, wherein one end of the first current source is connected in series with the second current source, and the other end of the first current source is grounded, and the first sampling capacitor is connected in parallel with the first current source, and one end of the first sampling capacitor is grounded.

[0009] Optionally, a second sampling capacitor and a conversion switch, wherein the second sampling capacitor is connected in parallel with the first sampling capacitor, and the conversion switch is connected to the second sampling capacitor and the first sampling capacitor respectively.

[0010] The second aspect of the present invention provides a single-device form determination method for a time-domain storage and computing segmented array structure, comprising the following steps: connecting each segment of the target time-domain storage and computing subarray to a form detection circuit, wherein the form detection circuit is two logic gates; and determining whether the memristor in the selected unit in each segment of the target time-domain storage and computing subarray is successfully formed by triggering the form detection circuit.

[0011] The third aspect of the present invention provides a multi-bit input acceleration method based on a time-domain storage and calculation segmented array structure, comprising the following steps:

[0012] Construct a time-domain storage and computing segmented array structure;

[0013] Triggering each target time domain storage operator array in the time domain storage operator segmented array structure in parallel through the same keep signal, so as to complete the calculation process of each target time domain storage operator array in parallel, obtain multiple local time domains, and convert the multiple local time domains into multiple local charge domains;

[0014] Connecting the CDAC top plates of each TQC circuit in the time domain storage and computing segmented array structure to share the multiple local charge domains;

[0015] The multiple local charge domains are accumulated, and the accumulated charge domains are quantized using an analog-to-digital converter.

[0016] Optionally, the constructing of the time-domain storage and computing segmented array structure includes:

[0017] Determine the number of segments according to a sampling period of a preset analog-to-digital converter and the number of channels of the preset analog-to-digital converter involved in interleaved sampling;

[0018] Segment the target time-domain storage and computing array according to the number of segments to obtain multiple segments of target time-domain storage and computing subarrays;

[0019] A TQC circuit is configured for each segment of the target time-domain storage and operation subarray to construct the time-domain storage and operation segmented array structure.

[0020] A fourth aspect of the present invention provides a multi-bit input acceleration device based on a time-domain storage and calculation segmented array structure, comprising:

[0021] A construction module is used to construct a time-domain storage and computing segmented array structure;

[0022] A sampling module, used for triggering each target time domain storage operator array in the time domain storage operator segmented array structure in parallel through the same keep signal, so as to complete the calculation process of each target time domain storage operator array in parallel, and convert multiple local time domains into multiple local charge domains;

[0023] A sharing module, used to connect the CDAC top plates of each TQC circuit in the time domain storage and calculation segmented array structure to share the multiple local charge domains;

[0024] The accumulation quantization module is used to accumulate the multiple local charge domains and quantize the accumulated charge domains using an analog-to-digital converter.

[0025] A fifth aspect of the present invention provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement a multi-bit input acceleration method based on a time-domain storage and computation segmented array structure as described in the above embodiment.

[0026] A sixth aspect of the present invention provides a computer program product, which, when executed by a processor, implements the multi-bit input acceleration method based on a time-domain storage and calculation segmented array structure as described above.

[0027] The seventh aspect of the present invention provides a computer-readable storage medium, which stores a computer program. When the program is executed by a processor, it implements the multi-bit input acceleration method based on the time-domain storage and calculation segmented array structure as described above.

[0028] The multi-bit input acceleration method and device based on the time-domain storage and computing segmented array structure proposed in the embodiment of the present invention converts the time domain shared after the parallel execution of each segment of the target time-domain storage and computing subarray into a charge domain through the TQC circuit, and then completes the accumulation between segments through charge sharing, and finally completes the final quantization by the analog-to-digital converter ADC, thereby improving the energy efficiency and computing power of the time-domain storage and computing integration in multi-bit input; dual channels and capacitor sharing can also be used to improve system throughput while saving area overhead; the linearity of accumulation and quantization can also be guaranteed through capacitor matching of the segmented TQC, thereby ensuring the calculation accuracy of the time-domain storage and computing integration in multi-bit input.

[0029] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0031] Figure 1 A schematic diagram of the working principle of the original time-domain storage-computation integration solution provided in an embodiment of the present invention;

[0032] Figure 2 A schematic diagram of the working sequence of the original time-domain storage-computation integration solution provided in an embodiment of the present invention;

[0033] Figure 3 A flowchart of a multi-bit input acceleration method based on a time-domain storage and calculation segmented array structure provided by an embodiment of the present invention;

[0034] Figure 4 A schematic diagram of a time-domain storage and computing segmented array structure provided in an embodiment of the present invention;

[0035] Figure 5 A schematic diagram of the single device verification principle provided by an embodiment of the present invention;

[0036] Figure 6 A timing description of device form condition monitoring provided by an embodiment of the present invention;

[0037] Figure 7 A single device verification circuit diagram of a time domain storage and calculation segmented array structure provided by an embodiment of the present invention;

[0038] Figure 8 A schematic diagram of parallel sampling of a segmented array in the sampling phase - TQC provided by an embodiment of the present invention;

[0039] Fig. 9A schematic diagram of the cumulative quantization phase - charge sharing and ADC quantization of a segmented array provided in an embodiment of the present invention;

[0040] Fig.10 A schematic diagram of a dual-channel structure provided by an embodiment of the present invention;

[0041] Fig.11 A block diagram of a multi-bit input acceleration device based on a time-domain storage and calculation segmented array structure provided by an embodiment of the present invention;

[0042] Fig.12 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0043] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0044] The following describes a multi-bit input acceleration method and device based on a time-domain storage and calculation segmented array structure according to an embodiment of the present invention with reference to the accompanying drawings.

[0045] Figure 3 A flowchart of a multi-bit input acceleration method based on a time-domain storage and computation segmented array structure provided in an embodiment of the present invention.

[0046] like Figure 3 As shown, the multi-bit input acceleration method based on the time-domain storage and calculation segmented array structure includes the following steps:

[0047] In step S301, a time-domain storage and computation segment array structure is constructed.

[0048] In some embodiments, constructing a time-domain storage and computation segmented array structure includes:

[0049] Determine the number of segments according to a sampling period of a preset analog-to-digital converter and the number of channels of the preset analog-to-digital converter involved in interleaved sampling;

[0050] Segment the target time-domain storage and computing array according to the number of segments to obtain multiple segments of the target time-domain storage and computing subarray;

[0051] A TQC circuit is configured for each segment of the target time-domain storage and operation subarray to construct a time-domain storage and operation segmented array structure.

[0052] In the actual implementation process, the embodiment of the present invention is mainly based on the sampling period of the analog-to-digital converter and the number of interleave channels of the preset analog-to-digital converter for interleaved sampling (such as Figure 1 and2 The number of segments N is determined by the two-way interleave in the ADC. It is sufficient to ensure that the selected number of segments N makes the keep period it limits greater than and as close as possible to PADC*interleave, where PADC represents the quantization period of ADC, that is, Figure 1 The interval of the CONV signal.

[0053] like Figure 4 As shown, the target time domain storage array is segmented according to the segment number N to obtain N segments of target time domain storage subarrays, and each segment of the target time domain storage subarray is equipped with a separate TQC circuit to perform the calculation process in multiple segments in parallel, and transfer the obtained multiple local time domains to the charge domain respectively. Among them, each TQC circuit may include a first current source, a second current source and a first sampling capacitor, wherein one end of the first current source is connected in series with the second current source, and the other end of the first current source is grounded, and the first sampling capacitor is connected in parallel with the first current source, and one end of the first sampling capacitor is grounded. Each TQC circuit may also include a second sampling capacitor and a conversion switch, the second sampling capacitor is connected to the first sampling capacitor, and the conversion switch is connected to the second sampling capacitor and the first sampling capacitor respectively, and one of the capacitors can be selected to connect the differential current source to complete the integration.

[0054] It should be noted that since the sampling capacitors in the TQC circuit act as both the subsequent adding module (charge sharing) and the quantization module, the matching of the capacitors of different segments of the same row of TQCs needs to be considered in the layout design stage to ensure the linearity of the calculation.

[0055] Furthermore, the time domain storage and calculation integrated solution of the structure in "based on the delay buffer unit and its operation method, the computing device and its operation method" in the related art requires a variable discharge resistor to modulate the delay of the rising edge. However, when the device is in an unformed state, the charge on the unit capacitor cannot be discharged through the device to generate a corresponding rising edge. In the delay buffer unit and its operation method, the computing device and its operation method, the identification method for the unformed device is whether the output rising edge of the entire delay chain can be detected. If it cannot be detected, the output of TDC is the maximum and minimum value (for example, 8-bit TDC is ±127). The codeword of TDC quantized by the relative delay caused by the resistance value after the device is formed is small (the resistance value of the device after formation is <500k, the corresponding time is <2ns, and the TDC digital code quantization result is <20). Therefore, in the time domain storage and calculation segmented array structure proposed in the embodiment of the present invention, if an unformed device appears in a certain segment, its result will not have a significant impact on the overall result. Therefore, it is necessary to equip each segment with a device unformed monitoring circuit, but the overhead of the monitoring circuit needs to be small.

[0056] like Figure 5and 6 As shown, assuming that the unit marked in red is used as a verification unit, if it is successfully formed, the rising edge of DOP / DON can be observed simultaneously during the keep high level period, and the TR signal composed of the logical AND of the two signals will also produce a rising edge, triggering the output FLAG of the form detection circuit (DFFSQ) to produce a low level, indicating that the device is successfully formed; on the contrary, if the device is not successfully formed, DON will not produce a rising edge, the TR signal will not appear at a high level, and will not trigger FLAG to produce a low level, indicating that the device is not successfully formed.

[0057] Therefore, if Figure 7 As shown, in order to realize the device form monitoring function, the embodiment of the present invention connects a form detection circuit to each target time domain storage operator array, and the hardware overhead of the form detection circuit is only two logic gates; the form detection circuit is triggered to determine whether the memristor in the selected unit in each target time domain storage operator array is successfully formed. Specifically, the from process is: based on the triggered form detection circuit, the keep level signal, DOP trigger edge and DON trigger edge of the current target time domain storage operator array are first obtained. When the keep level signal is high and the DOP trigger edge and the DON trigger edge are both rising edges, a low level is output to determine that the memristor in the selected unit in the current target time domain storage operator array is successfully formed. On the contrary, when the keep level signal is high or low and either or both of the DOP trigger edge and the DON trigger edge are falling edges, no output is given to determine that the memristor in the selected unit in the current target time domain storage operator array is not successfully formed.

[0058] In step S302, each target time domain storage operator array in the time domain storage operator segmented array structure is triggered in parallel through the same keep signal to complete the calculation process of each target time domain storage operator array in parallel, obtain multiple local time domains, and convert the multiple local time domains into multiple local charge domains.

[0059] In the actual implementation process, Figure 8 As shown, by using the same keep signal to trigger each target time domain storage operator array in the time domain storage segmented array structure in parallel, the calculation process of each target time domain storage operator array is executed in parallel, and the time domain obtained after each target time domain storage operator array is completed in parallel is converted to the charge domain. In this way, the calculation time of the array is changed from being limited by the absolute delay of the entire delay chain to being limited by the absolute delay of a small section of the delay chain. In this way, the keep cycle is shortened, thereby accelerating the speed of the array processing multi-bit input data.

[0060] In step S303, the CDAC top plates of each TQC circuit in the time-domain storage and computation segmented array structure are connected to share multiple local charge domains.

[0061] In step S304, a plurality of local charge domains are accumulated, and the accumulated charge domains are quantized using an analog-to-digital converter.

[0062] In the actual implementation process, Fig. 9 As shown, after all TQC circuits complete the sampling of the relative delay of the corresponding array segment, the CDAC top plates of the TQC circuits corresponding to the time-domain storage and calculation segmented array structure are connected, thereby completing charge sharing and saving area overhead, and completing the accumulation operation between different segments. The CDAC top plate voltage after charge sharing is the result of the vector inner product of the row input and the weight:

[0063]

[0064] Among them, The voltage corresponding to each matrix-vector multiplication result is represented, and then the voltage is quantized through the subsequent digital-to-analog converter ADC.

[0065] In addition, Fig.10 As shown, the TQC circuit of each target time-domain storage operator array can also use two sets of CDAC to form a dual-channel structure, and alternately execute the time sampling process and the segment accumulation / quantization process on C1 / C2 in each keep cycle, so that sampling and quantization can be performed in each keep cycle, thereby improving the system throughput.

[0066] According to the multi-bit input acceleration method based on the time-domain storage and computing segmented array structure proposed in an embodiment of the present invention, the time domain shared after the parallel execution of each segment of the target time-domain storage and computing subarray is converted into a charge domain through the TQC circuit, and then the accumulation between segments is completed through charge sharing, and finally the final quantization is completed by the analog-to-digital converter ADC, thereby improving the energy efficiency and computing power of the time-domain storage and computing integration in multi-bit input; dual channels and capacitor sharing can also be used to improve system throughput while saving area overhead; the capacitor matching of the segmented TQC can also be used to ensure the linearity of accumulation and quantization, thereby ensuring the calculation accuracy of the time-domain storage and computing integration in multi-bit input.

[0067] Next, a multi-bit input acceleration device based on a time-domain storage and calculation segmented array structure proposed in accordance with an embodiment of the present invention will be described with reference to the accompanying drawings.

[0068] Fig.11 A block diagram of a multi-bit input acceleration device based on a time-domain storage and calculation segmented array structure provided in an embodiment of the present invention.

[0069] like Fig.11 As shown, the multi-bit input acceleration device 110 based on the time-domain storage and calculation segmented array structure includes: a construction module 1101, a sampling module 1102, a sharing module 1103 and an accumulation quantization module 1104.

[0070] Among them, the construction module 1101 is used to construct a time domain storage and calculation segmented array structure. The sampling module 1102 is used to trigger each target time domain storage operator array in the time domain storage and calculation segmented array structure in parallel through the same keep signal, so as to complete the calculation process of each target time domain storage operator array in parallel and convert multiple local time domains into multiple local charge domains. The sharing module 1103 is used to connect the CDAC top plate of each TQC circuit in the time domain storage and calculation segmented array structure to share multiple local charge domains. The accumulation quantization module 1104 is used to accumulate multiple local charge domains and quantize the accumulated charge domains using an analog-to-digital converter.

[0071] It should be noted that the aforementioned explanation of the embodiment of the multi-bit input acceleration method based on the time-domain storage and computing segmented array structure is also applicable to the multi-bit input acceleration device based on the time-domain storage and computing segmented array structure of this embodiment, and will not be repeated here.

[0072] According to the multi-bit input acceleration device based on the time-domain storage and computing segmented array structure proposed in the embodiment of the present invention, the time domain shared after the parallel execution of each segment of the target time-domain storage and computing subarray is converted into a charge domain through the TQC circuit, and then the accumulation between segments is completed through charge sharing, and finally the final quantization is completed by the analog-to-digital converter ADC, thereby improving the energy efficiency and computing power of the time-domain storage and computing integration in multi-bit input; dual channels and capacitor sharing can also be used to improve system throughput while saving area overhead; the linearity of accumulation and quantization can also be guaranteed by capacitor matching of the segmented TQC, thereby ensuring the calculation accuracy of the time-domain storage and computing integration in multi-bit input.

[0073] Fig.12 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. The electronic device may include:

[0074] A memory 1201 , a processor 1202 , and a computer program stored in the memory 1201 and executable on the processor 1202 .

[0075] When the processor 1202 executes the program, the multi-bit input acceleration method based on the time-domain storage and calculation segmented array structure provided in the above embodiment is implemented.

[0076] Furthermore, the electronic device further comprises:

[0077] The communication interface 1203 is used for communication between the memory 1201 and the processor 1202 .

[0078] The memory 1201 is used to store computer programs that can be executed on the processor 1202 .

[0079] The memory 1201 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0080] If the memory 1201, the processor 1202 and the communication interface 1203 are implemented independently, the communication interface 1203, the memory 1201 and the processor 1202 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.12 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0081] Optionally, in a specific implementation, if the memory 1201, the processor 1202 and the communication interface 1203 are integrated on a chip, the memory 1201, the processor 1202 and the communication interface 1203 can communicate with each other through an internal interface.

[0082] The processor 1202 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.

[0083] An embodiment of the present invention also provides a computer program product, which, when executed by a processor, implements the multi-bit input acceleration method based on the time-domain storage and calculation segmented array structure as described above.

[0084] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the multi-bit input acceleration method based on a time-domain storage and calculation segmented array structure as described above.

[0085] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0086] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "N" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0087] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.

[0088] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways as necessary and then storing it in a computer memory.

[0089] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0090] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0091] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0092] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. A time-domain storage and computing segmented array structure, characterized in that: include: A multi-segment target time domain storage operator array and multiple TQC circuits, wherein: Each target time domain storage operator array is connected in parallel to each other, and each target time domain storage operator array is connected to a TQC circuit to execute the calculation process in a multi-segment parallel form to obtain multiple local time domains, and transfer the multiple local time domains to the charge domain respectively.

2. The time-domain storage and computation segmented array structure according to claim 1, characterized in that: Each TQC circuit includes a first current source, a second current source and a first sampling capacitor, wherein one end of the first current source is connected in series with the second current source, and the other end of the first current source is grounded, and the first sampling capacitor is connected in parallel with the first current source, and one end of the first sampling capacitor is grounded.

3. The time-domain storage and computation segmented array structure according to claim 2, characterized in that: Each TQC circuit further includes a second sampling capacitor and a conversion switch, wherein the second sampling capacitor is connected in parallel with the first sampling capacitor, and the conversion switch is connected to the second sampling capacitor and the first sampling capacitor respectively.

4. A single device form determination method for a time domain storage and calculation segmented array structure, characterized in that: Using the time-domain storage and computing segmented array structure described in any one of claims 1 to 3, the method comprises the following steps: Connect each target time domain storage operator array to a form detection circuit, wherein the form detection circuit is two logic gates; By triggering the form detection circuit, it is determined whether the memristor in the selected unit in each target time-domain storage operator array is formed successfully.

5. A multi-bit input acceleration method based on a time-domain storage and calculation segmented array structure, characterized in that: The time-domain storage and computing segmented array structure according to any one of claims 1 to 3 is adopted, wherein the method comprises the following steps: Construct a time-domain storage and computing segmented array structure; Triggering each target time domain storage operator array in the time domain storage operator segmented array structure in parallel through the same keep signal, so as to complete the calculation process of each target time domain storage operator array in parallel, obtain multiple local time domains, and convert the multiple local time domains into multiple local charge domains; Connecting the CDAC top plates of each TQC circuit in the time domain storage and computing segmented array structure to share the multiple local charge domains; The multiple local charge domains are accumulated, and the accumulated charge domains are quantized using an analog-to-digital converter.

6. The multi-bit input acceleration method based on the time-domain storage and calculation segmented array structure according to claim 5 is characterized in that: The step of constructing a time-domain storage and computing segmented array structure includes: Determine the number of segments according to a sampling period of a preset analog-to-digital converter and the number of channels of the preset analog-to-digital converter involved in interleaved sampling; Segment the target time-domain storage and computing array according to the number of segments to obtain multiple segments of target time-domain storage and computing subarrays; A TQC circuit is configured for each segment of the target time-domain storage and operation subarray to construct the time-domain storage and operation segmented array structure.

7. A multi-bit input acceleration device based on a time-domain storage and calculation segmented array structure, characterized in that: include: A construction module is used to construct a time-domain storage and computing segmented array structure; A sampling module, used for triggering each target time domain storage operator array in the time domain storage operator segmented array structure in parallel through the same keep signal, so as to complete the calculation process of each target time domain storage operator array in parallel, and convert multiple local time domains into multiple local charge domains; A sharing module, used to connect the CDAC top plates of each TQC circuit in the time domain storage and calculation segmented array structure to share the multiple local charge domains; The accumulation quantization module is used to accumulate the multiple local charge domains and quantize the accumulated charge domains using an analog-to-digital converter.

8. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement a multi-bit input acceleration method based on a time-domain storage and computation segmented array structure as described in any one of claims 5 to 6.

9. A computer program product, characterized in that When the computer program / instruction is executed by a processor, the multi-bit input acceleration method based on the time-domain storage and calculation segmented array structure described in any one of claims 5-6 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement a multi-bit input acceleration method of a time-domain storage and calculation segmented array structure as described in any one of claims 5-6.