0% found this document useful (0 votes)
3 views6 pages

Ijatcse 79952020

This paper presents an improved scheduling algorithm for the design of Infinite Impulse Response (IIR) filters aimed at reducing power consumption in VLSI applications. By utilizing scheduling techniques such as ASAP and ALAP, the proposed method achieves a 15.27% reduction in power consumption while implementing the filter on FPGA. The results demonstrate the effectiveness of the algorithm in optimizing resource utilization and performance in digital signal processing applications.

Uploaded by

habeeb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views6 pages

Ijatcse 79952020

This paper presents an improved scheduling algorithm for the design of Infinite Impulse Response (IIR) filters aimed at reducing power consumption in VLSI applications. By utilizing scheduling techniques such as ASAP and ALAP, the proposed method achieves a 15.27% reduction in power consumption while implementing the filter on FPGA. The results demonstrate the effectiveness of the algorithm in optimizing resource utilization and performance in digital signal processing applications.

Uploaded by

habeeb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

ISSN 2278-3091

Volume 9, No.5, September - October 2020


Ngangbam Phalguni Singh et al., International Journal of Advanced Trends in Computer Science and Engineering, 9(5), September - October 2020, 7461 – 7466
International Journal of Advanced Trends in Computer Science and Engineering
Available Online at http://www.warse.org/IJATCSE/static/pdf/file/ijatcse79952020.pdf
https://doi.org/10.30534/ijatcse/2020/79952020

Improved Scheduling Algorithm for the IIR Filter design for


Low power VLSI Applications
Ngangbam Phalguni Singh1, Shruti Suman2
1,2
Department of Electronics and Communication Engineering, KoneruLakshmaiah Education Foundation (KL
University), Vaddeswaram, Andhra Pradesh, India
[email protected], [email protected]

ABSTRACT
This flexible architecture can have 256 MAC operations per
The behavioural synthesis of infinite impulse response (IIR) sample. The distributed DSP resources are LUT, registers,
filter is a challenge when it comes to high speed VLSI multipliers and memory units [2] – [5]. The parallel
design applications. Implementation in FPGA is quite processing system maximizes the throughput and optimize
impossible due to huge hardware requirements and it is a the performance/cost tradeoff [6] – [8].
major obstacle to widespread acceptance. This paper
presents the algorithm that makes design decisions to reduce
power consumption. The operations are performed with
proper scheduling techniques like as soon as possible
(ASAP) and as late as possible (ALAP). The IIR filter is
considered for this implementation so that it makes easier to
identify the operations with successive clock cycles and
resource utilization. The power consumption has been
reduced by 15.27% with sampling rate from 10 MHz to 79
KHz.

Keywords: IIR Filter, FPGA, ASAP, ALAP

1. INTRODUCTION
Figure 1: FPGA implementation of IIR filter [1]
With increasing applications of VLSI design in digital signal
processing, the hardware implementation of filters has This paper contains the IIR filter design algorithms that are
become the essential demand. Behavioural synthesis is one modified for better VHDL descriptions in section 2. The
of the effective tools in designing the IIR filters in terms of scheduling of various resources is described in section 3
register operations and transform into gates and flip flops. with proper graphs. Section 4 shows the hardware
Previously, the conventional programming language C was implementation ofthe IIR filter. Section 5 represents the
used to design. However, high-level algorithmic description result analysis of the design. The conclusion is given in
can also be used for the same design. It can generate a section 6.
structural representation of the circuit for the filter.
Application Specific Integrated Circuits (ASICs) or Digital 2. IIR FILTER ALGORITHM
signal processors were used for hardware implementation of
IIR filters. The hardware implementation could have atleast There are two approaches of IIR filter implementation:
12 16-bit multipliers and 11 16-bit adders. This may use a) Direct Form I
almost 14 FPGAs with 442544 adders in total with same b) Direct Form II
number of clock cycles. This limitation does not allow to use Both consists of forward path and feedback path which
behavioural synthesis for higher order of IIR filter. This contribute to obtain the output. The filter is expressed with Z
paper proposes an algorithmic approach that minimizes the transfer functions and simulated in Matlab. The fixed point
number of resource utilization with proper scheduling implementation of IIR filter has certain limitations:
techniques. a) Co-efficient Quantization
b) Internal Quantization
The IIR filter implementation with 256 registers and 256 c) Overflow
multipliers is shown in figure 1 [1]. A conventional DSP d) Stability
processor takes 256 clock cycles whereas FPGA takes only a
single clock cycle for the same filter implementation.
7461
Ngangbam Phalguni Singh et al., International Journal of Advanced Trends in Computer Science and Engineering, 9(5), September - October 2020, 7461 – 7466

The proposed algorithm is used to demonstrate the multiplication and addition are performed at one clock cycle.
operations that can be executed concurrently with successive An as an as soon as possible (ASAP) schedule is introduced
clock cycles [9]. It will identify the dependency of data on to this graph showing five clock cycles; latency of five.
each other to expand the loops in behavioural description
using FPGA [10]. Algorithm 1 shows the behavioural This scheduling will perform the operations as early as
descriptions of the IIR filter. The generic ports are defined possible in a single clock cycle. It can be inserted using
as: algorithm 2 in the hardware descriptions of the IIR filter
generic (coeffa: integer_array (0 to order); design. But some of the operations are performed lately as
coeffb: integer_array (0 to order - 1)); required by the design structure. For that, as late as possible
port(input: in int; strobe: in BIT; output: out int); (ALAP) schedule technique is used.

Based on these generic ports, algorithm 1 is developed for


generating the structure of IIR filter. Delays are introduced
for clocking the modules, the filter behaviors are well
described by representing the algorithms in the graphical
formats.

Algorithm 1: Behavioural description

behavioural (descriptions_IIR)
{

begin
input_sum := input;
for j in 0 to order - 1 loop
input_sum := input_sum + (delay(j)*coeffb(j))/1024;
end loop; Figure 2: ASAP schedule in data dependency graph
output_sum := (input_sum*coeffa(order))/1024;
for k in 0 to order loop The sequence of operations may not be same as given by the
output_sum := output_sum + (delay(k)*coeffa(k))/1024; VHDL description. Equivalently, as late as possible (ALAP)
end loop; schedule can also be applied with five clock cycles as shown
for l in 0 to order - 1 loop in figure 3.
delay(l) := delay (l + 1);
end loop;
delay(order) := input_sum;
output<= output_sum;
wait on strobe;
end process;

Successive values can be differentiated by separating them


with single assignment form. In algorithm 2, output_sum
indicates the successive values.

Algorithm 2: Single assignment form

schedule (assignment form) Figure 3: ALAP schedule in data dependency graph


{
These scheduling techniques are employed using VHDL
input_sum := input + delay(0)*coeffb(0); descriptions so that the IIR filter can be implemented in
output_sum0 := input_sum*coeffa(1); hardware with less resource utilization [11] – [16]. The
output_sum1 := output_sum0 + delay(0)*coeffa(0); design is further divided into various resources with
output := output_sum1 + delay(1)*coeffa(1); different stages of clock cycles. For example, two
} multipliers and one adder are being considered just for
simplifying the design. Proper operations allocation or
The data dependency graph is constructed in figure 2 based mapping onto resources is required.
on algorithm 1. However, it is also assumed that each
7462
Ngangbam Phalguni Singh et al., International Journal of Advanced Trends in Computer Science and Engineering, 9(5), September - October 2020, 7461 – 7466

3. RESOURCE SCHEDULING [26]. Thus whenever a data arc crosses a clock boundary, a
register must be inserted, refer figure 6. The resources in
The number of cycles may increase if the resources can be register can be shared just like arithmetic resources. In this
constrained to a single arithmetic unit during scheduling. regards, multipliers can be employed for sharing the
Figure 5 shows the dependency graph with constrained resources. The possible hardware implementation is shown
resources. The number of possible scheduling increases with in figure 7.
relatively larger problems [17] – [20]. The total design area
increases while the speed and power consumption improve. The high pass 3rd order IIR filter is implemented with the
This approaches can trade speed and power consumption down samples of sampling rate from 10 MHz to 79 KHz.
against area by changing the schedule. The filter coefficients are A1 = -1, 93178; A2 = 0, 93403;
B0 = 0, 96645; B1 = -1, 93291; B2 = 0,96645. This is
implemented for four guard bits.

Figure 4: Resource constrained schedule.


Figure 6: Registers scheduling
Mapping of operations onto particular resources is done in
the figure 5. The shaded portions represent resources (two
multipliers and one adder) in respective clock cycles.

Figure 5: Mapping of operations onto resources

4. HARDWARE IMPLEMENTATION OF IIR FILTER

FPGA can be selected for the hardware implementation pf


the proposed algorithms [10], [21] – [22]. Two multipliers
and an adder are represented as resources by the three
shaded groups in different clock cycles. In the subsequent Figure 7: Hardware Implementation of 3rd order IIR filter
clock cycle, the result of each operation will be stored [23] –
7463
Ngangbam Phalguni Singh et al., International Journal of Advanced Trends in Computer Science and Engineering, 9(5), September - October 2020, 7461 – 7466

This FPGA implementation removes several level operations for the resource constraints @ voltage of 3.3 V, 2 multipliers
with proper resource mapping. This is one of the main and 1 adder. The proposed algorithm also reduces the
factors for reducing the power consumption. The mapping of number of levels for registers, thus minimizing the power
resources are converted to registers using multiplexers. The consumption. Figure 8 shows the simulation result of the
operations with high power consumptions are being replaced high pass 3rd order IIR filter. However, the frequencies
with the low power register mapping with every clock cycle. below 1 KHz still appear in the signal.

5. RESULT ANALYSIS Table 1 shows the comparative analysis of the power


consumption for 3rd order IIR filter. This result validates that
The proposed algorithms were implemented in VHDL the proposed algorithms are very effective in implementing
behavioural descriptions and run using Xilinx Vivado, the behavioural descriptions of IIR filter in FPGA.
FPGA technology Virtex 7. We run the scheduling algorithm is the power supply at 5V.

Figure 8: Simulation result of FPGA implementation of high pass IIR filter

Table 1: Power consumption analysis for 3rd order IIR filter


ACKNOWLEDGEMENT
Scheduling Power % Improvement
algorithm consumption (pJ) We thank the Department of Electronics and
[11] 10092 43.76 Communication Engineering – DST-FIST sponsored,
[12] 8092 15.27 KoneruLakshmaiah Education Foundation (KL University),
Proposed 7020 - Vaddeswaram, Indiafor allowing us to utilize the
laboratories and complete this research work in time.
6. CONCLUSION
REFERENCES
These proposed algorithms minimizes the power 1. Dixit. H.V & Gupta D.V. IIR filters using Xilinx
consumption of the FPGA implementation of the IIR filter System Generator for FPGA
by employing the scheduling techniques of operation implementation, International Journal of Engineering
mapping onto resources. The experimental results show that Research and Applications, Vol. 2(5), pp. 303-307,
there is an improvement of 15.27% in the power September 2012.
consumption at resource constraints of 3.3 V for behavioural 2. Mahabub A. Design and implementation of cost-
synthesis of IIR filter. In future the design can be improved effective IIR filter for EEG signal on
by eliminating the frequencies below 1 KHz after sampling. FPGA. Australian Journal of Electrical and Electronics
Engineering, pp. 1-9, June 2020.
3. Seshadri R., & Ramakrishnan, S. FPGA
implementation of fast digital FIR and IIR
7464
Ngangbam Phalguni Singh et al., International Journal of Advanced Trends in Computer Science and Engineering, 9(5), September - October 2020, 7461 – 7466

filters. Concurrency and Computation: Practice and Emerging Trends in Engineering Research, Vol. 7 (12),
Experience, e5246, 2019 pp. 768-771, December 2019.
4. YarragudiMadhuSudhana Reddy, 15. Ngangbam Phalguni Singh, Hamisi, N. Y., &Iddi, H. U.
RamaswamiSachidanandan Ernest Ravindran, Kakarla AC Analysis of Octree based Buffer Using Various
Hari Kishore. Spatial Mutual Relationship Based Data Conditioning Flip Flops. International Journal of
Retinal Image Contrast Enhancement for Efficient Applied Engineering Research, 12(19), pp. 8366-8370,
Diagnosis of Diabetic Retinopathy. International October 2017
Journal of Intelligent Engineering and Systems, E-ISSN 16. Sk.Md.Reyaan, B.ManojVenkat, G.Y.V.Siva Shankar, K
No: 2185-3118, Vol No: 11, Issue No: 5, pp 48-58, Hari Kishore, FazalNoorbasha, Y Archana, Shaik Razia.
August 2018 Power Analysis of FIR Filter Design Using APC-OMS
5. Madanayake A, Bruton L., &Comis C. (2004, May). Algorithm.Journal of Advanced Research in Dynamical
FPGA architectures for real-time 2D/3D FIR/IIR and Control Systems, Vol. 12(2), pp. 1085-1092, March
plane wave filters. In 2004 IEEE International 2020.
Symposium on Circuits and Systems (IEEE Cat. No. 17. Bhogadi Anil Kumar, ChillapalliHaritha, Gumpena Veda
04CH37512), Canada, 2004, pp. III-613. Sri Leela, E Raghuveera, K Hari Kishore. A Parametric
6. K Hari Kishore, FazalNoorbasha, Katta Sandeep, D.N.V. DFT Scheme for RAMs.Journal of Advanced Research
Bhupesh, SK. Khadar Imran, K. Sowmya. Linear in Dynamical and Control Systems, Vol.12 (2), pp. 2298-
convolution using UT Vedic multiplier. International 2305, May 2020.
Journal of Engineering and Technology (UAE), Vol. 18. KDivyaMadhuri, K Hari Kishore. Implementation of 4-
7(2.8), pp. 409-418, March 2018. bit Ripple Carry Adder by Adopting Sub threshold
7. Islam, S.M.R., Sarker R., Saha S., & Uddin, A. N. Adiabatic Logic for Ultralow-Power
Design of a programmable digital IIR filter based on Application.Journal of Advanced Research in
FPGA. In 2012 International Conference on Informatics, Dynamical and Control Systems, Vol. 12(6), pp. 11-17,
Electronics & Vision (ICIEV),Dhaka, 2012, pp. 716-721. May 2020.
8. K Hari Kishore, B. K. V. Prasad, Y. Manoj Sai Teja, D. 19. A Murali, K Hari Kishore. An Efficient Debugging
Akhila, K. Nikhil Sai, P. Sravan Kumar. Design and Architecture for DTG Based FIR Filter Using I2C
comparative analysis of inexact speculative adder and Protocol in DSP Processor. International Journal of
multiplier.International Journal of Engineering and Emerging Trends in Engineering Research, Vol. 8(7), pp.
Technology (UAE), Vol. 7(2.8), pp. 413-426, March 3468-3477, August 2020.
2018. 20. AvinashYadlapati, Hari Kishore Kakarla. Design and
9. G SiriVennela, K Hari Kishore, E Raghuveera. High Verification of Asynchronous FIFO with Novel
Accurate and Power Efficient ECG-Based Processor Architecture Using Verilog HDL.Journal of
for Predicting Ventricular Arrhythmia. Journal of Engineering and Applied Sciences, Vol. 14(1), pp.
Advanced Research in Dynamical and Control Systems, 159-163, January 2019.
Vol. 10(2), pp. 1180-1121, May 2018. 21. AvinashYadlapati, K Hari Kishore. System Level
10. Poučki, V. M., Žemva, A., Lutovac, M. D., &Karčnik, T. Verification of Advanced Extensible Interface
Elliptic IIR filter sharpening implemented on Protocol Using Verilog HDL.Journal of Advanced
FPGA. Digital Signal Processing, Vol. 20(1), pp.13-22, Research in Dynamical and Control Systems, Vol. 10(7),
January 2010 pp. 1359-1365, June 2018.
11. W.T. Shiue and C. Chakrabarti. Low power scheduling 22. B. Srikanth, M. Siva Kumar, J.V.R. Ravindra, K. Hari
with resources operating at multiple voltages. IEEE Kishore.Double Precession Floating Point Multiplier
Trans. Circuits and Systems II: Analog and Digital using Schonhage-Strassen Algorithm used for FPGA
Signal Processing, Vol.47, pp.536-543, June 2000. Accelerator.International Journal of Emerging Trends in
12. Yang H.C, & Dung L. R. Algorithmic transformations Engineering Research, Vol. 7(11), pp. 677-684,
and peak power constraint applied to multiple-voltage December 2019.
low-power VLSI signal processing. WSEAS 23. B. Murali Krishna, K. Ch. Sri Kavya, P.V. S. Sai Kumar,
Transactions on Signal Processing, Vol. 3(12), pp. 479- K. Karthik, Y. Siva Nagababu. FPGA Implementation
486, December 2007. of Image Cryptology using Reversible Logic Gates.
13. Ngangbam Phalguni Singh, Hamisi, N. Y., &Iddi, H. U. International Journal of Advanced Trends in Computer
DDFF based Low Power Dissipation in Ring Counter Science and Engineering, Vol. 9(3), pp. 2522-2526, June
using Octree. International Journal of Applied 2020.
Engineering Research, Vol. 12(19), pp. 8346-8353, 24. AntipasT. Teologo Jr., Reggie C. Gustilo. Performance
October 2017. Analysis of MUSIC Algorithm for Microphone Array
14. ChellaSanthosh, K. Hari Kishore, G. Pavani Lakshmi, Using FPGA board.International Journal of Advanced
G.Kushwanth, P. Rama Krishna Dharma Teja, R. S. Trends in Computer Science and Engineering, Vol. 9(3),
Ernest Ravindran, SreeVardhanCheerala, M. Ravi pp. 3478 –3484, June 2020.
Kumar. Detection of Heavy Metal Ions using Star- 25. Jagdeep Kaur Sahani, ShrutiSuman, P. K. Ghosh, Double
Shaped Microfluidic Channel. International Journal of Gate based OTAs for Analog Filters: Design of
7465
Ngangbam Phalguni Singh et al., International Journal of Advanced Trends in Computer Science and Engineering, 9(5), September - October 2020, 7461 – 7466

Analog Filter. LAP LAMBERT Academic Publishing,


ISBN-10: 3659565407 ISBN-13: 978-3659565, 2014.
26. Jagdeep Kaur Sahani, ShrutiSuman, P. K. Ghosh, Design
of Second Order Low Pass and High Pass Filter using
Double Gate MOSFET based OTA, Innovative Systems
Design and Engineering, Vol 5, Issue 4, pp.111-122,
2014.

7466

You might also like