You are on page 1of 4

1.1.

Modulo adder:
In this subsection modular adders have been described. The
modulo adder is one of the basic important arithmetic units in
RNS operation [16].
The basic idea of modulo addition of any two numbers X and
Y with respect to modulus m is
|
|
(11)
= X+Y-m
: X+Y m
Where 0 X, Y< m.
The basic implementation of equation (11) is shown in fig: 3.
After first addition the output S is directly connected to the
first input of the MUX and again the output S is also
connected to the input of the 2nd conventional adder whose
another input is complement of m ( ). The output of the 2nd
adder S-m is connected to the next input of the previous
MUX and carry out of the 2nd adder is directly connected to
the select line of this MUX. The whole idea is that if
is 0
means X+Y< m and if
is 1 means X+Y m.
X
Y

S
M
U
X

Adder

Adder

S-m

r1

y1
y

r
r2

Merge

Split

ROM

y2

(n n)
r3

y3

Fig: 4 RNS divider circuit


2.

PROPOSED ARCHITECTURE

2.1. ROM based RNS 1D IWT using lifting scheme:


In this section, we will first propose a novel ROM based
RNS architecture for 1D 5/3 IWT using lifting scheme. In this
architecture, three basic building blocks which will repeat for
each and every level of decomposition [16]. In these three
blocks, the split block is very simple and easy to implement.
The job of this block is to separate the input samples into two
parts: one is even and another is odd. The diagram of the split
block is shown in fig 5. But implement the other two blocks
(predict and update) are more critical than first one. A new
implemented architecture is designed by pipeline technique.

Fig: 3 basic modulo adder circuit

1.2. Modulo divider:


Derive and implementation of RNS division is really difficult
and this is also the drawback of RNS. If the number divides
with a fixed integer number and the result is also an integer
number then it is little bit easier to implement by using ROM.
ROM based approach we can only use when any kind of
architecture is difficult to implement by using conventional
method and FPGA is a best platform where ROM is very easy
to use.
The main logic behind this architecture is that we consider a
number r (in RNS domain it is r1, r2 and r3) which divides by
an integer number n and its result is also an integer number
y. Again output y splits into y1, y2, y3 in RNS domain. The
input address of the ROM is the number r which is divided
by n and the output of each corresponding address is the
result of RNS division. The figure-4 shown the modulo
divider circuit.

Fig 5: implemented split block


2.2. Implemented architecture of RNS based predict block
for 1-level 1-D 5/3 lifting DWT:
The implemented RNS based predict block for 1-level 1-D
5/3 lifting DWT is designed to receive four even input
samples and generate four outputs which is the wavelet
coefficient as the error in predicting the odd samples from
even samples based on given four formulas:
)
D1=D1 - [ (
].. .(10)
D2=D2 - [ (

]... (11)

D3=D3 - [ (

]... (12)

D4=D4 - [ (

]... (13)

Where D1, D2, D3, D4 are odd samples and S1, S2, S3, S4 are
even samples which is generate after passing the split block.
To implement these basic formulas, we have used 6shift
registers to store the even and odd samples for 3 different
modules (m1, m2, m3). Each shift register has two outputs

which are connected with modulo adder and the outputs of 4


bits three modulo adders are merged to generate a 12 bits
unique number. To avoid the critical RNS division, we use a
)
1212 bits ROM which is solved the equation [ (
] and round off and give an integer number. Then the output
of ROM is connected with splitter whose job is to split the 12
bits into three 4 bits. These 4 bits numbers are again connected
to the modulo subtractor (mainly use modulo 2s complement
adder) whose another input is attached with another shift
register and store the data in same location. The diagram of
the proposed RNS based predicts block of lifting scheme is
shown in fig 9.
2.3. Implemented RNS based update block for 1-level 1-D
5/3 lifting DWT:
The design of the implemented RNS based update block
for 1-level 1-D 5/3 lifting DWT is exactly same as Predict
block, but this block accepts odd samples and using update
operator it generates scaling coefficient to the original signal.
The predict block is implemented by using basic four
equations to solve 5/3 lifting DWT [5].
S1= S1 + [ (

].... (14)

S2 = S2 + [ (

]..... (15)

S3 = S3 + [ (

].. (16)

S4 = S4 +[ (

]. (17)

Where D0=0, D1, D2, D3, D4 are odd samples and S1, S2, S3,
S4 are even samples which is generate after passing the split
block [16].
The operation of this block is exactly same as predict block
but the 1212 bits ROM evaluate the value of
)
equation (
and round off the value to make an
integer number. The diagram of the proposed architecture is
shown in fig 10.
After 1-level decomposition, the output of the update block
has again connected to the split block. The rest of blocks are
used in same fashion of the first level. We will get the final
output after 3-level decomposition.
Finally, the output of the both filter bank and lifting
architecture is again converted by signed RNS to binary
decoder circuit using CRT technique.

Fig: 9 implemented RNS based predict block for LS

Fig: 10 implemented RNS based update block for LS


3.

EXPERIMENTAL RESULT

In this section, the result reported for the performance


comparison of the one level decomposing RNS based 5/3
DWT using lifting scheme and filter bank architectures
include evaluation in term of the number of ROM multipliers,
the number of adders, shift registers, computational time and
the consume power during performance. Firstly, we will
analysis the performance of the proposed architecture. The
computational time of both circuits has been observed at the
same internal clock rate and can easily understand that the
lifting scheme is more efficient for high speed applications. If
we discuss about the hardware utilization, the RNS based
lifting structure is reduced the ROM multipliers, mod adders
and shift registers significantly. But the other hand the same
lifting scheme is not a power efficient circuit when it again

compare with filter bank scheme .Every module in our


proposed architecture has 100% hardware utilization. The
detail comparison of results are list in table 2 from which it is
clear that our proposed RNS based lifting structure is more
efficient to other in term of hardware utilization and time
delay.
TABLE 2
Comparison of resource utilization summary:
Proposed
architecture

Mod
adders

Shift
registers

ROM
multiplier

Delay
(ns)

Power
(w)

RNS based
FB Scheme

18

24

6.332

0.586

RNS based
Lifting
Scheme

4.180

1.332

Hardware Utilization of 1-level


decomposition(FB & LS)
30
25
20
15
10
5
0
Adder

ROM
multiplier
Filter Bank

Shift Register
Lifting Scheme

Fig 11 hardware utilization of 1-level decomposition of filter


bank and lifting scheme

Timing & Power Analysis


7
6
5
4
3
2
1
0
Power(W)

Delay(nS)

Filter bank

Lifting Scheme

Fig 12 comparison of timing delay and power of FB and LS


4.

CONCLUSION

In this paper, new RNS based architectures of lifting


scheme and filter bank for DWT have been implemented. The
main contribution of the implemented architectures is divided
into three parts. First of all, we have implemented an efficient
reconfigurable RNS based filter bank for 5/3 DWT which
takes less time and power as compared to binary filter bank.
Secondly we represent a novel architecture of RNS based
lifting scheme for 1-D 5/3 DWT. This lifting structure has
been designed to modify the existing binary lifting structure in
terms of complexity and delay and also solve the problem of
implementing the critical RNS divider circuit. Finally, we
have compared the two different efficient structures and
analyzed their performances.
The experimental results demonstrate that the proposed
RNS based lifting structure is better than the RNS based filter
bank in term of speed, power and complexity. These proposed
architectures could be very efficient alternatives for high
speed and low power DSP; communication based applications
and is also suitable for VLSI implementation.
5.

REFFERENCES

[1] G. Quellec, M. Lamard, G. Cazuguel, B.Cochener, and C. Roux,


"Adaptive Non separable Wavelet Transform via Lifting and its
Application to Content-Based Image Retrieval," Image Processing,
IEEE Transactions on, vol.19, no.1, pp.25-35, Jan. 2010.
[2] S.L. Linfoot, Wavelet families for orthogonal wavelet division
multiplex, Electronics Letters,28th August 2008, Vol.44.No.18.
[3] C. V. Bouwel, Wavelet Packet Based Multicarrier Modulation
IEEE Communications and Vehicular Technology, SCVT 200, pp.
131-138, 2000.
[4] W. Sweldens,The Lifting Scheme: A custom-design
construction of biorthogonal wavelet, J. Appl. Comp. Harm. Anal.,
Vol.3, no.2, pp. 186-200, 1996.
[5] I. Daubechies and W. Sweldens, Factoring wavelet transforms
into Lifting steps, tech. rep., Bell Laboratories, 1996.
[6] W. Ding, F. Wu, S. Li, Lifting-based wavelet transform with
directionally spatial prediction, Picture Coding Symposium 2004,
USA, Dec. 2004.
[7] O.N. Gerek, A.E. Cetin, A 2D orientation-adaptive prediction
filter in lifting structures for image coding, IEEE Trans. Image
Process., vol.15, no. 1, Jan 2006 .
[8] T. Wedi, Adaptive interpolation filters and high-resolution
displacements for video coding, IEEE Trans. Circuits Syst. Video
Technol., Vol.16, No.4, pp.484-491, April 2006.
[9 R. Xiong, F. Wu, J.Xu, S. Li and Y.-Q. Zhang, Barbell lifting
wavelet transform for highly scalable video coding, Picture Coding
Symposium 2004, USA, Dec 2004.
[10] P. Kogge and H. Stone. A parallel algorithm for the efficient
solution of a general class of recurrence equations. IEEE
Transactions on Computers, 22(8):786-793, 1973.
[11] A. S. Lewis and G. Knowles, Image compression using the 2D wavelet transfor111, IEEE Trans. Image Processing, I, p.
244(1992).
[12] P. Mohan. Residue Number Systems: Algorithms and
Architectures. Kluwer Academic Publishers, Norwell, MA, 2002.
[13] Sayed Ahmad Salehi and Rasoul Amirfattahi, VLSI
Architectures of Lifting-Based Discrete Wavelet Transform, Discrete
Wavelet Transforms - Algorithmsand Applications, Prof. Hannu
Olkkonen (Ed.), ISBN: 978-953-307-482-5 (2011),

[14] I Daubechies and W. Sweldens, Factoring Wavelet Transforms


into Lifting Steps, Program for Applied and Computational
Mathematics, Princeton University, November 1997.
[15] I Daubechies and W. Sweldens, Factoring Wavelet Transforms
into Lifting Steps, J. Fourier Anal. Appl.4, 247-269 (1998).
{16} U.N.Thakur, S.Saha, A.Mukherjee, A Proposed

Architecture for Residue Number System Based 1D 5/3


Discrete Wavelet Transform using Filter Bank and Lifting
Scheme, International Journal of Computer Applications
(0975 8887), Vol. 90. No.14, pp. 43-48, March in 2014.

You might also like