<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Theoretical Optimal Specifications of Memcapacitors for Charge-Based In-Memory Computing</title></titleStmt>
			<publicationStmt>
				<publisher>ACM</publisher>
				<date>01/20/2025</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10635677</idno>
					<idno type="doi">10.1145/3658617.3697576</idno>
					
					<author>Zichen Qian</author><author>Rentao Wan</author><author>Chin-Hsiang Liao</author><author>Steven Koester</author><author>Mingoo Seok</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[This paper presents the optimal theoretical specifications of memcapacitors that allow them to surpass the existing state-of-the-art in-memory computing (IMC) prototypes in terms of energy efficiency and weight density. To do so, we build and simulate the SPICE model of an existing memcapacitor device in an IMC macro featuring charge-based computing. We develop the energy efficiency model and weight density model of the memcapacitor-based IMC macro, which are verified against SPICE simulation. Finally, we present the optimal theoretical specifications for memcapacitor devices to obtain a 10x improvement in energy efficiency and/or weight density over the existing IMC prototypes.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>required in complex models. Conventional accelerators for DNN require row-by-row memory access to perform computations on data and parameters, posing a bottleneck to computing performance <ref type="bibr">[1]</ref>.</p><p>In-memory computing (IMC) hardware has gathered significant attention recently due to its ability to perform parallel computations where data is stored. Computing in-memory eliminates the need for row-by-row memory access in each computation cycle. This results in an energy efficiency several orders of magnitude higher than conventional hardware <ref type="bibr">[8,</ref><ref type="bibr">28]</ref>.</p><p>Researchers have developed IMC circuits based on various memory technologies <ref type="bibr">[5,</ref><ref type="bibr">20,</ref><ref type="bibr">25]</ref>. One approach to IMC involves using novel memory devices, such as memristors and memcapacitors, to store weight parameters. The charge-based memcapacitors allow for negligible static current consumption, achieving significantly higher energy efficiency than the better-known memristor-based designs <ref type="bibr">[14,</ref><ref type="bibr">26]</ref>. The theory of memcapacitors was proposed over a decade ago <ref type="bibr">[7]</ref>, with promising developments in memcapacitor implementation in recent years <ref type="bibr">[6,</ref><ref type="bibr">13]</ref>. Memcapacitors are commonly implemented with ferroelectric material which exhibits a nonvolatile capacitive memory effect.</p><p>However, memcapacitors are a relatively new technology and previous research mostly focus on device level implementation. Prior works on memcapacitor fabrication mainly aim to maximize capacitive range of the device <ref type="bibr">[6,</ref><ref type="bibr">13]</ref>. There has not been a systematic study on a set of target specifications of memcapacitors which can guide device development.</p><p>Therefore, this article aims to provide target specifications for memcapacitor fabrication and would not be considering the feasibility of fabricating such devices. Towards this goal, we have developed a SPICE and Verilog-A memcapacitor model based on the leading memcapacitor device in <ref type="bibr">[6]</ref>. We constructed a memcapacitor-based IMC circuit netlist. We developed energy efficiency and weight density models for the memcapacitor-based IMC, with energy consumption verified by SPICE simulations. Finally, using those models, we find a set of the optimal specifications of memcapacitor devices to attain 10x higher energy efficiency and/or weight density than stateof-the-art IMC prototypes. We found that an 8bx8b memcapacitorbased IMC with 10x improvement in both energy efficiency and weight density requires a memcapacitor area of &#8804;0.28 2 and maximum capacitance &#8804;1.02 with 256 stable capacitance states.  2 PRIOR WORKS 2.1 Recent State-of-the-Art IMC Works Fig 1. summarizes recent SRAM-based IMC works and their performance in terms of energy efficiency (TOPS/W) and weight density (Mb/mm 2 ) <ref type="bibr">[4,</ref><ref type="bibr">8,</ref><ref type="bibr">9,</ref><ref type="bibr">11,</ref><ref type="bibr">12,</ref><ref type="bibr">16,</ref><ref type="bibr">19,</ref><ref type="bibr">23,</ref><ref type="bibr">27,</ref><ref type="bibr">28]</ref>. SRAM-based IMCs are used as a benchmark as they utilize readily available technology and provide some of the highest energy efficiencies among IMC prototypes <ref type="bibr">[8,</ref><ref type="bibr">28]</ref>. The energy efficiency is normalized to 1-bit input and 1-bit weight. The state-of-the-art SRAM-based IMC prototype achieves an energy efficiency of over 5,000 TOPS/W and a weight density of over 1.2 Mb/mm 2 . SRAM-based IMC can be divided into analog and digital based on the nature of employed arithmetic circuits. Analog IMC macros possess high energy efficiency due to their ability to perform multi-bit multiply-and-accumulate (MAC) operations in a bitcell. Conversely, its disadvantage lies in its analog-digital converters' (ADC) higher energy consumption and accuracy constraints.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Prior Works on Memcapacitors</head><p>Nonvolatile capacitive devices, or memcapacitors, have recently emerged as viable candidates for charge-domain IMC hardware. Memcapacitors have several advantages compared to memristors, including negligible static current consumption, low IR voltage drop and no sneak-path leakage <ref type="bibr">[26]</ref>. A memcapacitor can store its "state" as small-signal capacitance, which can be programmed externally. Doped-HfO 2 ferroelectric (FE) material has shown much promise in implementing memcapacitors. Several practical implementations of memcapacitors have been developed recently <ref type="bibr">[6,</ref><ref type="bibr">13,</ref><ref type="bibr">17,</ref><ref type="bibr">29]</ref>.</p><p>Table <ref type="table">1</ref> summarizes the performance of fabricated memcapacitors from prior works. Capacitive range ( ) refers to the range of programmable capacitance, in other words, the ratio of capacitance at high capacitance state to low capacitance state ( / ). Maximum capacitance is formulated to: = &#215; , as is stated in <ref type="bibr">[6,</ref><ref type="bibr">13,</ref><ref type="bibr">17,</ref><ref type="bibr">29]</ref>. The range of programming voltage required to achieve the full capacitive range is noted as in Table <ref type="table">1</ref>. The capacitive readout voltage refers to the small signal voltage used in each work to extract capacitance data without disturbing the programmed capacitive state of the memcapacitor.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">SPICE MODEL OF MEMCAPACITOR DEVICE 3.1 Charge Shielding-based Memcapacitor and Model</head><p>As can be seen in Table <ref type="table">1</ref>, the memcapacitor device in <ref type="bibr">[6]</ref> has the best capacitive range out of prior works while having a fabricated area similar to the other devices. Capacitive range is important as a higher range can support a greater number of bits, thereby resulting in higher energy efficiency and weight density. Therefore, this article will model the device fabricated in <ref type="bibr">[6]</ref> to be used in memcapacitor simulations. Fig. <ref type="figure">2a</ref> shows the device structure of the memcapacitor fabricated in <ref type="bibr">[6]</ref>. The device consists of a gate electrode, a ferroelectric layer with memory, a shielding layer, a bottom dielectric layer and a readout electrode. A high capacitive ratio is attained depending on the degree of shielding between the gate and readout electrode <ref type="bibr">[6]</ref>.</p><p>The p + -and n + -doped regions in the shielding layer act as reservoirs for electrons and holes, and can inject either carrier type into the n -region <ref type="bibr">[6]</ref>. When enough carriers are injected, a channel forms and the shielding layer is effectively grounded. Changes in gate voltage results in negligible current through the device, and the device is in a low capacitance state. Without carrier injection, the memory, shielding and dielectric layers act as capacitors in series, resulting in the high capacitance state <ref type="bibr">[24]</ref>.</p><p>As there is no existing BSIM or SPICE-compatible model for the p + n -n + shielding layer in Fig. <ref type="figure">2a</ref>, we use MOSFET transistors to model the shielding layer. The source and drain of NMOS/PMOS act as reservoirs for electrons/holes respectively, and the transistor body models the n -region in the memcapacitor device. The gatebody capacitance of the MOSFET transistors models the capacitance of the shielding layer in the memcapacitor device.</p><p>Fig. <ref type="figure">2b</ref> shows the SPICE model for the memcapacitor device in <ref type="bibr">[6]</ref>. The ferroelectric layer with memory effect is represented by a Verilog-A behavioral model, as explained in the next section. When voltage at gate &lt;0, Sw1 turns on and Sw0 turns off, and the shielding layer of the device is modeled by the PMOS transistor. Conversely, when voltage at gate &gt;0, Sw0 turns on and Sw1 turns off, and the shielding layer is modeled by the NMOS transistor. The switches are implemented with ideal voltagecontrolled capacitors.</p><p>Fig. <ref type="figure">2c</ref> shows the simulated capacitance of the SPICE model without considering the ferroelectric layer. The transistors used are on the TSMC 0.18 m technology node, simulated with BSIM level 49 model. The oxide thickness of the BSIM model is increased to reflect the device in <ref type="bibr">[6]</ref>. The capacitance of the device is measured by integrating the current divided by the input pulse height. There is some error at the switching point =0 of the model. Fig. <ref type="figure">2c</ref> resembles the measured CV curve of the fabricated device in <ref type="bibr">[6]</ref>. Fig. 2d shows the simulated capacitance against program voltage for the SPICE model including the ferroelectric Verilog-A model. A voltage pulse with pulse height V and pulse width of 10ns is first given. Subsequently, a voltage pulse of 0.1V is used to extract the capacitance of the device. Fig. 2d gives a capacitive range of around 263x, allowing the memcapacitor model to support 8 bits.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Verilog-A Model of Ferroelectric Material</head><p>Fig. <ref type="figure">3a</ref> shows the Verilog-A implementation of the ferroelectric layer with memory effect. The behavioral model implements the Preisach model for ferroelectric capacitors <ref type="bibr">[2,</ref><ref type="bibr">10]</ref>. Equation (1) in Fig. <ref type="figure">3a</ref> is the saturation loop or hysteresis loop, which can be either increasing or decreasing as denoted by the sign of . 0 is the maximum charge contribution from ferroelectric switching, is the coercive voltage, and , is derived from experimental data <ref type="bibr">[10]</ref>.</p><p>and . is the permittivity and thickness of the ferroelectric material respectively. The material "remembers" previous alternating pairs of dominant voltage maxima and minima. Within the saturation loop, the Q-V curve always pass through previous turning points stored in memory <ref type="bibr">[10]</ref>. The Q-V curve between adjacent turning points is calculated by (3)-( <ref type="formula">5</ref>) in Fig. <ref type="figure">3a</ref>  <ref type="bibr">[18]</ref>.</p><p>By charge conservation, the current through the FE model is equivalent to the current into the gate of the transistor. The FE model acts as a current source, producing a current equivalent to the solution of <ref type="bibr">(6)</ref> in Fig. <ref type="figure">3a</ref>. The Verilog-A model forces such that the equations -= and ( ) = ( ) holds, by implementing <ref type="bibr">(6)</ref> in Fig. <ref type="figure">3a</ref>. This is modeled after <ref type="bibr">[18]</ref> which utilizes a solver to achieve this purpose. Fig. 3b and c shows the simulation of minor loops and the resulting Q-V curve of the FE model. Fig. 3c captures the memory effect, turning point and hysteresis properties, exhibiting the same behavior as the verified models in [10, 18]. Fig 2d is obtained with TSMC 0.18 m transistors with oxide thickness changed to 40nm. The FE model parameters are 0 = 100 , /. = 20 , =2.5V and ,=2. These parameters are chosen such that the simulation results of the model are closer to the measurement results in [6]. Feasibility of fabrication is not considered as this is a study on theoretical target specifications.  <ref type="bibr">[21]</ref>. We recognize that the comparison with previous SRAM-IMCs is not completely fair as previous designs include ADCs.</p><p>The IMC architecture employs MxN 2-transistor-1-memcapacitor (2T1M) bitcells. Each column consists of 2T1M bitcells, a feedbackbased programming module, and an output integrator. The 2T1M bitcell contains a write-access transistor, a compute-access transistor, and a memcapacitor. The macro also has several wires, including write bitlines (WBL) and write wordlines (WWL) for programming. It has input lines (INL), MAC wordlines (MWL), and MAC bitlines (MBL) for computation.</p><p>The IMC circuit uses pulse height modulation to program the memcapacitors, as is demonstrated in prior works <ref type="bibr">[6]</ref>. To ensure robustness across process-voltage-temperature (PVT) variations, it employs the Program-with-Feedback module as shown in Fig. <ref type="figure">4</ref>, which consists of an 8-bit capacitive digital-to-analog converter (CDAC), a voltage comparator, a 2-to-1 multiplexer (MUX), and a variable-amplitude pulse generator (VPG).</p><p>During programming, weight parameters are received as digital inputs and are converted to analog values first with the CDAC. Then, the MBL is grounded by switch 1 (Sw1), and the bitcell row is selected by WWL and the write-access transistor. One or more negative voltage pulses are used to reset the state of the memcapacitors <ref type="bibr">[6,</ref><ref type="bibr">17]</ref>. The VPG sends a programming pulse. Then, the capacitance value is read out by the VPG sending a small pulse, with switches 2 and 3 turned on. The MUX achieves this alternate pulse generation with an alternating control signal. The integrator outputs a voltage according to (1). This voltage is compared with the analog output of the CDAC. The process repeats until the desired capacitance is programmed.</p><p>After programming, the macro can perform computing, i.e., an M-by-N vector-matrix multiplication (VMM) with an target precision. In the compute phase, switches 2 and 4 are turned on. Voltage input is sent and VMM results are read out by charge summing. Assuming a sufficiently large gain of the op-amp (&#8805;40dB), the output voltage can be simplified to:</p><p>where is the programmed capacitance of the -th bitcell, is the signed-magnitude of the -th input ramp signal, and is the capacitor of the integrator. In our simulations, we set = &#8226; .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Simulation Setup and Results</head><p>Fig. <ref type="figure">5a</ref> shows the adopted encoding scheme of N-bit inputs in the proposed IMC macro, which linearly maps the logic level of -2 -1 to +2 -1 -1 onto the voltage swing levels ofto + . is the maximum input voltage used in computation. As shown in Fig. <ref type="figure">5c</ref>, the percentage change in capacitance increases proportionately to the increase in input voltage. This is due to the capacitance characteristic of the transistors as shown in Fig. <ref type="figure">2c</ref>. Fig. 5c is obtained from capacitance simulations on the SPICE model in Fig. 2b.</p><p>Fig. <ref type="figure">5b</ref> shows the encoding scheme of N-bit weight parameters stored in the memcapacitors. The memcapacitor is assumed to have a dynamic range of 2 or higher, with 2 equally spaced stable capacitance states between minimum and maximum programmable capacitance. Fig. <ref type="figure">5d</ref> shows a weight-shifting technique employed to achieve negative weight computation <ref type="bibr">[3]</ref>. An additional column will be used with all memcapacitors set to /2, which is 2 -1 in logic value. The results of this column will be subtracted from the results of each column.</p><p>Fig. <ref type="figure">6a</ref> shows the circuit simulated. One column of the IMC architecture in Fig. <ref type="figure">4</ref> is simulated with the programming and computing pulses given by a voltage source. The memcapacitor is implemented with the model in Fig. <ref type="figure">2b</ref>, and the op-amp is implemented with an ideal voltage controlled voltage source. A 30ns pulse is given to program the memcapacitor, and an input pulse is given for computing with 10ns rise time. Fig. <ref type="figure">6b</ref> shows the multiply-and-accumulate (MAC) output transfer curve with randomized inputs and weights for 128 bitcells. 8-bit input and 8-bit weights are used with the encoding scheme in Fig. <ref type="figure">5</ref>, with of 0.128 and of 3.84 .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">ENERGY EFFICIENCY AND WEIGHT DENSITY MODEL 5.1 Model Development</head><p>In this section, an energy efficiency model and a weight density model will be developed for the architecture in Section IV. Energy efficiency is formulated in terms of tera-operations per second per watt (TOPS/W), and weight density is calculated by the number of bits in macro divided by macro area.</p><p>In formulating the model, we assume that interconnects overlay the memcapacitor. We assume that many cycles of computation occur for each program operation, making the energy consumption of the programming phase negligible. We also assume no peripherals other than the op-amp consume significant power. The model is idealized and actual energy consumption may be higher, thus the aim of this article is to give approximate target specifications for fabricating memcapacitors for IMC. We then formulate the energy consumption of one column over one cycle of . to:</p><p>where is the energy consumption of the op-amp implemented with operational transconductance amplifier (OTA) and is the total capacitance on the MWL. refers to the gate voltage of access transistors and the voltage on MWL, and refers to the memcapacitor capacitance on row . refers to input voltage in row .</p><p>We further develop as a function of memcapacitor devicelevel parameters as follows:</p><p>where is the voltage at the gate of the access transistors, and is the number of rows in the macro.</p><p>refers to the unitlength interconnect capacitance. and refer to the width and length of the memcapacitor, and refers to the width of access transistors. and is the average memcapacitor capacitance and average input voltage, and refers to gate capacitance of access transistors.</p><p>is the power consumption of OTA in the integrator.</p><p>Finally, using (3), we develop the energy efficiency model in TOPS/W as follows.</p><p>where is the number of rows, is the bit width one memcapacitor can store, and is the bit width of analog voltage input. The energy efficiency model is normalized to 1b&#215;1b operations.</p><p>We also develop the weight density model, formulated to:</p><p>where refers to the total area of the peripheral circuits of the macro, with and being the number of rows and columns of the macro, respectively. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2">Energy Consumption Model Verification</head><p>We verify the energy consumption model against SPICE simulation results. The simulated power consumption is measured by the input voltage multiplied by the current produced by the FE model in Fig. <ref type="figure">2b</ref>. We set the clock frequency to 100MHz. The OTA energy consumption is not simulated. is set to be 400 2 , assuming an effective capacitance density of 10 / 2 as is the approximate average in Table <ref type="table">1</ref>.</p><p>Fig. <ref type="figure">7a</ref> shows the simulated energy consumption against the MAC logic level of one column with 128 bitcells for 8b&#215;8b operation. We set to 3.84 and to 0.128 . Fig. <ref type="figure">7a</ref> also shows the calculated results from equation <ref type="bibr">(3)</ref>. As shown in Fig. <ref type="figure">2b</ref>, the capacitance used in computation is different from total gate capacitance. Thus in (3) is the total gate capacitance of the transistor, measured to be 11 on average. Fig. <ref type="figure">7b</ref> compares the simulation result and model calculation while sweeping from 0.01V to 0.6V. It targets the same 8b&#215;8b precision. Fig. <ref type="figure">7</ref> shows good matching between the simulation and model calculation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">OPTIMAL SPECIFICATIONS OF MEMCAPACITORS</head><p>In this section, we investigate the optimal specifications of memcapacitors to obtain a 10x increase in energy efficiency and/or weight density compared to the state-of-the-art SRAM-based IMC. Fig. <ref type="figure">8</ref> shows the energy efficiency and weight density of topperforming SRAM-based IMC macros. It also shows the performance of the previously prototyped memcapacitors in Table <ref type="table">1</ref> when their parameters are substituted into (2)- <ref type="bibr">(5)</ref>. In estimating the memcapacitors' energy efficiency and weight density, we assume to be 0.128 with 8-bit precision.</p><p>is assumed to be the maximum number of bits their capacitance range can support. The OTA's current consumption is assumed to be 1 total, clock frequency set to be 100 MHz, to be 1V, and M to be 128. The memcapacitors are assumed to be a square when calculating interconnect capacitances, and is assumed to be half of macro area. It shows the existing memcapacitors are lagging behind significantly in weight density.</p><p>However, Fig. <ref type="figure">8</ref> also shows the three potential memcapacitor devices in the blue circles that can achieve 10x energy efficiency, 10x weight density, and both, as compared to the state-of-the-art SRAM-IMC in <ref type="bibr">[8]</ref>. We summarize the specifications of those memcapacitors in Table <ref type="table">2</ref>.</p><p>We derived those specifications by the following process. Targeting for 8b&#215;8b operation, we consider two different cases: and are either 4 or 8, respectively. Then, we calculate the area of the memcapacitor based on the benchmark value of weight density being 1.22 / 2 for 1x improvement (12.20 / 2 for 10x improvement) using <ref type="bibr">(5)</ref>.</p><p>is assumed to be half of total macro area. M=128 rows are used.</p><p>We then calculate the value of capacitance resolution , assuming that = and = 2 &#8226; . We assume that the capacitance between the gate and n + /p + metal contacts are negligible, according to <ref type="bibr">[6]</ref>. Therefore in (3) is equivalent to the capacitance used for computing.</p><p>Assuming the memcapacitor layout is a square, we can calculate , , based on the calculated area. Then, using (4) and the benchmark value of 1x energy efficiency 5136 TOPS/W (10x energy efficiency 51,360 TOPS/W) <ref type="bibr">[8]</ref>, we can calculate . Here, we set to 0.128V to ensure minimal change in capacitance after programming, as shown in Fig. <ref type="figure">5c</ref>. We assume the interconnect capacitance to be 0.1 / . is assumed to be 1V, . to be 10 ns and to be 2 . Since the energy consumption varies across logic level (Fig. <ref type="figure">7a</ref>), the average energy consumption assuming = /2 and = /2 is calculated. There is a &#8804; symbol on each metric in Table <ref type="table">2</ref> which represent the maximum possible values of the respective parameters. Achieving the same and with smaller capacitance, area, or voltage input will give higher energy efficiency and/or weight density than the performance goals.</p><p>A comparison of Table <ref type="table">1</ref> and 2 shows that prior memcapacitor devices can achieve the target maximum capacitance and capacitance density ( /area). However, the memcapacitor area in prior works are much larger than that required in Table <ref type="table">2</ref>, and only <ref type="bibr">[6]</ref> has the potential to support 8-bit weights. Thus, the main challenge in fabrication will be obtaining a higher capacitive range while reducing the area by around 1000x to achieve comparable weight density to SRAM-IMCs.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7">CONCLUSION</head><p>In this article, we propose a set of target specifications for memcapacitor device fabrication in order for memcapacitor-based IMCs to bring about improvements over current IMC designs. A SPICE and Verilog-A model is built to simulate the leading memcapacitor device <ref type="bibr">[6]</ref>. An energy efficiency model and a weight density model are developed based on the memcapacitor-based IMC and model parameters such as input voltage, maximum capacitance, and memcapacitor area. The total energy consumption model is verified with SPICE simulation results. This article suggests a set of maximum values for each critical parameter of memcapacitors to obtain a possible 10x improvement in energy efficiency and/or weight density over the state-of-the-art SRAM-based IMC prototypes.</p></div></body>
		</text>
</TEI>
