Synthesis, testing and tolerance in reversible logic

Size: px
Start display at page:

Download "Synthesis, testing and tolerance in reversible logic"

Transcription

1 Universit of Lethridge Reserh Repositor OPUS Theses Arts nd Siene, Fult of 2017 Snthesis, testing nd tolerne in reversile logi Nshir, Md Asif Lethridge, Alt. : Universit of Lethridge, Dept. of Mthemtis nd Computer Sienes Downloded from Universit of Lethridge Reserh Repositor, OPUS

2 SYNTHESIS, TESTING AND TOLERANCE IN REVERSIBLE LOGIC MD ASIF NASHIRY Bhelor of Siene, Islmi Universit, 2006 Mster of Siene, Islmi Universit, 2008 A Thesis Sumitted to the Shool of Grdute Studies of the Universit of Lethridge in Prtil Fulfillment of the Requirements for the Degree DOCTOR OF PHILOSOPHY Deprtment of Mthemtis nd Computer Siene Universit of Lethridge LETHBRIDGE, ALBERTA, CANADA Md Asif Nshir, 2017

3 SYNTHESIS, TESTING AND TOLERANCE IN REVERSIBLE LOGIC MD ASIF NASHIRY Dte of Defene: Deemer 19, 2017 Dr. J. E. Rie Supervisor Professor Ph.D. Dr. S. Wismth Committee Memer Professor Ph.D. Dr. W. Osorn Committee Memer Assoite Professor Ph.D. Dr. H. Li Internl Memer Assoite Professor Ph.D. Dr. G. W. Duek Eternl Eminer Professor Ph.D. Dr. H. Khrghni Chir, Thesis Emintion Committee Professor Ph.D.

4 Dedition To m eloved prents nd m dughter, Srh Itid. iii

5 Astrt In reent ers, reversile omputing hs estlished itself s promising reserh re nd emerging tehnolog. This is motivted widel supported predition tht onventionl omputer hrdwre tehnologies will reh their limits in the ner future. This thesis fouses on three importnt res of reversile logi, whih is n re of reversile omputing. Firstl, this thesis proposes trnsformtion sed snthesis pproh for relizing onservtive reversile funtions using SWAP nd Fredkin gtes. The proposed SWAP nd Fredkin gtes pproh is ompred with NOT, CNOT nd Toffoli gtes pproh. Eperimentl results show tht snthesizing onservtive reversile funtions using SWAP nd Fredkin gtes is more effiient thn omprle pprohes using NOT, CNOT nd Toffoli gtes. Most eisting snthesis pprohes in reversile logi result in iruits tht m not e optiml in terms of ost metris suh s the gte ount, the numer of grge lines or the quntum ost. Hene, post snthesis optimiztion pprohes re used to generte simplified iruits. This thesis proposes ten templtes for optimizing SWAP nd Fredkin gtes-sed reversile iruits. We hve pplied these templtes in SWAP nd Fredkin gtes-sed iruits, nd hieved (on verge) 16% redution in quntum ost. Seondl, this thesis proposes n pproh for the design of online testle reversile iruits. A reversile iruit omposed of NOT, CNOT nd Toffoli gtes n e mde online testle dding two sets of CNOT gtes nd single prit line. The performne of the proposed pproh for deteting single it fult, rosspoint fult nd fmil of missing gte fults hs een oserved. Disussion round the orretness of our pproh nd its overhed is lso provided. iv

6 DEDICATION Thirdl, we hve proposed n pproh to hieve fult tolerne in reversile iruits. A design of 3-it reversile mjorit voter iruit is presented. The proposed mjorit voter iruit is simpler nd of lower ost in terms of the gte ount nd the quntum ost thn eisting designs in the literture. This voter iruit n e used to design fult tolernt reversile iruits. We lso provide designs for etending the voter iruit. v

7 Aknowledgments First nd foremost, I would like to thnk the Almight for giving me the opportunit, strength, nd ptiene to undertke this reserh. This work would not hve een possile without His lessing. I m using this opportunit to epress m grtitude to everone who supported me throughout this thesis. I would like to epress m deepest grtitude nd sinere ppreition to m supervisor, Dr. Jqueline E. Rie, for her ptiene, support, effort, nd enggement throughout this thesis. She provided neessr guidne nd strtegi diretion to pursue m thesis, nd helped me to nvigte ever spet of m journe. I would like to epress m grtitude to m thesis ommittee memers, Dr. Shell Wismth, nd Dr. Wend Osorn, for their timel suggestions nd useful remrks during m reserh. I would like to thnk Dr. Mozmmel Khn for his suggestion nd guideline. I would like to etend m thnks to Dr. Hdi Khrghni, Dr. Gerhrd Duek, nd Dr. Hu Li for eing prt of m thesis ommittee. I m thnkful to the Nturl Sienes nd Engineering Reserh Counil of Cnd (NSERC), the Pifi Institute for the Mthemtil Sienes (PIMS)-Alert, nd the Shool of Grdute Studies (SGS) of the Universit of Lethridge for their finnil support. It is hrd to epress how grteful I m to m prents for their support nd srifie. I would like to thnk m wife, dughter, rothers, reltives, friends, nd l mtes for their love, support nd enourgement. Lst ut not lest, I m lso grteful to the reserhers for their ides nd ontriutions in reversile logi. vi

8 Contents Contents List of Tles List of Figures vii i 1 Introdution Ojetives Thesis Orgniztion Bkground Logi Computtion Trditionl Logi Computtion Reversile Logi Computtion Logi Gtes nd Ciruits Trditionl Logi Gtes Reversile Logi Gtes Snthesis Approhes in Reversile Logi Cost Metris in Reversile Logi Fults nd Fult Testing in Reversile Logi Fult Tolerne in Reversile Logi Snthesis nd Post-Snthesis Logi Snthesis in Reversile Logi Trnsformtion Bsed Snthesis Approh A Proposed Trnsformtion Bsed Snthesis Approh Comprison of Trnsformtion Bsed Approhes Post Snthesis Optimiztion Proposed Templtes Reversile Ciruits Optimiztion Chpter Summr Contriution Conlusion Future Diretions vii

9 CONTENTS 4 Fult Testing Fult Models nd Fult Testing: An Overview Fult Models for Reversile Logi Crosspoint Fult Model Missing Gte nd Repeted Gte Fult Model Fult Testing in Reversile Ciruits Offline Approhes Online Approhes New Online Testing Approh Design Anlsis Testing: Fult Detetion Comprison nd Limittion Chpter Summr Contriution Conlusion Future Diretions Fult Tolerne in Reversile Logi Priniple of Fult Tolerne Tehniques to Ahieve Fult Tolerne Testing vs. Tolerne Approhes to Ahieve Fult Tolerne Fult Tolerne in Reversile Ciruits Eisting Reversile Mjorit Voter Ciruits A Proposed Reversile Mjorit Voter Fult Tolernt Full Adder Design Etension of Reversile Mjorit Voter Chpter Summr Contriution Conlusion Future Diretions Conlusion Contriution nd Conlusion Future Works Biliogrph 124 A Eperiment Result 130 viii

10 List of Tles 2.1 Truth tles of trditionl logi funtions Truth tles of reversile logi funtions Prit preserving nd onservtive reversile funtions Truth tle of 3 3 Toffoli Gte Truth tle of 3 3 positive ontrolled Fredkin gte Trnsformtion of n irreversile funtion to reversile one Quntum ost of n n Toffoli gtes A 3-it reversile funtion Truth tle of (3 3) reversile funtion Trnsformtion stges of the funtion from Tle Stges of SF sed trnsformtion of the funtion in Tle Comprison etween two iruits shown in Figures 3.1 nd Performne omprison of NCT gte trnsformtion sed snthesis nd SF gte trnsformtion sed snthesis Performne omprison of the miniml iruits generted using et snthesis [67] with the iruits generted using SF gte sed snthesis Perentge of redution in GC nd QC when using SF sed trnsformtion s ompred to NCT sed trnsformtion Truth tle for Templte Results fter ppling the proposed templtes on enhmrk iruits Results fter ppling templtes on rndoml generted iruits Truth tle of the iruit shown in Figure Output vlues t the different levels of the iruit shown in Figure Output vlues t the different levels of iruit shown in Figure Output vlues t the different levels of the iruit in Figure Test vetor to detet pperne fult in the iruit shown in Figure Test vetor to identif SMGF for the iruit, s shown in Figure Logi vlues t different levels to detet MGFs for the iruit, shown in Figure Truth tles of the iruits shown in Figure Truth tle for the iruit shown in Figure 4.20() Overhed for seleted enhmrk iruits Truth tle for the reversile voter iruit Truth tle of the 4-it mjorit voter shown in Figure A.1 Results fter ppling templtes on rndoml generted iruits i

11 List of Figures 2.1 Some trditionl iruits Some reversile gtes of NCT gte fmil Some reversile logi gtes of the SF gte fmil A reversile iruit onsisting of three gtes A 3 3-Toffoli gte operting s n AND gte Two different reliztions of the sme funtion using the SF gte fmil The iruit otined from the funtion shown in Tle Ciruit resulting from SF sed snthesis of the funtion from Tle Ciruit reliztion using NCT nd SF gte fmilies Further simplified iruits for the funtion shown in Tle Two templtes presented in [41] An emple to demonstrte the deletion rule in reversile iruit An emple to demonstrte the moving rule for iruit simplifition A SF iruit where the moving rule does not work Templte Templte Templte Templte Templte Templte Templte Templte Templte Templte Moving rules for the SF gte fmilies An emple to show the role of the moving rule in iruit optimiztion Apperne nd dispperne fults in reversile iruit SMGF in reversile iruit A RGF where gte is repled n even numer of instnes of the sme gte A RGF where gte is repled n odd numer of instnes of the sme gte An emple of the ourrene of MMGF A reversile iruit with the ourrene of PMGF An emple of single pperne rosspoint fult An emple of SMGF in reversile iruit

12 LIST OF FIGURES 4.9 DFT sed pproh for missing gte testing [20] R1 nd R2 gtes proposed in [69] Blok digrms of piring of R1 nd R2 reversile gtes An online testle iruit sed on the pproh proposed in [69] A CNOT gte nd its dedued version for online testing TRC nd TC for online testilit A (3 + 1)-it ETG gte An emple of online testle reversile iruit sed on [49] An emple of online testle reversile iruit sed on [28] Two eisting reversile online testing pprohes for PMGF Conversion of Toffoli gte into Duplite Gte Blok Trnsformtion of reversile iruit into its online testle equivlent Blok digrm of n online testle reversile iruit Testing for the ourrenes of SMGF nd PMGF Testing for the ourrenes of pperne rosspoint fult Testing for n ourrene of single it fult IG gte presented in [23] Prit Preserving Full Adder Ciruit Composed of IG gtes Prit Preserving Toffoli gte [18] Ahieving fult tolerne using the onept of redundn Three identil opies of module using TMR in trditionl omputing A minimum triplited voter iruit proposed in [72] A reversile mjorit voter s proposed in [6] A three input reversile mjorit voter Ahieving fult tolerne using TMR A fult tolernt reversile full-dder iruit design A 4-it mjorit voter A 4-it mjorit voter designed from 3-it voter A 5-it reversile mjorit voter A 6-it reversile mjorit voter i

13 Chpter 1 Introdution We re living in n ge where there is n ever growing dependen on digitl devies. The mount of informtion proessed digitl devies ontinues to inreses over time. In order to proess this inresing volume of informtion, the numer of omponents frited on integrted iruits of digitl devie is lso inresing over time. Over the pst few dedes, the size of the omponents hs een redued in order to inrese the densit of these omponents on integrted iruits. However, this pttern nnot ontinue forever euse the urrent tehnolog is pprohing the phsil limits of omputing [14]. Limittions of trditionl omputing, suh s het dissiption, n eome n ostle for the further development of urrent tehnolog [14, 15]. Logi in trditionl omputing is irreversile. In most ses, its of informtion re destroed during the logil opertions tht re performed in trditionl omputing. One of the fundmentl limittions of trditionl omputing is tht eh time informtion is lost, energ is dissipted regrdless of the underling tehnolog. In 1961 R. Lnduer showed tht KT ln2 joules re dissipted eh time n informtion it is lost during logil opertion, where K is Boltzmnn s onstnt nd T is the operting temperture in Kelvin [30]. At room temperture, the mount of dissipted het eomes joules. For instne, when two-input AND gte produes single it of output, this mount of energ is dissipted s het. The mount of generted het m not seem signifint t present. However, s Moore s lw [62], prediting douling of omponents ever few ers, hs held true over the lst severl dedes, this het dissiption is eoming mjor onern in trditionl irreversile sstems. Re- 1

14 1.1. OBJECTIVES versile omputing [15] offers solution to this potentil dedlok of further development in trditionl omputing. It ws lso shown Chrles Bennett tht theoretil zero power dissiption n onl e hieved if the iruit is logill reversile [5]. Reversile omputing is ijetive, nd definition reversile iruits re informtion-lossless [10]. Thus, using reversile omputtion, the power dissiption whih results ording to Lnduer s priniple n e deresed or even eliminted. For this reson, in reent ers reversile omputtion hs estlished itself s promising reserh re nd emerging tehnolog. Other resons for reserh into reversile sstems inlude onnetions to quntum omputing [21], nd pplitions in rptogrph [64], nno-omputing tehnologies [40] nd digitl proessing [51]. It is widel elieved tht the net genertion omputers will e quntum omputers. Quntum omputtions re reversile, nd the iruits in quntum omputing work on reversile funtions [51]. Therefore, reserh on reversile logi is inevitle from vrious points of view. 1.1 Ojetives Most logi gtes used in trditionl omputtion re not reversile. In most ses, the reltionship etween the input nd the output of trditionl gte is mn-to-one. For emple, n AND gte hs two or more inputs nd one output. However, the reltionship etween the input nd the output of reversile gte is one-to-one. Over the pst few ers, severl reversile logi gtes nd snthesis methods hve een proposed [11, 16, 37, 68]. However, nlsing the logi gtes nd the snthesis pprohes in order to optimize reversile iruits is still n tive re of reserh. We hpothesize tht one prtiulr set of reversile gtes n e more useful thn nother for relizing speifi reversile funtions. One of the ojetives of this thesis is to develop snthesis pproh for relizing onservtive reversile funtions. The numer of gtes of iruit is onsidered n importnt ompleit mesure in trdi- 2

15 1.2. THESIS ORGANIZATION tionl omputing. In ddition to this mesure, the quntum ost nd the numer of grge lines re two dditionl ftors to onsider in mesuring the ompleit of reversile iruit. Templte mthing nd rule sed simplifitions re two ommonl used postsnthesis methods for optimizing reversile iruits. This thesis introdues new templtes for simplifing reversile iruits. The testing of reversile iruits is nother importnt re. The phsil implementtion of quntum iruits will e different thn the implementtions of trditionl iruits. Therefore, fult models designed for trditionl iruits will not work for reversile iruits. Proposing ost-effetive testing pproh for reversile fult models is nother ojetive of this thesis. Sine reversile iruit mintins one-to-one reltionship etween inputs nd outputs, hieving fult tolerne in suh sstem is not n es tsk. A fult tolernt sstem n orretl perform its speified opertions even in the presene of fults. This thesis lso investigtes the eisting work on the design of fult tolernt reversile iruits nd presents n effiient pproh for hieving fult tolerne in reversile iruits. 1.2 Thesis Orgniztion The reminder of this disserttion is orgnized s follows. Chpter 2 provides detiled introdution to reversile logi nd presents the required kground knowledge neessr for this disserttion. Chpter 3 disusses trnsformtion sed snthesis in reversile logi. A proposed pproh sed on this tehnique is presented in this hpter. The performne of this proposed pproh is evluted nd ompred with n eisting pproh. This hpter lso introdues templtes nd presents post snthesis optimiztion pproh for simplifing reversile iruits. Chpter 4 desries reversile fult models nd fult testing pprohes. The eisting testing pprohes in reversile iruits re nlsed nd the limittions of these pprohes 3

16 1.2. THESIS ORGANIZATION re identified. A testing pproh for three reversile fult models is proposed lter in this hpter. Chpter 5 fouses on fult tolerne. The requirements for hieving fult tolerne in reversile iruits re disussed in this hpter. A mjorit voter iruit is presented, whih n e used to design fult tolernt reversile iruits. An etension of this voter iruit nd other res of pplition of the proposed voter re lso disussed in this hpter. Chpter 6 highlights the ontriutions, onludes with disussions nd provides diretions for possile future work. 4

17 Chpter 2 Bkground This hpter desries the fundmentl onepts of reversile logi s well s the priniples of snthesis, fult testing nd fult tolerne in reversile logi. 2.1 Logi Computtion Logi pls mjor role in modern d omputtion. Digitl logi is logi for representing nd mnipulting digitl informtion. Logi in omputer siene dels with defining prolem in terms of Boolen funtions, nd designing iruit in order to implement the funtions. Logi in tod s digitl devies follows the priniple of Boolen logi, whih is lso known s lssil or trditionl logi. As disussed in Chpter 1, there eists limits to the eisting phsil omponents of digitl sstem tht implement trditionl logi. Reversile logi offers one possile model to design digitl sstem to overome suh limittions Trditionl Logi Computtion Like n other funtion, trditionl logi funtion mps one or more inputs to one or more outputs. More speifill, trditionl logi funtion, f, tkes the form f : B n B m, where n nd m re non-negtive integers, nd B = {0,1} is Boolen domin. The vlues of n nd m m or m not e equl nd in most ses n > m. For emple, simple iruit onsisting of onl one AND gte hs two (or more) inputs, ut hs onl one output. Tht is, logi omputtions in trditionl pprohes often mp multiple inputs to fewer outputs. A onvenient w to represent the reltionship etween inputs nd outputs is 5

18 2.1. LOGIC COMPUTATION using truth tle. A truth tle shows ll possile input nd output omintions for speifi logi funtion. A truth tle for Boolen logi funtion uses (n+m) olumns nd 2 n rows to show the ehviour of funtion for ll possile input instnes of the funtion of n input nd m output. Tle 2.1: Truth tles of trditionl logi funtions. () NOT opertion. I O () AND opertion. I 1 I 2 O () Full dder opertion. I 1 I 2 in sum out One of the simplest emples of trditionl logi funtion is logil NOT opertion, whih tkes one input nd genertes one output, s shown in Tle 2.1(). Tles 2.1() nd 2.1() show funtions for whih the reltionship etween inputs nd outputs is not one-to-one. Hene, for these funtions it is not possile to determine the input sttes oserving onl the output of funtion. For emple in Tle 2.1(), the output vlues re 0 for the input sttes (0,0),(0,1), nd (1,0). B oserving this output vlue, 0, it is not possile to determine whether the input vlues re (0,0),(0,1), or (1,0). A similr oservtion n e mde from the truth tle shown in Tle 2.1() nd most other trditionl or lssil logi funtions. The reltionship etween inputs nd outputs of trditionl funtion is not ijetive (with the onl eeption eing NOT opertion). This mens tht the reltionship etween inputs nd outputs of trditionl funtion is not one-to-one nd onto. Sine ijetive reltionships etween inputs nd outputs do not eist for most trditionl funtions, it is not possile to determine n input instne from n output instne of trditionl funtion. For this reson trditionl logi is sometimes referred to s irreversile 6

19 2.1. LOGIC COMPUTATION logi Reversile Logi Computtion A reversile logi funtion hs the form f : B n B n, where n is non-negtive integer nd the domin B = {0,1}, with the ke feture eing tht the funtion is ijetive. More speifill, the numer of inputs nd the numer of outputs of reversile funtion re etl the sme. In prtiulr, there is lws distint output stte for eh of the possile input sttes. Tle 2.2: Truth tles of reversile logi funtions. () NOT opertion. I O () Contolled NOT opertion. I 1 I 2 O 1 O () Full dder opertion. g in in i 1 i 2 out sum g out1 g out

20 2.1. LOGIC COMPUTATION The work in this thesis is restrited to Boolen reversile logi funtions. For Boolen reversile funtion of n vriles, truth tle requires 2n olumns nd 2 n rows in order to represent the funtion. Tle 2.2() shows tht NOT opertion in reversile logi hs the sme funtionlit s tht of trditionl NOT opertion (Tle 2.1()). In ft, NOT opertion in trditionl logi is reversile in nture. As long s there is unique output for eh input instne of funtion, the funtion is reversile (Tle 2.2). This reltionship etween the input nd the output llows the determintion of input vlues of funtion from the output vlues. In order to trnsform n irreversile funtion into reversile one, it is often neessr to inlude one or more etr vriles on the output nd/or input sides of truth tle of the irreversile funtion. For emple, the truth tle of reversile full dder shown in Tle 2.2() onsists of etr vriles on oth the input nd output s ompred to the truth tle of its irreversile ounterprt shown in Tle 2.1(). The dditionl inputs re lled onstnt inputs, or nill inputs. The dditionl outputs re non-funtionl outputs euse these re not the output of interest of the reversile funtion. In full dder, sum nd rr re the two output its of interest. In Tle 2.2(), two outputs, sum nd out, represent the sum nd the rr its of full dder. The other two outputs, g out1 nd g out2, re used to mintin the ijetive reltionship etween the inputs nd the outputs of this reversile full dder funtion. These non-funtionl outputs re known s grge outputs, s the do not ontriute to the propert of the originl output of funtion. Two importnt properties of reversile funtions re the prit preserving propert nd the onservtion propert. A prit preserving reversile funtion, s the nme suggests, preserves the prit of the input vetors to the orresponding output vetor. For emple, in prit preserving reversile funtion, if the prit of n input vetor is even, the prit of the output vetor will lso e even. Ever output vetor of the funtion shown in Tle 2.3() preserves the prit (either odd or even) of the orresponding input vetor. Hene, the funtion shown in Tle 2.3() is n emple of prit preserving funtion. However, this funtion is not onservtive funtion. A reversile funtion is lled 8

21 2.2. LOGIC GATES AND CIRCUITS onservtive funtion if nd onl if the numer of 1s in the output vetor is the sme s tht of the orresponding input vetor, for ll inputs. The funtion shown in Tle 2.3() is n emple of onservtive reversile funtion. Chpter 4 shows the role of the prit preserving propert in the fult detetion nd testing of reversile iruits. A snthesis pproh sed on the onservtion propert is presented in Chpter 3. Tle 2.3: Prit preserving nd onservtive reversile funtions. () A prit preserving funtion. input output I 1 I 2 I 3 O 1 O 2 O () A onservtive funtion. input output I 1 I 2 I 3 O 1 O 2 O Logi Gtes nd Ciruits A logi gte performs one or more logil opertions in order to implement logil funtion. A iruit onsists of one or more logi gtes, whih re onneted some form of interonneted medi (e.g. wire). This setion desries some logi gtes s well s logi iruits in trditionl nd reversile logi omputtion Trditionl Logi Gtes Severl logi gtes eist for designing iruits in trditionl logi. The gtes AND, OR nd NOT re the primr logi gtes. Figure 2.1 shows oth NOT nd n AND logi gte. These two gtes re used to implement the trditionl NOT (Tle 2.1()) nd AND (Tle 2.1()) funtions, respetivel. A NOT gte works s n inverter, whih lws 9

22 2.2. LOGIC GATES AND CIRCUITS tkes one input nd produes one output fter inverting the input vlue. An AND gte, on the other hnd, works on more thn one input nd produes single output. A full dder iruit, whih onsists of trditionl logi gtes, is shown in Figure 2.1(), nd implements the funtion represented Tle 2.1(). A trditionl full dder iruit hs three input lines nd two outputs lines to generte sum nd rr its. () A trditionl NOT gte. () A trditionl AND gte. A B S C in C out () A trditionl full dder iruit. Figure 2.1: Some trditionl iruits Reversile Logi Gtes A reversile iruit onsists of one or more reversile gtes tht re onneted in sde. Tht is, the output(s) of prior gte is/re onneted s input(s) to the following gte. For emple, onsider reversile iruit g 2 (g 1 ( 1, 2 )) where the outputs of logi gte g 1 re onneted s the inputs of the gte g 2 in order to implement 2-it reversile funtion, f ( 1, 2 ). Like reversile logi funtion, one of the fundmentl hrteristis of reversile gte is tht the reltionship etween inputs nd outputs is one-to-one. This implies tht the output vlues of reversile gte re distint for n given input. So unlike trditionl irreversile gte, it is lws possile to restore the input vlues of reversile gte from the outputs. A trditionl NOT gte is lso reversile gte, sine it is possile 10

23 2.2. LOGIC GATES AND CIRCUITS to dedue the input of NOT gte from its output. For emple, 1 t the output of NOT gte for prtiulr instne indites tht the input of tht instne is 0. A numer of reversile gtes eist in order to implement reversile funtions. The two most widel used tegories of reversile logi gtes re [71] : the NCT (NOT-CNOT- Toffoli) gte fmil nd the SF (SWAP-Fredkin) gte fmil. NCT gte fmil The NCT gte fmil (Figure 2.2) onsists of NOT, CNOT nd Toffoli gtes. This is one of the most widel used gte fmilies in reversile omputing. The simplest possile reversile logi gte is NOT gte. A NOT gte (Figure 2.2()), like NOT gte in trditionl logi, onsists of one input nd one output, whih inverts the vlue of the input to generte the output. A CNOT gte nd Toffoli gte re vritions of NOT gte. A CNOT gte [12] is ontrolled-not gte with ontrol input nd trget input. The vlue presented t the ontrol point determines when to invert the vlue of the trget input, or simpl trnsfers the trget input vlue to the output. Figure 2.2() shows CNOT gte. The ( ) smol in the CNOT gte represents ontrol point nd the ( ) smol indites the trget of reversile gte. When the vlue of the ontrol of CNOT gte is 1, the gte inverts the vlue of the input tht is onneted to the trget line. If the vlue of the ontrol point is 0, the vlue of the trget input remins unhnged to the trget output. For emple, when the inputs of CNOT(I 1, I 2 ) gte in Figure 2.2() re (1,0), the output (O 1,O 2 ) will e (1,1 0) (1,1). Unlike NOT gte, CNOT gte n ontrol the inversion of n input vlue, hene its nme is ontrolled-not or CNOT. A CNOT gte is lso known s Fenmn gte. A vrition of Fenmn gte is doule Fenmn gte. A doule Fenmn gte onsists of one ontrol point nd two trget lines. When the vlue of the ontrol point is 1, the doule Fenmn gte inverts oth input vlues tht re onneted to the trget lines [53]. A Toffoli gte [68] is form of the CNOT gte where the numer of ontrol points is 11

24 2.2. LOGIC GATES AND CIRCUITS I 1 O 1 = I 1 I O = Ī I 2 O 2 = I 1 I 2 () A reversile NOT gte. () A CNOT gte. I 1 O 1 = I 1 I 2 O 2 = I 2 I 1 O 1 = I 1 I 3 O 3 = I 3 I 2 I 3 () A 3 3 Toffoli gte. O 2 = I 2 O 3 = I 3 I 1 I 2 I n-1 I n O n-1 = I n-1 O n = I n Ī 1 I 2 Ī 3...I n-1 (d) A n n Toffoli gte with multiple nd negtive ontrol. Figure 2.2: Some reversile gtes of NCT gte fmil. more thn 1. For emple, Figure 2.2() shows 3 3 Toffoli gte with two ontrol points nd one trget line. The two input lines, I 1 nd I 2, re onneted to the two ontrol points nd the third input I 3 is onneted to the trget line. The vlues of the inputs, whih re onneted to the ontrol lines, remin unhnged t the output. The vlues presented t the input of these ontrol lines determine when the gte will invert the vlue presented t the trget input line. The trget line in Figure 2.2() hs the funtion: O 3 = I 3 I 1 I 2. This mens the vlue of the trget line will e inverted when oth inputs tht re onneted to the ontrol points hve the vlue 1. For emple, when (I 1,I 2,I 3 ) (0,1,1), the output of the Toffoli gte will e (O 1,O 2,O 3 ) (0,1,1). In this se there is no hnge on the vlue of the trget input, sine one of the ontrol points (I 1 ) is equl to 0. However, when (I 1,I 2,I 3 ) (1,1,1) the gte output will e (O 1,O 2,O 3 ) (1,1,1 1 1) (1,1,1 1) (1,1,0). In this se oth ontrol points hve the vlue 1, whih is the required ondition for inverting the input vlues t the output. The truth tle of 3 3 Toffoli gte is shown in Tle 2.4. Bsed on the numer k of ontrol points of gte, logi gte in the NCT fmil is lso referred to s k-cnot gte. For emple, sed on the numer of ontrol lines the NOT, CNOT nd 3 3 Toffoli gtes re lso known s 0-CNOT, 1-CNOT nd 2-CNOT gtes respetivel. A Toffoli gte with multiple ontrols is referred to s multiple ontrolled Toffoli (MCT) gte. In ddition, Toffoli gte or Fenmn gte n hve one or more 12

25 2.2. LOGIC GATES AND CIRCUITS Tle 2.4: Truth tle of 3 3 Toffoli Gte. input output I 1 I 2 I 3 O 1 O 2 O negtive ontrol points. For emple, negtive ontrol Fenmn (1-CNOT) gte inverts the input vlue t the trget line if nd onl if the vlue of the ontrol point is 0. A negtive ontrol is represented ( ) smol in the NCT gte lirr. For emple, Figure 2.2(d) shows multiple ontrolled Toffoli gte where two input lines I 1 nd I 3 re onneted to the two negtive ontrol lines. A negtive ontrol, like positive ontrol of logi gte, does not ffet the vlue on the line to whih it is onneted. The output funtion of the trget of n n-toffoli gte, s shown in Figure 2.2(d), is O n = I n I 1 I 2 I 3 I n 1. This mens tht when the vlues of ll negtive ontrol points re 0, nd the vlues of ll positive ontrol points re 1, the gte will invert the vlue tht is onneted to its trget input. Another ommon w to represent the gtes of the NCT fmil is in the form of Toffoli gtes. A TOF(C;T) nottion is used to indite Toffoli gte with C ontrol points nd T trget lines. For instne, TOF(0;T), TOF(1;T) nd TOF(2;T) represent NOT, CNOT nd 3 3 Toffoli gtes, respetivel. An importnt propert of Toffoli gte is tht it n e used to implement n reversile funtion. For this reson, Toffoli gte is known s universl gte in reversile logi [52]. SF Gte Fmil Two other importnt reversile logi gtes re SWAP nd Fredkin gtes. A Fredkin gte [16] is vrition of SWAP gte with one or more ontrol points. A Fredkin gte is lso 13

26 2.2. LOGIC GATES AND CIRCUITS universl gte in reversile logi, sine it is possile to implement the three si opertions (NOT, AND nd OR) using onl Fredkin gtes [52]. As disussed ove, the logi gtes in the NCT gte fmil invert the vlue of the trget input sed on ertin onditions (in the se of CNOT, Toffoli gtes) or without n ondition (in the se of NOT gtes). Insted of inverting the input vlue on trget line, the trget lines of n SF gte interhnge their vlues. Generll, gte of the SF gte fmil hs two trget lines. When gte interhnges the vlues of the trget lines t the output without n ondition, the gte is lled SWAP gte. However, if the swp or interhnge of the trget vlues ours sed on the vlues presented on the ontrol lines, the gte is lled Fredkin gte. The truth tle of 3 3 positive ontrolled Fredkin gte is shown in Tle 2.5. Figures 2.3() nd 2.3() Tle 2.5: Truth tle of 3 3 positive ontrolled Fredkin gte. input output I 1 I 2 I 3 O 1 O 2 O show SWAP gte nd 3 3 positive ontrolled Fredkin gte respetivel. A SWAP gte lws swp the vlues whih re onneted to its trgets lines. For n input vetor (I 1,I 2 ), the output of the SWAP gte will e (O 1 = I 2,O 2 = I 1 ), s shown in Figure 2.3(). However, positive ontrolled Fredkin gte interhnges two trget input vlues (I 2,I 3 ) if the vlue of the other input, I 1, whih is onneted to ontrol line ( ), is 1. If the vlue of I 1 equls to 0, the Fredkin gte simpl trnsfers ll the input vlues to the orresponding output vlues without interhnging the trget vlues. A 3 3 positive ontrolled Fredkin gte with ontrol point onneted to I 1, nd two trget lines, I 2 nd I 3, hs the following output funtions t 14

27 2.2. LOGIC GATES AND CIRCUITS 1. ontrol point: O 1 = I 1 2. trget line: O 2 = I 1 I 2 I 1 I 3, nd 3. trget line: O 3 = I 1 I 2 I 1 I 3. I 1 1 (0) I 1 O 1 = I 2 I 2 I 3 (I 2 ) I 2 O 2 = I 1 I 3 I 2 (I 3 ) () A SWAP gte. () A (3 3) positive ontrolled Fredkin gte. I 1 0 (1) I 1 I 2 O 1 = I 1 O 2 = I 2 I 2 I 3 I 3 (I 2 ) I 2 (I 3 ) I 3 I 4 O 3 = I 4 O 4 = I 3 If I 1 = 0, nd I 2 = 1 () A (3 3) negtive ontrolled Fredkin gte. (d) A (n n) multiple ontrolled Fredkin gte. Figure 2.3: Some reversile logi gtes of the SF gte fmil. When Fredkin gte onsists of more thn one ontrol point, the Fredkin gte is lled multiple ontrolled Fredkin (MCF) gte. Like Toffoli gte, Fredkin gte n lso hve one or more negtive ontrols (Figure 2.3()). In this se the gte swps the vlues onneted to the trget lines if nd onl if 0 vlue is presented t the negtive ontrol point. Figure 2.3(d) shows n emple of multiple ontrolled Fredkin gte onsisting of oth positive nd negtive ontrol points. In this se 1 t the positive ontrol nd 0 t the negtive ontrol point tivte the gte to interhnge the vlues on the trget lines. One or more reversile gtes n e used to generte iruit in order to implement reversile funtion. For emple, onsider reversile funtion f (I 1,I 2,I 3 ) (O 1,O 2,O 3 ) where (O 1,O 2,O 3 ) re defined s (I 1,I 1 I 2,(I 1 I 1 I 2 ) I 3 ) respetivel. These three output funtions n e implemented the iruit TOF(TOF(TOF(I 1 );I 2 );I 3 ) onsisting of three reversile gtes s shown in Figure 2.4. As seen in this emple the outputs of one 15

28 2.3. SYNTHESIS APPROACHES gte g i re onneted s the inputs for the gte g i+1 whih ppers immeditel net to g i in the iruit. The output of the NOT gte, TOF(I 1 ), is I 1 whih is onneted s n input of the following CNOT gte. This then omputes TOF(TOF(I 1 );I 2 ) = TOF(I 1 ;I 2 ) = (I 1,I 1 I 2 ). Finll, the outputs of this CNOT gte re onneted s the inputs of the 3- it Toffoli gte, whih omputes TOF(TOF(TOF(I 1 );I 2 );I 3 ) = TOF(TOF( I 1 ;I 2 );I 3 ) = TOF(I 1,I 1 I 2 ;I 3 ) = (I 1,I 1 I 2,I 1 (I 1 I 2 ) I 3 ) = (I 1,I 1 I 2,I 1 I 1 I 2 I 3 ). I 1 O 1 I 2 O 2 I 3 O 3 Figure 2.4: A reversile iruit onsisting of three gtes. 2.3 Snthesis Approhes in Reversile Logi The onept of snthesis is ver importnt in designing reversile logi iruits. Snthesis refers to the trnsformtion of logi funtion into orresponding logi iruit. Aording to some snthesis pprohes, if logi funtion is irreversile, the first step of logi snthesis is to trnsform the funtion into its reversile equivlent. One or more grge lines nd/or onstnt inputs re inluded in the originl irreversile funtion in order to mke the funtion reversile. The finl step is to trnsform the reversile funtion into logi iruit onsisting of one or more reversile gtes whih re onneted in sde. The resulting iruit is reversile iruit. There n e more thn one reversile iruit for implementing single funtion. Two importnt ftors pl signifint role in trnsforming irreversile funtions into reversile iruits: (1) the numer of grge lines nd/or onstnt inputs, whih re inluded in order to trnsform the irreversile funtion to reversile one; nd (2) the use of different reversile logi gtes for relizing the reversile funtion reversile iruit. 16

29 2.4. COST METRICS IN REVERSIBLE LOGIC During the proess of trnsforming n irreversile funtion into the orresponding reversile funtion, it is neessr to oserve the output of the irreversile funtion. If the output of n irreversile funtion hs mimum numer of k identil ptterns, the minimum numer of grge lines required to mke the funtion reversile is log 2 k [35]. For instne, onsider the irreversile AND funtion in Tle 2.6(). The output of this irreversile funtion hs 3 ourrenes of logi 0. Thus the minimum numer of grge lines required in order to trnsform the funtion into its reversile ounterprt is log 2 3 = 2 s shown in Tle 2.6(). For the input line, I 3 = 0 in Tle 2.6(), the funtion performs the AND opertion of input lines, I 1 nd I 2, nd genertes the output t O 3. The other two output lines, O 1 nd O 2, do not ontriute to the finl output, nd hene these two lines re onsidered grge lines. An importnt ft to oserve is tht the ehviour of the funtion in Tle 2.6() is the sme s the ehviour of 3 3-Toffoli gte (Tle 2.2()). Thus, 2-input trditionl AND opertion n e implemented 3 3-Toffoli gte, s shown in Figure 2.5. Chpter 3 overs more regrding snthesis nd post snthesis pprohes in reversile logi. Tle 2.6: Trnsformtion of n irreversile funtion to reversile one. () Irreversile AND funtion. input output I 1 I 2 O () One possile orresponding reversile AND funtion. input output I 1 I 2 I 3 O 1 O 2 O

30 2.4. COST METRICS IN REVERSIBLE LOGIC I 1 I 2 O 1 = I 1 O 2 = I 2 grge outputs onstnt 0 input O 3 = I 1 I 2 (AND opertion) Figure 2.5: A 3 3-Toffoli gte operting s n AND gte. 2.4 Cost Metris in Reversile Logi Sine reversile funtion n e snthesized in multiple ws, it is neessr to evlute the ost of the snthesis pprohes. A numer of metris n e used to evlute the effiien of iruits for relizing the sme reversile funtion [45]. Gte ount is one of the most ommon ost metris, prtiulrl in trditionl logi design. As the nme suggests, gte ount refers to the numer of gtes required in iruit to relize funtion. For emple, one Toffoli gte is used to implement the AND opertion, s shown in Figure 2.5. In this se the gte ount is 1. However, gte ount is not useful prmeter when the iruits onsist of different tpes of gtes. Gte ount does not onsider gte ompleit; it insted simpl ounts the numer of gtes in iruit. Gte ount n e good evlutor when two iruits onsist of gtes of the sme size nd ompleit. Mohmmdi et l. [45] proposed new form of gte ount giving some weight to the gtes sed on the ompleit of the gtes of iruit. The numer of grge outputs in iruit is nother importnt ost metri. During the snthesis proess in reversile logi, one or more grge outputs m e needed for mintining reversiilit. The vlues of the grge lines re not signifint to the finl output of iruit. Therefore, it is desirle to minimize the numer of grge outputs. A iruit design with fewer grge lines is onsidered desirle design. For mn, quntum ost is the most importnt prmeter for evluting reversile iruit from design stndpoint. Quntum ost is defined s the numer of si or primitive quntum gtes whih re required to design reversile gte. The 1 1 nd 2 2 qun- 18

31 2.4. COST METRICS IN REVERSIBLE LOGIC Tle 2.7: Quntum ost of n n Toffoli gtes. Size (n) Grge Nme Quntum Cost 1 0 NOT,t CNOT,t Toffoli,t Toffoli,t t t t t t t t t t t t t t t t t t10 86 n > 10 0 tn 2 n 3 n > 10 1 tn 24n 88 n > 10 n 3 tn 12n 34 tum gtes re onsidered primitive quntum gtes. For emple, quntum NOT, CNOT, V nd V + gtes re onsidered primitive quntum gtes, nd the quntum ost of these gtes is onsidered to e 1. The quntum ost of Toffoli gte nd Fredkin gte is 5, sine five primitive gtes re required for designing these gtes. Breno et l. [4] showed reliztion of 3 3 Toffoli gte onsisting of 2 positive ontrol points using five primitive quntum gtes. Smolin nd DiVinenzo [66] presented n implementtion of 3 3 positive-ontrolled Fredkin gte using five 2-quit (quntum it) elementr quntum gtes. Quntum ompution nd quntum gtes re eond the sope of this thesis. A detiled disussion on quntum gtes n e found in [4, 43, 51]. In ddition, there hve een 19

32 2.4. COST METRICS IN REVERSIBLE LOGIC numer of works suh s [2, 4, 34, 35, 39, 33, 58] on minimizing the quntum ost for designing reversile iruit. Tle 2.7 shows the quntum ost of positive ontrol Toffoli gtes [71]. Tle 2.8: A 3-it reversile funtion. input output I 1 I 2 I 3 O 1 O 2 O Another importnt ftor to onsider when designing reversile iruits is to minimize the numer of grge outputs. However, there re some ses where the quntum ost of iruit n e redued dding grge lines [33]. For emple, s seen from Tle 2.7, the quntum ost of 6 6 Toffoli gte without inluding n etr line s grge line is 61. However, fter dding 1 nd 3 lines s grge lines the quntum ost of 6 6 Toffoli gte n e redued to 52 nd 38 respetivel. Therefore, lrge numer of grge lines does not lws ield higher quntum ost. I 1 O 1 I 1 O 1 I 2 O 2 I 2 O 2 I 3 O 3 I 3 O 3 () () Figure 2.6: Two different reliztions of the sme funtion using the SF gte fmil. Similrl higher gte ount for iruit does not neessril men higher quntum ost. Consider the 3 3 reversile funtion shown in Tle 2.8. Figure 2.6 shows 20

33 2.5. FAULTS AND FAULT TESTING IN REVERSIBLE LOGIC two different implementtions of this funtion using onl SWAP nd Fredkin gtes. Both implementtions hve gte ount of 3. The reliztion in Figure 2.6() uses two negtiveontrolled Fredkin gtes nd one positive-ontrolled Fredkin gte. The quntum ost of the first implementtion is ( ) = 15. The iruit in the seond implementtion, shown in Figure 2.6(), uses two SWAP gtes nd one 3 3 positive-ontrolled Fredkin gte. Here the quntum ost is ( ) = 11. Both iruits onsist of 3 logi gtes; however, the seond iruit offers more effiient iruit design, from the perspetive of the quntum ost, thn the first iruit. 2.5 Fults nd Fult Testing in Reversile Logi A fult leds to filure of sstem. A fult n e defined s n imperfetion within some hrdwre nd/or softwre omponents. Therefore, fult leds the sstem to produe n inorret output. This inorret output is known s n error, whih is devition from the urte outome [26]. Fults re the unwnted events for sstem nd, therefore, must e deteted nd removed. A fult model is model tht onsiders the potentil fults whih m our in sstem [59]. An idel fult detetion method n detet ll the fults of prtiulr fult model. A ommon fult model in trditionl logi is the stuk-t fult model. Sometimes wire n pss onl high or low voltge signls due to the mlfuntion of some prt of iruit. Tht is, pth of iruit is stuk t prtiulr voltge level. When line of iruit psses onl high voltge due to the ourrene of fult, the fult is onsidered to e stuk-t 1 fult. When line of iruit psses onl low voltge, the fult is onsidered to e stuk-t 0 fult. As onsequene the iruit genertes n inorret output. For emple, if line is roken, it is onsidered open nd the output of tht line will lws e 0. The fult in this sitution is refered to e stuk-t 0. However, reserh suggests tht the stuk-t fult model is not n pproprite fult model in reversile omputing [20, 73]. A numer of fult models for reversile logi hve een proposed [20, 56, 73]. 21

34 2.6. FAULT TOLERANCE IN REVERSIBLE LOGIC A method of testing is required in order to identif the ourrene of fult in iruit. Testing indites whether sstem is fult or fult-free. Fult overge is n importnt onept in testing whih reltes fult models to testing strtegies. Fult overge is rtio of the numer of fults deteted testing method to the totl numer of detetle fults for given fult model. Methods of testing in reversile omputtion re divided into two tegories: offline testing nd online testing [59]. Eh hs its own enefits nd drwks. Online testing pprohes ppl the testing opertions in rel time. Tht is, online testing methods determine whether the output of sstem is orret or inorret while the sstem is performing its norml opertions. However, this is not the se for n offline testing method. In offline testing, the sstem under onsidertion is tken out of its norml mode of opertion, nd then the method of testing is pplied. Fult models nd testing pprohes in reversile logi re desried in detil in Chpter 4 of this thesis. 2.6 Fult Tolerne in Reversile Logi The differene etween fult testing nd fult tolerne is tht fult testing is proess of error identifition wheres fult tolerne is proess of error orretion. Fult tolerne is n ttriute tht enles sstem to generte orret output even in the presene of fults in the sstem. One or more tehniques m e required in order to hieve fult tolerne. These m inlude fult detetion, fult dignosis, fult ontinment, fult reover nd fult msking. Eh of these tehniques requires dditionl logil or phsil omponents of the sstem suh s hrdwre, softwre nd/or informtion [26]. For emple, one w to hieve fult tolerne in sstem is to replite one or more phsil omponents of the sstem. The tehniques nd pprohes tht n e used to hieve fult tolerne in reversile iruits re desried in Chpter 5. 22

35 Chpter 3 Snthesis nd Post-Snthesis This hpter egins with providing the si onepts of snthesis in reversile logi. A trnsformtion-sed snthesis is proposed in this hpter. This hpter lso introdues templtes for optimizing reversile iruits. Eperimentl results tht evlute the proposed templtes re provided t the end of the hpter. 3.1 Logi Snthesis in Reversile Logi Logi snthesis is the proess of generting iruit design, desried s sde of gtes, tht n implement the desired logi funtion. The reltionship etween the inputs nd the outputs of logi funtion determines the numer of the logi gtes, tpe of logi gtes used, nd the order in whih the logi gtes pper in the iruit. If logi funtion is lred reversile, the snthesis proess n tke ple immeditel. However, if logi funtion is not reversile, the first step in most snthesis lgorithms is to trnsform the irreversile funtion into reversile one. One or more grge outputs nd/or onstnt inputs re dded to n irreversile funtion in order to trnsform the irreversile logi funtion into reversile logi funtion. Setion 2.3 in Chpter 2 shows n emple of trnsforming n irreversile AND funtion into reversile funtion. In most ses, reversile iruit design with fewer grge outputs nd/or onstnt inputs is onsidered desirle design. The minimum numer of grge outputs whih re required in order to trnsform n irreversile funtion into reversile funtion is log 2 K, where K is the mimum numer of repeted pttern in the output of n irreversile funtion [35]. 23

Engr354: Digital Logic Circuits

Engr354: Digital Logic Circuits Engr354: Digitl Logi Ciruits Chpter 4: Logi Optimiztion Curtis Nelson Logi Optimiztion In hpter 4 you will lern out: Synthesis of logi funtions; Anlysis of logi iruits; Tehniques for deriving minimum-ost

More information

Dynamic Template Matching with Mixed-polarity Toffoli Gates

Dynamic Template Matching with Mixed-polarity Toffoli Gates Dynmi Templte Mthing with Mixed-polrity Toffoli Gtes Md Mzder Rhmn 1, Mthis Soeken 2,3, nd Gerhrd W. Duek 1 1 Fulty of Computer Siene, University of New Brunswik, Cnd 2 Deprtment of Mthemtis nd Computer

More information

SECTION A STUDENT MATERIAL. Part 1. What and Why.?

SECTION A STUDENT MATERIAL. Part 1. What and Why.? SECTION A STUDENT MATERIAL Prt Wht nd Wh.? Student Mteril Prt Prolem n > 0 n > 0 Is the onverse true? Prolem If n is even then n is even. If n is even then n is even. Wht nd Wh? Eploring Pure Mths Are

More information

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals AP Clulus BC Chpter 8: Integrtion Tehniques, L Hopitl s Rule nd Improper Integrls 8. Bsi Integrtion Rules In this setion we will review vrious integrtion strtegies. Strtegies: I. Seprte the integrnd into

More information

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides. 1 PYTHAGORAS THEOREM 1 1 Pythgors Theorem In this setion we will present geometri proof of the fmous theorem of Pythgors. Given right ngled tringle, the squre of the hypotenuse is equl to the sum of the

More information

Lecture Notes No. 10

Lecture Notes No. 10 2.6 System Identifition, Estimtion, nd Lerning Leture otes o. Mrh 3, 26 6 Model Struture of Liner ime Invrint Systems 6. Model Struture In representing dynmil system, the first step is to find n pproprite

More information

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version A Lower Bound for the Length of Prtil Trnsversl in Ltin Squre, Revised Version Pooy Htmi nd Peter W. Shor Deprtment of Mthemtil Sienes, Shrif University of Tehnology, P.O.Bo 11365-9415, Tehrn, Irn Deprtment

More information

A Transformation Based Algorithm for Reversible Logic Synthesis

A Transformation Based Algorithm for Reversible Logic Synthesis 2.1 A Trnsformtion Bsed Algorithm for Reversile Logi Synthesis D. Mihel Miller Dept. of Computer Siene University of Vitori Vitori BC V8W 3P6 Cnd mmiller@sr.uvi. Dmitri Mslov Fulty of Computer Siene University

More information

12.4 Similarity in Right Triangles

12.4 Similarity in Right Triangles Nme lss Dte 12.4 Similrit in Right Tringles Essentil Question: How does the ltitude to the hpotenuse of right tringle help ou use similr right tringles to solve prolems? Eplore Identifing Similrit in Right

More information

Reference : Croft & Davison, Chapter 12, Blocks 1,2. A matrix ti is a rectangular array or block of numbers usually enclosed in brackets.

Reference : Croft & Davison, Chapter 12, Blocks 1,2. A matrix ti is a rectangular array or block of numbers usually enclosed in brackets. I MATRIX ALGEBRA INTRODUCTION TO MATRICES Referene : Croft & Dvison, Chpter, Blos, A mtri ti is retngulr rr or lo of numers usull enlosed in rets. A m n mtri hs m rows nd n olumns. Mtri Alger Pge If the

More information

6.5 Improper integrals

6.5 Improper integrals Eerpt from "Clulus" 3 AoPS In. www.rtofprolemsolving.om 6.5. IMPROPER INTEGRALS 6.5 Improper integrls As we ve seen, we use the definite integrl R f to ompute the re of the region under the grph of y =

More information

Core 2 Logarithms and exponentials. Section 1: Introduction to logarithms

Core 2 Logarithms and exponentials. Section 1: Introduction to logarithms Core Logrithms nd eponentils Setion : Introdution to logrithms Notes nd Emples These notes ontin subsetions on Indies nd logrithms The lws of logrithms Eponentil funtions This is n emple resoure from MEI

More information

Matrices SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics (c) 1. Definition of a Matrix

Matrices SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics (c) 1. Definition of a Matrix tries Definition of tri mtri is regulr rry of numers enlosed inside rkets SCHOOL OF ENGINEERING & UIL ENVIRONEN Emple he following re ll mtries: ), ) 9, themtis ), d) tries Definition of tri Size of tri

More information

Introduction to Olympiad Inequalities

Introduction to Olympiad Inequalities Introdution to Olympid Inequlities Edutionl Studies Progrm HSSP Msshusetts Institute of Tehnology Snj Simonovikj Spring 207 Contents Wrm up nd Am-Gm inequlity 2. Elementry inequlities......................

More information

Unit 4. Combinational Circuits

Unit 4. Combinational Circuits Unit 4. Comintionl Ciruits Digitl Eletroni Ciruits (Ciruitos Eletrónios Digitles) E.T.S.I. Informáti Universidd de Sevill 5/10/2012 Jorge Jun 2010, 2011, 2012 You re free to opy, distriute

More information

Exercise 3 Logic Control

Exercise 3 Logic Control Exerise 3 Logi Control OBJECTIVE The ojetive of this exerise is giving n introdution to pplition of Logi Control System (LCS). Tody, LCS is implemented through Progrmmle Logi Controller (PLC) whih is lled

More information

8 THREE PHASE A.C. CIRCUITS

8 THREE PHASE A.C. CIRCUITS 8 THREE PHSE.. IRUITS The signls in hpter 7 were sinusoidl lternting voltges nd urrents of the so-lled single se type. n emf of suh type n e esily generted y rotting single loop of ondutor (or single winding),

More information

NEW CIRCUITS OF HIGH-VOLTAGE PULSE GENERATORS WITH INDUCTIVE-CAPACITIVE ENERGY STORAGE

NEW CIRCUITS OF HIGH-VOLTAGE PULSE GENERATORS WITH INDUCTIVE-CAPACITIVE ENERGY STORAGE NEW CIRCUITS OF HIGH-VOLTAGE PULSE GENERATORS WITH INDUCTIVE-CAPACITIVE ENERGY STORAGE V.S. Gordeev, G.A. Myskov Russin Federl Nuler Center All-Russi Sientifi Reserh Institute of Experimentl Physis (RFNC-VNIIEF)

More information

Maintaining Mathematical Proficiency

Maintaining Mathematical Proficiency Nme Dte hpter 9 Mintining Mthemtil Profiieny Simplify the epression. 1. 500. 189 3. 5 4. 4 3 5. 11 5 6. 8 Solve the proportion. 9 3 14 7. = 8. = 9. 1 7 5 4 = 4 10. 0 6 = 11. 7 4 10 = 1. 5 9 15 3 = 5 +

More information

Lecture 6. CMOS Static & Dynamic Logic Gates. Static CMOS Circuit. PMOS Transistors in Series/Parallel Connection

Lecture 6. CMOS Static & Dynamic Logic Gates. Static CMOS Circuit. PMOS Transistors in Series/Parallel Connection NMOS Trnsistors in Series/Prllel onnetion Leture 6 MOS Stti & ynmi Logi Gtes Trnsistors n e thought s swith ontrolled y its gte signl NMOS swith loses when swith ontrol input is high Peter heung eprtment

More information

Integration. antidifferentiation

Integration. antidifferentiation 9 Integrtion 9A Antidifferentition 9B Integrtion of e, sin ( ) nd os ( ) 9C Integrtion reognition 9D Approimting res enlosed funtions 9E The fundmentl theorem of integrl lulus 9F Signed res 9G Further

More information

Symmetrical Components 1

Symmetrical Components 1 Symmetril Components. Introdution These notes should e red together with Setion. of your text. When performing stedy-stte nlysis of high voltge trnsmission systems, we mke use of the per-phse equivlent

More information

Data Structures LECTURE 10. Huffman coding. Example. Coding: problem definition

Data Structures LECTURE 10. Huffman coding. Example. Coding: problem definition Dt Strutures, Spring 24 L. Joskowiz Dt Strutures LEURE Humn oing Motivtion Uniquel eipherle oes Prei oes Humn oe onstrution Etensions n pplitions hpter 6.3 pp 385 392 in tetook Motivtion Suppose we wnt

More information

Appendix C Partial discharges. 1. Relationship Between Measured and Actual Discharge Quantities

Appendix C Partial discharges. 1. Relationship Between Measured and Actual Discharge Quantities Appendi Prtil dishrges. Reltionship Between Mesured nd Atul Dishrge Quntities A dishrging smple my e simply represented y the euilent iruit in Figure. The pplied lternting oltge V is inresed until the

More information

21.1 Using Formulae Construct and Use Simple Formulae Revision of Negative Numbers Substitution into Formulae

21.1 Using Formulae Construct and Use Simple Formulae Revision of Negative Numbers Substitution into Formulae MEP Jmi: STRAND G UNIT 1 Formule: Student Tet Contents STRAND G: Alger Unit 1 Formule Student Tet Contents Setion 1.1 Using Formule 1. Construt nd Use Simple Formule 1.3 Revision of Negtive Numers 1.4

More information

Lesson 2: The Pythagorean Theorem and Similar Triangles. A Brief Review of the Pythagorean Theorem.

Lesson 2: The Pythagorean Theorem and Similar Triangles. A Brief Review of the Pythagorean Theorem. 27 Lesson 2: The Pythgoren Theorem nd Similr Tringles A Brief Review of the Pythgoren Theorem. Rell tht n ngle whih mesures 90º is lled right ngle. If one of the ngles of tringle is right ngle, then we

More information

Mathematics SKE: STRAND F. F1.1 Using Formulae. F1.2 Construct and Use Simple Formulae. F1.3 Revision of Negative Numbers

Mathematics SKE: STRAND F. F1.1 Using Formulae. F1.2 Construct and Use Simple Formulae. F1.3 Revision of Negative Numbers Mthemtis SKE: STRAND F UNIT F1 Formule: Tet STRAND F: Alger F1 Formule Tet Contents Setion F1.1 Using Formule F1. Construt nd Use Simple Formule F1.3 Revision of Negtive Numers F1.4 Sustitution into Formule

More information

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b CS 294-2 9/11/04 Quntum Ciruit Model, Solovy-Kitev Theorem, BQP Fll 2004 Leture 4 1 Quntum Ciruit Model 1.1 Clssil Ciruits - Universl Gte Sets A lssil iruit implements multi-output oolen funtion f : {0,1}

More information

(h+ ) = 0, (3.1) s = s 0, (3.2)

(h+ ) = 0, (3.1) s = s 0, (3.2) Chpter 3 Nozzle Flow Qusistedy idel gs flow in pipes For the lrge vlues of the Reynolds number typilly found in nozzles, the flow is idel. For stedy opertion with negligible body fores the energy nd momentum

More information

Reflection Property of a Hyperbola

Reflection Property of a Hyperbola Refletion Propert of Hperol Prefe The purpose of this pper is to prove nltill nd to illustrte geometrill the propert of hperol wherein r whih emntes outside the onvit of the hperol, tht is, etween the

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Fun Gme Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Fun Gme Properties Arrow s Theorem Leture Overview 1 Rep 2 Fun Gme 3 Properties

More information

A Study on the Properties of Rational Triangles

A Study on the Properties of Rational Triangles Interntionl Journl of Mthemtis Reserh. ISSN 0976-5840 Volume 6, Numer (04), pp. 8-9 Interntionl Reserh Pulition House http://www.irphouse.om Study on the Properties of Rtionl Tringles M. Q. lm, M.R. Hssn

More information

Section 2.3. Matrix Inverses

Section 2.3. Matrix Inverses Mtri lger Mtri nverses Setion.. Mtri nverses hree si opertions on mtries, ition, multiplition, n sutrtion, re nlogues for mtries of the sme opertions for numers. n this setion we introue the mtri nlogue

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 5 Supplement Greedy Algorithms Cont d Minimizing lteness Ching (NOT overed in leture) Adm Smith 9/8/10 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov,

More information

Parabola and Catenary Equations for Conductor Height Calculation

Parabola and Catenary Equations for Conductor Height Calculation ELECTROTEHNICĂ, ELECTRONICĂ, AUTOMATICĂ, 6 (), nr. 3 9 Prbol nd Ctenr Equtions for Condutor Height Clultion Alen HATIBOVIC Abstrt This pper presents new equtions for ondutor height lultion bsed on the

More information

a) Read over steps (1)- (4) below and sketch the path of the cycle on a P V plot on the graph below. Label all appropriate points.

a) Read over steps (1)- (4) below and sketch the path of the cycle on a P V plot on the graph below. Label all appropriate points. Prole 3: Crnot Cyle of n Idel Gs In this prole, the strting pressure P nd volue of n idel gs in stte, re given he rtio R = / > of the volues of the sttes nd is given Finlly onstnt γ = 5/3 is given You

More information

AVL Trees. D Oisín Kidney. August 2, 2018

AVL Trees. D Oisín Kidney. August 2, 2018 AVL Trees D Oisín Kidne August 2, 2018 Astrt This is verified implementtion of AVL trees in Agd, tking ides primril from Conor MBride s pper How to Keep Your Neighours in Order [2] nd the Agd stndrd lirr

More information

NON-DETERMINISTIC FSA

NON-DETERMINISTIC FSA Tw o types of non-determinism: NON-DETERMINISTIC FS () Multiple strt-sttes; strt-sttes S Q. The lnguge L(M) ={x:x tkes M from some strt-stte to some finl-stte nd ll of x is proessed}. The string x = is

More information

Test Generation from Timed Input Output Automata

Test Generation from Timed Input Output Automata Chpter 8 Test Genertion from Timed Input Output Automt The purpose of this hpter is to introdue tehniques for the genertion of test dt from models of softwre sed on vrints of timed utomt. The tests generted

More information

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2 BOOLEAN METHODS Giovnni De Miheli Stnford University Boolen methods Exploit Boolen properties. { Don't re onditions. Minimiztion of the lol funtions. Slower lgorithms, etter qulity results. Externl don't

More information

Tutorial Worksheet. 1. Find all solutions to the linear system by following the given steps. x + 2y + 3z = 2 2x + 3y + z = 4.

Tutorial Worksheet. 1. Find all solutions to the linear system by following the given steps. x + 2y + 3z = 2 2x + 3y + z = 4. Mth 5 Tutoril Week 1 - Jnury 1 1 Nme Setion Tutoril Worksheet 1. Find ll solutions to the liner system by following the given steps x + y + z = x + y + z = 4. y + z = Step 1. Write down the rgumented mtrix

More information

Chapter Gauss Quadrature Rule of Integration

Chapter Gauss Quadrature Rule of Integration Chpter 7. Guss Qudrture Rule o Integrtion Ater reding this hpter, you should e le to:. derive the Guss qudrture method or integrtion nd e le to use it to solve prolems, nd. use Guss qudrture method to

More information

Implication Graphs and Logic Testing

Implication Graphs and Logic Testing Implition Grphs n Logi Testing Vishwni D. Agrwl Jmes J. Dnher Professor Dept. of ECE, Auurn University Auurn, AL 36849 vgrwl@eng.uurn.eu www.eng.uurn.eu/~vgrwl Joint reserh with: K. K. Dve, ATI Reserh,

More information

Linear Algebra Introduction

Linear Algebra Introduction Introdution Wht is Liner Alger out? Liner Alger is rnh of mthemtis whih emerged yers k nd ws one of the pioneer rnhes of mthemtis Though, initilly it strted with solving of the simple liner eqution x +

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Voting Prdoxes Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Voting Prdoxes Properties Arrow s Theorem Leture Overview 1 Rep

More information

Dorf, R.C., Wan, Z. T- Equivalent Networks The Electrical Engineering Handbook Ed. Richard C. Dorf Boca Raton: CRC Press LLC, 2000

Dorf, R.C., Wan, Z. T- Equivalent Networks The Electrical Engineering Handbook Ed. Richard C. Dorf Boca Raton: CRC Press LLC, 2000 orf, R.C., Wn,. T- Equivlent Networks The Eletril Engineering Hndook Ed. Rihrd C. orf Bo Rton: CRC Press LLC, 000 9 T P Equivlent Networks hen Wn University of Cliforni, vis Rihrd C. orf University of

More information

Iowa Training Systems Trial Snus Hill Winery Madrid, IA

Iowa Training Systems Trial Snus Hill Winery Madrid, IA Iow Trining Systems Tril Snus Hill Winery Mdrid, IA Din R. Cohrn nd Gil R. Nonneke Deprtment of Hortiulture, Iow Stte University Bkground nd Rtionle: Over the lst severl yers, five sttes hve een evluting

More information

Solutions to Assignment 1

Solutions to Assignment 1 MTHE 237 Fll 2015 Solutions to Assignment 1 Problem 1 Find the order of the differentil eqution: t d3 y dt 3 +t2 y = os(t. Is the differentil eqution liner? Is the eqution homogeneous? b Repet the bove

More information

Behavior Composition in the Presence of Failure

Behavior Composition in the Presence of Failure Behvior Composition in the Presene of Filure Sestin Srdin RMIT University, Melourne, Austrli Fio Ptrizi & Giuseppe De Giomo Spienz Univ. Rom, Itly KR 08, Sept. 2008, Sydney Austrli Introdution There re

More information

5. Every rational number have either terminating or repeating (recurring) decimal representation.

5. Every rational number have either terminating or repeating (recurring) decimal representation. CHAPTER NUMBER SYSTEMS Points to Rememer :. Numer used for ounting,,,,... re known s Nturl numers.. All nturl numers together with zero i.e. 0,,,,,... re known s whole numers.. All nturl numers, zero nd

More information

Unit-VII: Linear Algebra-I. To show what are the matrices, why they are useful, how they are classified as various types and how they are solved.

Unit-VII: Linear Algebra-I. To show what are the matrices, why they are useful, how they are classified as various types and how they are solved. Unit-VII: Liner lger-i Purpose of lession : To show wht re the mtries, wh the re useful, how the re lssified s vrious tpes nd how the re solved. Introdution: Mtries is powerful tool of modern Mthemtis

More information

VIBRATION ANALYSIS OF AN ISOLATED MASS WITH SIX DEGREES OF FREEDOM Revision G

VIBRATION ANALYSIS OF AN ISOLATED MASS WITH SIX DEGREES OF FREEDOM Revision G B Tom Irvine Emil: tom@virtiondt.om Jnur 8, 3 VIBRATION ANALYSIS OF AN ISOLATED MASS WITH SIX DEGREES OF FREEDOM Revision G Introdution An vionis omponent m e mounted with isoltor grommets, whih t s soft

More information

Project 6: Minigoals Towards Simplifying and Rewriting Expressions

Project 6: Minigoals Towards Simplifying and Rewriting Expressions MAT 51 Wldis Projet 6: Minigols Towrds Simplifying nd Rewriting Expressions The distriutive property nd like terms You hve proly lerned in previous lsses out dding like terms ut one prolem with the wy

More information

ANALYSIS AND MODELLING OF RAINFALL EVENTS

ANALYSIS AND MODELLING OF RAINFALL EVENTS Proeedings of the 14 th Interntionl Conferene on Environmentl Siene nd Tehnology Athens, Greee, 3-5 Septemer 215 ANALYSIS AND MODELLING OF RAINFALL EVENTS IOANNIDIS K., KARAGRIGORIOU A. nd LEKKAS D.F.

More information

CS12N: The Coming Revolution in Computer Architecture Laboratory 2 Preparation

CS12N: The Coming Revolution in Computer Architecture Laboratory 2 Preparation CS2N: The Coming Revolution in Computer Architecture Lortory 2 Preprtion Ojectives:. Understnd the principle of sttic CMOS gte circuits 2. Build simple logic gtes from MOS trnsistors 3. Evlute these gtes

More information

Qubit and Quantum Gates

Qubit and Quantum Gates Quit nd Quntum Gtes Shool on Quntum omputing @Ygmi Dy, Lesson 9:-:, Mrh, 5 Eisuke Ae Deprtment of Applied Physis nd Physio-Informtis, nd REST-JST, Keio University From lssil to quntum Informtion is physil

More information

Discrete Structures Lecture 11

Discrete Structures Lecture 11 Introdution Good morning. In this setion we study funtions. A funtion is mpping from one set to nother set or, perhps, from one set to itself. We study the properties of funtions. A mpping my not e funtion.

More information

Nondeterministic Automata vs Deterministic Automata

Nondeterministic Automata vs Deterministic Automata Nondeterministi Automt vs Deterministi Automt We lerned tht NFA is onvenient model for showing the reltionships mong regulr grmmrs, FA, nd regulr expressions, nd designing them. However, we know tht n

More information

Logic Synthesis and Verification

Logic Synthesis and Verification Logi Synthesis nd Verifition SOPs nd Inompletely Speified Funtions Jie-Hong Rolnd Jing 江介宏 Deprtment of Eletril Engineering Ntionl Tiwn University Fll 2010 Reding: Logi Synthesis in Nutshell Setion 2 most

More information

Review Topic 14: Relationships between two numerical variables

Review Topic 14: Relationships between two numerical variables Review Topi 14: Reltionships etween two numeril vriles Multiple hoie 1. Whih of the following stterplots est demonstrtes line of est fit? A B C D E 2. The regression line eqution for the following grph

More information

arxiv: v1 [quant-ph] 2 Apr 2007

arxiv: v1 [quant-ph] 2 Apr 2007 Towrds Miniml Resoures of Mesurement-sed Quntum Computtion riv:0704.00v1 [qunt-ph] Apr 007 1. Introdution Simon Perdrix PPS, CNRS - niversité Pris 7 E-mil: simon.perdrix@pps.jussieu.fr Astrt. We improve

More information

For a, b, c, d positive if a b and. ac bd. Reciprocal relations for a and b positive. If a > b then a ab > b. then

For a, b, c, d positive if a b and. ac bd. Reciprocal relations for a and b positive. If a > b then a ab > b. then Slrs-7.2-ADV-.7 Improper Definite Integrls 27.. D.dox Pge of Improper Definite Integrls Before we strt the min topi we present relevnt lger nd it review. See Appendix J for more lger review. Inequlities:

More information

Spacetime and the Quantum World Questions Fall 2010

Spacetime and the Quantum World Questions Fall 2010 Spetime nd the Quntum World Questions Fll 2010 1. Cliker Questions from Clss: (1) In toss of two die, wht is the proility tht the sum of the outomes is 6? () P (x 1 + x 2 = 6) = 1 36 - out 3% () P (x 1

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 8 Mx. lteness ont d Optiml Ching Adm Smith 9/12/2008 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov, K. Wyne Sheduling to Minimizing Lteness Minimizing

More information

MATRIX INVERSE ON CONNEX PARALLEL ARCHITECTURE

MATRIX INVERSE ON CONNEX PARALLEL ARCHITECTURE U.P.B. Si. Bull., Series C, Vol. 75, Iss. 2, ISSN 86 354 MATRIX INVERSE ON CONNEX PARALLEL ARCHITECTURE An-Mri CALFA, Gheorghe ŞTEFAN 2 Designed for emedded omputtion in system on hip design, the Connex

More information

Fault Emulation: A New Approach to Fault Grading

Fault Emulation: A New Approach to Fault Grading Fult Emultion: A New Approh to Fult Grding Kwng-Ting Cheng Shi-Yu Hung Deprtmentl of Eletril & Computer Engineering University of Cliforni, Snt Brr Snt Brr, CA 93106 Wei-Jin Di Quik-Turn Design System

More information

The Trapezoidal Rule

The Trapezoidal Rule _.qd // : PM Pge 9 SECTION. Numericl Integrtion 9 f Section. The re of the region cn e pproimted using four trpezoids. Figure. = f( ) f( ) n The re of the first trpezoid is f f n. Figure. = Numericl Integrtion

More information

A Family of Logical Fault Models for Reversible Circuits

A Family of Logical Fault Models for Reversible Circuits A Fmily of Logil Fult Moels for Reversile Ciruits Ili Polin John P. Hyes Thoms Fiehn Bern Beker Alert-Luwigs-University Georges-Köhler-Allee 5 79 Freiurg i. Br., Germny {polin fiehn eker}@informtik.uni-freiurg.e

More information

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points:

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points: Eidgenössishe Tehnishe Hohshule Zürih Eole polytehnique fédérle de Zurih Politenio federle di Zurigo Federl Institute of Tehnology t Zurih Deprtement of Computer Siene. Novemer 0 Mrkus Püshel, Dvid Steurer

More information

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS The University of ottinghm SCHOOL OF COMPUTR SCIC A LVL 2 MODUL, SPRIG SMSTR 2015 2016 MACHIS AD THIR LAGUAGS ASWRS Time llowed TWO hours Cndidtes my omplete the front over of their nswer ook nd sign their

More information

CS 491G Combinatorial Optimization Lecture Notes

CS 491G Combinatorial Optimization Lecture Notes CS 491G Comintoril Optimiztion Leture Notes Dvi Owen July 30, August 1 1 Mthings Figure 1: two possile mthings in simple grph. Definition 1 Given grph G = V, E, mthing is olletion of eges M suh tht e i,

More information

(a) A partition P of [a, b] is a finite subset of [a, b] containing a and b. If Q is another partition and P Q, then Q is a refinement of P.

(a) A partition P of [a, b] is a finite subset of [a, b] containing a and b. If Q is another partition and P Q, then Q is a refinement of P. Chpter 7: The Riemnn Integrl When the derivtive is introdued, it is not hrd to see tht the it of the differene quotient should be equl to the slope of the tngent line, or when the horizontl xis is time

More information

An Efficient Algorithm for Discovering Frequent Subgraphs

An Efficient Algorithm for Discovering Frequent Subgraphs To pper in IEEE Trnstions on Knowledge nd Dt Engineering 1 An Effiient Algorithm for Disovering Frequent Sugrphs Mihihiro Kurmohi nd George Krpis, Memer, IEEE Deprtment of Computer Siene Universit of Minnesot

More information

Part 4. Integration (with Proofs)

Part 4. Integration (with Proofs) Prt 4. Integrtion (with Proofs) 4.1 Definition Definition A prtition P of [, b] is finite set of points {x 0, x 1,..., x n } with = x 0 < x 1

More information

University of Sioux Falls. MAT204/205 Calculus I/II

University of Sioux Falls. MAT204/205 Calculus I/II University of Sioux Flls MAT204/205 Clulus I/II Conepts ddressed: Clulus Textook: Thoms Clulus, 11 th ed., Weir, Hss, Giordno 1. Use stndrd differentition nd integrtion tehniques. Differentition tehniques

More information

System Validation (IN4387) November 2, 2012, 14:00-17:00

System Validation (IN4387) November 2, 2012, 14:00-17:00 System Vlidtion (IN4387) Novemer 2, 2012, 14:00-17:00 Importnt Notes. The exmintion omprises 5 question in 4 pges. Give omplete explntion nd do not onfine yourself to giving the finl nswer. Good luk! Exerise

More information

Green s Theorem. (2x e y ) da. (2x e y ) dx dy. x 2 xe y. (1 e y ) dy. y=1. = y e y. y=0. = 2 e

Green s Theorem. (2x e y ) da. (2x e y ) dx dy. x 2 xe y. (1 e y ) dy. y=1. = y e y. y=0. = 2 e Green s Theorem. Let be the boundry of the unit squre, y, oriented ounterlokwise, nd let F be the vetor field F, y e y +, 2 y. Find F d r. Solution. Let s write P, y e y + nd Q, y 2 y, so tht F P, Q. Let

More information

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution Tehnishe Universität Münhen Winter term 29/ I7 Prof. J. Esprz / J. Křetínský / M. Luttenerger. Ferur 2 Solution Automt nd Forml Lnguges Homework 2 Due 5..29. Exerise 2. Let A e the following finite utomton:

More information

CARLETON UNIVERSITY. 1.0 Problems and Most Solutions, Sect B, 2005

CARLETON UNIVERSITY. 1.0 Problems and Most Solutions, Sect B, 2005 RLETON UNIVERSIT eprtment of Eletronis ELE 2607 Swithing iruits erury 28, 05; 0 pm.0 Prolems n Most Solutions, Set, 2005 Jn. 2, #8 n #0; Simplify, Prove Prolem. #8 Simplify + + + Reue to four letters (literls).

More information

are coplanar. ˆ ˆ ˆ and iˆ

are coplanar. ˆ ˆ ˆ and iˆ SML QUSTION Clss XII Mthemtis Time llowed: hrs Mimum Mrks: Generl Instrutions: i ll questions re ompulsor ii The question pper onsists of 6 questions divided into three Setions, B nd C iii Question No

More information

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014 S 224 DIGITAL LOGI & STATE MAHINE DESIGN SPRING 214 DUE : Mrh 27, 214 HOMEWORK III READ : Relte portions of hpters VII n VIII ASSIGNMENT : There re three questions. Solve ll homework n exm prolems s shown

More information

PAIR OF LINEAR EQUATIONS IN TWO VARIABLES

PAIR OF LINEAR EQUATIONS IN TWO VARIABLES PAIR OF LINEAR EQUATIONS IN TWO VARIABLES. Two liner equtions in the sme two vriles re lled pir of liner equtions in two vriles. The most generl form of pir of liner equtions is x + y + 0 x + y + 0 where,,,,,,

More information

GRAND PLAN. Visualizing Quaternions. I: Fundamentals of Quaternions. Andrew J. Hanson. II: Visualizing Quaternion Geometry. III: Quaternion Frames

GRAND PLAN. Visualizing Quaternions. I: Fundamentals of Quaternions. Andrew J. Hanson. II: Visualizing Quaternion Geometry. III: Quaternion Frames Visuliing Quternions Andrew J. Hnson Computer Siene Deprtment Indin Universit Siggrph Tutoril GRAND PLAN I: Fundmentls of Quternions II: Visuliing Quternion Geometr III: Quternion Frmes IV: Clifford Algers

More information

4.6 Numerical Integration

4.6 Numerical Integration .6 Numericl Integrtion 5.6 Numericl Integrtion Approimte definite integrl using the Trpezoidl Rule. Approimte definite integrl using Simpson s Rule. Anlze the pproimte errors in the Trpezoidl Rule nd Simpson

More information

Calculus Cheat Sheet. Integrals Definitions. where F( x ) is an anti-derivative of f ( x ). Fundamental Theorem of Calculus. dx = f x dx g x dx

Calculus Cheat Sheet. Integrals Definitions. where F( x ) is an anti-derivative of f ( x ). Fundamental Theorem of Calculus. dx = f x dx g x dx Clulus Chet Sheet Integrls Definitions Definite Integrl: Suppose f ( ) is ontinuous Anti-Derivtive : An nti-derivtive of f ( ) on [, ]. Divide [, ] into n suintervls of is funtion, F( ), suh tht F = f.

More information

Propositional models. Historical models of computation. Application: binary addition. Boolean functions. Implementation using switches.

Propositional models. Historical models of computation. Application: binary addition. Boolean functions. Implementation using switches. Propositionl models Historil models of omputtion Steven Lindell Hverford College USA 1/22/2010 ISLA 2010 1 Strt with fixed numer of oolen vriles lled the voulry: e.g.,,. Eh oolen vrile represents proposition,

More information

CHENG Chun Chor Litwin The Hong Kong Institute of Education

CHENG Chun Chor Litwin The Hong Kong Institute of Education PE-hing Mi terntionl onferene IV: novtion of Mthemtis Tehing nd Lerning through Lesson Study- onnetion etween ssessment nd Sujet Mtter HENG hun hor Litwin The Hong Kong stitute of Edution Report on using

More information

6.3.2 Spectroscopy. N Goalby chemrevise.org 1 NO 2 H 3 CH3 C. NMR spectroscopy. Different types of NMR

6.3.2 Spectroscopy. N Goalby chemrevise.org 1 NO 2 H 3 CH3 C. NMR spectroscopy. Different types of NMR 6.. Spetrosopy NMR spetrosopy Different types of NMR NMR spetrosopy involves intertion of mterils with the lowenergy rdiowve region of the eletromgneti spetrum NMR spetrosopy is the sme tehnology s tht

More information

Math 32B Discussion Session Week 8 Notes February 28 and March 2, f(b) f(a) = f (t)dt (1)

Math 32B Discussion Session Week 8 Notes February 28 and March 2, f(b) f(a) = f (t)dt (1) Green s Theorem Mth 3B isussion Session Week 8 Notes Februry 8 nd Mrh, 7 Very shortly fter you lerned how to integrte single-vrible funtions, you lerned the Fundmentl Theorem of lulus the wy most integrtion

More information

Reduction of Switching Noise in Digital CMOS Circuits by Pin Swapping of Library Cells 1

Reduction of Switching Noise in Digital CMOS Circuits by Pin Swapping of Library Cells 1 Redution of Swithing Noise in Digitl CMOS Ciruits y Pin Swpping of Lirry Cells 1 Pilr Prr, Antonio Aost, nd Mnuel Vleni Instituto de Miroeletróni de Sevill-CNM / Universidd de Sevill Avd. Rein Meredes

More information

A Non-parametric Approach in Testing Higher Order Interactions

A Non-parametric Approach in Testing Higher Order Interactions A Non-prmetri Approh in Testing igher Order Intertions G. Bkeerthn Deprtment of Mthemtis, Fulty of Siene Estern University, Chenkldy, Sri Lnk nd S. Smit Deprtment of Crop Siene, Fulty of Agriulture University

More information

Chapter 4 State-Space Planning

Chapter 4 State-Space Planning Leture slides for Automted Plnning: Theory nd Prtie Chpter 4 Stte-Spe Plnning Dn S. Nu CMSC 722, AI Plnning University of Mrylnd, Spring 2008 1 Motivtion Nerly ll plnning proedures re serh proedures Different

More information

Electromagnetism Notes, NYU Spring 2018

Electromagnetism Notes, NYU Spring 2018 Eletromgnetism Notes, NYU Spring 208 April 2, 208 Ation formultion of EM. Free field desription Let us first onsider the free EM field, i.e. in the bsene of ny hrges or urrents. To tret this s mehnil system

More information

6.3.2 Spectroscopy. N Goalby chemrevise.org 1 NO 2 CH 3. CH 3 C a. NMR spectroscopy. Different types of NMR

6.3.2 Spectroscopy. N Goalby chemrevise.org 1 NO 2 CH 3. CH 3 C a. NMR spectroscopy. Different types of NMR 6.. Spetrosopy NMR spetrosopy Different types of NMR NMR spetrosopy involves intertion of mterils with the lowenergy rdiowve region of the eletromgneti spetrum NMR spetrosopy is the sme tehnology s tht

More information

Activities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions

Activities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions MEP: Demonstrtion Projet UNIT 4: Trigonometry UNIT 4 Trigonometry tivities tivities 4. Pythgors' Theorem 4.2 Spirls 4.3 linometers 4.4 Rdr 4.5 Posting Prels 4.6 Interloking Pipes 4.7 Sine Rule Notes nd

More information

Thermodynamics. Question 1. Question 2. Question 3 3/10/2010. Practice Questions PV TR PV T R

Thermodynamics. Question 1. Question 2. Question 3 3/10/2010. Practice Questions PV TR PV T R /10/010 Question 1 1 mole of idel gs is rought to finl stte F y one of three proesses tht hve different initil sttes s shown in the figure. Wht is true for the temperture hnge etween initil nd finl sttes?

More information

CHAPTER 4: DETERMINANTS

CHAPTER 4: DETERMINANTS CHAPTER 4: DETERMINANTS MARKS WEIGHTAGE 0 mrks NCERT Importnt Questions & Answers 6. If, then find the vlue of. 8 8 6 6 Given tht 8 8 6 On epnding both determinnts, we get 8 = 6 6 8 36 = 36 36 36 = 0 =

More information

Boolean algebra.

Boolean algebra. http://en.wikipedi.org/wiki/elementry_boolen_lger Boolen lger www.tudorgir.com Computer science is not out computers, it is out computtion nd informtion. computtion informtion computer informtion Turing

More information

TIME AND STATE IN DISTRIBUTED SYSTEMS

TIME AND STATE IN DISTRIBUTED SYSTEMS Distriuted Systems Fö 5-1 Distriuted Systems Fö 5-2 TIME ND STTE IN DISTRIUTED SYSTEMS 1. Time in Distriuted Systems Time in Distriuted Systems euse eh mhine in distriuted system hs its own lok there is

More information

QUADRATIC EQUATION. Contents

QUADRATIC EQUATION. Contents QUADRATIC EQUATION Contents Topi Pge No. Theory 0-04 Exerise - 05-09 Exerise - 09-3 Exerise - 3 4-5 Exerise - 4 6 Answer Key 7-8 Syllus Qudrti equtions with rel oeffiients, reltions etween roots nd oeffiients,

More information