IEEE Circuits and Systems Magazine - Q4 2022 - 33
Figure 5. four schemes for mapping weight values to conductance values in a memory array. numerical labels on the
memory elements are in ascending order from the minimum conductance state (0) to the maximum conductance state (2N-1 for
an N-bit cell).
programmed onto the conductances of two sets of memory
cells. This definition leaves some ambiguity about how
two conductances are decided from a single weight value.
This paper evaluates the convention where one cell in the
pair encodes the magnitude of positive weights, while the
other encodes the magnitude of negative weights. This
means that at least one cell in every pair is left in the lowest
conductance state. Note that the weight magnitudes in
this scheme are directly mapped to the conductances of
7-bit cells, ensuring a proportional mapping.
The integer values in the non-negative matrices on
the right sides of Equations (4) and (5) are mapped linearly
to conductances. A value of 0 is mapped to the
minimum conductance state Gmin, while the maximum
value in the range is mapped to Gmax. Intermediate integers
are linearly mapped to intermediate conductances.
4.1.2. Mapping with Bit Slicing
Fig. 5(c) shows an example of offset subtraction with bit
slicing, which implements the following mapping:
WW WW W
xx xx xx
2
4
2
3
2
10
22 226
7I
(6)
where Wi are the 2-bit slices of W from lowest to highest
significance. Each element of Wi is integer-valued
in the range [0,3] and mapped to the conductance of a
single cell. The offset is subtracted after the results of
the slices are aggregated. As in the non-bitsliced case,
this is not a proportional mapping, since a zero weight is
mapped to an intermediate conductance in the top slice.
Fig. 5(d) shows an example of differential cells with
bit slicing, which implements the following mapping:
WW WW W
WW W
xx xx x
xx x
2
22
2
33
fourth quartEr 2022
6
2
22
11 0 W0
4
x
(7)
where each 2-bit matrix Wi
± is integer-valued in the
range [0,3]. This method uses a sign-magnitude representation
and slices the magnitude bits across multiple
cells. Within a slice, the magnitudes of positive
weights are mapped to Wi
negative weights are mapped to Wi
+ and the magnitudes of
-, and the resulting
bit line currents are subtracted. The most significant
slice is proportional to the weight value, and a
zero weight is mapped entirely onto the '0' state in all
slices, as shown in Fig. 5(d). Because the four slices
together represent 8 magnitude bits, the configuration
in Fig. 5(d) can map a 9-bit signed weight in the
range [−255, +255].
4.1.3. Input Bit Accumulation
For all of the schemes above, one-bit input slices are
assumed to simplify the input DAC and device requirements.
For differential cells, results from different
input bits are sequentially accumulated using analog
circuitry as described in Section 2.2, such that Bin =
8 bits. For offset subtraction, analog accumulation
requires summing all of the 8-bit elements of the input
vector
x to compute the offset, which is more complex
than summing the elements of
xQ
one bit at a time. To
avoid this overhead and to provide a baseline that is
similar to prior work [6, 49, 56], offset subtraction is
evaluated with digital S&A accumulation of input bits
(Bin = 1 bit).
4.2. Accuracy Simulation of Analog MVMs
For a realistic accuracy simulation of an analog inference
accelerator, we extend CrossSim [4] with a highly
parameterizable model for an analog MVM array.
CrossSim imports a Keras neural network model [13]
and maps the weight matrix of each convolution and
IEEE cIrcuIts and systEms magazInE
33
IEEE Circuits and Systems Magazine - Q4 2022
Table of Contents for the Digital Edition of IEEE Circuits and Systems Magazine - Q4 2022
Contents
IEEE Circuits and Systems Magazine - Q4 2022 - Cover1
IEEE Circuits and Systems Magazine - Q4 2022 - Cover2
IEEE Circuits and Systems Magazine - Q4 2022 - Contents
IEEE Circuits and Systems Magazine - Q4 2022 - 2
IEEE Circuits and Systems Magazine - Q4 2022 - 3
IEEE Circuits and Systems Magazine - Q4 2022 - 4
IEEE Circuits and Systems Magazine - Q4 2022 - 5
IEEE Circuits and Systems Magazine - Q4 2022 - 6
IEEE Circuits and Systems Magazine - Q4 2022 - 7
IEEE Circuits and Systems Magazine - Q4 2022 - 8
IEEE Circuits and Systems Magazine - Q4 2022 - 9
IEEE Circuits and Systems Magazine - Q4 2022 - 10
IEEE Circuits and Systems Magazine - Q4 2022 - 11
IEEE Circuits and Systems Magazine - Q4 2022 - 12
IEEE Circuits and Systems Magazine - Q4 2022 - 13
IEEE Circuits and Systems Magazine - Q4 2022 - 14
IEEE Circuits and Systems Magazine - Q4 2022 - 15
IEEE Circuits and Systems Magazine - Q4 2022 - 16
IEEE Circuits and Systems Magazine - Q4 2022 - 17
IEEE Circuits and Systems Magazine - Q4 2022 - 18
IEEE Circuits and Systems Magazine - Q4 2022 - 19
IEEE Circuits and Systems Magazine - Q4 2022 - 20
IEEE Circuits and Systems Magazine - Q4 2022 - 21
IEEE Circuits and Systems Magazine - Q4 2022 - 22
IEEE Circuits and Systems Magazine - Q4 2022 - 23
IEEE Circuits and Systems Magazine - Q4 2022 - 24
IEEE Circuits and Systems Magazine - Q4 2022 - 25
IEEE Circuits and Systems Magazine - Q4 2022 - 26
IEEE Circuits and Systems Magazine - Q4 2022 - 27
IEEE Circuits and Systems Magazine - Q4 2022 - 28
IEEE Circuits and Systems Magazine - Q4 2022 - 29
IEEE Circuits and Systems Magazine - Q4 2022 - 30
IEEE Circuits and Systems Magazine - Q4 2022 - 31
IEEE Circuits and Systems Magazine - Q4 2022 - 32
IEEE Circuits and Systems Magazine - Q4 2022 - 33
IEEE Circuits and Systems Magazine - Q4 2022 - 34
IEEE Circuits and Systems Magazine - Q4 2022 - 35
IEEE Circuits and Systems Magazine - Q4 2022 - 36
IEEE Circuits and Systems Magazine - Q4 2022 - 37
IEEE Circuits and Systems Magazine - Q4 2022 - 38
IEEE Circuits and Systems Magazine - Q4 2022 - 39
IEEE Circuits and Systems Magazine - Q4 2022 - 40
IEEE Circuits and Systems Magazine - Q4 2022 - 41
IEEE Circuits and Systems Magazine - Q4 2022 - 42
IEEE Circuits and Systems Magazine - Q4 2022 - 43
IEEE Circuits and Systems Magazine - Q4 2022 - 44
IEEE Circuits and Systems Magazine - Q4 2022 - 45
IEEE Circuits and Systems Magazine - Q4 2022 - 46
IEEE Circuits and Systems Magazine - Q4 2022 - 47
IEEE Circuits and Systems Magazine - Q4 2022 - 48
IEEE Circuits and Systems Magazine - Q4 2022 - 49
IEEE Circuits and Systems Magazine - Q4 2022 - 50
IEEE Circuits and Systems Magazine - Q4 2022 - 51
IEEE Circuits and Systems Magazine - Q4 2022 - 52
IEEE Circuits and Systems Magazine - Q4 2022 - 53
IEEE Circuits and Systems Magazine - Q4 2022 - 54
IEEE Circuits and Systems Magazine - Q4 2022 - 55
IEEE Circuits and Systems Magazine - Q4 2022 - 56
IEEE Circuits and Systems Magazine - Q4 2022 - 57
IEEE Circuits and Systems Magazine - Q4 2022 - 58
IEEE Circuits and Systems Magazine - Q4 2022 - 59
IEEE Circuits and Systems Magazine - Q4 2022 - 60
IEEE Circuits and Systems Magazine - Q4 2022 - 61
IEEE Circuits and Systems Magazine - Q4 2022 - 62
IEEE Circuits and Systems Magazine - Q4 2022 - 63
IEEE Circuits and Systems Magazine - Q4 2022 - 64
IEEE Circuits and Systems Magazine - Q4 2022 - 65
IEEE Circuits and Systems Magazine - Q4 2022 - 66
IEEE Circuits and Systems Magazine - Q4 2022 - 67
IEEE Circuits and Systems Magazine - Q4 2022 - 68
IEEE Circuits and Systems Magazine - Q4 2022 - 69
IEEE Circuits and Systems Magazine - Q4 2022 - 70
IEEE Circuits and Systems Magazine - Q4 2022 - 71
IEEE Circuits and Systems Magazine - Q4 2022 - 72
IEEE Circuits and Systems Magazine - Q4 2022 - 73
IEEE Circuits and Systems Magazine - Q4 2022 - 74
IEEE Circuits and Systems Magazine - Q4 2022 - 75
IEEE Circuits and Systems Magazine - Q4 2022 - 76
IEEE Circuits and Systems Magazine - Q4 2022 - 77
IEEE Circuits and Systems Magazine - Q4 2022 - 78
IEEE Circuits and Systems Magazine - Q4 2022 - 79
IEEE Circuits and Systems Magazine - Q4 2022 - 80
IEEE Circuits and Systems Magazine - Q4 2022 - Cover3
IEEE Circuits and Systems Magazine - Q4 2022 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2023Q3
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2023Q2
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2023Q1
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2022Q4
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2022Q3
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2022Q2
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2022Q1
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2021Q4
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2021q3
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2021q2
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2021q1
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2020q4
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2020q3
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2020q2
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2020q1
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2019q4
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2019q3
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2019q2
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2019q1
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2018q4
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2018q3
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2018q2
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2018q1
https://www.nxtbookmedia.com