IEEE Solid-State Circuits Magazine - Fall 2017 - 60

Data reuse can be exploited by
reusing the same data across multiple parallel execution units or, equivalently, across multiple time steps on
the same execution unit. In this topology, three extreme cases can be distinguished, as shown in Figure 8.
The first multiplies the same input
data value with several weights of
a layer's different output channels.
This is also called weight parallel or
input stationary. In this implementation, every input will ideally be loaded
into the system only once. This, however, has negative repercussions on
the weight memory bandwidth, as
the weights must be reloaded frequently (every time a new input is
applied). Moreover, the accumulation of the output o cannot be performed across different clock cycles,

requiring intermediate accumulation
results o to be pushed into memory and refetched later, strongly impacting the input/output memory
bandwidth. A similar scheme fetches
every weight once and multiplies it
with many input values. This "weight
stationarity" or "input parallelism"
improves the weight memory bandwidth, yet at the expense of the input memory bandwidth. Finally, the
output stationary scheme reloads
new weights and inputs every single
clock cycle and yet is able to accumulate the intermediate results locally
within the MAC unit across different
clock cycles, to the benefit of the output memory bandwidth.
All these optimizations can be
seen as a reshuffling of the nested
loops in the pseudocode of Figure 4.
Of course, in practice, most realizations implement a hybrid form of
the three presented extreme cases.
Examples include [23] and [24], where
a two-dimensional (2-D) data path
multiplies every input with several
weights, while every weight is also
multiplied with several inputs, and
[10], where the input and output
stationarities are optimized to minimize the chip input/output bandwidth. Which parallelization scheme
is optimal depends strongly on the
network's dimensions; the parameters F, H, C, K, and M, which allow
cooptimization of the hardware; and

MAC Array
Weight Memory

Input/Output Memory

Minimize Data
Movements

×
+

×
+

×
+

×
+

×
+

×
+

×
+

×
+

×
+

×
+

×
+

×
+

FSM or
Processor
Controlled

Maximize
Parallelism

Maintain
Flexibility

FIGURE 7: Custom deep neural network processors gain efficiency by minimizing data movements and maximizing parallelism. Still, it is crucial not to lose all flexibility in mapping a
wide variety of networks. FSM: final state machine.

+
+
+
+

Inputs

×
×
×
×

Weights

Outputs

+
+
+
+

Inputs

Input

× × × ×

Weight

Outputs

Weights

×

×

Weights

+
×

×

+

+

Input

Providing data to all these functional units in parallel would be nearly impossible if the temporal and
spatial locality of the data was not
exploited. Indeed, many computations within one network layer share
common inputs. More specifically, as
highlighted in the pseudocode shown
in Figure 4, every weight parameter
is reused approximately M 2 times
across multiple convolutions of the
same slice in the output tensor, and
every input data point is reused
across F different slices of the output tensor. Moreover, the intermediate accumulation results o have to be
accumulated C.K 2 times. This can, in
a custom accelerator, be exploited in
several ways to further boost efficiencies beyond the highly parallel, yet
not data-flow-optimized, GPUs.

×
×
×
×

×
×
×
×

×
×
×
×

Input Stationary
(Weight Parallel)

Weight Stationary
(Input Parallel)

Output Stationary

Hybrids

Input BW

Low

High

High

Medium

Weight BW

High

Low

High

Medium

Output BW

High

High

Low

Medium

×
×
×
×

FIGURE 8: Different architectural topologies allow data reuse to be maximized, reusing either inputs, weights, intermediate results, or a
combination of the three. BW: bandwidth

60

FA L L 2 0 17

IEEE SOLID-STATE CIRCUITS MAGAZINE



Table of Contents for the Digital Edition of IEEE Solid-State Circuits Magazine - Fall 2017

IEEE Solid-State Circuits Magazine - Fall 2017 - Cover1
IEEE Solid-State Circuits Magazine - Fall 2017 - Cover2
IEEE Solid-State Circuits Magazine - Fall 2017 - 1
IEEE Solid-State Circuits Magazine - Fall 2017 - 2
IEEE Solid-State Circuits Magazine - Fall 2017 - 3
IEEE Solid-State Circuits Magazine - Fall 2017 - 4
IEEE Solid-State Circuits Magazine - Fall 2017 - 5
IEEE Solid-State Circuits Magazine - Fall 2017 - 6
IEEE Solid-State Circuits Magazine - Fall 2017 - 7
IEEE Solid-State Circuits Magazine - Fall 2017 - 8
IEEE Solid-State Circuits Magazine - Fall 2017 - 9
IEEE Solid-State Circuits Magazine - Fall 2017 - 10
IEEE Solid-State Circuits Magazine - Fall 2017 - 11
IEEE Solid-State Circuits Magazine - Fall 2017 - 12
IEEE Solid-State Circuits Magazine - Fall 2017 - 13
IEEE Solid-State Circuits Magazine - Fall 2017 - 14
IEEE Solid-State Circuits Magazine - Fall 2017 - 15
IEEE Solid-State Circuits Magazine - Fall 2017 - 16
IEEE Solid-State Circuits Magazine - Fall 2017 - 17
IEEE Solid-State Circuits Magazine - Fall 2017 - 18
IEEE Solid-State Circuits Magazine - Fall 2017 - 19
IEEE Solid-State Circuits Magazine - Fall 2017 - 20
IEEE Solid-State Circuits Magazine - Fall 2017 - 21
IEEE Solid-State Circuits Magazine - Fall 2017 - 22
IEEE Solid-State Circuits Magazine - Fall 2017 - 23
IEEE Solid-State Circuits Magazine - Fall 2017 - 24
IEEE Solid-State Circuits Magazine - Fall 2017 - 25
IEEE Solid-State Circuits Magazine - Fall 2017 - 26
IEEE Solid-State Circuits Magazine - Fall 2017 - 27
IEEE Solid-State Circuits Magazine - Fall 2017 - 28
IEEE Solid-State Circuits Magazine - Fall 2017 - 29
IEEE Solid-State Circuits Magazine - Fall 2017 - 30
IEEE Solid-State Circuits Magazine - Fall 2017 - 31
IEEE Solid-State Circuits Magazine - Fall 2017 - 32
IEEE Solid-State Circuits Magazine - Fall 2017 - 33
IEEE Solid-State Circuits Magazine - Fall 2017 - 34
IEEE Solid-State Circuits Magazine - Fall 2017 - 35
IEEE Solid-State Circuits Magazine - Fall 2017 - 36
IEEE Solid-State Circuits Magazine - Fall 2017 - 37
IEEE Solid-State Circuits Magazine - Fall 2017 - 38
IEEE Solid-State Circuits Magazine - Fall 2017 - 39
IEEE Solid-State Circuits Magazine - Fall 2017 - 40
IEEE Solid-State Circuits Magazine - Fall 2017 - 41
IEEE Solid-State Circuits Magazine - Fall 2017 - 42
IEEE Solid-State Circuits Magazine - Fall 2017 - 43
IEEE Solid-State Circuits Magazine - Fall 2017 - 44
IEEE Solid-State Circuits Magazine - Fall 2017 - 45
IEEE Solid-State Circuits Magazine - Fall 2017 - 46
IEEE Solid-State Circuits Magazine - Fall 2017 - 47
IEEE Solid-State Circuits Magazine - Fall 2017 - 48
IEEE Solid-State Circuits Magazine - Fall 2017 - 49
IEEE Solid-State Circuits Magazine - Fall 2017 - 50
IEEE Solid-State Circuits Magazine - Fall 2017 - 51
IEEE Solid-State Circuits Magazine - Fall 2017 - 52
IEEE Solid-State Circuits Magazine - Fall 2017 - 53
IEEE Solid-State Circuits Magazine - Fall 2017 - 54
IEEE Solid-State Circuits Magazine - Fall 2017 - 55
IEEE Solid-State Circuits Magazine - Fall 2017 - 56
IEEE Solid-State Circuits Magazine - Fall 2017 - 57
IEEE Solid-State Circuits Magazine - Fall 2017 - 58
IEEE Solid-State Circuits Magazine - Fall 2017 - 59
IEEE Solid-State Circuits Magazine - Fall 2017 - 60
IEEE Solid-State Circuits Magazine - Fall 2017 - 61
IEEE Solid-State Circuits Magazine - Fall 2017 - 62
IEEE Solid-State Circuits Magazine - Fall 2017 - 63
IEEE Solid-State Circuits Magazine - Fall 2017 - 64
IEEE Solid-State Circuits Magazine - Fall 2017 - 65
IEEE Solid-State Circuits Magazine - Fall 2017 - 66
IEEE Solid-State Circuits Magazine - Fall 2017 - 67
IEEE Solid-State Circuits Magazine - Fall 2017 - 68
IEEE Solid-State Circuits Magazine - Fall 2017 - 69
IEEE Solid-State Circuits Magazine - Fall 2017 - 70
IEEE Solid-State Circuits Magazine - Fall 2017 - 71
IEEE Solid-State Circuits Magazine - Fall 2017 - 72
IEEE Solid-State Circuits Magazine - Fall 2017 - 73
IEEE Solid-State Circuits Magazine - Fall 2017 - 74
IEEE Solid-State Circuits Magazine - Fall 2017 - 75
IEEE Solid-State Circuits Magazine - Fall 2017 - 76
IEEE Solid-State Circuits Magazine - Fall 2017 - 77
IEEE Solid-State Circuits Magazine - Fall 2017 - 78
IEEE Solid-State Circuits Magazine - Fall 2017 - 79
IEEE Solid-State Circuits Magazine - Fall 2017 - 80
IEEE Solid-State Circuits Magazine - Fall 2017 - 81
IEEE Solid-State Circuits Magazine - Fall 2017 - 82
IEEE Solid-State Circuits Magazine - Fall 2017 - 83
IEEE Solid-State Circuits Magazine - Fall 2017 - 84
IEEE Solid-State Circuits Magazine - Fall 2017 - 85
IEEE Solid-State Circuits Magazine - Fall 2017 - 86
IEEE Solid-State Circuits Magazine - Fall 2017 - 87
IEEE Solid-State Circuits Magazine - Fall 2017 - 88
IEEE Solid-State Circuits Magazine - Fall 2017 - 89
IEEE Solid-State Circuits Magazine - Fall 2017 - 90
IEEE Solid-State Circuits Magazine - Fall 2017 - 91
IEEE Solid-State Circuits Magazine - Fall 2017 - 92
IEEE Solid-State Circuits Magazine - Fall 2017 - 93
IEEE Solid-State Circuits Magazine - Fall 2017 - 94
IEEE Solid-State Circuits Magazine - Fall 2017 - 95
IEEE Solid-State Circuits Magazine - Fall 2017 - 96
IEEE Solid-State Circuits Magazine - Fall 2017 - 97
IEEE Solid-State Circuits Magazine - Fall 2017 - 98
IEEE Solid-State Circuits Magazine - Fall 2017 - 99
IEEE Solid-State Circuits Magazine - Fall 2017 - 100
IEEE Solid-State Circuits Magazine - Fall 2017 - 101
IEEE Solid-State Circuits Magazine - Fall 2017 - 102
IEEE Solid-State Circuits Magazine - Fall 2017 - 103
IEEE Solid-State Circuits Magazine - Fall 2017 - 104
IEEE Solid-State Circuits Magazine - Fall 2017 - 105
IEEE Solid-State Circuits Magazine - Fall 2017 - 106
IEEE Solid-State Circuits Magazine - Fall 2017 - 107
IEEE Solid-State Circuits Magazine - Fall 2017 - 108
IEEE Solid-State Circuits Magazine - Fall 2017 - 109
IEEE Solid-State Circuits Magazine - Fall 2017 - 110
IEEE Solid-State Circuits Magazine - Fall 2017 - 111
IEEE Solid-State Circuits Magazine - Fall 2017 - 112
IEEE Solid-State Circuits Magazine - Fall 2017 - 113
IEEE Solid-State Circuits Magazine - Fall 2017 - 114
IEEE Solid-State Circuits Magazine - Fall 2017 - 115
IEEE Solid-State Circuits Magazine - Fall 2017 - 116
IEEE Solid-State Circuits Magazine - Fall 2017 - 117
IEEE Solid-State Circuits Magazine - Fall 2017 - 118
IEEE Solid-State Circuits Magazine - Fall 2017 - 119
IEEE Solid-State Circuits Magazine - Fall 2017 - 120
IEEE Solid-State Circuits Magazine - Fall 2017 - 121
IEEE Solid-State Circuits Magazine - Fall 2017 - 122
IEEE Solid-State Circuits Magazine - Fall 2017 - 123
IEEE Solid-State Circuits Magazine - Fall 2017 - 124
IEEE Solid-State Circuits Magazine - Fall 2017 - 125
IEEE Solid-State Circuits Magazine - Fall 2017 - 126
IEEE Solid-State Circuits Magazine - Fall 2017 - 127
IEEE Solid-State Circuits Magazine - Fall 2017 - 128
IEEE Solid-State Circuits Magazine - Fall 2017 - 129
IEEE Solid-State Circuits Magazine - Fall 2017 - 130
IEEE Solid-State Circuits Magazine - Fall 2017 - 131
IEEE Solid-State Circuits Magazine - Fall 2017 - 132
IEEE Solid-State Circuits Magazine - Fall 2017 - 133
IEEE Solid-State Circuits Magazine - Fall 2017 - 134
IEEE Solid-State Circuits Magazine - Fall 2017 - 135
IEEE Solid-State Circuits Magazine - Fall 2017 - 136
IEEE Solid-State Circuits Magazine - Fall 2017 - 137
IEEE Solid-State Circuits Magazine - Fall 2017 - 138
IEEE Solid-State Circuits Magazine - Fall 2017 - 139
IEEE Solid-State Circuits Magazine - Fall 2017 - 140
IEEE Solid-State Circuits Magazine - Fall 2017 - 141
IEEE Solid-State Circuits Magazine - Fall 2017 - 142
IEEE Solid-State Circuits Magazine - Fall 2017 - 143
IEEE Solid-State Circuits Magazine - Fall 2017 - 144
IEEE Solid-State Circuits Magazine - Fall 2017 - 145
IEEE Solid-State Circuits Magazine - Fall 2017 - 146
IEEE Solid-State Circuits Magazine - Fall 2017 - 147
IEEE Solid-State Circuits Magazine - Fall 2017 - 148
IEEE Solid-State Circuits Magazine - Fall 2017 - Cover3
IEEE Solid-State Circuits Magazine - Fall 2017 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/mssc_fall2023
https://www.nxtbook.com/nxtbooks/ieee/mssc_summer2023
https://www.nxtbook.com/nxtbooks/ieee/mssc_spring2023
https://www.nxtbook.com/nxtbooks/ieee/mssc_winter2023
https://www.nxtbook.com/nxtbooks/ieee/mssc_fall2022
https://www.nxtbook.com/nxtbooks/ieee/mssc_summer2022
https://www.nxtbook.com/nxtbooks/ieee/mssc_spring2022
https://www.nxtbook.com/nxtbooks/ieee/mssc_winter2022
https://www.nxtbook.com/nxtbooks/ieee/mssc_fall2021
https://www.nxtbook.com/nxtbooks/ieee/mssc_summer2021
https://www.nxtbook.com/nxtbooks/ieee/mssc_spring2021
https://www.nxtbook.com/nxtbooks/ieee/mssc_winter2021
https://www.nxtbook.com/nxtbooks/ieee/mssc_fall2020
https://www.nxtbook.com/nxtbooks/ieee/mssc_summer2020
https://www.nxtbook.com/nxtbooks/ieee/mssc_spring2020
https://www.nxtbook.com/nxtbooks/ieee/mssc_winter2020
https://www.nxtbook.com/nxtbooks/ieee/mssc_fall2019
https://www.nxtbook.com/nxtbooks/ieee/mssc_summer2019
https://www.nxtbook.com/nxtbooks/ieee/mssc_2019summer
https://www.nxtbook.com/nxtbooks/ieee/mssc_2019winter
https://www.nxtbook.com/nxtbooks/ieee/mssc_2018fall
https://www.nxtbook.com/nxtbooks/ieee/mssc_2018summer
https://www.nxtbook.com/nxtbooks/ieee/mssc_2018spring
https://www.nxtbook.com/nxtbooks/ieee/mssc_2018winter
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_winter2017
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_fall2017
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_summer2017
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_spring2017
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_winter2016
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_fall2016
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_summer2016
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_spring2016
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_winter2015
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_fall2015
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_summer2015
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_spring2015
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_winter2014
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_fall2014
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_summer2014
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_spring2014
https://www.nxtbookmedia.com