Hybrid Segment Approximate Multiplication for Image Processing Applications

It is critical in terms of approximate computation errors in VLSI multiplier circuits are increasing with technology scaling. The most common method for fast and energy efficient execution of multiplication result is approximation of operands. But this traditional approximate result is not suitable for image processing applications. This paper proposes the two architectures of high accurate hybrid segment approximate multiplier (HSAM) and enhanced HSAM for image compression. Existing static segment method based approximate multiplier is not suitable for certain accurate applications and dynamic segment method based approximate multiplier is not suitable for cost efficient applications. The proposed work combines the advantages of both static segment method and dynamic segment method to drive the efficiency in accuracy and cost. The proposed approximate multipliers HSAM8 × 8 and EHSAM8 × 8 provide 99.85% and 99.999% accuracy respectively for various inputs. The proposed HSAM consumes less energy with small increase of area overhead. The proposed EHSAM consumes less energy without any area overhead. The proposed HSAM and EHSAM is improved the speed by 40% and 85% compared to the existing SSM8 × 8 technique.


Introduction
Energy consumption is one of the major challenges in VLSI technology, when the CMOS technology and the design complexity are scaled to deliver the desired functionality.Approximate Arithmetic Computing (AAC) is a solution for energy efficiency challenge with some computational error [1].Because of this approximate computing, reduction in energy dissipation and fast execution is possible at all levels of design hierarchy.It is suitable for the applications such as signal processing, image/video processing and machine learning and neuromorphic systems.This energy efficient VLSI circuits are mainly used in real time applications such as mobile and embedded computing devices to provide reliability and to improve the life span of VLSI systems [2].
Multiplication is the power, area and time consuming operation for large operands [3].This is the bottleneck in many applications which requires large number of multipliers.But it is one of the basic arithmetic operations in DSP and image processing applications like convolution, correlation, finite Impulse Response, infinite impulse response, fast fourier transform, multiply accumulate unit, image compression and signal compression techniques.It is also used for designing arithmetic, image and signal processors [5].To create a remedy for this power-hungry components, approximate computation is preferred which provides low energy consumption with computational error.DSP applications have more error tolerance than image processing applications.Previous studies provide various techniques to improve energy efficiency with some error tolerance.It can be divided into three types: 1) Aggressive voltage scaling [6] [7], 2) Truncation of bits [4] [6]- [8], 3) Inaccurate building blocks usage [9].In [6], hardware is designed with a scalable effort using aggressive voltage scaling and truncation of bits to support error resilience.In [4], under-designed multiplier for 16 bits is proposed with a simple correction mechanism, during its operation in a critical mode.But the power consumption and computational accuracy is trade-off.It uses inaccurate 2 × 2 partial product generators to achieve minimum dynamic and leakage power with some accuracy loss.Better Signal to Noise Ratio (SNR) is achieved by this proposed multiplier which is not suffering from the overheads of advanced over-scaling techniques.
Z. Babic et al. proposed an iterative logarithmic multiplier [3].It uses Mitchell's algorithm without the use of logarithmic approximation.This method uses two parallel circuits for error correction.It affords less computational error with area overhead and high power consumption.In [10], a low error and high performance multiplexer based truncated multiplier is proposed with a Pseudo carry Compensation Truncation (PCT) scheme.It is implemented on TSMC 0.18 um technology and it provides low Mean Square Error (MSE).
Ritupriya Jha proposed an 8-bit shift and approximate multiplier which is suitable for embedded DSP applications [5].It is based on Vedic mathematics, the word Vedic derived from vedha which means the store house of all knowledge.It uses Urthva Tiryakbhyam sutra which operates in vertical and crosswise manner.Due to parallel processing, it increases the speed.But it increases the area when the number of bits is increased.In [11], Mitchell's logarithmic multiplier is designed using iterative multiplier.
This iterative multiplier is mainly used in convolution process for multiplying the pixels of image with the kernel value.Because of its iteration, it reduced the delay.But this iterative process leads to the accurate result.
An approximate multiplier is presented in [12], which uses the accurate multiplier for MSB and accurate plus approximate multiplier for LSB.Since it provides little computational error, it is suitable for multimedia and wireless applications.In [13], an approximate multiplier is proposed with an approximate adder and an OR gate based error recovery module for error reduction.When compared to the wallace tree, it reduced the critical path delay with the cost of quality degradation.An approximate multiplier using 4:2 compressors is presented in [14].It is based on recursive multiplication technique.It provides the reduction in power and delay, high accuracy with area overhead.
The rest of this paper is structured as follows.Section 2 explains the multiplier less multiplier.Different types of proposed approximation techniques are presented in Section 3. Section 4 gives the detail discussion about the results like energy consumption, power, delay and area of different approximate multipliers.The case study on image processing applications is given in Section 5. Finally Section 6 concludes the paper.

Proposed Multiplier Less Multiplier (MLM)
The main components of the proposed multiplier less multiplier (MLM) are shifter, multiplexer and adder.The shifter is used to perform the right shift operation of one of the input operand.The shifted values and zeros are given as the inputs to the multiplexer which select the appropriate values based on the other input operand is also called as control operand.One of the inputs of the multiplexer is always zero.If the control operand bit of the multiplexer is zero then the output of the multiplier is zero, otherwise it selects the multiplicand as the output (Figure 1).
Finally, these parallel outputs are added to get the appropriate output.The fastest adder named as carry select adder is used in this proposed multiplier for high speed operation.When compared to the conventional multipliers like array multiplier, Wallace tree and dadda multiplier, the proposed multiplier provides high speed and low energy consumption.This high speed and energy efficient proposed multiplier is used in the approximate multiplier, which is suitable for mobile, embedded computing and image processing applications.

Proposed Approximate Multipliers
Basically two different types of approximation techniques are available.Dynamic Segment Method (DSM) is one of the techniques used for accurate approximate multiplication.It uses the eight bit segment from the leading one position of the operands.To perform these operations, it uses the leading one detector (LOD) which increases the cost with high accuracy.But the Static Segment Method (SSM) uses the OR gate instead of LOD to reduce the hardware requirement.It provides high accuracy for the LSB segments and low accuracy for MSB segments.If there is one present in the MSB, it uses the MSB segment and excludes the LSB segment which reduces the accuracy.This proposed work combines the advantages of both static segment method and dynamic segment method to drive the efficiency in accuracy and cost.In addition to that the new multiplier less multiplier is used instead of existing multipliers like wallace tree or dadda.

Hybrid Segment Approximate Multiplier (HSAM)
The proposed hybrid approximate multiplier takes m consecutive bits (i.e., an m-bit segment) of an n-bit operand and selected two m-bit segments are applied to MLM method for obtaining cost efficiency.The advantages of both static segment and dynamic segment are combined, which is called as hybrid segment technique.To improve the accuracy of an approximate multiplier, hybrid segment technique is used (Figure 2).
It uses LOD and shifters like dynamic segment method, with the slight changes in its logic functions which provides good accuracy and low energy consumption.By reducing LOD and shifters, it reduces the area.It also provides high speed due to the proposed MLM technique.

Enhanced Hybrid Segment Approximate Multiplier (EHSAM)
To improve the accuracy of the proposed HSAM, one of the segments is checked and if the magnitude of the segment is less than 15, then value 1 is added with the segment.If the condition is true 1 added segment is selected.
Otherwise the input segment is taken as one of the inputs of the proposed multiplier.When compared to the SSM8 × 8, SSM10 × 10 and the HSAM technique, it provides better accuracy, less energy consumption and high speed (Figure 3).

Working Example for Approximation Method
Two 16 bit operands are given namely ( ) ( )   The multiplication technique used in SSM method is given in steps as follows: Step 1: Segmentation Step 2: 8 × 8 multiplication The accuracy of an approximate multiplier using SSM technique is computed by

Results and Discussion
The implementation of proposed approximate multipliers is carried out in Xilinx ISE tool and the Kintex-7 FPGA is used as the target platform.To evaluate the performance of the proposed approximate multipliers Cost and accuracy results are compared with the existing works.The accuracy of an approximate multiplier is calculated using HSAM and EHSAM technique is computed using Equation (2) and Equation (3).
The cost analysis of an existing and proposed approximate multiplier is calculated in terms of area, delay and energy.Area of different approximate multipliers is computed in terms of number of slice LUTs and number of occupied slices is depicted in Table 2. To fairly compare the proposed technique, the existing SSM 8 × 8 is taken in to account due to approximation of 8 × 8.The proposed HSAM has additional area overhead by 7% but EHSAM reduces the area overhead by 19.8% compared to existing SSM 8 × 8 technique.The proposed HSAM

Case Study Image Processing Applications
The proposed approximate multiplier is suitable for image compression applications.It is simulated using Matlab image processing tool box.

Implementation Flow
The implementation flow of image processing applications using high accurate static segment based approximate multiplier is shown in Figure 4. Input images are converted into text file using Matlab programming.
The text file is given as the input to VLSI implementation.This is done by Xilinx ISE tool, which provides the text file as output.Finally the output text file is converted into the image using Matlab programming.

Simulation Output
The various approximate multipliers are designed to support two 16 bit inputs and 32 bit output.These multipliers are implemented on Spartan 6 with a speed grade-3 using Verilog HDL.The simulation output of novel approximate multiplier is shown in Figure 5.Here a, b are two 16 bit inputs and P is 32 bit product.The simulation output of image compression using Matlab tool is shown in Figure 6.Here the column 1 denotes the original image and column 2 denotes the compressed images, which are obtained by proposed approximate multipliers.

Conclusion
In this paper, a hybrid segment based approximate multiplier is designed for error critical applications.The proposed hybrid approximate multiplier takes m consecutive bits (i.e., an m-bit segment) of an n-bit operand and selected two m-bit segments are applied to MLM method for obtaining cost efficiency.The proposed HSAM has additional area overhead by 7% but EHSAM reduces the area overhead by 19.8% compared to existing SSM 8 × 8 technique.The proposed HSAM and EHSAM is improved the speed by 40% and 85% compared to the existing SSM 8 × 8 technique.The proposed HSAM and EHSAM is reduces the energy consumption by 70% and 108% respectively compared to the existing SSM 8 × 8 technique.

Figure 6 .
Figure 6.Simulation output for image compression.

Table 1
shows that comparison results of existing and proposed approximate multiplier techniques.The proposed HSAM8x8 and EHSAM 8 × 8 approximate multipliers provide 98.85% and 99.999% accuracy respectively for various inputs.

Table 1 .
Accuracy analysis of approximate multiplier using various SSM techniques.

Table 2 .
Cost analysis.with small increase of area overhead.The proposed EHSAM consumes less energy without any area overhead.The proposed HSAM and EHSAM is improved the speed by 40% and 85% compared to the existing SSM 8 × 8 technique.The proposed HSAM and EHSAM is reduces the energy consumption by 70% and 108% compared to the existing SSM 8 × 8 technique.