Low Power Approximate Multiplier Design
Low Power Approximate Multiplier Design
[Link]
ORIGINAL RESEARCH
Abstract
The multiplier is one of the most essential arithmetic blocks in computer architecture, as it has an impact on the system’s
overall performance. Approximate computing help in improving multiplier performance with low power consumption at the
expense of computing precision. In this paper, approximate novel compressors are proposed and further used for the imple-
mentation of the proposed approximate multiplier. In the multiplication, process compressors are used for the reduction of
partial products with low consumption of power. In comparison to the exact multiplier, the proposed multiplier shows efficient
results in terms of Look-up tables, area, memory utilization, and power consumption. The validation of the approximate
multiplier is done in an error-tolerant application. In this paper, validation is done in an image processing application for
image blending which results in 23.87 dB and 22.7 PSNR values for set 1 and set 2 respectively.
SN Computer Science
Vol.:(0123456789)
457 Page 2 of 10 SN Computer Science (2024) 5:457
made a substantial contribution to achieving delay-optimized hardware resources as well as processing time. Multipliers
structures in the accumulation stage [27]. By using compres- are implemented in VLSI with three key considerations:
sors in the reduction stage of partial products, delay can be power, latency, and area. Multiplication’s fundamental oper-
further reduced but optimization of power is still a major ations may be broken down into three steps: The first step
concern. So, for the optimization of power consumption, the is to generate partial products by multiplying the multipli-
approximation is applied in the reduction stage of the partial cand and multiplier together. The following phase might be
product. Several new metrics are proposed and a comparison thought of as the reduction of partial products. The third and
is made among some of the adder designs [3]. An approxi- last phase will be the addition with carry propagation. The
mate multiplier is proposed by authors in [11], in which reduction of partial products in line with the conditions of
a trade-off between energy and accuracy is maintained for power and delay plays a vital role. Approximate computing
DSP and recognition applications. An efficient multiplier is plays an important role in the reduction of power consump-
implemented with the help of a Parallel Prefix Adder (PPA) tion in the multiplication process. In this paper approximate
[22]. PPA increases the overall efficiency of the multiplier multiplier is implemented with the help of a multiplier using
structure which is further used for high-speed applications. It the compressor and approximated parallel prefix adder. The
is important to design an efficient adder [23] and multiplier, proposed methodology is shown in Fig. 1. This methodol-
for applications where these parameters are basic building ogy is used for the validation of the proposed approximated
blocks [24]. Some applications are error-tolerant such as multiplier, in image blending technique.
image/signal processing and to improve the functionality
approximate circuits are used [25]. The approximation can Compressor
increase the speed of the circuit while reducing the chip area.
In the multiplication process the final addition of the The inputs are equally weighted in the compressor, and binary
partial products is done using adders. As adders plays a output is obtained. The goal of simultaneous multi-operand
significant role in the multiplication process, it's important addition and multiplication is to minimize the number n, which
to boost adder performance. The approximate Han-Carlson necessitates the use of n: 2 compressors (n is the number of
adder [28] is used to improve performance at the expense
of precision. In this paper the power-optimized circuit is
implemented by using approximate compressors at the
reduction stage of the multiplier block. Proposed approxi-
mated multiplier designs consist of speculation parallel-pre-
fix adder and multiplier using the compressor. By applying
approximation, power consumption is reduced but it affects
the accuracy of the circuit. For the validation of results, the
proposed approximated multiplier is used in blending/fusing
two images using the Xilinx system generator. The analy-
ses show that the proposed compressors and multiplier are
capable of approximate computing.
The structure of the paper is as follows: The methodology
and analysis of approximate compressors and multipliers
are shown in Section "Materials and methodology". Section
"Results and Discussion" shows the results and discussion of
the approximated designs. Image processing application by
using system generator is shown in Section "Image Process-
ing Application Using System Generator" which is followed
by the conclusion.
SN Computer Science
SN Computer Science (2024) 5:457 Page 3 of 10 457
The addition of the exact 3:2 compressor is faster than the rip-
ple carry adder but has an irregular structure which increases
its complexity. To overcome this problem approximate 3:2
compressor is proposed and the final sum and carry are calcu-
lated by using (2) and (3). Figure 3(a) and (b) shows the actual
and approximate 3:2 compressor.
sum = ((x3 + x1) ⊕ x2) (2)
SN Computer Science
457 Page 4 of 10 SN Computer Science (2024) 5:457
proposed using (7) and (8). Figure 4(a), (b) shows the actual group with fewer than three rows is carried to the next stage
and approximate 4:2 compressor. of addition without being changed. A Wallace tree multi-
plier of 8 × 8 is shown in Fig. 5. There are five phases in all.
sum = (x3 + x2 + x1) ⊕ x4 (7) Stage 0 allows for two groups of three rows, with two rows
remaining unchanged. In stage 1, the remaining two rows
carry = ((x4 + x3).(x2 + x1)) + (x4.x3) + (x2.x1) (8) form a group. A typical adder is used to accomplish the final
addition in the last step.
A novel approximated compressor algorithm is proposed
with some inaccurate results. In the multiplication process,
Proposed Multiplier
compressors play a critical role. In the reduction process of
The purpose of this section is to demonstrate how to use
multiplication, the compressor serves as the main compo-
the suggested speculative Han-Carlson parallel prefix adder
nent. They efficiently reduce partial products and enhance
and multiplier using an approximate compressor for the
the performance of the multiplier.
implementation of the approximate multiplier. There are
three primary steps in parallel multipliers. The formation
Multiplier
of partial products is the first stage, which is carried out by
AND gates. The second stage is the reduction of the partial
In this research paper, authors used Wallace multiplier. It
products which can be done by using approximate novel
differs from an array multiplier, though, in that it sums up all
compressors. The final addition of the partial products is
partial products. The addition of all partial products occurs
done using approximate Han-Carlson parallel prefix adder
at numerous stages in the Wallace tree multiplier. At every
[28], in the third stage. The second stage, out of the three,
level, parallel addition takes conducted by forming groups
is the most power-hungry stage. As a result, enhancing the
of three rows, which helps to speed up the process. Any
second stage improves the multiplier's performance while
lowering its cost.
As the bit-width of approximated Han-Carlson parallel
prefix adder increases the power consumption and area
utilization is also double when compared with the previ-
ous bit-width. In approximate Han-Carlson parallel prefix
Fig. 4 a Actual and b Approximate 4:2 compressor Fig. 5 8 × 8 Wallace tree multiplier
SN Computer Science
SN Computer Science (2024) 5:457 Page 5 of 10 457
SN Computer Science
457 Page 6 of 10 SN Computer Science (2024) 5:457
SN Computer Science
SN Computer Science (2024) 5:457 Page 7 of 10 457
SN Computer Science
457 Page 8 of 10 SN Computer Science (2024) 5:457
Table 3 Comparison Of The Proposed Approximated 4:2 Algorithm With State-Of-Art Work
x4x3x2x1 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
Strollo et al. CS 00 01 01 10 01 10 10 10 01 10 10 11 10 11 11 11
[14] E -1 −1
Yang et al. CS 00 01 01 10 01 10 10 11 01 10 10 11 11 10 10 11
[15] E +1 -1 -1 −1
Lin and Lin CS 00 01 01 10 01 10 10 11 01 10 10 11 10 11 11 10
[17] E −2
Proposed CS 00 01 01 10 01 10 10 11 01 10 10 11 10 11 11 10
E −2
algorithm shows a remarkable result and less error in Table 5 quantitative analysis of approximate multiplier using novel
comparison to other algorithms. Table 4 shows the result compressor and speculative han-carlson adder
of the multiplier using compressor with state-of-art work.
Approximated multiplier
Table 4 illustrates that the multiplier using compressor
shows remarkable results in comparison to the exact mul- Cell usage LUT 121
tiplier, and [29]. The multiplier using novel compressor, IBUF 16
exact multiplier and [29] results in 7.591 W, 11.323 W, OBUF 17
and 8.194 W respectively total power consumption. The Area Cells 154
proposed algorithm saves 49.16% and 7.94% power con- Memory (MB) Peak 726.836
sumption compared to the exact multiplier and [29]. Also, Gain 408.297
the multiplier using compressor results in a − 27.5 °C Power (W) Dynamic 12.583
thermal margin and 112.5 °C junction temperature. For Static 0.341
validation of results, the proposed approximated multi- Total On- 12.923
plier is used as a basic building block in image process- Chip Power
ing applications. Image processing applications are error- Junction temperature (°C) 43.2
resilient and the use of approximation in it doesn’t affect Thermal margin (°C) 41.8 (28.7 W)
the overall performance of the circuit. Table 5 shows the
result of the approximated multiplier using compressor
and speculative Han-Carlson adder.
SN Computer Science
SN Computer Science (2024) 5:457 Page 9 of 10 457
Image Processing Application Using System Table 6 Comparison of the existing approximate multiplier and pro-
Generator posed approximate multiplier
PSNR (dB) (Set 1) PSNR(
The approximate multiplier is used in image processing dB) (Set
applications like image blending, or edge detection. The 2)
model design is constructed in a system generator by using Momeni et al. [12] 8.21 15.09
the Xilinx Blockset Library. Matlab/Simulink environment Toan and Lee [13] 17.88 20.54
is used for the simulation and implementation of the cir- Strollo et al. [14] 15.17 14.63
cuits. With the help of the video viewer, the final result is Proposed multiplier 23.87 22.7
reflected. For the facilitation of hardware design of FPGA,
Xilinx’s System Generator tool is used. It provides a well-
suited interface between software (MATLAB) and hardware 35.55% improvement when compared to [12, 13], and [14]
(Xilinx Vivado). The System generator can automatically respectively. The proposed approximated multiplier shows
run all design processes including implementation, debug- significant results compared to state-of-art work. In this
ging, and verification. It can also import an HDL file for research paper, the authors designed low-power consump-
simulation and verifies its result. Two sets consisting of two tion image processing applications that have paved the way
images of dimension 128 × 128 are considered as shown in for a whole new area in low power consumption error-
Fig. 9. These two images are fed into the pre-processing tolerant circuits with approximate computing. These appli-
stage followed by the multiplication and post-processing cations save power consumption at the cost of a reduction
stages. With the help of the image viewer, the output is in inaccuracy. Furthermore, such implementations reduce
obtained. The state-of-art works with the same set of images the complexity of the system architecture and delay.
are also shown in Fig. 9. Conclusion And Future Work
Figure 9 evaluates the image blending application using an In this research paper, the approximate multiplier is
approximate multiplier. Two images are multiplied with each proposed using the approximate novel compressor and
other pixel-by-pixel which results in the blending of two images speculative Han-Carlson adder. The design and analy-
into one output image. PSNR is used as an evaluation param- sis of the approximate multiplier are implemented with
eter. Two different sets consisting of two images are blended reduced power consumption when compared with the
and results in 23.87 dB and 22.7 dB PSNR respectively. The existing architectures. Simulation and verification of the
proposed results are compared with the existing state-of-art proposed compressors and multipliers are done with the
technique and the results are tabulated in Table 6. shows the help of VIVADO 2018.3. After approximation of multi-
comparison between the proposed and the prior work in terms plication block, it is further used for image processing
of quality (PSNR) of images. PSNR is calculated regarding the application for image blending of two sets of images,
output image obtained using the exact multiplier. resulting in PSNR of 23.87 dB and 22.7 dB respectively.
For set 1, the proposed approximated multiplier shows The same work may be extended for different bit lengths
65.60%, 25.09%, and 36.44% improvement in compari- of the approximate multiplier by exploring the possibility
son to [12, 13], and [14] respectively. For set 2, the pro- of various architectures.
posed approximated multiplier shows 33.52%, 9.51%, and
Input image 1 of Input image 2 of Output image using Output image using an
[12] [13] [14]
dimension 128×128 dimension 128×128 exact multiplier approximate multiplier
Set 1
Set 2
Fig. 9 a and b Input images of dimension 128 × 128 c Output image using exact multiplier d Output image using proposed approximate multi-
plier e Output image using algorithm in [12] f Output image using algorithm in [13] g Output image using algorithm in [14]
SN Computer Science
457 Page 10 of 10 SN Computer Science (2024) 5:457
SN Computer Science