You are on page 1of 5

S.karthik et al.

/ (IJAEST) INTERNATIONAL JOURNAL OF ADVANCED ENGINEERING SCIENCES AND TECHNOLOGIES


Vol No. 6, Issue No. 1, 065 - 069

Implementation of Partial Reconfigurable FIR Filters


using Dynamic Partial Reconfiguration

S.karthik (Asst prof), Jean shilpa (Asst prof), Prudhvi sai R, Spurthy S,
SENSE Department, SENSE Department,
VIT University, VIT University,
Vellore, INDIA. Vellore, INDIA.
skarthik@vit.ac.in prudhvisairangisetti@gmail.com

Abstract— This paper intends to describe the This paper presents a partially reconfigurable FIR filter

T
development of a dynamically reconfigurable system which design that targets to meet all the objectives (low-power
supports multiple modules running concurrently, all with consumption, autonomous adaptability/reconfigurability, fault-
hardware support. A standard Xilinx FPGA is used to test tolerance, etc.) on the FPGA, which are set by dynamic partial
the possibilities of loading partially new hardware reconfiguration (DPR). FPGAs are programmable logic
configurations while other parts of the FPGA still are devices that permit the implementation of digital systems.
active. Its scope is to implement an autonomously They provide an array of logic cells that can configured to
ES
reconfigurable digital signal processing architecture that is
tailored for the realization of arbitrary response FIR
filters and flexibility allowing dynamically inserting and/or
removing the partial reconfigurable FIR filters with
various taps. This reconfigurable FIR filter design method
using Xilinx Virtex-5 FPGA shows the configuration time
perform a given functionality by means of a configuration bit
stream. Many of FPGA systems can only be statically
configured. Static reconfiguration means to generates a
configuration bit stream starting from an HDL completely
configure the device before system execution. If a new
reconfiguration is required, it is necessary to stop system
execution and reconfigure the device it over again. Some
improvement and flexibility by using the dynamic partial FPGAs allow performing partial reconfiguration, where a
reconfiguration. reduced bit stream reconfigures only a given subset steps of
internal components. DPR allows the part of device be
modified while the rest of the device (or system) continues to
operate and unaffected by the reprogramming [2].
A
Keywords— Reconfigurable FIR filter; Xilinx FPGA;
Dynamic Partial reconfiguration. The FIR filter is a special kind of digital filters and has
a wide applicability because it has a good characteristic such
as linear phase and stability. However, it may need a large
number of coefficients to obtain the desired specification. This
results in the large number of area (slice) for FPGA design.
I. INTRODUCTION
Therefore, there are certain disadvantages associated with run-
FIR filters are employed in the majority digital signal time reconfigurable design of higher order tap FIR filters
IJ

processing (DSP) based electronic systems. The emergence of using conventional FPGA design techniques. One of the major
demanding applications (i.e., software defined radio, image, disadvantages is the so called reconfigurable overhead, which
audio/video signal processing, coding, smart device to be is the time spent for reconfiguration. This depends on the
healthcare systems and sensor filtering, etc.) in terms of reconfigurable device and the method of reconfiguration.
power, speed, performance, system compatibility and Partial reconfiguration can be used in this case since the 14-tap
reusability make it imperative to design the reconfigurable or 16-tap FIR filter have FIR filters are employed in the
architectures. Recently, explosive proliferation in wired and majority of digital signal so many similarities in there
wireless communication standards renders traditional FIR structure. Therefore, partial reconfiguration addresses the
architectures less suitable for future communication needs. On reduced reconfiguration overhead, coefficient flexibility and
the other hand, software radio has gained much attention from area efficiency for higher order FIR filters.
the researchers worldwide due to a strong demand for
reconfigurable communication systems capable of multi- This paper is organized as follows. Background and
standard operations. In light of this trend, programmability and related work is described in Section II. The modular design
reconfigurability need be taken into account in filter and module-based partial reconfiguration are described in
architecture design. Section III. Section IV presents the design method and
proposed design of reconfigurable FIR filter. Section V
presents the implementation process for partially

ISSN: 2230-7818 @ 2011 http://www.ijaest.iserp.org. All rights Reserved. Page 65


S.karthik et al. / (IJAEST) INTERNATIONAL JOURNAL OF ADVANCED ENGINEERING SCIENCES AND TECHNOLOGIES
Vol No. 6, Issue No. 1, 065 - 069

reconfiguration of reconfigurable FIR filter. Section VI


describes results. The conclusion is given in Section VII.
3) Final assembly:
In the phase, the team leader assembles and implements
II. BACKGROUND AND RELATED WORK the top-level design using each sub modules and generates
top-module bit stream.
Reconfigurable logic has established itself as a popular
alternative to implement digital signal processing algorithms
[1]. Furthermore, a number of articles have been published on B. Module based partial reconfiguration
using DPR to implement different signal processing
algorithms. The capability of reconfiguring a filter at run time Module-based partial reconfiguration method is a
is of special interest for applications such as wireless special case of modular design. And this method can
communications and software radio. Hardware realizations of reconfigure only a given subset of internal components during
FIR filters can be divided into constant coefficients and device is activating. A complete initial bit stream must be
multiplier-based implementations. In the latter case, DPR is generated, and then, partial bit steams are generated for each
mainly used to change a filter‟s overall structure, or other reconfigurable module. Fig. 1 shows the design flow of
filter-wide characteristic. At a higher level, DPR is also used module-based partial reconfiguration. Hardwired Bus Macros

T
to simply change the level of parallelism of an implementation must be included in design as shown in Fig. 2. These macros
by changing the number of filter cores in an application‟s guarantee that each time partial reconfiguration is performed
critical path. In all these cases, changes are usually initiated routing channels between modules remain unchanged,
from a desire to implement a new filter, based on power or avoiding contentions inside the FPGA and keeping correct
resources considerations, or simply to obtain new inter module connections.
functionality. A change in coefficients does not require
The Module-Based Partial Reconfiguration flow is used for
reconfiguration for this type of filter implementation. Thus, for
ES
these cases, DPR has milder constraints in terms of these designs
reconfiguration speed and reconfigurable logic partition.

III. MODULE-BASED PARTIAL RECONFIGURATION

A. Modular design
The modular design flow allows the designer to split the
whole system into modules. For each module, the designer
generates a configuration bit stream starting from an HDL
A
description and going through the synthesis, mapping,
placement, and routing procedures, independently of other
modules. The modular design flow consists of „Modular
Design Entry / Synthesis‟ and „Modular Design
Implementation‟. „Modular Design Entry and Synthesis‟ step
must be done for top-level design and the modules. Top-level Figure 1. Module based partial reconfiguration flow.
design is designed by team leader and consists of „black box‟
IJ

for each sub-modules and „wiring‟ for interconnection of each


sub-modules. „Modular Design Implementation‟ step
comprises mainly of following three phases [5].

1) Initial budget phase:


In this phase, the team leader assigns top-level constraints
to the top-level design. Top-level constraint needs to area
constraint and bus macro assignment.

2) Active module implementation:


In this phase, the team members implement the
reconfigurable modules.

Figure 2. Design layout with two reconfigurable modules.

ISSN: 2230-7818 @ 2011 http://www.ijaest.iserp.org. All rights Reserved. Page 66


S.karthik et al. / (IJAEST) INTERNATIONAL JOURNAL OF ADVANCED ENGINEERING SCIENCES AND TECHNOLOGIES
Vol No. 6, Issue No. 1, 065 - 069

It is further broken down depending on if


communication is needed between modules. For designs
where the modules are completely independent (e.g. no
common I/O except clocks) and there is no communication
between modules, bus macros are not needed. However, for
modules that do communicate with each other, a special bus
macro (allows signals to cross over a partial reconfiguration
boundary. Without this special consideration, inter module
communication would not be feasible as it is impossible to
guarantee routing between modules. The bus macro provides a
fixed "bus" of inter-design communication. Each time partial Figure 4. Block diagram of Partial
reconfiguration is performed, the bus macro is used to reconfigurable n-order FIR filter.
establish unchanging routing channels between modules,
guaranteeing correct connections.

T
Fig3. N-tap transposed FIR filter.
ES
IV. RECONFIGURABLE FIR FILTER DESIGN

Figure 5. Block diagram of our proposed design for Reconfigurable FIR filter.
The FIR filter computes an output from a set of input
samples, which is multiplied by a set of coefficients. And then
the FIR filter adds together to produce the output as shown in V. IMPLEMENTATION
Fig 3. Implementation of FIR filters can be undertaken in
either hardware or software. A software implementation will
require sequential execution of the filter functions. Hardware A. Hardware Description Language (HDL) design and
implementation of FIR filters allows the filter functions to be synthesis
executed in a parallel manner, which makes improved filter
A
processing speed as fast as possible but is less flexible for Partial reconfiguration requires a hierarchical
changes. Thus, reconfigurable FIR filter offers both the design approach that must be strictly followed during the HDL
flexibility of computer software, and the ability to construct coding process. The first step of the PR design flow is to
custom high performance computing circuits. Fig. 4 shows the define 3 kinds of HDL design description and then synthesize
partial reconfigurable n-order FIR filter, which can implement those HDL descriptions separately. These HDL design
from n=8 to 20. This FIR filter consists of three PR multiply descriptions are composed to following three design modules
accumulate (MAC) module and one right-side NIAC module, [3].
IJ

which is connected by bus macros. And each PR MAC


module has three kinds of M\AC structure: 1, 2 and 3 rMAC 1) Top-Level design
units, which include the serial-to-parallel register to get The top-level module that does not contain any logic only
coefficient inputs in serial. contains I/O instantiations, clock primitives, static module
instantiations, partial reconfiguration module instantiations,
and signal declarations. In addition, the top-level module must
In our proposed design it has only one reconfiguration define bus macros. The based design and each PRM must be
module, where we can merge all n-order filters in to that connected through the bus macro.
module. There is a fixed logic and also PR (partial
reconfiguration) logic where a static and reconfigurable design
2) Base design
can be implemented. Fig. 5 shows the block diagram of our
proposed design, where different order filters can be The static modules contain logic that will remain constant
implemented in less reconfiguration time. during reconfiguration. This step is same with traditional HDL
design method, but the static modules cannot contain any
clock or reset-related primitives. In the proposed design, the
control manager is implemented by the based design.

ISSN: 2230-7818 @ 2011 http://www.ijaest.iserp.org. All rights Reserved. Page 67


S.karthik et al. / (IJAEST) INTERNATIONAL JOURNAL OF ADVANCED ENGINEERING SCIENCES AND TECHNOLOGIES
Vol No. 6, Issue No. 1, 065 - 069

3) PRMs design E. Merge


Similar to the static modules, the partial reconfiguration The final implementation phase is the merge phase. During
modules must also not contain global clock signals, but may the merge phase, a complete design is built from the base
use those from the top-level module. When designing multiple design and each PRM. In this step, many partial bit streams for
reconfigurable modules to utilize the same reconfigurable each PRM and initial full bit streams are created to configure
area, the component name and port configuration of each the FPGA.
module must match the reconfigurable module instantiation
located in the top-level module. The proposed system has only
one PRM in which different order filters can be reconfigured.

T
Figure 7. Test bed for Partial reconfiguration using VIRTEX-5

B. Set Design Constraints


ES
Figure 6. FGPA device view during Initial budget phase.

After the HDL design description and synthesis, the next


step is to set design constraints. Design constraints include the
VI. RESULTS

The partial reconfiguration of reconfigurable


symmetric transposed FIR filters was implemented on Xilinx
Virtex-5 XC5V-LX110t FPGA device using test environment
shown in Fig.7. Using plan Ahead tool different configurations
area group, reconfiguration mode, timing constraint and can be designed full bit and partial bit files are generated, and
location constraints. The area group constraint specifies which configuration bit stream download is operated by Xilinx
modules in the top-level module are static and which are parallel IV Cable and iMPACT tool. Firstly, the full bit
reconfigurable. Each module instantiated by the top-level stream is downloaded to initial the device, then, the partial bit
module is assigned to a group. As shown in the Fig6, the
A
streams are downloaded when the FPGA is running,
reconfiguration mode constraint is also only applied to the meanwhile, the led‟s light along with the choosed partial bit
reconfigurable group, which specifies that the group is streams. The full bit stream is 1012KB, while the partial bit
reconfigurable. Location constraints must be set for every pin, stream is 13KB for 18-tap filter and 16KB for 18-tap filter.
clocking primitive, and bus macro in the top-level design. Bus Since the size of the bit stream is directly proportional to the
macros are located so that they straddle the boundary between number of resources being configured, partial reconfiguration
the PR region and the base design. utilizes a smaller bit stream than a full bit stream for the
IJ

FPGA. The direct benefit is less space needed for storing the
C. Implement Base Design necessary configurations for operation. As reconfiguration
Before the static modules are implemented, the top- times are highly dependent on the size and organization of the
level is translated to ensure that the constraints file has been PRRs, an additional benefit is that the reconfiguration time is
properly created. The information generated by implementing shorter.
the base design is used for PRM implementation phase. The
base design implementation follows three steps: i.e., translate, TABLE I. SIZE OF EACH PR MODULE BIT FILES
map and Place & Route (PAR).

D. Implement PRMs
After the base design is implemented, each PRM must be
implemented separately and follows base design
implementation steps: translate, map, and PAR.

ISSN: 2230-7818 @ 2011 http://www.ijaest.iserp.org. All rights Reserved. Page 68


S.karthik et al. / (IJAEST) INTERNATIONAL JOURNAL OF ADVANCED ENGINEERING SCIENCES AND TECHNOLOGIES
Vol No. 6, Issue No. 1, 065 - 069

TABLE II. OCCUPIED SLICE NUMBER OF EACH PR MODULE . ACKNOWLEDGMENT

This implementation was supported by the Xilinx virtex-5


kit under Xilinx University support Program.

REFERENCES
Table I shows the size of each PR module. Full bit files has
more size than partial bit files, therefore it is easier to [1] “Partial Reconfigurable FIR Filtering System Using
Distributed Arithmetic,” Daniel Llamocca, Marios
download partial bit files which also have less reconfiguration Pattichis, and. Alonzo Vera, 20 November
time to reconfigure the modules. 2010(references)
Table II shows the occupied slice number of each [2] “An Reconfigurable FIR Filter Design on a Partial
Reconfiguration Platform,” Chang-Seok Choi and Hanho
PRmodule. Each PR module's sub-module has same netlist Lee Department of Information and Communication
except the order. Therefore occupied slice number of each PR Engineering(references)

T
module is almost same. PR modules are synthesized by using [3] “An Reconfigurable FIR Filter Design on a Partial
Xilinx ISE 12.1 software. Reconfiguration Platform” Chang-Seok Choi and Hanho
Lee Department of Information and Communication
Engineering Inha University, Incheon, 402-751, Korea [4]
Xilinx Corp., "Development System Reference Guide,"
VI. CONCLUSION www.xiinx.com . (references)
[4] Xilinx Corp., "XAPP 290: Two flows for Partial
ES Reconfiguration: Module Based or Difference Based,"
In this paper, we present a reconfigurable FIR www.xilinx.com , Sept 2004.,in press.
filter design using dynamic partial reconfiguration, which has [5] Y. C. Lim and S. R. Parker, "FIR filter design over a
area efficiency, flexibility and configuration time advantage discrete powers of two coefficient space," IEEE Trans. on
allowing dynamically inserting and/or removing the partial Acoustics, Speech and Signal Processing, Vol.ASSP-3 1,
modules. The proposed method produces a reduction in pp. 583-591, June 1983.
hardware cost and allows performing partial reconfiguration, [6] Xilinx Inc., "Early Access Partial Reconfiguration User
where a reduced bit-stream reconfigures the reconfiguration Guide," www.xilinx.com. March 2006.,in press.
module. This proposed design can also be designed by [7] Xilinx Inc., "Xilinx University Program Virtex-5 Pro
difference based partial reconfiguration flow by identifying Development System Hardware Reference Manual,"
March 2005.,unpublished
only the difference between the different FIR order filters and
generating particular partial bit files and can be reconfigured.
A
IJ

ISSN: 2230-7818 @ 2011 http://www.ijaest.iserp.org. All rights Reserved. Page 69

You might also like