Akbar 2011
Akbar 2011
net/publication/220255783
CITATIONS READS
23 228
3 authors, including:
Some of the authors of this publication are also working on these related projects:
Bicmos Buffer Design in Low Voltage and High loud Buffer View project
All content following this page was uploaded by Majid Haghparast on 30 October 2017.
Microelectronics Journal
journal homepage: www.elsevier.com/locate/mejo
a r t i c l e i n f o abstract
Article history: Today, reversible logic is emerging as an intensely studied research topic, having applications in diverse
Received 21 January 2011 fields, such as low-power design, optical information processing, and quantum computation. In this
Received in revised form paper, we have proposed two reversible Wallace signed multiplier circuits through modified Baugh–
30 May 2011
Wooley approach, which are much better than the two available counterparts in all the terms. The
Accepted 31 May 2011
multiplier is an essential building block for the construction of computational units of quantum
Available online 24 June 2011
computers. Besides, we need signed multiplier circuits for numerous operations. However, only two
Keywords: reversible signed multiplier circuits have been presented so far. In the first proposed architecture, our
Reversible logic goals are to decrease the depth of the circuit and to increase the speed of the circuit. In the second
ZS series gates
proposed circuit, we aimed to improve the quantum cost, garbage outputs, and other parameters. All
Reversible array multiplier
the proposed circuits are in the nanometric scales and can be used in the design of very complex
Wallace sign multiplier
systems.
& 2011 Elsevier Ltd. All rights reserved.
0026-2692/$ - see front matter & 2011 Elsevier Ltd. All rights reserved.
doi:10.1016/j.mejo.2011.05.007
974 E.P.A. Akbar et al. / Microelectronics Journal 42 (2011) 973–981
The garbage outputs are outputs of a gate that would not be Table 1
Truth table of the reversible Feynman gate.
used in the next computation procedures. In a circuit, the outputs
that are never used are called garbage outputs. The constant A B P Q
inputs are inputs that are added to the N K functions to make
them reversible. 0 0 0 0
Quantum circuits are also reversible because closed quantum 0 1 0 1
1 0 1 1
mechanical systems are inherently reversible. The QC is another 1 1 1 0
criterion of the reversible logic gates. The 1 1 gates have no QC.
The QC of the 2 2 gates is 1. However, bigger gates, such as 3 3
gates, cannot be directly realized in quantum technology. There-
fore, we use the 1 1 and 2 2 gates to implement the bigger
ones. The QC of a reversible or quantum circuit is defined as the A P=A
number of 1 1 or 2 2 gates used to implement the circuit [23]. FG
0 Q=A
The total logical calculation is another criterion of the rever-
sible logical circuits, which indicates the XORs, ANDs, and NOTs.
The a indicates the number of XORs and b is equal to the number Fig. 2. Copy of a signal by Feynman gate.
of ANDs of the circuit. The number of NOTs of the circuit is shown
by d. The total logical calculation is equal to the total of a, b,
and d.
Several reversible logical gates have been presented so far, A P=A
which can be used for designing the reversible circuits. In this B TG Q=B
paper, four reversible gates have been used and we will analyze
C R = AB ⊕ C
them. These four gates are FG [8], TG [9], PG [10], and HNG [11].
FG, which is also known as the controlled-not gate (1-CNOT),
has two inputs and two outputs. The inputs and outputs of FG are Fig. 3. Reversible Toffoli gate [9].
E.P.A. Akbar et al. / Microelectronics Journal 42 (2011) 973–981 975
Table 2
Truth table of the reversible Toffoli gate. A P=A
A B C P Q R B PG Q= A ⊕ B
0 R=AB
0 0 0 0 0 0
0 0 1 0 0 1
0 1 0 0 1 0
Fig. 7. Producing Half Adder (HA) and AND operation by Peres gate.
0 1 1 0 1 1
1 0 0 1 0 0
1 0 1 1 0 1
1 1 0 1 1 1
1 1 1 1 1 0 A P=A
B PG Q= A⊕B
1 R = AB
P=A
Fig. 8. Producing NAND operation by Peres gate.
Q=B
R=AB
A P=A
Fig. 9. Reversible HNG gate [11].
B TG Q=B
These results show that the results at the beginning and the
2.2. Existing reversible unsigned multiplier end of formula 12 are not equal. Furthermore, it is impossible to
obtain the Carry result through ZS3 gate.
Multiplier circuits are divided into two categories: unsigned
and signed. Till date, many interesting studies have been done on
reversible circuits. Some examples of such studies in the field of
3. Our proposed fast reversible Wallace sign multiplier
designing reversible circuits are [12–16] and [17], and different
circuits
articles for designing HA and FA function [5,11,18,19], flip flop
[20–22], and multiplier [23–29] have been published. For exam-
In this paper, we have used the modified Baugh–Wooley
ple, the design of a floating point multiplier has been presented in
approach to compute the product of the signed two numbers.
[29]. In some articles, the design of new gates has been presented,
Here, we have divided the reversible signed multiplier into
such as the design of HNG and MKG by Haghparast et al. in
two parts. First, through two various approaches, we have created
[23,25,26] or TKS gate in [28].
two circuits for partial product generation. Then, through the
Maaz designed a fast and low-power irreversible multiplier
second part of the circuit, we have followed the summation
circuit in 1997 [30], and its reversible circuit was developed by
network.
Thapliyal in 2005 [24]. However, this circuit had high QC, garbage
output, and total logical calculation. In addition, it had several
Fan-outs. Subsequently, other unsigned and reversible multipliers 3.1. First part: Partial product generation circuit
were developed [23,25–27,29]. All these reversible multiplier
circuits have been designed for unsigned numbers. However, To compute the ANDs and NANDs, we need 25 gates to create
with a given new gate, the structure of circuits becomes simpler. 17 ANDs and 8 NANDs. In this paper, we have introduced two
For example, Haghparast et al. [23] designed a reversible multi- approaches to compute the product, which are as follows:
plier circuit using HNG and used it as FA. The first proposed approach: In the first approach, we have
used PG and TG to compute the products, and FG to produce Fan-
out. Fig. 12 indicates the first proposed reversible partial product
2.3. Existing irreversible signed multiplier generation circuit.
In the first proposed circuit to compute the product, we have
So far, several approaches have been presented to multiply the tried to use the PG as much as possible and employ less of the TG,
signed numbers, such as 2’s complement, Baugh–Wooley, and because the QC of the PG is less than that of TG. Besides, to
modified Baugh–Wooley methods. These methods act on maximize the circuit speed, the FG has been used. Adding the FG
unsigned numbers. In 1973, Baugh and Wooley [31], worked on gates to the circuit caused to make the circuit end gates outputs
the present Baugh–Wooley method. Subsequently, the modified to be ready earlier.
form of this method was developed. In the modified Baugh– As shown in Fig. 12, we divided the partial product generation
Wooley method, the number quantity is considered as 2’s circuit into four parts. These four parts communicate with each
complement. Fig. 11 indicates how the multiplication operation other with the help of FG. In each part, the entrance of the TG or
takes place in this approach. PG is obtained with the help of the outgoing FG or TG and PG of
Fig. 11 shows that we need 17 AND gates and 8 NAND gates to that part. This shows that these parts need not wait to receive the
produce a signed multiplier. entrance of the other parts. On the other hand, all the four parts
E.P.A. Akbar et al. / Microelectronics Journal 42 (2011) 973–981 977
X4 X3 X2 X1 X0
Y4 Y3 Y2 Y1 Y0
X 4 Y0 X3Y0 X2y0 X1Y0 X0y0
X 4 Y1 X3Y1 X2Y1 X1Y1 X0Y1
X 4Y2 X3Y2 X2Y2 X1Y2 X0Y2
X 4 Y3 X3Y3 X2Y3 X1Y3 X0Y3
X4Y4 X 3Y4 X 2Y4 X1Y4 X 0Y4
1
1
P9 P8 P7 P6 P5 P4 P3 P2 P1 P0
Fig. 11. Signed multiplier 5 5 by Modified Baugh–Wooley.
Fig. 12. Proposed reversible partial product generation circuit, first approach.
act in parallel, and the whole delay of the circuit is equal to the obtain x0 y4 function, x0 entrance should cross from 5 press gates
maximum delay. to create this function. This occurrence happens for y4 entrance.
The number of the garbage outputs in this circuit is 20 and its These consequences show that the delay in the circuit shown in
constant inputs are 35. The advantage of this circuit, when Fig. 12 for parallel entrances is less than the circuit presented in
compared with the second proposed circuit, is its higher speed. Fig. 13.
The second proposed approach: This approach uses the PG The number of garbage outputs in this circuit is 10 and the
and TG in partial product generation circuit. constant inputs are 25. The advantage of this circuit, when
Fig. 13 indicates the second proposed reversible partial pro- compared with the first proposed circuit, is its less constant
duct generation circuit. inputs, garbage outputs, logical costs, and QC.
In the second proposed circuit, to generate the partial pro- In the design of the signed multiplier circuit, if the circuit
ducts, we tried to use less number of gates, garbage outputs, and speed is given higher priority than the other criteria, then it is
constant inputs. Besides, PG were used to produce AND and better to use the first proposed circuit to compute the partial
NAND as much as possible to minimize the QC of the circuit. products; however, if the QC, number of garbage outputs, number
In Fig. 13, in contrast to Fig. 12, the circuit has unified of constant inputs, and logical cost have higher priority than
structure. This means that each gate should retrieve its entrance the circuit delay, then it is better to use the second proposed
from the outgoing gate of the previous step. For example, to approach to compute the partial products. Later, we will prove
978 E.P.A. Akbar et al. / Microelectronics Journal 42 (2011) 973–981
Fig. 13. Second proposed circuit to produce AND and NAND gates by Toffoli and Peres gates.
that both our proposed circuits work better than the circuit
presented in [32].
3.2. The second part: Acquiring the sum of products using Wallace
tree method in the reversible signed multiplier
Fig. 15. Our proposed Wallace reversible signed multiplier circuit using Haghparast-Navi and Peres gates.
Table 5
Comparative results of partial product generation circuits of different reversible signed multipliers.
No. of gates No. of garbage outputs No. of constant inputs Total logical calculation Quantum cost Delay
First proposed method (Fig. 12) 25þ 10 20 25 þ10 51a þ 25b 119 4
Second proposed method (Fig. 13) 25 10 25 34a þ 25b 116 5
[32] 25þ 20 30 25 þ20 45a þ 25b 145 5
be minimized for one gate. Fig. 15 demonstrates our proposed difference between our first and second approaches can be found
reversible signed multiplier. in their first part, while there are no differences in their summa-
In Fig. 14, one HA and five FA have been used to calculate the tion networks.
sum of the columns in the first step. Thus, in Fig. 15, in first step, The reversible signed multiplier circuits are acquired through
the same entrance quantity has been added with the help of one the sum of the first and second parts of the circuits. Table 7 shows
PG and five HNG. Similarly, in Fig. 14, for the second step, add the sum of Table 5 and 6, clearly demonstrating that our proposed
operation has been carried out with the help of one HA and four circuit works much better than that presented in [32].
FA. We have shown this operation in Fig. 15 for entrances, and The difference between the first and the second proposed
have continued until all the quantities of P0–P9 have been circuit to compute the partial products is that we used FG in the
calculated. first circuit to produce Fan-out, because it maximizes the circuit
The circuit proposed in Fig. 15 needs 4 PG and 16 HNG. speed. Yet, increasing the FG maximizes the QCs, logical cost,
garbage outputs, and constant inputs, when compared with the
second proposed circuit. Besides, in the first proposed circuit, 16
4. Evaluation of the proposed reversible signed multiplier PG have been used and in the second proposed circuit, only 9 PG
circuits have been employed. Although owing to the FG in the first
proposed circuit, the QC is increased, due to the huge number
Both the proposed circuits of this study have a better quality of PG (when compared with the second proposed circuit), a
than the reversible signed multiplier circuit presented in [32]. balance of the QC is achieved, because it is well known that the
Table 5 and 6 show the quality of our proposed circuits, when QC of the PG is lower than that of TG.
compared with the existing reversible circuit presented in [32]. From Table 7, it is obvious that the gates used in our proposed
Furthermore, in Table 6, the results of [28] have been eval- circuits are less than those employed in the existing counterpart
uated. However, it must be noted that the circuit presented in presented in [32]. Also, our first proposed circuit has used 10 FG
[28] is a 4 4 reversible signed multiplier, but those proposed by more than our second proposed circuit. The number of used gates
us and that given in [32] are 5 5 circuits. in our first proposed circuit is 55, while that in our second
Table 5 shows the comparison between the reversible partial proposed circuit and in the circuit presented in [32] is 45 and
product generation circuits of the proposed designs and the 65, respectively.
existing design given in [32]. Table 6 demonstrates the compar- One of the most important criteria in analyzing reversible
ison between the summation network of our proposed circuit and circuits is their garbage outputs. Our first and second proposed
the existing counterpart presented in [32]. In our paper, the circuits have 56 and 46 garbage outputs, respectively. However,
980 E.P.A. Akbar et al. / Microelectronics Journal 42 (2011) 973–981
Table 6
Comparative results of summation networks of different reversible signed multiplier circuits.
No. of gates No. of garbage outputs No. of constant inputs Total logical calculation Quantum cost Delay
a
It must be noted that the circuit in [28] is a 4 4 reversible circuit.
Table 7
Comparative results of different reversible signed multiplier circuits.
No. of gates No. of garbage outputs No. of constant inputs Total logical calculation Quantum cost Delay
the number of garbage outputs of the circuit presented in [32] is outputs (partial product generation), and in the second part, we
70, and thus, our proposed circuits have a better quality than that have computed the sum of the products (summation network). In
given in [32] in terms of the number of garbage outputs. both the proposed circuits, to produce AND and NAND gates, TG
Furthermore, our second proposed circuit is better than our first and PG have been used. In the first proposed circuit, we have used
proposed circuit in this criterion. FG to produce Fan-out. Furthermore, in the second proposed
Another criterion for reviewing the circuits’ quality is their circuit, we also tried to minimize the circuit garbage outputs as
constant inputs. It is clear from Table 7 that the number of much as possible. The summation network has been designed
constant inputs in our first and second proposed circuits is 56 and using the HNG and PG. Table 7 demonstrates that our proposed
46, respectively. However, the number of constant inputs in the reversible signed multiplier circuits have a better quality than the
circuit presented in [32] is 70. This shows that our proposed circuit presented in [32] in terms of QC, total logical calculation,
circuits have a better quality than the circuit given in [32] in number of gates, number of garbage outputs, number of constant
terms of the number of constant inputs. inputs, and delay. The circuits presented in this paper could be
Another criterion to analyze the quality of the reversible useful to design the complex systems in nanotechnology, because
circuits is their total logical calculation. According to Table 7, all the reversible circuits are in nanometric scales.
the total logical calculation in the first and second proposed
circuit is 139a þ61b and 122a þ61b, respectively. However, the
total logical calculation of the circuit presented in [32] is
205a þ105b þ61d. This shows that the first proposed circuit is References
better than the circuit given in [32], and the second proposed
circuit has the best quality, when compared with the first [1] R. Landauer, Irreversibility and heat generation in the computing process,
proposed circuit and the existing circuit in [32], in terms of the IBM Journal of Research and Development 5 (3) (1961) 183–191.
total logical calculation. [2] C.H. Bennett, Logical reversibility of computation, IBM Journal of Research
and Development 17 (1973) 525–532.
Another important criterion for analyzing the reversible cir- [3] M. Perkowski, A. Al-Rabadi, P. Kerntopf, A. Buller, M. Chrzanowska-Jeske,
cuits is their QCs. The acquired results presented in Table 7 show A. Mishchenko, M. Azad Khan, A. Coppola, S. Yanushkevich, V. Shmerko,
that the QC of the second proposed circuit is less than that of the L. Jozwiak, A general decomposition for reversible logic, in: Proceedings of
the RM’2001, Starkville, 2001, pp. 119–138.
first proposed circuit. Furthermore, the QC of the presented circuit
[4] M. Perkowski, P. Kerntopf, Reversible logic, invited tutorial, in: Proceedings of
in [32] is not known. the EURO-MICRO, September 2001, Warsaw, Poland, 2001.
Another criterion in analyzing the quality of the reversible [5] Thapliyal Himanshu, M.B. Srinivas, Novel reversible TSG gate and its
circuits is their delay. The delay in our first proposed circuit is 12. application for designing reversible carry look ahead adder and other adder
architectures, in: Proceedings of the 10th Asia-Pacific Computer Systems
As there are more FG in this circuit, the circuit speed of the first Architecture Conference (ACSAC 05), Lecture Notes of Computer Science,
approach is higher than that of the second proposed circuit. The Springer-Verlag, vol. 3740, 2005, pp. 775–786.
delay in our second proposed circuit is 13, while that of the circuit [6] P. Kerntopf, M.A. Perkowski, M.H.A. Khan, On universality of general rever-
sible multiple valued logic gates, in: IEEE Proceedings of the 34th Interna-
presented in [32] is 13. tional Symposium on Multiple Valued Logic (ISMVL’04), 2004, pp. 68–73.
From the above-mentioned comparisons, we can conclude that [7] Dmitri Maslov, Gerhard W. Dueck, Reversible cascades with minimal garbage,
both the proposed circuits work better than the circuit presented IEEE Transactions on CAD of Integrated Circuits and Systems 23 (11) (2004)
1497–1509.
in [32] in all terms. Our first proposed circuit can be used when [8] R. Feynman, Quantum mechanical computers, Optics News 11 (1985) 11–20.
the speed of the circuit is important, while it would be better to [9] T. Toffoli, Reversible computing, Tech Memo MIT/LCS/TM-151, MIT Lab for
use the second circuit when the QC, total logical calculation, Computer Science, 1980.
[10] A. Peres, Reversible logic and quantum computers, Physical Review: A 32 (6)
number of constant inputs, and garbage outputs are more (1985) 3266–3276.
important. Fig. 15 shows both our proposed circuits. [11] M. Haghparast, K. Navi, A novel reversible BCD adder for nanotechnology
based systems, American Journal of Applied Sciences 5 (2008) 282–288.
[12] P. Kerntopf, A new heuristic algorithm for reversible logic synthesis, in:
Proceedings of the IEEE Design Automation Conference, 2004, pp. 834–837.
5. Conclusion [13] A. Agarwal, N.K. Jha, Synthesis of reversible logic, in: Proceedings of IEEE,
Design, Automation and Test in Europe Conference and Exhibition, 2004,
In this paper, we have presented two new Wallace reversible pp. 1384–1385.
[14] A.D. Vos, Y.V. Rentergem, Reversible computing: from mathematical group
signed multiplier circuits and divided the multiplier circuits into theory to electronical circuit experiment, in: Proceedings of the Second
two parts. In the first part, we have generated the AND and NAND Conference on Computing Frontiers, 2005, pp. 35–45.
E.P.A. Akbar et al. / Microelectronics Journal 42 (2011) 973–981 981
[15] V.V. Shende, I.L. Markov, S.S. Bullock, Synthesis of quantum logic circuits, [25] M. Shams, M. Haghparast, K. Navi, Novel reversible multiplier circuit in
IEEE Transaction on Computer-Aided Design of Integrated Circuits and nanotechnology, World Applied Science Journal 3 (2008) 806–810.
Systems 25 (2006) 1000–1010. [26] M. Haghparast, S.J. Jassbi, K. Navi, O. Hashemipour, Design of a novel
[16] M. Mohammadi, M. Eshghi, Heuristic methods to use Don’t Cares in auto- reversible multiplier circuit using HNG gate in nanotechnology, World
mated design of reversible and quantum logic circuits, Quantum Information Applied Science Journal 3 (2008) 974–978.
Process 7 (2008) 175–192. [27] M.S. Islam, M.M. Rahman, Z. Begum, M.Z. Hafiz, Low cost quantum realization
[17] M. Mohammadi, M. Eshghi, On figures of merit in reversible and quantum of reversible multiplier circuit, Information Technology Journal 8 (2009)
logic designs, Quantum Information Process 8 (2009) 297–318. 208–213.
[18] H.H. Babu, A.R. Chowdhury, Design of a compact reversible binary coded [28] H. Thapliyal, M.B. Srinivas, Novel design and reversible logic synthesis of
decimal adder circuit, Journal of Systems Architecture 52 (2006) 272–282. multiplexer based full adder and multipliers, in: Proceedings of the 48th IEEE
[19] M. Haghparast, K. Navi, A novel reversible full adder circuit for nanotechnol-
MIDWEST Symposium on Circuits and Systems (MWSCAS 2005), Cincinnati,
ogy based systems, Journal of Applied Sciences 7 (2007) 3995–4000.
Ohio, USA, August 7–10, 2005, pp. 1593–1596.
[20] J.E. Rice, An Introduction to reversible latches, The Computer Journal 51
[29] M. Nachtigal, H. Thapliyal, N. Ranganathan, Design of a reversible single
(2008) 700–709.
precision floating point multiplier based on operand decomposition, in:
[21] H. Thapliyal, M.B. Shrinivas, A beginning in the reversible logic synthesis of
sequential circuits, in: Proceedings of MAPLD, 2005, pp. 1–5. Proceedings of the 10th IEEE International Conference on Nanotechnology,
[22] M. Chuang, C. Wang, Synthesis of reversible sequential elements, ACM Seoul, Korea, August 2010, pp. 233–237.
Journal on Emerging Technologies in Computing Systems 3 (2008) 19–24. [30] M.B. Maaz, E. Abu-Shama, M. Bayoumi, A fast and low power multiplier
[23] M. Haghparast, M. Mohammadi, K. Navi, M. Eshghi, Optimized reversible architecture, in: Proceedings of the 39th Midwest Symposium on Circuits and
multiplier circuit, Journal of Circuits Systems and Computers 18 (2) (2009) Systems, 1996, pp. 53–56.
311–323. [31] Ch.R. Baugh, B.A. Wooley, A two’s complement parallel array multiplication
[24] H. Thapliyal, M.B. Srinivas, Novel reversible multiplier architecture using algorithm, IEEE Transactions on Computers C-22 (12) (1973).
reversible TSG gate, in: Proceedings of the IEEE International Conference of [32] R. Zhou, Y. Shi, H. Wang, J. Cao, Transistor realization of reversible ‘‘ZS’’ series
Computer Systems and Applications, 2006, pp. 100–103. gates and reversible array multiplier, Microelectronics Journal (2010) 2010.