In the evaluation phase, 5-input capacitive circuit 1900 can then behave as an always-on circuit that drives a constant logic value on node n1 (when threshold is 0), an OR/NOR gate (when threshold is 1), a majority-0/minority-0 gate or a threshold gate (when threshold is 2), or a majority/minority gate (when threshold is 3). Note, this example assumes equal weights for C1, C2, C3, C4, and C5 (e.g., C1=C2=C3=C4=C5). In some embodiments, the threshold may change (e.g., from 1 to 2 or to 3, 4, or 5 or any other value) when the ratio of capacitances of capacitors C1, C2, C3, C4, and/or C5 are modified.
In some embodiments, by turning on/off the pull-up device MP1 and pull-down device MN1 in a sequence, and conditioning the inputs ‘a(chǎn)’, ‘b’, ‘c’, ‘d’, and ‘e’ during a reset phase, the charge at node n1 is set. As such, in an evaluation phase when the pull-up and pull-down devices (MP1 and MN1) are disabled, 5-input capacitive circuit 1900 attains a desired function.