IEEE Circuits and Systems Magazine - Q1 2021 - 13

Logarithmic and Residue Number Systems mitigate the problem of the
carry chain underlying binary arithmetic, simplifying arithmetic operations
and exposing parallelism.
technology [26]. Its performance and accuracy, running
at 125 MHz, are evaluated against the TMS320C6711 contemporary Digital Signal Processor (DSP) [27], available
in the same technology and running at 150 MHz. The
TMS320C6711 is a Very Long Instruction Word (VLIW)
processor that is able to issue eight independent instructions every cycle, with two pipelined FP adders
and two other pipelined FP multipliers with a latency
of four cycles, and two integer units with a latency of
one cycle. It has been shown that the ELM is marginally
more accurate than the FP processor for additive operators, while multiplicative operators return exact results.
For a typical kernel, making equal use of each one of
the operators, LNS will incur roughly half the total error
of FP arithmetic. Moreover, notwithstanding the ELM
running at 5/6 of the clock speed of the FP processor,
the additive times were marginally better, the multiplications were 3.4 times faster, and the divisions and
square roots were many times faster in the former than
in the latter processor. Although LNS enables the design
of faster and, typically, more accurate processors than
those of FP arithmetic (the LNS implementation tends to
have smaller worst-case relative errors than those of FP
[28]), general purpose processors currently still adopt
the standardized FP, which also easily interfaces with
integer binary arithmetic.
Another LNS-based AU that adopts the hardwareefficient cotransformation (8) for subtraction in the
critical region, computing the second term of this
equation with a second-order polynomial, was proposed in [23]. The architecture of the LN¸ S-based AU
consists of four main blocks: i ) the pre- and postprocessing blocks, including the preparation steps of the
operations and the combination and/or selection of
the results produced by the two main interpolation
blocks; ii ) the main interpolator block that implements
the approximations for computing log 2 ^1 + 2 m h and
exponentiation on the complete range ^- 25, 0@, and
log 2 ^1 - 2 m h outside the critical region ^- 25, - 0.25@,
using second-order piecewise polynomial approximations; and iii) the critical region block used to calculate the logarithm of the cotransformation function
(8) for the critical region ^- 0.25, 0@ by approximating
the cotransformation function ^1 - 2 m h / ^1 + 2 m h using
a first-order polynomial and computing the required
log 2 function based on a range reduction technique
that normalizes the function argument to the range
FIRST QUARTER 2021

61, 2h. Since only one instruction is evaluated at a given time, interpolator data paths within the two parallel blocks ii) and iii) can be shared to obtain a more
compact design.
The LNS-based AU proposed in [23] was integrated
into the datapath of a custom 32-bit OpenRISC core [29]
using a CMOS 65 nm process. For comparison purposes,
an identical system was designed with featuring a standard IEEE 754 single-precision FP AUs with hardware
support for additions, subtractions and multiplications.
The error analysis show similar maximum and average
values to the ones achieved for addition and subtraction with the ELM. Executing also at a clock frequency of
125 MHz, the adder and subtractor have a latency of four
clock cycles, while the multiplier, divisor and square
root calculus exhibit a latency of one clock cycle. The
LNS-based adder/subtractor of this processor significantly reduces the circuit area required by the individual LNS units, mainly due to circuit sharing. Comparing
the energy efficiency of the LNS (per LOGarithmic Operation (LOGP)) and the FP-based AUs (per FLoating-Point
Operation (FLOP)) for a CMOS 65 nm process, addition
and subtraction in FP is approximately 3 times more efficient than in LNS (40 pJ/FLOP vs 130 pJ/LOGP), while
multiplication in LNS is approximately 1.5 times more
efficient (48 pJ/FLOP vs 30 pJ/LOGP), division is 17 times
more efficient (525 pJ/FLOP vs 30 pJ/LOGP), and square
root is 38 times more efficient than FP (609 pJ/FLOP vs
16 pJ/LOGP).
A combination of the LNS and FP representations
have been explored as an approach to designing hybrid AUs [30]. It enables, for example, the multiply
and divide operations to be computed using the LNS
format, while addition and subtraction are efficiently
performed in FP. The hardware for performing the FPto-LNS and LNS-to-FP conversions is embedded within
the hybrid AUs.

B. Residue Number Systems
The Chinese Remainder Theorem (CRT) was originally
proposed in the 3rd century AD [31]. In the 1950s, it became the support for the proposal of computer arithmetic based on the RNS [32]. The CRT states that given a moduli set " m 1, m 2, f, m n , of pairwise co-prime
numbers, i.e., the Greatest Common Divisor (GCD)
^m i, m j h = 1 for i ! j ( X m represents the residue of X
for the modulus m):
IEEE CIRCUITS AND SYSTEMS MAGAZINE

13



IEEE Circuits and Systems Magazine - Q1 2021

Table of Contents for the Digital Edition of IEEE Circuits and Systems Magazine - Q1 2021

Contents
IEEE Circuits and Systems Magazine - Q1 2021 - Cover1
IEEE Circuits and Systems Magazine - Q1 2021 - Cover2
IEEE Circuits and Systems Magazine - Q1 2021 - Contents
IEEE Circuits and Systems Magazine - Q1 2021 - 2
IEEE Circuits and Systems Magazine - Q1 2021 - 3
IEEE Circuits and Systems Magazine - Q1 2021 - 4
IEEE Circuits and Systems Magazine - Q1 2021 - 5
IEEE Circuits and Systems Magazine - Q1 2021 - 6
IEEE Circuits and Systems Magazine - Q1 2021 - 7
IEEE Circuits and Systems Magazine - Q1 2021 - 8
IEEE Circuits and Systems Magazine - Q1 2021 - 9
IEEE Circuits and Systems Magazine - Q1 2021 - 10
IEEE Circuits and Systems Magazine - Q1 2021 - 11
IEEE Circuits and Systems Magazine - Q1 2021 - 12
IEEE Circuits and Systems Magazine - Q1 2021 - 13
IEEE Circuits and Systems Magazine - Q1 2021 - 14
IEEE Circuits and Systems Magazine - Q1 2021 - 15
IEEE Circuits and Systems Magazine - Q1 2021 - 16
IEEE Circuits and Systems Magazine - Q1 2021 - 17
IEEE Circuits and Systems Magazine - Q1 2021 - 18
IEEE Circuits and Systems Magazine - Q1 2021 - 19
IEEE Circuits and Systems Magazine - Q1 2021 - 20
IEEE Circuits and Systems Magazine - Q1 2021 - 21
IEEE Circuits and Systems Magazine - Q1 2021 - 22
IEEE Circuits and Systems Magazine - Q1 2021 - 23
IEEE Circuits and Systems Magazine - Q1 2021 - 24
IEEE Circuits and Systems Magazine - Q1 2021 - 25
IEEE Circuits and Systems Magazine - Q1 2021 - 26
IEEE Circuits and Systems Magazine - Q1 2021 - 27
IEEE Circuits and Systems Magazine - Q1 2021 - 28
IEEE Circuits and Systems Magazine - Q1 2021 - 29
IEEE Circuits and Systems Magazine - Q1 2021 - 30
IEEE Circuits and Systems Magazine - Q1 2021 - 31
IEEE Circuits and Systems Magazine - Q1 2021 - 32
IEEE Circuits and Systems Magazine - Q1 2021 - 33
IEEE Circuits and Systems Magazine - Q1 2021 - 34
IEEE Circuits and Systems Magazine - Q1 2021 - 35
IEEE Circuits and Systems Magazine - Q1 2021 - 36
IEEE Circuits and Systems Magazine - Q1 2021 - 37
IEEE Circuits and Systems Magazine - Q1 2021 - 38
IEEE Circuits and Systems Magazine - Q1 2021 - 39
IEEE Circuits and Systems Magazine - Q1 2021 - 40
IEEE Circuits and Systems Magazine - Q1 2021 - 41
IEEE Circuits and Systems Magazine - Q1 2021 - 42
IEEE Circuits and Systems Magazine - Q1 2021 - 43
IEEE Circuits and Systems Magazine - Q1 2021 - 44
IEEE Circuits and Systems Magazine - Q1 2021 - 45
IEEE Circuits and Systems Magazine - Q1 2021 - 46
IEEE Circuits and Systems Magazine - Q1 2021 - 47
IEEE Circuits and Systems Magazine - Q1 2021 - 48
IEEE Circuits and Systems Magazine - Q1 2021 - 49
IEEE Circuits and Systems Magazine - Q1 2021 - 50
IEEE Circuits and Systems Magazine - Q1 2021 - 51
IEEE Circuits and Systems Magazine - Q1 2021 - 52
IEEE Circuits and Systems Magazine - Q1 2021 - 53
IEEE Circuits and Systems Magazine - Q1 2021 - 54
IEEE Circuits and Systems Magazine - Q1 2021 - 55
IEEE Circuits and Systems Magazine - Q1 2021 - 56
IEEE Circuits and Systems Magazine - Q1 2021 - 57
IEEE Circuits and Systems Magazine - Q1 2021 - 58
IEEE Circuits and Systems Magazine - Q1 2021 - 59
IEEE Circuits and Systems Magazine - Q1 2021 - 60
IEEE Circuits and Systems Magazine - Q1 2021 - 61
IEEE Circuits and Systems Magazine - Q1 2021 - 62
IEEE Circuits and Systems Magazine - Q1 2021 - 63
IEEE Circuits and Systems Magazine - Q1 2021 - 64
IEEE Circuits and Systems Magazine - Q1 2021 - 65
IEEE Circuits and Systems Magazine - Q1 2021 - 66
IEEE Circuits and Systems Magazine - Q1 2021 - 67
IEEE Circuits and Systems Magazine - Q1 2021 - 68
IEEE Circuits and Systems Magazine - Q1 2021 - 69
IEEE Circuits and Systems Magazine - Q1 2021 - 70
IEEE Circuits and Systems Magazine - Q1 2021 - 71
IEEE Circuits and Systems Magazine - Q1 2021 - 72
IEEE Circuits and Systems Magazine - Q1 2021 - 73
IEEE Circuits and Systems Magazine - Q1 2021 - 74
IEEE Circuits and Systems Magazine - Q1 2021 - 75
IEEE Circuits and Systems Magazine - Q1 2021 - 76
IEEE Circuits and Systems Magazine - Q1 2021 - 77
IEEE Circuits and Systems Magazine - Q1 2021 - 78
IEEE Circuits and Systems Magazine - Q1 2021 - 79
IEEE Circuits and Systems Magazine - Q1 2021 - 80
IEEE Circuits and Systems Magazine - Q1 2021 - 81
IEEE Circuits and Systems Magazine - Q1 2021 - 82
IEEE Circuits and Systems Magazine - Q1 2021 - 83
IEEE Circuits and Systems Magazine - Q1 2021 - 84
IEEE Circuits and Systems Magazine - Q1 2021 - 85
IEEE Circuits and Systems Magazine - Q1 2021 - 86
IEEE Circuits and Systems Magazine - Q1 2021 - 87
IEEE Circuits and Systems Magazine - Q1 2021 - 88
IEEE Circuits and Systems Magazine - Q1 2021 - Cover3
IEEE Circuits and Systems Magazine - Q1 2021 - 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