Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SYSTEM, METHOD, AND COMPUTER DEVICE FOR TRANSISTOR-BASED NEURAL NETWORKS
Document Type and Number:
WIPO Patent Application WO/2022/232947
Kind Code:
A1
Abstract:
Provided are computer systems, methods, and devices for operating an artificial neural network. The system includes neurons. The neurons include a plurality of synapses including charge-trapped transistors for processing input signals, an accumulation block for receiving drain currents from the plurality of synapses, the drain currents produced as an output of multiplication from the plurality of synapses, the drain currents calculating an amount of voltage multiplied by time, a capacitor for accumulating charge from the drain currents to act as short-term memory for accumulated signals, a discharge pulse generator for generating an output signal by discharging the accumulated charge during a discharging cycle, and a comparator for comparing an input voltage with a reference voltage. The comparator produces a first output if the input voltage is above the reference voltage and produces a second output if the input voltage is below the reference voltage.

Inventors:
GOSSON JOHN LINDEN (CA)
LEVINSON ROGER (CA)
Application Number:
PCT/CA2022/050717
Publication Date:
November 10, 2022
Filing Date:
May 06, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
BLUMIND INC (CA)
International Classes:
G06N3/04; G06N3/063; G11C21/00; H03H11/00
Domestic Patent References:
WO2019100036A12019-05-23
Foreign References:
US20200364548A12020-11-19
US20200211648A12020-07-02
US20170329575A12017-11-16
US20200349421A12020-11-05
Attorney, Agent or Firm:
HINTON, James W. (CA)
Download PDF:
Claims:
What is claimed is:

1. A system for operating an artificial neural network (ANN), the system comprising neurons, wherein each neuron comprises: a plurality of synapses comprising charge-trapped transistors (CTTs) for processing input signals, the CTTs supplying synaptic weights; an accumulation block for receiving drain currents from the plurality of synapses, wherein the drain currents are produced as an output of multiplication from the plurality of synapses; a capacitor for accumulating charge from the drain currents to act as short-term memory for accumulated signals; a discharge pulse generator for generating an output signal by discharging the accumulated charge during a discharging cycle; and a comparator for comparing the output signal as an input voltage with a reference voltage, wherein the comparator produces a first output if the input voltage is above the reference voltage, and wherein the comparator produces a second output if the input voltage is below the reference voltage.

2. The system of any one of claims 1 to 2, wherein the accumulation block comprises: a storage device for receiving the drain currents from the plurality of synapses; a plurality of multipliers for storing the synaptic weights and performing multiplication of the synaptic weights by the input signals; and an accumulator for summing the output of the multiplication from the plurality of multipliers to yield accumulated signals.

3. The system of claim 2, wherein the comparator is a threshold inverter quantization (TIQ) comparator comprising a cascade of at least one complementary metal oxide semiconductor (CMOS) inverter, each CMOS inverter comprising a p-channel metal oxide semiconductor (PMOS) transistor and an n-channel metal oxide semiconductor (NMOS) transistor, wherein the reference voltage corresponds to a threshold of the TIQ comparator self-generated by the TIQ comparator, wherein the threshold of the TIQ comparator is adjustable via the PMOS transistor or the NMOS transistor, and wherein the threshold of the TIQ comparator corresponds to a ratio of a strength of the PMOS transistor divided by a strength of the NMOS transistor.

4. The system of claim 2, wherein the drain currents are produced as an output of the multiplication from the plurality of synapses and produce a quantity of charge equal to the product of the input signals and the synaptic weights.

5. The system of any one of claims 2 to 4, wherein the drain currents connect together before connecting to the accumulation block, wherein the accumulation block sums the drain currents, and wherein the sum of the drain currents is transmitted as the accumulated signals to the capacitor for storage.

6. The system of any one of claims 2 to 5, wherein each CTT performs multiplication of the drain currents representing synaptic weight and time as inputs, and wherein all the multiplications are accumulated on the capacitor.

7. The system of any one of claims 2 to 6, wherein the accumulation block sums the drain currents as a wired OR function.

8. The system of any one of claims 2 to 7, wherein a threshold voltage of each CTT is adjusted through programming to store a value of a weight for the corresponding synapse, wherein each CTT comprises a gate to which a voltage pulse is applied, wherein the source of the voltage pulse is at ground, wherein gate-to-source voltage is constant, and wherein the voltage pulse carries information using time.

9. The system of any one of claims 2 to 8, wherein resistance is used to store synaptic weight.

10. The system of claim 9, wherein the resistance is provided by the CTTs.

11 .The system of any one of claims 2 to 10, wherein the plurality of synapses store the synaptic weights in a threshold voltage shift of the CTTs. 12. The system of any one of claims 2 to 12, wherein charge from a first scaled current pulse is accumulated on the capacitor to be used as a control signal.

13. The system of any one of claims 2 to 12, wherein integrated charge in each neuron is proportional to the product of the input signals and the synaptic weights, and wherein the value of the integrated charge remains constant until discharge.

14. The system of any one of claims 2 to 13, wherein the current flowing through the CTTs is mirrored by a current mirror to effect an accumulation of charge on the capacitor to create a voltage proportional to a sum of weighted inputs.

15. The system of any one of claims 2 to 14, wherein the discharge pulse generator is a discharging cycle cascoded current source.

16. The system of any one of claims 2 to 15, wherein the discharge pulse generator further transmits the accumulated signals during accumulation to achieve a subtraction function in the ANN.

17. The system of claim 3, wherein the system comprises a second reference voltage in addition to the reference voltage of the TIQ comparator.

18. The system of claim 3, wherein the system comprises a second reference voltage instead of the reference voltage of the TIQ comparator.

19. The system of any one of claims 2 to 18, wherein the system generates an activation pulse as the output signal.

20. The system of any one of claims 2 to 19, wherein the plurality of synapses receive the input signals, transform a voltage of the input signals into a current, and produce a second scaled current pulse as the output signal.

21. The system of any one of claims 1 to 20 further comprising an apparatus for providing an ephemeral memory structure for retaining information temporarily between layers of the ANN, the apparatus comprising: an inner ring comprising an analog subthreshold delay block for providing asynchronous controllable delay; and an outer ring comprising a plurality of asynchronous counters to support the inner ring; wherein the inner ring and outer ring operate in tandem to achieve efficient short term accurate storage of delay state.

22. The system of claim 2, wherein the ANN comprises: an input layer for receiving input at a neuron; at least one hidden layer for multiplying the input by the synaptic weights to yield a product, adding bias to the product to yield a sum, applying the sum to an activation function, performing the activation function to yield the output signal, and cascading the output signal to a subsequent layer of neurons; and an output layer for providing the output signals; wherein each of the input layer, the at least one hidden layer, and the output layer comprise at least one neuron.

23. The system of any one of claims 1 to 22, wherein a subset of the CTTs are NMOS CTTs.

24. The system of any one of claims 1 to 22, wherein a subset of the CTTs are PMOS CTTs.

25. The system of any one of claims 1 to 24, wherein each CTT comprises a high-k- metal gate, and wherein drain bias is applied during a charge-trapping process.

26. The system of any one of claims 1 to 25, wherein each CTT comprises a gate dielectric comprising an interfacial layer of Si02.

27. The system of claim 26, wherein each gate dielectric comprises an interfacial layer of Si02 and a cascaded HfSiON layer.

28. The system of any one of claims 26 to 27, wherein each CTT applies drain bias during a charge-trapping process to cause other carriers to be stably trapped in the gate dielectric.

29. The system of claim 28, wherein a threshold voltage of each CTT is modulated by an amount of charge trapped in each gate dielectric, wherein each drain bias enhances and stabilizes the charge-trapping process due to enhanced local heating effects, and wherein each threshold voltage of each CTT is shiftable by a controlled amount and encodes a parameter value.

30. The system of claim 29, wherein weight values are programmed by applying gate pulses of varying length at a set programming voltage bias, wherein during positive programming, positive gate voltage pulses are applied, and the threshold voltage shifts in a first direction, and wherein during negative programming, negative pulses are applied, and the threshold voltage shifts in a second direction opposite to the first direction.

31 .The system of any one of claims 25 to 30, wherein constant amplitude pulses are applied to a source voltage of the gate.

32. The system of claim 31 , wherein the constant amplitude pulses are propagated directly to a subsequent layer of the ANN.

33. The system of claim 31 , wherein the constant amplitude pulses are passed through a non-linear function and propagated to a subsequent layer of the ANN.

34. The system of claim 33, wherein the non-linear function is rectified linear unit (ReLU).

35. The system of any one of claims 1 to 34, wherein the first output is higher than the second output.

36. The system of any one of claims 1 to 34, wherein the first output is lower than the second output.

37. A method for an artificial neural network (ANN) comprising neurons, the method comprising: processing input signals via a plurality of charge-trapped transistors (CTTs), the CTTs supplying synaptic weights; producing drain currents as an output of multiplication from the plurality of CTTs; receiving the drain currents from the plurality of CTTs; accumulating charge from the drain currents to act as short-term memory for accumulated signals; generating an output signal by discharging the accumulated charge during a discharging cycle; and com paring an input voltage with a reference voltage at a comparator, the comparator producing a first output if the input voltage is above the reference voltage and producing a second output if the input voltage is below the reference voltage.

38. The method of claim 37, wherein receiving the drain currents from the plurality of the CTTs comprises: receiving the drain currents from the plurality of synapses; storing the synaptic weights and performing multiplication of the synaptic weights by the input signals; and summing the output of the multiplication to yield accumulated signals.

39. The method of any one of claims 37 to 38, wherein the comparator is a threshold inverter quantization (TIQ) comparator, wherein the TIQ comparator comprises a cascade of at least one complementary metal oxide semiconductor (CMOS) inverter, each CMOS inverter comprising a p-channel metal oxide semiconductor (PMOS) transistor and an n-channel metal oxide semiconductor (NMOS) transistor, wherein the reference voltage corresponds to a threshold of the TIQ comparator self-generated by the TIQ comparator, wherein the threshold of the TIQ comparator is adjustable via the PMOS transistor or the NMOS transistor, and wherein the threshold of the TIQ comparator corresponds to a ratio of a strength of the PMOS transistor divided by a strength of the NMOS transistor.

40. The method of claim 39, wherein the input signals are received at the CTTs, wherein a voltage of the input signals is transformed into a current, and wherein a second scaled current pulse is produced as the output signal.

41. The method of any one of claims 39 to 40, wherein the ANN is implemented by: the input layer receiving input; the hidden layer multiplying the input by the synaptic weight to yield a product; the hidden layer adding bias to the product to yield a sum; the hidden layer applying the sum to an activation function; the hidden layer performing the activation function to yield an output signal; and the hidden layer cascading the output signal to a subsequent layer of neurons. 42. The method of claim 41 , wherein the method further comprises calibrating the ANN, wherein calibrating the ANN comprises: determining a designated reference weight block; calibrating a current mirror according to the designated reference weight block; calibrating a capacitor according to the designated reference weight block; calibrating the TIQ comparator according to the designated reference weight block; and calibrating each synaptic weight stored on the CTTs in the designated reference weight block.

43. The method of claim 42, wherein after calibration the current mirror, the capacitor, and the comparator are each in sync with the designated reference weight block, wherein once the calibration of the current mirror, of the capacitor, and of the comparator is complete, each neuron signal path is matched relative to the designated reference weight block, and wherein all neurons are matched ratiometrically to each other.

44. The method of any one of claims 37 to 43, wherein the first output is higher than the second output.

45. The method of any one of claims 37 to 43, wherein the first output is lower than the second output.

46. A threshold inverter quantization (TIQ) comparator device for comparing an input voltage with a reference voltage, the device comprising: an input connection for receiving input signals; a cascade of at least one complementary metal oxide semiconductor (CMOS) inverter, each CMOS inverter comprising: a p-channel metal oxide semiconductor (PMOS) transistor; and an n-channel metal oxide semiconductor (NMOS) transistor; an output connection for transmitting output signals; a power connection for receiving power; and a ground; wherein the reference voltage corresponds to a threshold of the TIQ comparator self-generated by the TIQ comparator; wherein if the input voltage exceeds the threshold, a second output flips to a first output, wherein if the input voltage falls below the threshold, the first output flips to the second output; wherein the threshold of the TIQ comparator is adjustable via the PMOS transistor or the NMOS transistor; wherein the threshold of the TIQ comparator corresponds to a ratio of a strength of the PMOS transistor divided by a strength of the NMOS transistor.

47. The device of claim 46, wherein the PMOS transistor is a PMOS CTT, wherein the NMOS transistor is an NMOS CTT, and wherein TIQ comparator device is configurable to be calibrated by the CTTs.

48. The device of any one of claims 47, wherein the CTTs are configurable to provide an adjustable threshold for the TIQ comparator to calibrate a reference value on an artificial neural network (ANN) comprising further CTTs.

49. The device of any one of claims 48, wherein a subset of the further CTTs are PMOS devices.

50. The device of any one of claims 48, wherein a subset of the further CTTs are NMOS devices.

51 . The device of any one of claims 46 to 50, wherein the threshold voltage of the TIQ comparator device is maintained and recalibrated by reprogramming a threshold voltage as recorded in a weight matrix.

52. The device of any one of claims 46 to 51 , wherein correlated double sampling is used to achieve an improved cancellation of threshold shift of the TIQ comparator device. 53. The device of claim 52, wherein the correlated double sampling initializes a voltage on a capacitor.

54. The device of any one of claims 46 to 53, wherein the TIQ comparator device is a dual-slope TIQ comparator device.

55. The device of any one of claims 46 to 54, wherein the first output is higher than the second output.

56. The device of any one of claims 46 to 54, wherein the first output is lower than the second output.

57. An apparatus for providing an ephemeral memory for retaining information temporarily between layers of an artificial neural network (ANN), the apparatus comprising: an inner ring comprising an analog subthreshold delay block for providing asynchronous controllable delay; and an outer ring comprising a plurality of asynchronous counters to support the inner ring; wherein the inner ring and the outer ring operate in tandem to achieve efficient short-term accurate storage of delay state.

58. The apparatus of claim 57, wherein the analog subthreshold delay block comprises a plurality of subthreshold pass transistor logic (PTL) delay line elements.

59. The apparatus of any one of claims 57 to 58, wherein the asynchronous counters comprise a first asynchronous counter, wherein the first asynchronous counter is a 1-bit asynchronous sub-threshold counter, and wherein the asynchronous counters comprise D flip-flops.

60. The apparatus of claim 59, further comprising multiple asynchronous counters.

61. The apparatus of claim 60, wherein the multiple asynchronous counters are 1-bit cascaded sub-threshold counters.

62. The apparatus of any one of claims 59 to 61 , wherein the ephemeral memory functions asynchronously.

63. The apparatus of any one of claims 59 to 62, wherein time is stored temporarily in a nanowatt or a picowatt power consumption space.

64. The apparatus of any one of claims 59 to 63, wherein the apparatus receives a first activation pulse, wherein the apparatus stores a width of the first activation pulse via the first asynchronous counter, and wherein the apparatus transmits the first activation pulse to a subsequent layer of the ANN by counting down on the first asynchronous counter.

65. The apparatus of any one of claims 59 to 64, wherein the analog subthreshold delay block and the first asynchronous counter together create a positive feedback loop with internal delay resulting in an oscillator.

66. The apparatus of claim 65, wherein the oscillator is a self-timed oscillator that oscillates based on a frequency of the delay line elements, and wherein the apparatus further comprises a second counter clocked by the self-timed oscillator and created by the delay line elements and the first asynchronous counter.

67. The apparatus of claim 66, wherein the oscillator is enabled when a capacitor is discharging, wherein the oscillator triggers the first asynchronous counter to count up when the oscillator is enabled, wherein when the capacitor is discharged the oscillator is disabled and the first asynchronous counter retains a value, wherein the oscillator is subsequently enabled again and the first asynchronous counter counts back down to zero during a first time, and wherein during the first time a pulse is generated as an input to a subsequent neuron.

68. The apparatus of claim 67, wherein during a discharge period a neuron generates the first activation pulse, wherein when the first activation pulse is high, the first activation pulse enables the oscillator, and wherein when the first activation pulse is low, the first activation pulse disables the oscillator and the first asynchronous counter stops, the first asynchronous counter having stored a number representing a pulse width of the first activation pulse, the first asynchronous counter further retaining the stored number for a period of time.

69. The apparatus of claim 68, wherein the period of time is seconds.

70. The apparatus of any one of claims 67 to 69, wherein the first asynchronous counter counts up during the first activation pulse and counts down as the apparatus applies the first activation pulse to the subsequent neuron to enable the delay line elements and generate a second activation pulse equal to the first activation pulse.

71. The apparatus of any one of claims 66 to 70, wherein the first asynchronous counter is paired with the second counter configured oppositely so that as the first asynchronous counter counts down the second counter counts up to further store the width of the first activation pulse.

72. The apparatus of any one of claims 66 to 71 , wherein the second counter counting up is enabled by an accumulator capacitor discharge cycle and disabled when a comparator flips state according to a threshold voltage, and wherein the first asynchronous counter counting down is enabled by a start-of-inference signal for a subsequent layer of the ANN.

73. The apparatus of any one of claims 57 to 72, wherein the apparatus uses dynamic logic to save space and power.

74. The apparatus of any one of claims 57 to 72, wherein the ephemeral memory comprises time-ephemeral memory.

75. The apparatus of claim 74, wherein time is calculated as one or more of absolute time, elapsed time, delay in time, and rate of change in time.

76. The apparatus of claim 74, wherein time is calculated as absolute time, and wherein all information is processed ratiometrically with respect to time.

Description:
SYSTEM. METHOD, AND COMPUTER DEVICE FOR TRANSISTOR-BASED

NEURAL NETWORKS

Technical Field

[0001] The following relates generally to neural networks and numerical computation and more specifically to systems, methods, and computer devices for analog-based neural networks and computation.

Introduction

[0002] A generalized artificial neural network (ANN) may be described as a machine learning architecture that borrows from a biological neural structure, where activation of neurons from a first input cascades on to a subsequent layer, which can cause either excitatory or inhibitory behavior of the neurons in the subsequent layer. Neural networks form the foundation for artificial intelligence systems, which are increasingly finding applications in almost every aspect of technology solutions. One of the most significant challenges to the application of neural networks and artificial intelligence to a computer problem is the total cost of ownership of the solution and specifically the power consumption of the solution. In conventional datacenters, power is not a constraint, and power-hungry processors such as CPUs and GPUs are utilized to run neural network algorithms on various data types. However, there is an urgent need to direct artificial intelligence to real-world applications. For example, in the specific case where various types of sensors generate data, power budgets become a major constraint. This constraint has driven the need for low-power methods of processing neural network algorithms, which are much more efficient than general purpose CPUs and GPUs.

[0003] In Figure 1A, there is shown a generic conventional ANN 100. Figure 1A depicts basic inferencing system architecture. The ANN 100 includes an input layer 102 for receiving input, a hidden layer 104 for performing computation, and an output layer 106 for providing output. Each of the input layer 102, the hidden layer 104, and the output layer 106 includes one or more neurons 108.

[0004] The ANN 100 is a machine-learning architecture that borrows its form loosely from the biological neural structure. In the biological neural structure, activation of the neurons 108 (for example, at the input layer 102) from a first input signal (not shown) cascades on to a subsequent layer (for example, the hidden layer 104). This cascade can either cause excitatory or inhibitory behavior of the neurons in the subsequent layer. [0005] Individual neurons 108 may perform any of a variety of actions, either alone or in combination. Neurons 108 of a layer of the ANN 100 receiving the cascade may combine the values of the neurons 108 of previous layers with associated synaptic weights (not shown). The neurons 108 may apply non-linear scaling, hereinafter termed the “activation function”. The foregoing combination of values is achieved through a multiplication and then summed with other products. The multiplication is performed according to the activation of the neurons 108 multiplied by the synaptic weight.

[0006] A result of the activation function may advantageously be that output of proceeding layers (for example, the hidden layer 104) cannot be linearly mapped to preceding layers (for example, the input layer 102). The non-linear scaling may advantageously allow gradient descent during the training phase. The neurons 108 may propagate the value to a subsequent layer of neurons (for example, the output layer 106). [0007] The foregoing process is implemented in conventional neural networks (such as the ANN 100). Accordingly, important computational tasks can be implemented in the ANN 100, such as vector-matrix-multiplication, in which a vector of inputs or neuron activations, Xi, is multiplied by a matrix of the synaptic weights, w , utilizing a multiply- accumulate (MAC) function, (åwy*Xi), to generate an activation.

[0008] In implementations, products and summations are based upon absolutes, either numerical in the digital case, or voltages or currents for analog approaches. For example, in a digital implementation, the input signals and the synaptic weights may be represented by a binary number, the multiplication may be performed by a digital multiplier, and the results may be accumulated or summed as digital numbers. This method is relatively energy- and silicon-area-inefficient.

[0009] In Figure 1 B, there is shown a box diagram of the different functions that the conventional ANN 100 may perform. Individual neurons 108 may perform a variety of actions, either alone or in combination. The neurons 108 of a particular layer of the ANN 100 (such as the hidden layer 104) may perform any of the functionality recited in Figure 1 A. [0010] At 110, the ANN 100 receives an input signal (not shown) at the input layer 102. The input layer 102 further multiplies the input signal by a synaptic weight (not shown) of a neuron 108. At 112, the ANN 100 accumulates, or adds together, results of all of the multiplications performed. At 114, the ANN adds a bias to the accumulated output of the multiplications and applies the sum to an activation function 116. At the activation function 116, the ANN performs an activation function and cascades the output of the activation function to a subsequent layer of neurons.

[0011] Figure 2 shows a conventional digital multiply-accumulate array 200. Figure 2 depicts a digital implementation of the multiply-accumulate array 200 capable of computing functions, such as multiply and accumulate, of a conventional ANN, such as the ANN 100 of Figure 1 .

[0012] The array 200 includes activation memory 202 for receiving output signals from previous neurons 108 in previous layers 102, 104, weight memory 204 for supplying the synaptic weights, multiply-accumulators (MACS) 205 for multiplying input signals and summing the output of the multiplication, and accumulator 206 for accumulating output signals of the MACs 205, which are added together.

[0013] The array 200 further includes a MAC unit 208 exemplifying one possible embodiment of a multiply-accumulator 205.

[0014] Figure 11 shows a conventional analog conduction-based inferencing system 1100 using resistance to store synaptic weight to implement the ANN 100 of Figure 1A.

[0015] In the system 1100, memory elements are used to create a resistance proportional to synaptic weight desired. The memory elements may require special processing layers in the semi-conductor fabrication. A voltage is applied across a resistor (not shown) and the resultant current is the product of input signals and weight, from Ohm’s law where l=V/R. The weight is stored as 1/R.

[0016] This system is dependent upon process, absolute voltage, and temperature. Any drift in these parameters over time or induced noise may introduce errors in current, which may directly impact accuracy of the calculation and the performance of a neuron implemented using the system 1100. Careful and complex techniques may be used to compensate for these non-idealities, which incur cost and limit achievable performance. This difficulty has made analog, in-memory computing very difficult and commercially impractical. Some example technologies used for implementing these in-memory solutions are phase change memory (PCM), Resistive RAM (RRAM), FLASH memory, capacitive memory, and others. The systems, methods, and devices of the present disclosure may advantageously overcome at least some of these difficulties. [0017] Calculations between the input layer 102 and the output layer 106 may take place according to synaptic weight 105.

[0018] The system 1100 further includes hardware 1110 for implementing the ANN 100. The hardware 1110 includes transistors 1112. Together, the transistors 1112 may form conductance pairs 1114. The hardware 1110 further includes non-volatile memory 1116.

Summary

[0019] The present disclosure represents an efficient and elegant analog processing system that can be used for many purposes at minimal cost, including the purpose of neural network processing. The present disclosure represents a use and, where implemented in computer systems, methods, and devices, an embodiment including analog storage and computation mechanisms, such as utilizing a charge- trapped transistor (CTT) technique for adjusting a threshold of an N-type metal oxide semiconductor (NMOS) transistor in order to offset a threshold in a calibration mechanism. Neurons that perform functions such as multiplication, accumulation and non-linear activations in a neural network may be calibrated through the use of existing standard silicon processing technologies, such as complementary metal oxide semiconductors (CMOS).

[0020] There is a need for silicon neural network architectures implemented using analog/mixed signal design techniques to overcome the power and cost barriers inherent in intelligent systems. These analog solutions may be improved by stability mechanisms to ensure stability and reliability. Advantageously, the neural network as implemented in the foregoing embodiments is usable in everyday usage over long periods of time.

[0021] In the present disclosure, a novel architectural approach has been utilized to enable the use of a wide variety of memory types, including Charge Trapped Transistors (CTT), in which absolute voltages, currents and device characteristics do not impact accuracy. Instead of relying on an absolute voltage (or current) to properly scale values, time is used as the reference. All calculations are performed ratiometrically in time. Since obtaining a stable time reference (e.g., a crystal oscillator) is generally simple and low cost, by making all calculations relative to the stable time reference, all other dependencies may be calibrated out.

[0022] In an embodiment, the fundamental computational elements required for signal processing, including neural network processing, are implemented utilizing time or phase as the fundamental informational element. This embodiment differs significantly from conventional approaches because performance is not directly dependent upon any absolute physical references, such as voltage, current, conductance, or inductance, typically used in analog signal processing solutions. By utilizing time or phase accordingly, significant performance gains may advantageously be made over other analog computing approaches. Such advantageous performance gains include significant sensitivity to environmental and manufacturing non-idealities.

[0023] In an embodiment, information is encoded as a period of time or change in phase for period signals. Other physical phenomena may be important only in relation to an instantaneous value of a physical phenomenon in a ratiometric sense.

[0024] In an embodiment, inputs are transformed to time pulses, which are then subsequently weighted by the conductance of an element whose conductance can be programmed and updated periodically, such as a CTT storage structure, producing a scaled current pulse. The resultant charge from the current pulses is accumulated on a storage capacitor, to be used as a control signal for a comparator, such as a TIQ comparator, and subsequent propagation to either the next cascaded layer or temporary storage, such as an ephemeral memory storage.

[0025] In an embodiment, there is provided a comparator, such as a threshold inverter quantization (TIQ) comparator. In an embodiment, the TIQ comparator performs comparison and quantization. In an embodiment, the TIQ comparator includes at least one inverter in which some of the transistors act as charge-trapping devices. Each inverter includes two pairs of CTTs, each pair including a p-channel metal oxide semiconductor (PMOS) transistor and an n-channel metal oxide semiconductor (NMOS) transistor. The threshold of the TIQ comparator, for each inverter 1001 is set according to a ratio of a strength of the PMOS CTT of the inverter 1001 divided by a strength of the NMOS CTT of the inverter 1001 . The strength of each transistor is understood as relating to the width of each transistor, the length of each transistor, the mobility of each transistor, and/or any other relevant parameter of each transistor or factor. The TIQ comparator device may be a CTT-calibrated TIQ comparator.

[0026] In an embodiment, there is provided ephemeral memory for retaining information temporarily to be used after a short delay in time. The ephemeral memory may include several subthreshold pass transistor logic (PTL) delay line blocks forming an inner ring of asynchronous controllable delay. The inner ring may be supported by an outer ring of D flip-flops forming asynchronous counters. This combination may work in tandem to achieve efficient short-term accurate storage of delay state.

[0027] In an embodiment, there is provided a calibration method. In an embodiment, all device behavior may be calibrated according to one designated reference structure including: weight block->current mirror->capacitor->comparator chain. Once the reference chain has been calibrated to a unit scale time, e.g., full scale charge of a 1 pF capacitor in 1 us, all current mirror/capacitor comparator chains may be calibrated using the same reference signal chain.

[0028] A system for operating an artificial neural network (ANN) is provided. The system includes neurons. Each neuron includes a plurality of synapses including charge- trapped transistors (CTTs) for processing input signals, the CTTs supplying synaptic weights, an accumulation block for receiving drain currents from the plurality of synapses, the drain currents being produced as an output of multiplication from the plurality of synapses, a capacitor for accumulating charge from the drain currents to act as short term memory for accumulated signals, a discharge pulse generator for generating an output signal by discharging the accumulated charge during a discharging cycle, and a comparator for comparing the output signal as an input voltage with a reference voltage, the comparator producing a first output if the input voltage is above the reference voltage, and the comparator producing a second output if the input voltage is below the reference voltage.

[0029] In an embodiment, the accumulation block includes an storage device for receiving the drain currents from the plurality of synapses, a plurality of multipliers for storing the synaptic weights and performing multiplication of the synaptic weights by the input signals, and an accumulator for summing the output of the multiplication from the plurality of multipliers to yield accumulated signals.

[0030] In an embodiment, the comparator is a threshold inverter quantization (TIQ) comparator including a cascade of at least one complementary metal oxide semiconductor (CMOS) inverter. Each CMOS inverter includes a p-channel metal oxide semiconductor (PMOS) transistor and an n-channel metal oxide semiconductor (NMOS) transistor. The reference voltage corresponds to a threshold of the TIQ comparator self generated by the TIQ comparator. The threshold of the TIQ comparator is adjustable via the PMOS transistor or the NMOS transistor. The threshold of the TIQ comparator corresponds to a ratio of a strength of the PMOS transistor divided by a strength of the NMOS transistor.

[0031] The drain currents may be produced as an output of the multiplication from the plurality of synapses and may produce a quantity of charge equal to the product of the input signals and the synaptic weights.

[0032] The drain currents may connect together before connecting to the accumulation block, the accumulation block may sum the drain currents, and the sum of the drain currents may be transmitted as the accumulated signals to the capacitor for storage.

[0033] Each CTT may perform multiplication of the drain currents representing synaptic weight and time as inputs, and all the multiplications may be accumulated on the capacitor.

[0034] The accumulation block may sum the drain currents as a wired OR function. [0035] A threshold voltage of each CTT may be adjusted through programming to store a value of a weight for the corresponding synapse. Each CTT may include a gate to which a voltage pulse may be applied, the source of the voltage pulse may be at ground, gate-to-source voltage may be constant, and the voltage pulse may carry information using time.

[0036] Resistance may be used to store synaptic weight.

[0037] The resistance may be provided by the CTTs. [0038] The plurality of synapses may store the synaptic weights in a threshold voltage shift of the CTTs.

[0039] Charge from a first scaled current pulse may be accumulated on the capacitor to be used as a control signal.

[0040] Integrated charge in each neuron may be proportional to the product of the input signals and the synaptic weights, and the value of the integrated charge may remain constant until discharge.

[0041] The current flowing through the CTTs may be mirrored by a current mirror to effect an accumulation of charge on the capacitor to create a voltage proportional to a sum of weighted inputs.

[0042] The discharge pulse generator may be a discharging cycle cascoded current source.

[0043] The discharge pulse generator may further transmit the accumulated signals during accumulation to achieve a subtraction function in the ANN.

[0044] There may further be provided a second reference voltage in addition to the reference voltage of the TIQ comparator.

[0045] There may further be provided a second reference voltage instead of the reference voltage of the TIQ comparator.

[0046] There may further be generated an activation pulse as the output signal.

[0047] The plurality of synapses may receive the input signals, transform a voltage of the input signals into a current, and produce a second scaled current pulse as the output signal.

[0048] The system may further include an apparatus for providing an ephemeral memory structure for retaining information temporarily between layers of the ANN. The apparatus includes an inner ring including an analog subthreshold delay block for providing asynchronous controllable delay and an outer ring including a plurality of asynchronous counters to support the inner ring. The inner ring and outer ring operate in tandem to achieve efficient short-term accurate storage of delay state.

[0049] The ANN may include an input layer for receiving input at a neuron, at least one hidden layer for multiplying the input by the synaptic weights to yield a product, adding bias to the product to yield a sum, applying the sum to an activation function, performing the activation function to yield the output signal, and cascading the output signal to a subsequent layer of neurons, and an output layer for providing the output signals. Each of the input layer, the at least one hidden layer, and the output layer include at least one neuron.

[0050] A subset of the CTTs may be NMOS CTTs.

[0051] A subset of the CTTs may be PMOS CTTs.

[0052] Each CTT may include a high-k-metal gate. Drain bias may be applied during a charge-trapping process.

[0053] Each CTT may include a gate dielectric including an interfacial layer of Si02.

[0054] Each gate dielectric may include an interfacial layer of Si02 and a cascaded HfSiON layer.

[0055] Each CTT may apply drain bias during a charge-trapping process to cause other carriers to be stably trapped in the gate dielectric.

[0056] A threshold voltage of each CTT may be modulated by an amount of charge trapped in each gate dielectric, each drain bias may enhance and stabilize the charge trapping process due to enhanced local heating effects, and each threshold voltage of each CTT may be shiftable by a controlled amount and encode a parameter value. [0057] Weight values are programmed by applying gate pulses of varying length at a set programming voltage bias. During positive programming, positive gate voltage pulses may be applied, and the threshold voltage may shifts in a first direction. During negative programming, negative pulses may be applied, and the threshold voltage may shift in a second direction opposite to the first direction.

[0058] Constant amplitude pulses may be applied to a source voltage of the gate. [0059] The constant amplitude pulses may be propagated directly to a subsequent layer of the ANN.

[0060] The constant amplitude pulses may be passed through a non-linear function and propagated to a subsequent layer of the ANN.

[0061] The non-linear function may be rectified linear unit (ReLU).

[0062] The first output may be higher than the second output. In an embodiment, the first output may be a high output and the second output may be a low output. [0063] The first output may be lower than the second output. In an embodiment, the first output may be a low output and the second output may be a high output.

[0064] A method for an artificial neural network (ANN) including neurons is provided. The method includes processing input signals via a plurality of charge-trapped transistors (CTTs), the CTTs supplying synaptic weights, producing drain currents as an output of multiplication from the plurality of CTTs, receiving the drain currents from the plurality of CTTs, accumulating charge from the drain currents to act as short-term memory for accumulated signals, generating an output signal by discharging the accumulated charge during a discharging cycle, and comparing an input voltage with a reference voltage at a comparator, the comparator producing a first output if the input voltage is above the reference voltage and producing a second output if the input voltage is below the reference voltage.

[0065] In an embodiment, receiving the drain currents from the plurality of the CTTs includes receiving the drain currents from the plurality of synapses, storing the synaptic weights and performing multiplication of the synaptic weights by the input signals and summing the output of the multiplication to yield accumulated signals.

[0066] In an embodiment, the comparator is a threshold inverter quantization (TIQ) comparator. The TIQ comparator includes a cascade of at least one complementary metal oxide semiconductor (CMOS) inverter, each cascaded CMOS inverter including a p- channel metal oxide semiconductor (PMOS) transistor and an n-channel metal oxide semiconductor (NMOS) transistor. The reference voltage corresponds to a threshold of the TIQ comparator self-generated by the TIQ comparator. The threshold of the TIQ comparator is adjustable via the PMOS transistor or the NMOS transistor, and the threshold of the TIQ comparator corresponds to a ratio of a strength of the PMOS transistor divided by a strength of the NMOS transistor.

[0067] The input signals may be received at the CTTs, a voltage of the input signals may be transformed into a current, and a second scaled current pulse may be produced as the output signal.

[0068] The ANN may be implemented by the input layer receiving input, the hidden layer multiplying the input by the synaptic weight to yield a product, the hidden layer adding bias to the product to yield a sum, the hidden layer applying the sum to an activation function, the hidden layer performing the activation function to yield an output signal, and the hidden layer cascading the output signal to a subsequent layer of neurons. [0069] The method may further include calibrating the ANN, and calibrating the ANN may include determining a designated reference weight block, calibrating a current mirror according to the designated reference weight block, calibrating a capacitor according to the designated reference weight block, calibrating the TIQ comparator according to the designated reference weight block, and calibrating each synaptic weight stored on the CTTs in the designated reference weight block.

[0070] After calibration the current mirror, the capacitor, and the comparator may each be in sync with the designated reference weight block. Once the calibration of the current mirror, of the capacitor, and of the comparator is complete, each neuron signal path may be matched relative to the designated reference weight block, and all neurons may be matched ratiometrically to each other.

[0071] The first output may be higher than the second output. In an embodiment, the first output may be a high output and the second output may be a low output.

[0072] The first output may be lower than the second output. In an embodiment, the first output may be a low output and the second output may be a high output.

[0073] A threshold inverter quantization (TIQ) comparator device for comparing an input voltage with a reference voltage is provided. The TIQ comparator device includes an input connection for receiving input signals, a cascade of at least one complementary metal oxide semiconductor (CMOS) inverter, each CMOS inverter including a p-channel metal oxide semiconductor (PMOS) transistor and an n-channel metal oxide semiconductor (NMOS) transistor. The TIQ comparator device further includes an output connection for transmitting output signals, a power connection for receiving power and a ground. The reference voltage corresponds to a threshold of the TIQ comparator self generated by the TIQ comparator. If the input voltage exceeds the threshold, a second output flips to a first output, and if the input voltage falls below the threshold, the first output flips to the second output. The threshold of the TIQ comparator is adjustable via the PMOS transistor or the NMOS transistor. The threshold of the TIQ comparator corresponds to a ratio of a strength of the PMOS transistor divided by a strength of the NMOS transistor. [0074] The PMOS transistor may be a PMOS CTT, the NMOS transistor may be an NMOS CTT, and the TIQ comparator device may be configurable to be calibrated by the CTTs.

[0075] The CTTs may be configurable to provide an adjustable threshold for the TIQ comparator to calibrate a reference value on an artificial neural network (ANN) that includes further CTTs.

[0076] A subset of the further CTTs may be PMOS devices.

[0077] A subset of the further CTTs may be NMOS devices.

[0078] The threshold voltage of the TIQ comparator device may be maintained and recalibrated by reprogramming a threshold voltage as recorded in a weight matrix.

[0079] Correlated double sampling may be used to achieve an improved cancellation of threshold shift of the TIQ comparator device.

[0080] The correlated double sampling may initialize a voltage on a capacitor. [0081] The TIQ comparator device may be a dual-slope TIQ comparator device.

[0082] The first output may be higher than the second output. In an embodiment, the first output may be a high output and the second output may be a low output.

[0083] The first output may be lower than the second output. In an embodiment, the first output may be a low output and the second output may be a high output.

[0084] An apparatus for providing an ephemeral memory for retaining information temporarily between layers of an artificial neural network (ANN) is provided. The apparatus includes an inner ring including an analog subthreshold delay block for providing asynchronous controllable delay and an outer ring including a plurality of asynchronous counters to support the inner ring. The inner ring and the outer ring operate in tandem to achieve efficient short-term accurate storage of delay state.

[0085] The analog subthreshold delay block may include a plurality of subthreshold pass transistor logic (PTL) delay line elements.

[0086] The asynchronous counters may include a first asynchronous counter. The first asynchronous counter may be a 1-bit asynchronous sub-threshold counter. The asynchronous counters may include D flip-flops.

[0087] The apparatus may further include multiple asynchronous counters. [0088] The multiple asynchronous counters may be 1-bit cascaded sub-threshold counters.

[0089] The ephemeral memory may function asynchronously.

[0090] Time may be stored temporarily in a nanowatt or a picowatt power consumption space.

[0091] The apparatus may receive a first activation pulse, and the apparatus may store a width of the first activation pulse via the first asynchronous counter. The apparatus may transmit the first activation pulse to a subsequent layer of the ANN by counting down on the first asynchronous counter.

[0092] The analog subthreshold delay block and the first asynchronous counter may together create a positive feedback loop with internal delay resulting in an oscillator. [0093] The oscillator may be a self-timed oscillator that oscillates based on a frequency of the delay line elements, and the apparatus may further include a second counter clocked by the self-timed oscillator and created by the delay line elements and the first asynchronous counter.

[0094] The oscillator may be enabled when a capacitor is discharging. The oscillator may trigger the first asynchronous counter to count up when the oscillator is enabled, and when the capacitor is discharged the oscillator may be disabled and the first asynchronous counter may retain a value. The oscillator may subsequently be enabled again and the first asynchronous counter may count back down to zero during a first time. During the first time a pulse may be generated as an input to a subsequent neuron. [0095] During a discharge period a neuron may generate the first activation pulse. When the first activation pulse is high, the first activation pulse enables the oscillator, and when the first activation pulse is low, the first activation pulse disables the oscillator and the first asynchronous counter stops, the first asynchronous counter having stored a number representing a pulse width of the first activation pulse, the first asynchronous counter further retaining the stored number for a period of time.

[0096] The period of time may be seconds.

[0097] The first asynchronous counter may count up during the first activation pulse and may count down as the apparatus applies the first activation pulse to the subsequent neuron to enable the delay line elements and may generate a second activation pulse equal to the first activation pulse.

[0098] The first asynchronous counter may be paired with the second counter configured oppositely so that as the first asynchronous counter counts down the second counter counts up to further store the width of the first activation pulse.

[0099] The second counter counting up may be enabled by an accumulator capacitor discharge cycle and may be disabled when a comparator flips state according to a threshold voltage. The first asynchronous counter counting down may be enabled by a start-of-inference signal for a subsequent layer of the ANN.

[0100] The apparatus may use dynamic logic to save space and power.

[0101] The ephemeral memory may include time-ephemeral memory.

[0102] Time may be calculated as one or more of absolute time, elapsed time, delay in time, and rate of change in time.

[0103] Time may be calculated as absolute time, and all information may be processed ratiometrically with respect to time.

[0104] Other aspects and features will become apparent, to those ordinarily skilled in the art, upon review of the following description of some exemplary embodiments.

Brief Description of the Drawings

[0105] The drawings included herewith are for illustrating various examples of articles, methods, and apparatuses of the present specification. In the drawings:

[0106] Figure 1A is a generic conventional artificial neural network (ANN);

[0107] Figure 1 B is a box diagram of the different functions that the ANN of Figure

1A may conventionally perform;

[0108] Figure 2 is a conventional digital multiply-accumulate array;

[0109] Figure 3 is a neuron including a threshold inverter quantization (TIQ) comparator device, in accordance with an embodiment;

[0110] Figure 4 is a simplified structure of a neuron utilizing charge-trapped transistors (CTTs) for weight storage as well as for multiplication, in accordance with an embodiment;

[0111] Figure 5 is a neuron, in accordance with an embodiment; [0112] Figure 6 shows additional details on a dual-slope pulse generation process in each neuron;

[0113] Figure 7 is a charge-trapped transistor (CTT) suitable for use in the neurons of Figures 3, 4, and 5, in accordance with an embodiment;

[0114] Figure 8 is an exemplary layer of an ANN including a plurality of CTTs of Figure 7, in accordance with an embodiment;

[0115] Figure 9A is a cascoded current mirror, in accordance with an embodiment;

[0116] Figure 9B is a cascoded current mirror, in accordance with an embodiment;

[0117] Figure 10 is the TIQ comparator device of Figures 3 and 5, in accordance with an embodiment;

[0118] Figure 11 is a conventional analog conduction-based inferencing system using resistance to store synaptic weight;

[0119] Figure 12 is a convolutional neural network (CNN), in accordance with an embodiment;

[0120] Figure 13 depicts two 3-by-3 matrices to process;

[0121] Figure 14 is an implementation of a 3-by-3 convolutional neuron via simplified synapses in the CNN of Figure 12, in accordance with an embodiment;

[0122] Figure 15 is a flow diagram of a method of reference block calibration, in accordance with an embodiment;

[0123] Figure 16 is an ephemeral memory scheme in accordance with an embodiment;

[0124] Figure 17 is an ephemeral memory apparatus implementing the ephemeral memory scheme of Figure 16, in accordance with an embodiment;

[0125] Figure 18 is the ephemeral memory apparatus of Figure 17 in further detail, in accordance with an embodiment;

[0126] Figure 19 is the ephemeral memory structure of Figures 17 and 18 in further detail, in accordance with an embodiment; and

[0127] Figure 20 is a flow diagram of a method of using an ANN, in accordance with an embodiment.

Detailed Description [0128] Various apparatuses or processes will be described below to provide an example of each claimed embodiment. No embodiment described below limits any claimed embodiment and any claimed embodiment may cover processes or apparatuses that differ from those described below. The claimed embodiments are not limited to apparatuses or processes having all of the features of any one apparatus or process described below or to features common to multiple or all of the apparatuses described below.

[0129] One or more systems described herein may be implemented in computer programs executing on programmable computers, each comprising at least one processor, a data storage system (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. For example, and without limitation, the programmable computer may be a programmable logic unit, a mainframe computer, server, and personal computer, cloud-based program or system, laptop, personal data assistant, cellular telephone, smartphone, or tablet device.

[0130] Each program is preferably implemented in a high-level procedural or object-oriented programming and/or scripting language to communicate with a computer system. However, the programs can be implemented in assembly or machine language, if desired. In any case, the language may be a compiled or interpreted language. Each such computer program is preferably stored on a storage media or a device readable by a general or special purpose programmable computer for configuring and operating the computer when the storage media or device is read by the computer to perform the procedures described herein.

[0131] A description of an embodiment with several components in communication with each other does not imply that all such components are required. On the contrary, a variety of optional components are described to illustrate the wide variety of possible embodiments of the present invention.

[0132] Further, although process steps, method steps, algorithms or the like may be described (in the disclosure and / or in the claims) in a sequential order, such processes, methods and algorithms may be configured to work in alternate orders. In other words, any sequence or order of steps that may be described does not necessarily indicate a requirement that the steps be performed in that order. The steps of processes described herein may be performed in any order that is practical. Further, some steps may be performed simultaneously.

[0133] When a single device or article is described herein, it will be readily apparent that more than one device / article (whether or not they cooperate) may be used in place of a single device / article. Similarly, where more than one device or article is described herein (whether or not they cooperate), it will be readily apparent that a single device / article may be used in place of the more than one device or article.

[0134] The present disclosure describes a method of realizing neural networks in silicon neural network architectures, and more generally algorithmic computational functions, implemented using analog/mixed signal design techniques and stability mechanisms. Advantageously, the neural networks herein disclosed may be made for everyday usage and use over long periods of time.

[0135] Conventional computational engines fall into several categories including traditional computation, such as Von-Neuman architecture, GPU-based computation (similar to Von-Neuman architecture and tailored to heavy mathematical operations), data flow architectures, and combinations of the foregoing. Conventional solutions have been implemented in digital CMOS process technologies using conventional digital design approaches. Conventional solutions require a combination of memory and computing capability. Differences across implementations are predominantly centered around how memory and computation are implemented and how information is transferred between these elements.

[0136] The present disclosure relates to unifying the computational element with the memory element into a single device. In an embodiment, a modified data flow architecture may be utilized to advantageously process large computation workloads, such as neural networks, although the embodiment remains entirely in the analog and time domain. Advantageously, the present disclosure may lead to reduction in power consumption and area utilization relative to existing approaches.

[0137] Similarly to how the human brain processes data, a concept of the present disclosure is the principle of information related to time. Time may be measured and utilized in multiple fashions, including absolute time, elapsed time, delay in time (known as phase), and rate of change in time (frequency). In the present disclosure, time may be utilized as an absolute reference. Where time is used as an absolute reference, information is processed ratiometrically with respect to time. In embodiments utilizing analog signal processing, systems may be sensitive to and dependent upon absolute physical properties or parameters such as voltage, current, resistance, capacitance, and inductance. As physical parameters may change with time, temperature, and a manufacturing process, computational accuracy may suffer if the physical parameter absolute values are relied upon as a reference. The present disclosure focuses on time as an absolute reference for at least the foregoing reasons. Advantageously, even a slow drift over time may not impact accuracy as calculations are made ratiometrically.

[0138] In the context of results, multiple neural networks, including a fully connected neural network (FCNN), several Convolutional Neural Networks (CNN), and a Recursive Neural Network (RNN), have been modeled using the architecture as described in the present disclosure. Each device and block has been simulated using detailed SPICE device models and MOSRA reliability models for transistors based upon Physical Design Kits from the foundries for 28nm, 22nm and 14nm process nodes. The results may advantageously be applicable to any technology node with transistors. The results may further advantageously be applicable to other technology nodes with devices that perform similar functions. Error! Reference source not found, below shows the results for several industry standard networks and associated applications.

Table 1: Performance Benchmarks

[0139] In the fields of in-memory and analog computation, there are a number of base technologies that have gained attention and research over the past decade. Error! Reference source not found, shows multiple technologies being applied to Edge Al computation as well as exemplary company names utilizing those techniques.

Table 2: Different technologies used for in-memory or analog computation for targeting

Edge Al applications

[0140] The present disclosure may have applications in any one or more of generalized artificial intelligence for applications such as natural language processing, image processing, and natural movement processing for robotics, as well as neuromorphic computing to enable unsupervised learning and autonomous robotic assistance for home, factory, or hospitals. [0141] Throughout the present detailed description, the term “ANN” is understood to refer to artificial neural networks, the term “CNN” is understood to refer to convolutional neural networks, the terms “CTT” and “CTTs” are understood to refer to charge-trapped transistors, the term “NMOS” is understood to refer to an “n-channel metal oxide semiconductor”, the term “PMOS” is understood to refer to a “p-channel metal oxide semiconductor”, and the term “CMOS” is understood to refer to a “complementary metal oxide semiconductor”.

[0142] Throughout the present disclosure, CTTs may be understood as ordinary transistors that meet the technical requirements expressed herein and that perform a charge-trapping function as further described herein. A CTT is any transistor that meets the present technical requirements (for example, as expressed in discussion of Figure 7) and performs the charge-trapping function. Therefore, except where expressly provided otherwise, any reference to a transistor is understood as including embodiments where the transistor so referenced is a CTT.

[0143] Referring now to Figure 3, shown therein is a neuron 300, in accordance with an embodiment. The neuron 300 includes a plurality of synapses 302 for receiving and processing an input signal, an accumulation block 304 for accumulating the input signals, a storage capacitor 306 for storing the accumulated signals temporarily, a discharge pulse generator 308 for generating an output signal, and a comparator 314 for comparing voltages.

[0144] The neuron 300 may form part of an ANN (not shown). The neuron 300 further includes an activation pulse 312 generated for propagation to a subsequent layer of the ANN.

[0145] The plurality of synapses 302 include CTTs (not shown) for supplying synaptic weights.

[0146] The accumulation block 304 includes a storage device (not shown) for receiving drain currents (not shown) from the plurality of synapses 302. The storage device may be any storage device capable of receiving and storing currents. The storage device may be a memory. The drain currents are produced as an output of multiplication from the plurality of synapses 302. The drain currents generate an amount of charge proportional to a period of time that a fixed voltage is applied as an input. [0147] The accumulation block 304 further includes a plurality of multipliers (not shown) for storing the synaptic weights and multiplying the synaptic weights by input signals as processed by the CTTs. The accumulation block 304 further includes an accumulator (not shown) for summing the output of the multiplication from the plurality of multipliers.

[0148] The storage capacitor 306 accumulates charge from the drain currents to act as short-term memory for accumulated signals.

[0149] The discharge pulse generator 308 generates an output signal by discharging the accumulated charge during a discharge cycle.

[0150] The comparator 314 produces a first output if a received input signal is above a reference voltage. The comparator 314 produces a second output if the received input signal is below the reference voltage. In an embodiment, the first output is higher than the second output, and the first output is termed a “high” output and the second output is termed a “low” output. In another embodiment, the first output is lower than the second output, and the first output is termed a “low” output and the second output is termed a “high” output.

[0151] In an embodiment, the comparator 314 is a threshold inverter quantization (TIQ) comparator 314 for comparing an input voltage with a reference voltage. Advantageously, in the embodiment where the comparator 314 is a TIQ comparator, the reference voltage VREF is self-generated by the comparator 314 as an inherent threshold voltage of the TIQ comparator 314.

[0152] The TIQ comparator 314 includes a cascade of at least one CMOS inverter (not shown). Each CMOS inverter includes a PMOS transistor (not shown) and an NMOS transistor (not shown). According to a transfer curve of each CMOS inverter, as the input signal goes from 0 volts to a higher voltage, a threshold of each CMOS inverter is reached, and the output flips from the second output to the first output. For example, in an embodiment, this may include the output flipping from the low output to the high output. Accordingly, the threshold acts as an implied reference voltage. Furthermore, if the input voltage falls below the threshold, the high output flips state from the first output to the second output. For example, in an embodiment, this may include the output flipping from the high output to the low output. [0153] Where an odd number of inverters are used, each time a threshold of the cascade of CMOS inverters is reached, the output will be in a flipped state. Where an even number (greater than zero) of inverters are used, each time a threshold of the cascade of CMOS inverters is reached, the output will not be in a flipped state (i.e. , the output will have flipped back).

[0154] In an embodiment, the PMOS transistors and NMOS transistors are CTTs, and the threshold of the TIQ comparator 314 is adjustable via at least one of the PMOS CTTs or the NMOS CTTs according to charge-trapping techniques.

[0155] The threshold of the TIQ comparator 314 corresponds to a ratio of a strength of the PMOS transistor divided by a strength of the NMOS transistor.

[0156] The threshold of the TIQ comparator 314 is inherent and may advantageously be adjusted according to a CTT technique. CTT devices (such as that described in relation to Figure 7) may act to control, modify, or otherwise alter the threshold or reference voltage in order to effect operations of the neural network 300. [0157] Ordinary comparators may not be capable of the foregoing functionality because the VREF or threshold of ordinary comparators is generated separately. Advantageously, the foregoing TIQ functionality represents a novel and inventive improvement over the ordinary comparators by minimizing the number of transistors used to perform the comparison function, eliminating the source of a reference voltage or threshold voltage, and providing a mechanism to calibrate the threshold of the TIQ comparator 314.

[0158] In the present disclosure, the foregoing functionality of the TIQ comparator 314 further includes using threshold calibration to calibrate the neuron 300.

[0159] The plurality of synapses 302 propagate input signals received as the input. The accumulation block 304 accumulates charge during a charging cycle. In an embodiment, the accumulation block 304 is a charging cycle cascoded current mirror. The storage capacitor 306 accumulates resultant charge from current pulses and acts as a form of short-term memory for the accumulated input signals.

[0160] The discharging pulse generator 308 discharges charge during a discharging cycle. In an embodiment, the discharging pulse generator 308 is a discharging cycle cascoded current source. In an embodiment, the discharging pulse generator 308 further transmits the input signals during the charging cycle to achieve a subtraction function.

[0161] There may be no explicit Vref in the neuron 300. The Vref may be built in as a threshold of the TIQ comparator 314 itself. The neuron 300 may be adjustable based on changing the built-in threshold of the TIQ comparator 314.

[0162] In an embodiment, the CTTs may be used to provide an adjustable threshold for the TIQ comparator 314, i.e. , a way of calibrating the threshold of the neuron 300.

[0163] In an embodiment, a correlated double sampling may advantageously be employed to achieve an improved cancellation of threshold shift of the TIQ 314. The correlated double sampling further advantageously initializes voltage on the storage capacitor 306.

[0164] Referring now to Figure 4, there is shown a simplified structure of a neuron 400 of the present disclosure utilizing CTTs for weight storage as well as for multiplication, in accordance with an embodiment.

[0165] The neuron 400 includes synapses 402a, 402b, and 402c for performing analog conduction-based inferencing. In an embodiment, the synapses 402a, 402b, and 402c are CTTs 402a, 402b, and 402c. Synaptic weights are stored in the threshold voltage shift of the CTTs 402a, 402b, and/or 402c.

[0166] The CTTs 402a, 402b, and 402c receive input signals 408a, 408b, and 408c, respectively. The input signals 408a, 408b, and 408c are applied to the CTTs 402a, 402b, and 402c, respectively.

[0167] The CTTs 402a, 402b, and 402c produce drain currents 403a, 403b, and 403c, respectively. The drain currents 403a, 403b, and 403c each produce a quantity of charge equal to a product of the input signals 408a, 408b, and 408c and the synaptic weights stored at each of the CTTs 402a, 402b, and 402c, respectively.

[0168] The neuron 400 further includes a storage capacitor 404 for accumulating resultant charge from the drain currents 403a, 403b, and 403c.

[0169] The neuron 400 further includes a comparator 406. The comparator 406 may be the TIQ comparator 314 of Figure 3. In an embodiment where the comparator 406 is the TIQ comparator 314, during a discharge phase of operation of the storage capacitor 404, an output of the comparator 406 flips from the first output to the second output when a received input voltage falls below a reference voltage of the comparator 406, and the output flips from the second output to the first output when the received input voltage exceeds the reference voltage.

[0170] The comparator 406 may be a dual-slope TIQ comparator 406 and may generate an activation output. In a mixed-signal realization, inputs are transformed to time pulses, which are then subsequently weighted by a conductance of the neuron 400 to produce a scaled current pulse (not shown). Resultant charge from the scaled current pulse is accumulated on the storage capacitor 404 and subsequently discharged at a constant rate in order to generate a timing pulse 408d.

[0171] In an embodiment, the neuron 400 forms part of an ANN (not shown). The timing pulse 408d may be propagated directly to a subsequent layer of the ANN. The timing pulse 408d may be passed through a non-linear function, such as rectified linear unit (ReLU), and then propagated to a subsequent layer of the ANN. The timing pulse 408d may be stored in an ephemeral memory storage element (not shown) for future use. The ephemeral memory storage element may be time-ephemeral memory. The ephemeral memory storage element and/or the time-ephemeral memory may be the storage capacitor 404.

[0172] The neuron 400 further includes a ground 416 for serving as an electrical ground.

[0173] Referring to Figure 5, shown therein is a neuron 500, in accordance with an embodiment.

[0174] The neuron 500 includes synapses 502a, 502b, 502c, and 502d for receiving input signals (collectively referred to as the synapses 502 and generically referred to as the synapse 502) for storing and supplying synaptic weights. The synapses 502 may include any number of synapses.

[0175] The neuron 500 further includes an accumulation block 504 for accumulating the input signals, a storage capacitor 506 for storing the accumulated signals temporarily, a discharge pulse generator 508 for generating an output signal, a comparator 514 for comparing voltages, and drains 520a, 520b, 520c, and 520d (collectively referred to as the drains 520 and generically referred to as the drain 520) corresponding to each of the synapses 502 for transmitting currents from the synapses 502 to the accumulation block 504.

[0176] The neuron 500 may form part of an ANN (not shown). The neuron 500 further includes an activation pulse 512 generated for propagation to a subsequent layer of the ANN.

[0177] The synapses 502 perform a multiply function based on the received input signals and each synapse 502 generates a current for a period of time. The received input signals may be a received activation pulse 512. The period of time for which each current is generated is equal to a width of the received activation pulse 512 received at each synapse 502. Each such received activation pulse 512 may include a different width. [0178] The drains 520 connect together before connecting to the accumulation block 504. The accumulation block 504 sums the currents transmitted through the drains 520. In an embodiment, the summing operation is equivalent to a wired OR function. Results of the summing operation at the accumulation block 504 are further transmitted as a signal to the capacitor 506.

[0179] In an embodiment, the accumulation block 504 acts as a current mirror for mirroring current flowing through the synapses 502. Advantageously, the current mirror may be used when power supply is low and circuit operation headroom is limited.

[0180] The accumulation block 504 includes a storage device (not shown) for receiving transmitted currents from the drains 520 from the plurality of synapses 502, a plurality of multipliers (not shown) for storing the synaptic weights and multiplying the synaptic weights by the transmitted currents. The accumulation block 504 further includes an accumulator (not shown) for summing the output of the multiplication from the plurality of multipliers.

[0181] The capacitor 506 includes a bottom plate 516 for grounding the neuron 500. The capacitor 506 further includes a top plate 518 for accumulating charge from the synapses 502. In an embodiment, advantageously no active integrator circuit implementation is present, and a single open loop capacitor 506 may store the accumulated charge temporarily. [0182] A voltage pulse applied to each of the synapses 502 may begin transmission as a signal at the same time. Each such signal ceases transmission or “turns off” according to an input signal received from a previous layer of the ANN.

[0183] Figure 5 further depicts a graph 510 showing the activation pulse 512 in the context of a changing reference voltage. A width of the activation pulse 512 is information passed from one neuron (such as the neuron 500) to a subsequent neuron across layers of the ANN. A dual-slope multiply-accumulate function as described uses time to carry activation information.

[0184] A first slope 522 of the graph 510 represents time for accumulation, i.e. , for the received input signals to be added up across the drains 520. This represents the ‘accumulate’ stage of a ‘multiply accumulate’ operation.

[0185] The second slope 524 of the graph 510 represents generation of the activation pulse 512, during which time a constant reference current discharges the accumulated charge on the capacitor 506. A down current relates to a charge being discharged from the capacitor 506 by the constant current. The generated activation pulse 512 starts at the beginning of the discharge phase and stops when the voltage on the top plate 518 of the capacitor 506 drops below the threshold voltage of the comparator 514. [0186] Referring now to Figure 6, shown therein is a graph 600 depicting additional details of the dual-slope multiply-accumulate function for generating the activation pulse 512 in the neuron 500. In the graph 600, integrated charge is proportional to a multiplication product, but the absolute value of the multiplication product is not important. In an embodiment, the activation pulse is successfully generated when the value of the multiplication product remains constant until a constant-current discharge event, such as the generation of the activation pulse 512 as described with respect to Figure 5.

[0187] The graph 600 depicts a dual-slope process used to combine multiply- accumulate functions to generate the activation pulse 512. The graph 600 includes a vertical axis 614, representing charge. The graph 600 further includes a horizontal axis 606, representing time.

[0188] The graph 600 includes a first region 602 in which MAC integration occurs. In the first region 602, charge accumulated on the capacitor 506 is proportional to the multiplication product. Such multiplication product may be å(Wij * Xi), referring to the matrices as shown in Figure 13. The first region 602 includes a first slope 608 corresponding to a charge cycle.

[0189] The graph 600 includes a second region 604, in which discharge of the capacitor 506 occurs at a unit-standard. The rate of discharge of the capacitor 506 provides a time-ratio fraction proportional to a normalized dot product of the received input signals received at the synapses 502 and the synaptic weights stored at the synapses 502 and is used to generate the activation pulse 512 for a subsequent layer of the ANN. The second region 604 includes a second slope 610 corresponding to a discharge cycle of the capacitor 506.

[0190] The first and second slopes 608, 610 represent the charging and discharging cycles of the neuron 500, respectively. The graph 600 depicts a charge cycle where a previously generated activation pulse 512 is applied to the neuron 500. Signals are transmitted from the synapses 502 via the drain currents 520 to the accumulation block 504, and the resulting current is summed, i.e. , the accumulate phase of ‘multiply and accumulate’.

[0191] The graph 600 further depicts a discharge cycle. To generate a pulse width (not shown) of the activation pulse 512 that proceeds to a subsequent layer of the ANN, the capacitor 506 is discharged using a known constant current. The time the capacitor 506 takes to discharge determines the pulse width that proceeds to the subsequent layer. [0192] Referring now to Figure 7, shown therein is a CTT 700 suitable for use in the synapses 302, 402, and 502 of the neurons 300, 400, and 500 of Figures 3, 4, and 5, in accordance with an embodiment.

[0193] The CTT 700 includes a gate 702 for receiving an input signal. The CTT 700 includes a layer source 704 for receiving a negative reference for an input voltage (or activation). The CTT 700 includes a layer body bias 706 for facilitating possible threshold adjustment to compensate for parameters such as temperature. The CTT 700 includes a layer drain 708 for transmitting an output signal. The CTT 700 includes a gate dielectric (not shown) for interposing between the gate 702 and a substrate to which the CTT 700 is applied. The gate dielectric is used to store trapped charge and adjust the threshold voltage of the CTT 700. [0194] In an embodiment, the CTT 700 is a charge-trapped weight-storing transistor. In an embodiment, the CTT 700 is an NMOS CTT. In an embodiment, the CTT 700 is a PMOS CTT.

[0195] CTT devices 700 have been used as multi-level non-volatile memory. Using the charge-trapping phenomenon in a transistor 700 with a high-k-metal gate 702 and applying drain bias during the charge-trapping process may enhance the charge trapping process in the CTT 700.

[0196] N-type CTTs 700 with an interfacial layer of Si02 (not shown) followed by a cascaded HfSiON layer (not shown) as the gate dielectric are a common device type in CMOS technology process nodes smaller than 32nm. N-type CTTs may include an interfacial layer of Si02 followed by high-K material similar to the nitride HfSiON layer as the gate dielectric.

[0197] A threshold voltage Vt (not shown) of the CTT 700 is modulated by an amount of charge trapped in the gate dielectric of the transistor 700. A drain bias enhances and stabilizes the charge-trapping process due to enhanced local heating effects.

[0198] Using the CTT 700 for synapse multiplication is done by transmitting previous layer amplitudes as constant-voltage pulse widths that encode intensities of the neurons 300, 400, 500 and are applied to the gate 702 of the CTTs 700; the larger the input, the longer the pulse. The synapse multiplication may be weight multiplication. A resulting drain current (such as the drain currents 403, 520) is a function of a Vgs (applied input voltage) and a threshold voltage associated with the CTT 700 because ld=f(Vgs- Vt). Since all CTTs 700 begin with a nominal Vt inherent in the silicon manufacturing process, during programming of the CTT 700, the nominal Vt is shifted by an amount proportional to the weight being stored by the CTT 700. This change in Vt, or delta-Vt, represents the weight value associated with the particular device 700 or synapse 302, 402, 502. Utilizing MOSFETS in the subthreshold region allows for a log relationship between Id and (Vgs-Vt). In circuits utilizing subthreshold MOSFETs, Vt is a constant and Vgs changes. This works well when Vgs is a controlled signal. In an embodiment, however, the Vt of the CTT 700 is shifted, inducing a resulting change in Id, Vgs is applied as a pulse in time, and absolute voltage is constant. [0199] In an embodiment, because the input information is carried by the pulse width, the foregoing proceeds with one voltage amplitude. The current flowing through the CTTs 700 is integrated by the neuron 300, 400, or 500, leading to a charge stored on the capacitor 306, 404, or 506 being equal to the summation of weighted inputs:

[0200] Q = å(l * t)

[0201] Programming of the synaptic weights (not shown) is achieved by applying gate pulses of varying length (for example, 50us to 10ms) at a set programming voltage bias (for example, Vgs = 1 2V to 2.0V, Vds = 1 0V to 1 8V), depending on technology. [0202] In an embodiment where the CTT 700 implements a neuron (such as the neuron 500 of Figure 5), inputs, such as neural network inputs, are transformed to time pulses (such as the activation pulse 512), where the duration of the time pulses is proportional to the magnitude of a received input signal (pulse width modulation). The time pulses are constant-amplitude pulses applied to the gate 702. Conductance of the charge trapped transistor 700 has previously been adjusted proportionally to the synaptic weight (not shown). Accordingly, drain current pulses (not shown) in the drain currents 520 from the CTT 700 produce a quantity of charge equal to the product of the time pulses received at the gate 702 and the previously stored synaptic weight. The resultant charge from the time current pulses as transmitted by the drain current pulses from the CTT 700 is accumulated on the storage capacitor 506 during the first slope 608 of the dual slope operation as shown in Figure 6. Subsequently, a fixed current is applied to the capacitor 506, discharging the capacitor 506 during the second slope 610.

[0203] When the voltage crosses a threshold level, a comparator flips state. The comparator may be the threshold inverter quantization (TIQ) comparator 314 of Figure 3 or the TIQ comparator 514 of Figure 5, which in an embodiment may be CTT-calibrated. A time pulse is generated for the duration of the second slope 610, and a width of the time pulse represents the output of the neuron 500.

[0204] In the architecture of the foregoing embodiment, the drain current, I, represents the synaptic weight and t, time, is the activation input. Thus, each CTT 700 performs a multiplication of the synaptic weight and the activation pulse 512, and all of the synaptic multiplications are accumulated on a single capacitor, such as the capacitor 306 or the capacitor 506. [0205] Referring now to Figure 8, shown therein is an exemplary layer 800 including multiple CTTs 700, namely CTTs 700a, 700b, 700c, 700d, 700e, and 700f (collectively referred to as the CTTs 700 and generically referred to as the CTT 700), in accordance with an embodiment. The layer 800 may include any number of CTTs 700. In an embodiment, the layer 800 is the neuron 300 of Figure 3, the neuron 400 of Figure 4, or the neuron 500 of Figure 5. In an embodiment, the layer 800 is an example layer of synaptic weights.

[0206] In Figure 8, there is a drain current (not shown) as output of multiplication from synapses. Each CTT 700 generates an amount of current for a period of time. Addition is represented as the drain current taken together in the capacitor (not shown). [0207] Referring now to figures 9A and 9B, shown therein are current mirrors 900 and 902, respectively, according to an embodiment.

[0208] The current mirror 900 includes transistors 903a, 903b, 903c, and 903d. In an embodiment, the transistors 903a, 903b, 903c, and 90dd are not CTTs 700 because the transistors 903a, 903b, 903c, and 903d do not perform a charge-trapping function. [0209] The current mirror 902 includes transistors 903e, 903f, 903g, 903h, 903i, 903j, 903k, 903I, 903m. In an embodiment, the transistors 903e, 903f, 903g, 903h, 903i, 903j, 903k, 903I, and 903m are not CTTs 700 because the transistors 903e, 903f, 903g, 903h, 903i, 903j, 903k, 903I, and 903m do not perform a charge-trapping function.

[0210] The design of the current mirrors 900 and 902 exhibits several design constraints: that of good matching, high output impedance, and fast transient response. In order to achieve good matching, the transistors 903a, 903b advantageously have matching terminal voltages, specifically Vg and Vd. Such matching voltages are advantageously achieved through the use of a cascoded current mirror structure. The cascoded current mirror structure achieves excellent matching of Vg and Vd. Moreover, the cascoded current mirror structure demonstrates high output impedance, in this case at nodes 914 and 908. Utilizing the cascoded current mirror structure with the transistors 903a, 903b, 903c, 903d, 903e, 903f, 903g, 903h, 903i, 903j, 903k, 903I, and 903m biased in the subthreshold operating region further enhances the performance of the cascoded current mirrors 900, 902. [0211] In an embodiment, the cascoded current mirror 900 of Figure 9A may be the accumulation block 304 of the neuron 300 of Figure 3. In an embodiment, the cascoded current mirror 902 of Figure 9B may be the discharging pulse generator 308 of the neuron 300 of Figure 3.

[0212] The current flowing through the CTTs 700 may be mirrored by the cascoded current mirror 902, leading to an accumulation of charge on the capacitor 306 creating a voltage proportional to the summation of weighted inputs: V = 1/C å(l * t).

[0213] Referring now to Figure 10, shown therein is a threshold inverter quantization (TIQ) comparator device 1000 for threshold inverter quantization comparison, in accordance with an embodiment. The TIQ comparator device 1000 may be the TIQ comparator device 314 of Figure 3.

[0214] The TIQ comparator device 1000 includes a cascade of two CMOS inverters 1001a, 1001 b (collectively referred to as the inverters 1001 and generically referred to as the inverter 1001 ) for producing a first output if a received input signal is above a reference voltage of the TIQ comparator device and producing a second output if the received input signal is below the reference voltage. The TIQ comparator device 1000 further includes an input connection 1006 for receiving input signals. The TIQ comparator device 1000 further includes an output connection 1008 for transmitting output signals. The TIQ comparator device 1000 further includes a power connection 1004 for receiving power. The TIQ comparator device 1000 further includes a ground 1010 for grounding the TIQ comparator device 1000.

[0215] In an embodiment, the first output is higher than the second output. In such an embodiment, the first output is termed a “high” output and the second output is termed a “low” output.

[0216] In an embodiment, the first output is lower than the second output. In such an embodiment, the first output is termed a “low” output and the second output is termed a “high” output.

[0217] Each inverter 1001 a, 1001 b includes a PMOS transistor 1002a, 1002c and an NMOS transistor 1002b, 1002d, respectively (the transistors 1002a, 1002b, 1002c, 1002d are collectively referred to as the transistors 1002 and generically referred to as the transistor 1002). Each of the transistors 1002 may be a CTT 700. The threshold of the TIQ comparator 1000, for each inverter 1001 , is set according to a ratio of a strength of the PMOS transistor 1002 divided by a strength of the NMOS transistor 1002. The strength of each transistor 1002 is understood as relating to the width of each transistor 1002, the length of each transistor 1002, the mobility of each transistor 1002, and/or any other relevant parameter or factor of each transistor 1002. Furthermore, fine adjustment and calibration may be maintained by the re-programming of the threshold voltage using the same method as in a weight matrix 1302 as shown in Figure 13. The TIQ comparator device 1000 may be a CTT-calibrated TIQ comparator device 1000.

[0218] In Figure 10, a threshold voltage of the transistors 1002 may be adjusted to calibrate TIQ offset.

[0219] Advantageously, the offset of the TIQ comparator device 1000 may be calibrated by adjusting any one of the transistors 1002 in the TIQ comparator device 1000. [0220] The threshold voltage of the TIQ comparator device 1000 is self-generated by the TIQ comparator device 1000. If an input voltage as received via the input connection 1006 exceeds the threshold voltage, a first output of the TIQ comparator device 1000 flips to a second output and is transmitted via the output connection 1008. If the input voltage as received via the input connection 1006 falls below the threshold voltage, the second output flips to the first output and is transmitted via the output connection 1008.

[0221] Referring now to Figure 12, shown therein is a CNN 1200, in accordance with an embodiment, provided as an example to illustrate how a neural network may be constructed using the architecture of the present disclosure. Figure 12 is a simplified diagram of the CNN 1200 for image classification. The CNN 1200 may be implemented by neurons (e.g., the neuron 500 of Figure 5) arranged into layers.

[0222] The CNN 1200 includes convolutional layers 1204, pooling layers 1206, fully connected layers 1208, hidden layers (not shown), and an output layer 1210.

[0223] Together, the convolutional layers 1204 and the pooling layers 1206 may be considered a feature extractor 1201 for extracting features of an input image 1202. [0224] Together, the fully connected layer 1208 and the output layer 1210 may be considered a classifier 1209 for classifying the input image 1202. In an embodiment, the classifier 1209 may further transmit an output signal (not shown) corresponding to a classification of the input image 1202.

[0225] In Figure 12, each layer 1204, 1206, 1208 includes neurons (not shown), such as the neuron 500. Each neuron of Figure 12 includes synapses (not shown), such as the synapses 502 of Figure 5. The synapses of Figure 12 include CTTs, such as the CTTs 700 of Figure 7. A threshold voltage of the CTT 700 is adjusted through programming to store a value of a synaptic weight for the synapse 502. A voltage pulse (not shown) is applied to a gate 702 of each CTT 700. Advantageously, the source may be at ground. Gate-to-source voltage may be constant, but the voltage pulse, using time, carries information for an activation input.

[0226] In Figure 14, an exemplary computation in the convolutional layers 1204 is examined. The input image 1202 is a 2-dimensional array of pixel values which represent an image. Each convolutional layer 1204 performs 2-dimensional “dot” products on the pixel values received. The input image 1202 is broken down into smaller computational units, such as 3-by-3 or 5-by-5 matrices. As shown in Figure 13, 3-by-3 matrices are provided as an example.

[0227] In Figure 13, a portion of the input image 1202 is represented by a 3-by-3 matrix 1302 of pixel values (X1 , X2...X9) received as inputs to a neuron, such as the neuron 500, in the convolutional layer 1204. Feature weight parameters (W1 , W2...W9) associated with a feature filter are represented by a 3-by 3-matrix 1304. The dot product of the two matrices 1302, 1304 is equal to the sum of the products of each cell in the two matrices 1302, 1304, according to the following equation:

[0228] Referring back to Figure 14, shown therein is an implementation of a convolutional neuron 1220 in a convolutional layer 1204 of the CNN 1200. The convolutional neuron 1220 includes a synapse matrix 1214 utilizing CTTs 1215 for computing the multiplication portion of the dot product. The convolutional neuron 1220 further includes a capacitor 1216 for accumulating outputs of the synapse matrix 1214 and a comparator 1218 for comparing voltages. The comparator 1218 may be the TIQ comparator 314. An activation pulse (not shown) is generated at the output of the comparator 1218.

[0229] The convolutional neuron 1220 receives input data 1212. The input data 1212 may be in the form of a matrix.

[0230] In an embodiment, the input data 1212 is an input signal.

[0231] In an embodiment, the input signal is propagated from a previous layer of the CNN 1200.

[0232] In an embodiment, the convolutional neuron 1220 is in a first layer of the CNN 1200 and the input data 1212 is an input to the CNN 1200 from outside the CNN 1200.

[0233] In an embodiment, the input data 1212 includes the matrices 1302, 1304 of Figure 13.

[0234] The convolutional neuron 1220 may be a neuron 300 of Figure 3 or a neuron 500 of Figure 5.

[0235] In Figure 14, the products of the input data 1212 are passed to a subsequent layer of the CNN 1200, such as a pooling layer 1206 (not shown) or stored in ephemeral memory (not shown) as a signal.

[0236] For fully connected, feedforward neural networks, multiple activation pulses (such as the activation pulse 512 of Figure 5) may not be maintained for a single neuron (such as the neuron 500 of Figure 5). Flowever, for ANNs which reuse the activation pulses multiple times, such as CNNs, the activation pulses generated at the output of 1218 may be temporarily stored prior to processing with a subsequent layer of the ANN. For these ANNs, the ephemeral memory is used to store widths of the activation pulses for a temporary period of time.

[0237] In an embodiment, the convolutional neuron 1220 is implemented by the CTTs 700 of Figure 7. During positive programming, positive gate voltage pulses may be applied to the gate 702 of the CTTs, and a threshold voltage of each CTT 700 may shift in a positive direction. During negative programming, negative gate voltage pulses may be applied to the gate 702, and the threshold voltage of each CTT 700 may shift in the opposite direction. [0238] During synapse multiplication, absolute value of the physical parameters of hardware implementing the ANN is not critical due to calibration applied to the ANN. [0239] It should be noted that the product of the multiplication function is charge (i.e. , l * t) and that the summation of the synaptic outputs (i.e., charges) may be stored on the capacitor (such as the capacitor 306 or the capacitor 506). In the memory architectures described herein, an activation pulse (not shown) may not be converted to digital to store in memory, as the activation pulse may advantageously be used by the subsequent layer of the ANN directly. If the convolutional neuron 1220 is utilized to generate more than one activation pulse, then each activation pulse may be stored by the ephemeral memory.

[0240] In an embodiment, in the context of calibration, an overall neural network algorithm implementing the ANN advantageously depends only upon the relative relationship between neuron activation pulse widths (not shown). There is no dependence upon absolute voltage, current, or charge. To ensure that all of the neurons of the ANN are relatively accurate, the entire path for each neuron (such as the neuron 300 of Figure 3), including each of its synapses (such as the synapses 302) may be calibrated relative to a single “golden” neuron (not shown). Such calibration may advantageously ensure that all neurons maintain a constant relationship to the golden neuron, thus maintaining ratiometric accuracy. In the embodiment, there are several calibrations involved in the solution, including initial programming calibration, continuous temperature calibration, and periodic CTT drift calibration.

[0241] Referring now to Figure 15, shown therein is a method 1500 for reference block calibration, in accordance with an embodiment. The method 1500 may be implemented to calibrate the neuron 300 in Figure 3. At 1502, the neuron 300 determines a designated reference weight block (not shown). The designated reference weight block may be a reference weight block calibrated according to a signal. The designated reference weight block, or “golden block” or “golden delay block” is a block to which all other delay blocks are calibrated.

[0242] At 1504, current mirrors (e.g., current mirrors 900 and/or 902 shown in Figures 9a and 9b) in the neuron 300 are calibrated according to the designated reference weight block. After calibration, the current mirror 900 or 902 is in sync with the golden delay block. At 1506, the capacitor 306 is calibrated according to the designated reference weight block. After calibration, the capacitor 306 is in sync with the golden delay block. At 1508, the comparator 314 is calibrated according to the designated reference weight block. After calibration, the comparator 314 is in sync with the golden delay block. Once this process is complete, each neuron signal path is matched relative to the single golden delay block. Advantageously, all neurons 300 may be effectively matched to each other. At 1510, each synaptic weight stored on the CTTs 700 is calibrated in the designated reference weight block.

[0243] Where components are calibrated according to a single reference weight block, for example the golden delay block, each component may keep the same relative time to advantageously improve system functioning and efficiency.

[0244] A further advantage of the present disclosure may be an ease of calibration at the neuron level and resulting ratiometric matching between all of the neurons 300 in the complete neural network (not shown). Advantageously, in order to achieve good accuracy in the ANN, the relative ratios of all of the activation/weight products may be accurate through the reference block calibration.

[0245] In an embodiment, all device behavior and all neuron signal paths are calibrated according to one designated reference weight block->current mirror- >capacitor->comparator chain.

[0246] Once the reference chain has been calibrated to a unit scale time, e.g., full scale charge of a 1 pF capacitor in 1 us, all current mirror->capacitor->comparator chains may be calibrated using the same reference weight (Iref). All chains may be calibrated periodically to ensure that any small amount of drift in device characteristics is compensated for. This calibration process may advantageously efficiently calibrate out all of the differences between all of the neuron signal paths. Advantageously, calibration in the foregoing manner may succeed even if only time is stable.

[0247] Temperature compensation may be applied in at least one of two ways. In an embodiment, back bias voltage modulation is applied. In an embodiment, Vgs pulse voltage may be adjusted. Through either of the foregoing embodiments, the reference chain is maintained at unit scale time. The temperature compensation may be global. The temperature compensation may be continuous. Advantageously, the temperature compensation may ensure that only a small amount of global drift occurs due to temperature, thus keeping all of the relative errors between signal paths negligible. [0248] Referring now to Figure 16, shown therein is an ephemeral memory scheme 1600 for temporarily retaining information, in accordance with an embodiment. The ephemeral memory scheme 1600 is a simplified illustration of an implementation of an ephemeral memory apparatus 1700 of Figure 17.

[0249] The ephemeral memory scheme 1600 includes activation 1602 for generating an activation pulse (not shown), an ephemeral memory mixed-signal counter 1604 for storing the activation pulse, and a replay activation 1606 for regenerating the activation pulse.

[0250] Referring now to Figure 17, shown therein is an ephemeral memory apparatus 1700 for temporarily retaining information, in accordance with an embodiment. The ephemeral memory apparatus 1700 represents a generic implementation of the ephemeral memory scheme 1600 of Figure 16. In an aspect, the information retained may be input signals received at the neuron 300 or 500. In an embodiment, the ephemeral memory apparatus 1700 may be an ephemeral memory storage.

[0251] The ephemeral memory apparatus 1700 includes an inner ring 1704 for providing asynchronous controllable delay. The inner ring 1704 is supported by an outer ring 1706 including an asynchronous counter 1708. This combination works in tandem to achieve efficient short-term accurate storage of delay state.

[0252] In the ephemeral memory apparatus 1700, a significant advantage over existing apparatus, devices, methods, and systems is that the apparatus may function asynchronously. The apparatus 1700 provides a solution to store time temporarily using nanowatt/picowatt orders of power consumption in a physically small space, which enables functionality at lower power and small silicon area.

[0253] Referring now to Figure 18, shown therein is an ephemeral memory apparatus 1800 for temporarily retaining information, in accordance with an embodiment. The ephemeral memory apparatus 1800 is an implementation of the ephemeral memory apparatus 1700 in Figure 17 shown in greater detail.

[0254] The apparatus 1800 includes an inner ring 1804 including a plurality of subthreshold pass transistor logic (PTL) delay line blocks 1802 for providing asynchronous controllable delay. An outer ring 1806 includes D flip-flops (not shown) forming an asynchronous counter 1808.

[0255] In the context of ephemeral, mixed-signal, time memory structure, in many artificial neural networks, a specific set of filter weights is used multiple times within a layer to process multiple activation inputs. The intermediate activations may be stored until all the values are available for the next layer to process. In an embodiment, a simple capacitor may be insufficient due to the leakage currents associated with the transistors connected to the capacitor. Therefore, the ephemeral memory apparatus 1800 may advantageously be used to store a pulse width (or time) for each activation. The ephemeral memory apparatus 1800 stores the pulse width or time in the asynchronous counter 1808, which can be used subsequently to drive a time input to the next neuron. [0256] The inner ring 1804 acts as an oscillator (not shown) when enabled and is enabled for the time when a neuron capacitor (such as the capacitor 306 of Figure 3) is discharging. The oscillator triggers the counter 1808 to count up when enabled. Once the neuron capacitor is discharged, the oscillator is disabled and the counter 1808 holds a value. At a subsequent time, the oscillator is enabled again and the counter 1808 counts back down to zero, during which time a pulse is generated by an asynchronous counter (not shown) as the input to the next neuron. The absolute frequency of the asynchronous counter generating the pulse is not critical. In an embodiment, only the temporary stability of the oscillation frequency is important for accuracy.

[0257] Referring now to Figure 19, shown therein is an ephemeral memory apparatus 1900 for temporarily retaining information, in accordance with an embodiment. The ephemeral memory apparatus 1900 is an implementation of the apparatus 1700 in Figure 17 and the apparatus 1800 shown in Figure 18 shown in greater detail. In an embodiment, the information retained is input signals received at the neuron 300 or 500. [0258] In an embodiment, the ephemeral memory apparatus 1900 is ephemeral memory storage.

[0259] The ephemeral memory apparatus 1900 includes an inner ring 1904 for providing asynchronous controllable delay. The apparatus 1900 further includes an outer ring 1906 for supporting the inner ring 1904. The outer ring 1906 includes asynchronous counters 1908. The asynchronous counters 1908 include a first asynchronous counter 1909. The inner ring 1904 and the outer ring 1906 function in tandem to achieve efficient short-term accurate storage of delay state.

[0260] The inner ring 1904 includes an analog subthreshold delay block 1902 for providing asynchronous controllable delay.

[0261] The asynchronous counters 1908 may be a plurality of D flip-flops.

[0262] Using the analog subthreshold delay block 1902 with positive feedback and the first asynchronous counter 1909, there may be created a self-timed oscillator (not shown) that oscillates based on a frequency of the delay elements. In the ephemeral memory apparatus 1900, the first asynchronous counter 1909 is clocked by the self-timed oscillator.

[0263] A discharge period generates an activation pulse (not shown) from a neuron, such as the neuron 300. When the activation pulse is high, the activation pulse enables the self-timed oscillator. When the activation pulse is low, the activation pulse disables the self-timed oscillator, and the asynchronous counters 1908 stop, having stored a number representing a pulse width of the activation pulse. The asynchronous counters 1908 may advantageously retain the stored number for a period of time. In an embodiment, the asynchronous counters 1908 preferably retain the stored number for several seconds.

[0264] The apparatus 1900 may advantageously use dynamic logic to save space and power.

[0265] During the activation pulse, the asynchronous counters 1908 count up during a count-up period. When the ephemeral memory apparatus 1900 is to apply the activation pulse to a subsequent neuron (such as the neuron 300), the asynchronous counters 1908 count down, enabling the analog subthreshold delay block 1902, in order to replay the process and generate a subsequent activation pulse (not shown) equal to the previous activation pulse during the count-up period. The result as depicted graphically is the dual-slope process of Figure 6.

[0266] As the asynchronous counters 1908 count back down, the stored number may be lost. In an embodiment, the asynchronous counters 1908 may be paired with another version of the counters (not shown) running in the opposite direction, i.e., counting up when the asynchronous counters 1908 count down and vice-versa. [0267] In an embodiment, the asynchronous counters 1908 are 1 -bit asynchronous sub-threshold counters.

[0268] Further provided in Figure 19 are examples of unit time and variation therein. In the apparatus 1900, up-counting is enabled by a storage capacitor discharge cycle. Up-counting is disabled by a threshold of a neuron, such as the neuron 300. In the apparatus 1900, down-counting is enabled by a start-of-inference signal for a subsequent layer of the ANN.

[0269] The asynchronous counters 1908 are enabled at the beginning of the discharge phase (corresponding to the slope 610 of Figure 6). The counters 1908 are disabled when the TIQ comparator 314 flips state (i.e. , when voltage currently on the capacitor 306 becomes equal to the reference voltage Vref).

[0270] In an embodiment, defects in an absolute delay provided by the analog subthreshold delay block 1902 do not prevent successful operation of the apparatus 1900 so long as the apparatus 1900 is stable for short periods (measured in milliseconds) and so long as the asynchronous counters 1908 have sufficient extra states to compensate therefor.

[0271] In the apparatus 1900, a significant advantage over existing apparatus, devices, methods, and systems is that the apparatus 1900 may function asynchronously. A solution is provided to store time temporarily in the nanowatt/picowatt power consumption space. An advantage of the present disclosure is functionality at lower power.

[0272] Referring now to Figure 20, shown therein is a flow diagram of a method 2000 of using an ANN including neurons (such as the neuron 300), in accordance with an embodiment.

[0273] At 2002, input signals are processed via a plurality of CTTs 700.

[0274] At 2004, drain currents are produced as an output of multiplication from the

CTTs 700. The drain currents generate an amount of charge proportionate to a period of time that a fixed voltage is applied as an input.

[0275] At 2006, the drain currents are received from the plurality of CTTs 700.

[0276] At 2008, charge from the drain currents is accumulated to act as short-term memory for accumulated signals. [0277] At 2010, an output signal is generated by discharging the accumulated charge during a discharging cycle.

[0278] At 2012, the input voltage is compared with a reference voltage at the comparator 314. The comparator 314 may be the TIQ comparator 314.

[0279] At 2014, if the input voltage is above the reference voltage of the comparator 314, a first output is produced.

[0280] At 2016, if the input voltage is below the reference voltage of the comparator 314, a second output is produced.

[0281] In an embodiment, the first output is higher than the second output. In such an embodiment, the first output is termed a “high” output and the second output is termed a “low” output.

[0282] In an embodiment, the first output is lower than the second output. In such an embodiment, the first output is termed a “low” output and the second output is termed a “high” output.

[0283] While the above description provides examples of one or more apparatus, devices, methods, or systems, it will be appreciated that other apparatus, devices, methods, or systems may be within the scope of the claims as interpreted by one of skill in the art.