0% found this document useful (0 votes)
5 views

Module04-Combinational Logic

Digital system and design, BE/Btech 3rd sem notes
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
5 views

Module04-Combinational Logic

Digital system and design, BE/Btech 3rd sem notes
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 24
& Aedes: Covtai Ton LOGtC Logic Greuits: ¥ Logie Cveuids for dglal aystewns vray he tombiralional. o« sequonciol) . + Gokinaljonal Greuils: > cowisls of input voniabes, loi gts, | output: vworriabhles | > vubpus at any time ate dehzrumi ned. From only prosat combivertion of tga; | = do wat faye stomge dhments. ¥ Sequential Circuits. > comply stooge alymorts. in addition fo Lees 2 gal ave fundlion sel inpubs ara 3 roeits, ~> crate beawiouy rust be Speched by a time seyumee f inpubs and Phyl, internal states . + Block, diggam of Conbiational, Graits ComBwitionAL [> [> vm os + inputs : circuit | |. Hoalysis Procedure: 7 the maby da combinational. coreutt require, Bab we ddbramine Fe fundion Wat Re civwat inp lew ents “To obtain “he aust Beoleam, funchious $rom a Jajie ding ram, We poe 08, \ Label all ga cubs ‘Bok ote a funchom nv of ‘pat wvooial: bes wilh onicteosry sy enkels cbt wih yneawinghil vasenos. Debex rnin 2 War Bocleam Sumébions fv re oukpuik. a. Label He goba Yok axe din inpit vores rd previouly beled gata wilt thon arbiteary aginbols- Fi te Roclean famctiona hy fue gaze - a Repeat te process oudlined in steba wrth, te ouput of the Circuit axe obtained « a By epee substitcton d previously Yehned fanchins , obtain “he oil Ble fens in toms of yt walle. | For crample, Consider the obrwit: 2 eee pas ne O> Nous, Similarly, te oudputs of odour, jibes ore SaDelil wih toumediate mi Now, Wye Qe ha, T, = Age, f= AB+BC+AC , Tye Teh t = (havac) (Per BC+AC) Cad F,= Tats = IBC ed) (navecs cf)! = ABL+ Qred|ee): 0d C4) = ppc a ABC's ABC Isc. te Fre fete Astcly Alge' + Ngic amd Fy = ABHBC+CA we can obtain te trth. table A |eic| & BT bs A ° olo 0180 ole o jol\ ° titjoit \ 0 ile ol} vila, | t olvjiji ot ee)? ‘Jojo oa) | Vio} i]t \jo |\ vj) ojtele 7 V1 fo 1 | e|tjele ° Vay 1 je Vly lo lat Derign Procedeave: ‘he design d combivational). exits skorts from the specification o the design Liective oma tabwinakes im lege cireuit, Aiageever. or a set d¢ Boolean. fumétions from high Re Dogic ngran. tom be oltalnel . From he specifi homs d Be cieutt , débeumine Be seyiced mumble of npals and oud, ond oasign a symbl to adh. a: Bovine Be tah tab Bak dohines Re required. veelpievehip betwwn inpuils ond. oudputs, 3+ Obtun Pe simpli. Boolzann funcliius fr ead oulpul ma famelion of te ipa: variables, . a dvaus Pe Daic disgram amd veri te covrecnes et ade | Code - Conwrernion, Sronmple: Be to Syees-3 Code: OD 2 ea Freak tables Bed EX -3 A |p ie |? wilt [ele a cio | o | oe --f--0 | ol. fl ojo | o| te o} 1 jo} 0 0 |o \ o- o ,jo| t o |0 y| \e-4--9] ij tye o |) ao} o--+-o] \ {Aj l o |) o| 1-----1]o] 1° o\l \ ° = vjo jolt o|l \ j~-4d- 1] eo} }e t|o o| o---f-1] et \ Lo o| \--+- 1] bie ° Siwe Re input BCD tode hor 4 votvinblon, two will hawt afte yb Combs nan df imps. Buk, oly forsh lo tombinakinwa hare been Gorm intadh, table this 's because BCD coe (om. hawt digits (bose 10) from 0 fo a only - howloce Be. vest of. Yu. b ae axe cowideed 40 be dont tare Canlrve ou, Nos; to fd 14 4 and 2 a foi of input voridhls, we we k- Map: Nh, B,C amd D, Dee (ma,™r, mis My E40 sml= fh Quod (m5 5 yh, ys) = BD Quad (m4 Ht, mis M4) = BC J. w= AyBDyBe- Quad (yaa, wy jrftio) = ac. dood (as 1h, 4, YO =pD Paix ( vy, Ma) = pcp’. “Ke gclols Bea BD . Quad [momayrian = co Bund (13,4) M5,MAN) = CD - oye cpacio’. 2k Ee . ARR aw PF OS nfo Alp be o AS of Hy Ae 5 asio|Y sf Pa We Ur) ty, 0) ™ al fyro, M4.) Min. ey rio) =D we ged! . Ws A4BD4BC ; He gevlaBc+ED; ye core! ; z=D- Now, swmplemmontng fe QHOKEY Covovrsurion. Dag dvau, we git, = Bless) + B(CHB)! Laing We Aaw (rd) ; ye cde Gat)! | a0, ‘ 9 & BCD bo aycosn-3 ade umvenign Half Adder: podeans, Po addiction of abils 's called. a Dall -adder. We have ‘pus x andy, omd output 8 Gum) amd C Corry) fe wth tab ts geen os s Now; dived ly by brut table vse tan peediot Sand Cot function af» amdy - > $= 2 By = ays 44 DCs ey =%y Halt - nlite oak ‘y4pI ementiction pro FES —p—_—* i=. aay ' ‘ wy yi Ce une. Full - Adder Addex: A celvebionl, eeaite That pedorers te co of a bits 6 called 0 ful oder. We hat 3 inputs “a and with & outputs S Gum) ama Conver) « The teal tbh is given. Os. iz | 8 |¢ oO \ o = oe To get Somd C 1s functions of 2.4), we ue k-Mape: | SNM bese | ed? eK ro xv) 3 Single (mr) = + 2 2 Simgle (rm) = aly=! 2 Single (mm) = xylz! 2% Single (na) = ye Se ayer xyeenyizl Wye 5 Map for 0. Pair (me, mg) = qt Pair (5 mq) = xe fair (mayma) = xX 1, CAAT YEH | 3D i i iS . t 2 x i : A Gavyleanyslaxyle'nyes CH kyiyetre, Now, $= ye adlgeleagiel aye - 2 A (ty rny) +2 OHH) = 2 yoy!) s Gee) = 26 (+64) flo, C= ayryergxe = a (y) 24 = [aphys) + ay = £(:Oy)r% WO 20 (4) Se 260) 7 C= 60g) B +7 Binoy Mier. | dig ciate Pak producer axitfmetic | Sway of ry binary: wunlou,. Nso known. as | vipa carey adder. | kA full addess (FA) are interconnected to pride a qtit binny ripple cong adder | x Mvgord bite of A nd addend bits of B ave deaignatel by sabserizts from wight 4 OA | ¥ n-bit oder requires v-FA with each | oud corny tounechd bo input coer of nett Righo order FA. a | ¥ Neve, Ke input Carry Co in Deas rignficont artim must be o % Since Hoe ae 4 ipa brut table, will have a) 51 tnitrien nA bo By tr a ia. 7 FA FA ace ‘ ‘ ° G oy t | gevit odder ‘ Sy Sy ye sum bits ofS ace Baa gonna Stacting Denon righbmott postion end ore anilable 0% Bo0r as Re corres porbing previous tary bit is genonted. ALL the caries must be gewated. fo tereedt sum bibs to appears ot odds. Gury Tee be fe Tato propoggtion time is the. propagation Ps fe pial gate, Somes the vam of in Re certuib. © Qo at egection tone. delay in an oddex we Tt it takes the ox te peg Bangle fal ele. % Sime eadh : of Re sum ouitpat depends om Bo salle of put carry, He vdlue of Si ct amy given | sboge in Re oddey will be inits | sberdy-dtate fal value only after te inputs cary bo hak stage hun been | Propgated . | y For an n-bit adder, Row ae an te. | Dewedh, for Ba. carry to propegate trom inpub +o oudpit- | | ¥ tha carry propagation time is. am imp: | attatbute e Be adder, ‘because. Simnits | Be speed wih whidl a numbou ave added | ¥To reduce corny pepaption bene, | employ foxbor gates wih weduuced | delays. > incense. compleniby. of eyiprent | wud Rat delay Hone el wellere, to veduce propagation dey be | Wrong odder, we wae carry Loeaead dic. | Carey Lookahead. Logie: Augend iw A, Mind is B; Smut acy is Ce, Datput cory is Cay Cowsider Pe ful adder. BA shown, 3 f= M@Bi; ou = AB the ovat Carey amd swum is, sy2 ROC Ce heir hi, how bi > cory generate , Ro Coser propogite No, Co = ‘pat Cony C= Go +h Co C2 = Cy Cv auth (Gro C0) . = Gy * fibro ¥ Piolo Cy = Or a hCo = Car hbur PR Go ann Here, all ogc cwories oer genvatel ote 0 delay Brough. huels of gates Se [Rese — ra G—H a Se Tay hookAhead Chewetaor P, CONE 2 Lock Atitod bo Gommnlot |p S, Lap Half Subtvackor: A combinational circuit Rak porbcms bbodtin of a bibs 1s clad ablalt-subbradoe. We Rowe, 2 inputs % avd ig, anc a o«dpats p (difference) ama. Blborrrw) he dah toe is gun as’ Clensly, D= dy+ny! ond Be a | Half-subtractor implemen tartan »| * > % t a : {= 4 De ayy! B= ony a | | DeaBy , Be ay | | Fall= Sutbbractor | N combina Yonal cout Bat pederm Re re of bits is called a full- gubbmcloy .We Daut 3 inpubs iy ovd2 avd DOR oudtputs B (bovro) amd D(difference) the truck teh & gwen os. B ° \ \ 4 \ aDd= tye+ xyely elt We - Dea xyes cy2nge. ) Yer Ky EM SHYE / Betetieeuz Birny Mer Sinden. yhe sulbeachi on A-B Qn be done by taking os complement of Bard adding tte A. Bs complement is apnineh by adtg. 1S. Complemes am 1 ® Doak’ signifeastt paie ff bits. 4 Geet for AB con be implementa using adder wih insane placed inbetweon, each iit: of 8 coreaponding pat LU addee Snput ine be equal bI fr A8 SI radon 5, ic ofl J oive 1s complennent a Lint det eB * bo unsigned nimbva , a ervciait povida AB, if APB and Ss tomplenont of (6-4) + if AQB, + for signed. numbos vb give AB, povided ue 9 avord lous x Méition cud Subtraction com be combined nlp one cixeust \ Commnon bina alder, wat a mede input M fo toritra Ye ofoabon « y mm | He & a) hk BL v | A B | | ° ° oa (|e? o | 0 , 0 fh o | \ o 1 \o ° \ Vos \ \ ole 9 | él \ oO ilo ° \ \ 0 \ \ \ \ \ \ 0 ig The porralel adder amd parallel rubbra ctor Gwits are’, Ly oy AB . ff theo Be craat ote 08 adler, gt Me, Pe tireit ach a subhractor. ¥ gt Meo, wwe have pao-B. te FA veceye fe vibe of B, input ary sO, go dow AB operation. ~ Sf Me), wwe Yawe B@= pi amd Co=!, go, all 8 values axe complemo and. vis odded Rragh impat cary: &, it doe, A+ as complement fB opoation, gHee, Vis ual hock ove, © Oued ¥ hem anya with n dgts me added. and Re Summ 8 occupy Mey Mil digit, Lot Sty ovorlous has occencd . % Debection d overflow depends on oshetbey the numboa ve agned [unsigned * han a. wnvigerd wumbos, one added, am ovectfous i detected from onl corny oud myost sigufuant postion x For Signed rumors, 3 faftmost bie aloo ys ep esrb Be ag, 2 agave ruonbios 2 in 2s complement pm. 3 Sqn Wit is vested 08 port of $e vedere md and Cory does nat dict? om ouerbdoes. x teal, prclour on be dedected. by desowing — UO ito sign bit parton ak — oartg a of uige bE postion. x Se, Soe amsigned vanes C bit detects carey oie additien Md a ormur otter aubbrction . ¥0,for signed wumboa, Vlei debris wmdbaar, SV 20, wo Foveflaw, J vey overffoss occworrd . § coast wit cargnbit far bees shifhed out sep Adder: > Gonder Ra oe Peanetic addition of base deceral chs im BCD , togetRon wah, aniaput caceig from 0. (provioun tage. Since ek digit does nob exceed 9, ovtpit connct be geenter AtQHald. digits ume thik we add a BOD wuMnlieH, Wh —> Avs: th oo qbit adder. The adder. anne yeault vomging TOM ool, and wl in binary gor. ___ Birney Summ | DN k | Fe [| | | c) Ss [| Sa[8\ | eo} ole e | so) o]o °/° o o| ojojo \ ojofojo|\ \ eo} ojo|\ ie |e}o o!\jo 2 o} ©f/o; 1) % |olofols|t 3 of Ot} a, ® Jofolrjo\? 4 o a}/\) 0 \ Jolojije) S oj) of vj v1] e |e oj 1 t 7 b el o}yj) iit oloit uys * oo o| o| ° oi 1a 0° g Oo! ylelol| il |? tole! 4 eye vp ey vps |o je io Oo} yJofry ja oo jo \1 Ny S rfrjo] ® ij oo} 1 \o 2 1 1) 0 \ 13 ° iiolo lilt ryt} tf} of ajojijolo \4, o} ifst tt Hho} iio 1S YT; of e] 0 o yjofi fre 1% ry] ofe]o \ vfo;uyrll \t vf} ofef if oe fafrpejele e mt oa) one Vi plolo yd 49 = we oaourt Bak ; uthon, binary Sum, ix E (loot), Cocverpording BCD mucmbey ‘identical. > Wan viner sum 7(100!)y » we obtain (ww Bed repre NMdition of ody Shiny 63 aK sum ques correct BCD 9 By oasaning voles Proud trdh bb, be gt Cokt RA tah, on C21, (ots should be added ae: wm. huagerd wu kK et — Corry in + j sped Winneg adder ° 82 & & Sy > ure cary from bolboen adder Com owl a sine it pare inp, ahrdy anlable ot ou cic pone! % Bo ralph walter Jy, ho SMulbilier’ NoBy ne? tail uss AB. A\Be Cy Cy Cy Cc > Asser Ay % Bo Co abit v3.b1t +. fot bang wudtiplior fs vou eden Rak fe T vaulbiplien bis amd k vaubiplicwnd. bibs , we need | (aeie) AND gates ond (EK BE adders +p pooduce a product d Gk) bits. For erample, § 3-3 ank keg, ton we eel 9 1 AND gates , aa pur- bit adders, > + bk vault (preuct) Stor abi by bib wulbiplerpivadb, veler texthnk? . | Magribde Coatator | N ynappiside Compoaaboe ‘® 0. Combinational, Gxcust Bat: Comparer, boo mumbo, A amd B amd. ddberum ine Doie velitive —woguibudey,. ‘the oikome d te Comparison, os specie by 4 bina whiable, Bat ‘vdirater vhetfan AB AB or ACE atk teccuity for Combaeing tooo manner, dA . a Le 4 aD ech fy bit fas 22 onbrin in bath, Able. 0, we we algoritm to implements woguitude comba-catar os it becomes dihalt 4. irnploment died uth, e voluer udnich is voy dovee- Seesbity followed => lowider 2 awit wuynbees OS A= Ashe Arlo ond B=B,By ByBo - 3 thw, Cnader 2i= AcSi+ Alas ) ai producer 1, if both, fy, cord Bove Papo). 3 (h-8) will be %%2%1% 5 Nas, 40 debewmine if A7B or ALB, e inspect veldive wogrittuden jae d Sqnitcant digi , dating from made Srificu pation. a dye La pair axe tal, we Cavipeore next Lower Sgninaml paiv of diyts. > (78) is AsBy 44548, agi h ec RR 5 Ga) Rirah ane Mirth 3 Circuit tomplemerttation of anbit “grade comparabor, eo (0-8)

You might also like