Printer Disk. Modem. Computer. Mouse. Tape. Display. I/O Devices. Keyboard

Size: px
Start display at page:

Download "Printer Disk. Modem. Computer. Mouse. Tape. Display. I/O Devices. Keyboard"

Transcription

1 CS224 COMPUTER ARCHITECTURE & ORGANIZATION SPRING 204 LAYERED COMPUTER DESIGN. Introdution CS224 fouses on omputer design. It uses the top-down, lyered, pproh to design nd lso to improve omputers. A omputer is designed lyer y lyer, strting with the top oneptul lyer nd ending with the ottom lyer, the omplete design. A lyer is implemented y the lyer elow. There re mny possiilities to implement lyer. To deide, design gols re used : speed, ost, size, weight, power onsumption, reliility, expendility, flexiility nd omptiility. CS224 onentrtes on the speed (performne) gol nd desries how it n e used to mke deisions on the design of omputer nmed EMY. It will e onluded often tht the est (most relile) omputer speed mesure is the run (exeution) time. Applitions to Trnsistors Computer Sientist Algorithm designer Progrmmer Chip designer Applition Level Computtionl Method Level Algorithm Level High-level Lnguge Level Systems personnel & OS proesses, memory, I/O, file,... mngers Operting System Level Computer rhitet & Compiler, linker, loder HW/SW Interfe Computer designer Logi designer Arhiteture Level (Mhine Lnguge Level) Mirorhiteture Level (Orgniztion Level) (Register Trnsfer Level, RTL) Logi Level Trnsistor Level - Simulting plne, word proessing, ontrolling n elevtor,.. - Aeroplne surfe, winds, sheets, hrters, elevtor uttons,... - Astrt mhine - Astrt mhine - Astrt mhine - Astrt mhine - Astrt mhine - Add, sutrt, multiply, lod, store, jump, rnh, s omplement integers, FP numers, vetors,... - Registers, memory, ddressing, I/O, interrupts : Astrt mhine - Feth instrution, inrement PC, lulte effetive ddress, s omplement numers, memory ddresses,... - CPU (registers, uses, ALUs), memory, I/O : digitl systems - AND, OR, NOT, loked store on flip-flop,.. - Bits - Gtes (AND, OR, NOT) nd flip-flops : digitl iruits - Swith on nd off - Voltge levels - Swithes (trnsistors), resistors, pitors nd wires : eletroni iruits Softwre Hrdwre Computer rhiteture ourses over pplition, rhiteture, orgniztion, logi nd trnsistor lyers. But, four other lyers etween the pplition nd rhiteture lyers need to e studied s well for omprehensive design (see the figure ove). To sve time, CS224 will lso not onsider these four lyers muh. In the figure ove, who/ wht implements lyer is indited on the left side. Some lyers re shown with three text lines on the right side. The first text line indites typil opertions of the lyer, the seond text line indites typil opernds of the lyer nd the third text line indites typil omponents of the lyer. Finlly, it must e noted tht ultimtely omputer omputes y mens of its trnsistors turning (swithing) on nd off : The trnsistor lyer is the omplete design! NYU Shool of Engineering Pge of 24 Hndout No : 3 Jnury 27, 204

2 In Chpters 2, 3 nd Appendix A, the rhiteture lyer of the EMY omputer is introdued. The rhiteture is finlized when Input/Output nd interrupts re overed in Chpter 8. In hpters 3, 5, 8 (eight) nd Appendies B nd C the orgniztion nd logi levels of the EMY omputer re presented. Improvements to the orgniztion in the form of pipelining nd memory hierrhy re introdued in Chpters 6 nd 7, respetively. All nine lyers shown in the figure ove re summrized elow. However, efore we disuss the lyers, we will disuss omputer fundmentls, then populr omputer lssifitions nd then onlude tht the nine lyers ove give etter view of omputers... Computer Systems The fundmentls : A omputer proesses digitl informtion. In order to do tht it runs (exeutes) mhine lnguge progrm. As n exmple, when we uy softwre, suh s the Mirosoft Word, we uy the mhine lnguge progrm of the Word softwre. A mhine lnguge progrm mnipultes dt. A mhine lnguge progrm onsists of mhine lnguge instrutions. A mhine lnguge instrution is simple ommnd tht n e immeditely understood y the hrdwre. It ommnds the omputer to perform simple opertion suh s dd, sutrt, nd, shift left, et. Thus, it n e diretly run y the omputer (hrdwre). Mhine lnguge instrutions nd dt re in terms of s nd 0s nd re stored in the memory. It is not possile to distinguish whether prt of the memory hs n instrution or dt element y just looking t it. This is unique property of tody s omputers nd so re lled stored-progrm omputers. Dt nd progrms re input from input/output (I/O) devies into the omputer memory nd result dt re output to the I/O devies. Printer Disk Mouse Computer Modem Tpe Disply Keyord I/O Devies Computers re lssified with respet to their size, speed nd ost s superomputers, servers, desktop omputers nd emedded omputers. Superomputers re the fstest omputers, osting millions of dollrs nd very lrge. They re used for sientifi pplitions, suh s irplne design, wether foresting, moleulr simultions. Government genies nd lrge orportions n fford them. Servers re lrge omputers tht llow multiple users to run generl-purpose pplitions. Compnies nd universities re typil ustomers. CS224 will onentrte on server lss omputers. Desktop omputers re single-user mhines, intended to run smll numers pplitions rnging from emil to word proessing. Emedded omputers re very smll nd ontrol system they re emedded in. They typilly hve one pplition to run whih is the ontrol of the system they re in..2. Hrdwre vs. Softwre Another lssifition is hrdwre vs. softwre. Hrdwre is the olletion of physil omponents, suh s hips, wires, PCBs, onnetors, I/O devies, et. tht form omputer Softwre is the olletion of progrms on omputer. Softwre nd Hrdwre re equivlent in tht ny opertion performed y the hrdwre n e uilt into softwre nd ny opertion performed y softwre n e lso diretly relized y hrdwre. Therefore, we hve the hrdwre/softwre trde-off. This equivlene is under the ssumption tht there is si set of opertions implemented in hrdwre. Deisions on wht to inlude in hrdwre nd softwre re sed on the required speed, ost, reliility, frequeny of expeted hnges, et. NYU Shool of Engineering Pge 2 of 24 CS224 Hndout No : 3 Jnury 27, 204

3 There re two types of softwre tody : Applition nd systems. The mening of the two hnges omputer to omputer. Sine we onentrte on lrge omputers, servers, in CS224, we define pplition progrms s those run y ordinry users, suh s emil, word proessing, spredsheet, simultion progrms, et. Systems progrms re used to ontrol the hrdwre to mke the omputer esy to use, seure nd more effiient. Systems softwre inlude the operting systems, lnguge trnsltors (ompilers, ssemlers), linkers, loders, lirries. They re used y systems people who hve speil privileges (ess rights) to use the omputer. This distintion is enfored y tody s omputers in the form of hrdwre ontrol sttes : user nd system sttes. Applition progrms re run in the user stte nd if they try to run system softwre in this mode n interrupt (exeption) is generted The progrm is terminted. System progrms re run in the system stte. Even though softwre is in mhine lnguge, tody it is often developed y first writing in high-level lnguge or n pplition-oriented lnguge or in ssemly lnguge. High-level lnguges inlude C++, Jv, C, Fortrn, Cool, Python, PHP, et. Applition-oriented lnguges ontin onstruts nd keywords to develop progrm for speifi lss of pplitions, suh s simulting omputer network. Assemly lnguges re relted to the rhiteture of the proessor they re trgeted for. Tht is, for omputer with n Intel Pentium proessor, one would develop n ssemly lnguge progrm in the Intel ssemly lnguge. If the proessor is n IBM Power proessor, one would write n IBM Power ssemly lnguge progrm. Sine the omputer n run only mhine lnguge progrms, one needs to trnslte the ove progrms to mhine lnguge progrms. To trnslte from high-level lnguge progrm to the mhine lnguge progrm, ompilers re used : C++ ompiler, Jv ompiler, et. To trnslte from n ssemly lnguge progrm to the mhine lnguge progrm, ssemlers re used : Intel ssemler, IBM ssemler, et. To trnslte from n pplition-oriented lnguge progrm to the mhine lnguge progrm, typilly preproessing progrms re used to onvert to n intermedite form in high-level lnguge nd then they re ompiled to the mhine lnguge progrm. Among the three types of lnguges, pplition-oriented lnguges re the highest level, mening very esy to write nd ssemly lnguges re the lowest, mening hrdest to write. Although it is esier to develop pplition oriented lnguge progrms, their orresponding mhine ode my not e effiient sine preproessors nd ompilers my not e sophistited enough to generte n effiient mhine ode. On the other hnd, developing lrge ssemly lnguge progrm my not e prtil due to the omplexity of the lnguge. The ommon prtie tody is tht for emedded pplitions ssemly nd C progrms re developed sine emedded progrms re not lrge. For ll others high-level nd pplition-oriented lnguges re used. In order to speed up the ssemly lnguge progrm development, progrmmers use pseudoinstrutions. A pseudo instrution is not rel instrution. The CPU nnot exeute it. It often requires omplex rhiteturl opertion nd if it ws n tul instrution, it would e omplex (CISC) instrution. In other ses, pseudo instrution my require simple rhiteturl opertion nd would e one simple RISC instrution. Why one would hve it s pseudo instrution is then tht its syntx is more onvenient, i.e. esier to lern nd use, s in the se of MOVE nd CLEAR pseudoinstrutions sked in Homework I. Severl MIPS pseudo instrutions re given in the textook, suh s BLT (Brnh Less Thn) nd LI (Lod Immedite). Pseudoinstrutions used y the progrmmer re onverted to rel instrutions y the ssemler..3. Arhiteture vs. Orgniztion (Mirorhiteture) Another omputer lssifition is rhiteture vs. orgniztion (mirorhiteture). The rhiteture is the set of resoures visile to the mhine lnguge progrmmer : Registers, the memory, dt representtions, ddressing modes, instrutions formts, ontrol sttes, I/O ontrollers, interrupts, et. Although often the rhiteture is thought to e equivlent to the mhine lnguge set of omputer, it is more thn tht. Still, mjor portion of the rhiteture overge is devoted the mhine lnguge set. A relted issue in the pst ws whether the mhine lnguge set should e omplex (omplex instrution set omputer, CISC) or simple (redued instrution set omputer, RISC). The dete took ple in the 980s nd first hlf of the 990s. It ws resolved s the RISC the winner sine it llows more effiient pipelining, leds to simpler hrdwre nd esier inrese of the lok frequeny. The Intel nd Motorol mhine lnguge sets re CISC. The Sun is RISC. Why nd how the Intel CISC rhiteture hs kept its domi- NYU Shool of Engineering Pge 3 of 24 CS224 Hndout No : 3 Jnury 27, 204

4 nne will e ler lter in the semester. But, simply, this hs een possile y designing n Intel CPU tht onverts eh Intel CISC instrution to up to three RISC instrutions on the fly. Studying the rhiteture implies working on mhine lnguge progrms. But, this is not prtil when we design omputer sine mhine lnguge progrms hve s nd 0s. Therefore, in CS224, we will work on mnemoni mhine lnguge progrms. They re esier to write nd in one-to-one orrespondene with mhine lnguge progrms. Tht is, if one hs mnemoni mhine lnguge progrm, it is very strightforwrd to otin the orresponding mhine lnguge progrm. Note tht there is often no one-to-one orrespondene etween ssemly lnguge progrms nd mhine lnguge progrms. The orgniztion is the set of resoures tht relizes the rhiteture whih inlude the CPU, the memory nd I/O ontrollers. These re digitl systems with registers, uses, ALUs, sequeners, et. The CPU is responsile for running mhine lnguge progrms : It runs mhine lnguge instrutions. Running mhine lnguge instrution is performing simple opertion (ommnd) on dt. The memory keeps the progrms nd dt, leding to the storedprogrm onept of tody s omputers. I/O ontrollers interfe the I/O devies to the memory nd CPU. An I/O ontroller n ontrol one or more I/O devies. Often the numer of I/O devies onneted to n I/O ontroller depends on the speed of I/O devies. A high speed I/O devie n e ontrolled y single I/O ontroller while few slow speed I/O devies n e ontrolled y single I/O ontroller. The stored-progrm onept nd the generi view of omputer orgniztion with t lest three digitl systems (the CPU, memory nd I/O ontroller) re often ttriuted to mthemtiin John Von Neumnn. However, there is onsiderle dete on tht. CPU Memory I/O Controller I/O Controller I/O Controller Disk Disply Keyord A miroproessor ontins t the lest the CPU whih ws the se in the 970s nd erly 980s. Tody they inlude he memories, us interfes, memory mngement units. High-performne miroproessors from Intel, AMD, Sun, IBM hve these funtionl units. Some other hips in the mrket tody ontin memory nd even I/O ontrollers. These re used for emedded pplitions nd lled miroontrollers, not miroproessors. The reson why the memory nd I/O ontrollers re dded is tht emedded omputers re often required to oupy smll spe in the system they re housed in. To redue the hip ount, hene the physil spe, this pproh is needed. As the ove disussion indites looking t omputer from different points of view n e t lest distrtive, if not onfusing for eginners of omputer design : hrdwre vs. softwre, different progrmming lnguges, operting systems, ompilers, ssemlers, rhiteture vs. orgniztion, et. Tht is why the onept of omputer lyers is used to give omprehensive view of omputers t different omplexities or strtion. Astrtion llows reduing the numer of detils of lyer with simpler view. In the omputer lyers figure on the first pge, lyer is strted y the lyer just ove it. 2. Computer Lyers The Applition, Computtionl Method, High-Level Lnguge, Operting Systems nd Arhiteture lyers onstitute the softwre lyers. The Arhiteture, Mirorhiteture, Logi nd Trnsistor lyers onstitute the hrdwre lyers. Eh lyer, exept the Applition lyer, implements the lyer ove, following the onept of strtion Clerly, the Arhiteture is the hrdwre/softwre interfe. A omputer rhitet needs to hndle oth hrdwre nd softwre nd keep trk of dvnes in oth. NYU Shool of Engineering Pge 4 of 24 CS224 Hndout No : 3 Jnury 27, 204

5 2.. Applition Lyer : This lyer indites the set of pplitions intended for the omputer! Idelly, ll pplitions n e run on omputer. However, in prtie the omputer is designed to effiiently run suset of them. For exmple, omputer runs sientifi pplitions, different omputer runs usiness pplitions, et. Our EMY omputer will trget sientifi pplitions. Speifi pplitions mentioned in the textook re enhmrk suites Linpk, Livermore Loops, Whetstone, Dhrystone, SPEC CPU 2000, SPECWe nd EDN EEMBC (Emedded Miroproessor Benhmrk Consortium enhmrk of five lsses of pplitions) Computtionl Methods Lyer : This lyer is highly theoretil nd strt. The omputtionl method (i) determines hrteristis of items (dt nd other) nd work (opertions), ii) desries how opertions initite eh other during exeution, i.e. whih opertion is followed y whih or determining the order of performing opertions, nd (iii) impliitly determines the mount of prllelism mong the opertions. Three types of omputtionl methods re frequently overed in the disussion of this topi : ontrol flow, dt flow nd demnd driven. Tody s omputers use the ontrol flow omputtionl method where the order of opertions is speified y the order of instrutions in the progrm. The order implies the exeution order nd so next instrution to perform is the one tht follows the urrent instrution in the progrm. If one wnts to hnge the order of exeution, expliit ontrol instrutions (rnh, jump, et.) must e used, hene the nme ontrol flow. This expliit sequene of opertions osures prllelism. Thus, the ontrol-flow is inherently sequentil, hindering prllelism nd higher speeds. This is the reson why tody s superomputers re very expensive s they need omplex ompilers, operting systems, hrdwre nd highly trined prllel lgorithm designers nd progrmmers to extrt prllelism from sequentil progrms. In dt flow, n opertion strts its exeution when ll of its opernds re ville. Sine the opernd vilility determines the order of opertions, this method is lso lled dt driven. Mny opertions n hve their opernds redy t the sme nd so they n strt exeution t the sme. Thus, dt flow does not hinder prllelism. In ft, the prllelism is expliit to the fullest extend. In demnd driven, n opertion strts when its result is demnded. Mny opertion results n e demnded t the sme nd so they n ll strt exeution in prllel. Demnd driven omputtion lso hs prllelism expliit. Overll, dt-flow nd demnd driven methods re inherently prllel. However, to implement them in full sle tody is not effiient given the urrent tehnology Algorithm Lyer : The lgorithm for n pplition speifies mjor steps to generte the output. The lgorithm follows the omputtionl method hosen. An lgorithm is strt nd short. It is independent of high-level lnguges. Tody, for single-proessor (uniproessor) omputer suh s the EMY proessor, we write sequentil lgorithm in the ontrolflow method. However, if we hve omputer with multiple proessors (ores), we write prllel lgorithm ut still use the ontrol flow method. Applition : Dot Produt dot = A * B ==> n dot = A[i] B[i] i= A, B re vetors with n elements Algorithm : dot = 0 for ( <= i <= n) do dot = dot + (A[i] * B[i]) Sequentil lgorithm Cn you prllelize it? Applition : SAXPY/DAXPY, step in Gussin elimintion to solve liner equtions NYU Shool of Engineering Pge 5 of 24 CS224 Hndout No : 3 Jnury 27, 204

6 Y = * X + Y ==> Y[i] = X[i] + Y[i] X, Y re vetors with n elements & is slr Algorithm : for ( <= i <= n) do Y[i] = * X[i] + Y[i] Sequentil lgorithm Cn you prllelize it? Applition : Mtrix Multiply A = B * C ==> n A[i,j] = B[i,k] C[k,j] k= A m x p Algorithm : for ( <= i <= m) do for ( <= j <= p) do A[i,j] = 0 for ( <= k <= n) do A[i,j] = A[i,j] + B[i,k] * C[k,j] A is n m x p mtrix B is n m x n mtrix C is n n x p mtrix i j = i B m x n * C j n x p A[i,j] is the dot produt of row i of B nd olumn j of C Sequentil lgorithm Cn you prllelize it? 2.4. High-Level Lnguge Lyer : The lgorithm developed for n pplition is oded in high-level lnguge, suh s Fortrn, C, C++, Jv, et. Fortrn is still the hoie of sientifi omputing, while C is gining ground. Note tht for n lgorithm there re different progrms possile s eh n e in different high-level lnguge Operting Systems Lyer : This lyer interfes with hrdwre. Tht is, it hides hrdwre detils from the progrmmer nd provides, seurity, stility nd firness in the omputing system. Thus, this lyer dds more ode to run on the ehlf of the pplition. The lyer lso hndles interrupts nd input/output opertions Arhiteture Lyer : The rhiteture lyer is the hrdwre/softwre interfe. Its elements inlude the mhine lnguge instrution set, register sets, the memory nd Input/Output strutures mong others. CS224 disusses this level onsiderly, strting with the seond week of the semester, nd so its desription here is kept short. Nevertheless, elow we give rief disussion of dilemm tht omputer rhitets hd in the 980s nd erly 990s. The disussion is given due to its historil signifine : The dilemm : on the one side, omputer rhitet would like to inlude omplex instrutions (floting-point division, string serh, et.) in the instrution set to perform omplex opertions diretly. The opposite deision is not to inlude omplex instrutions : only simple instrutions. A missing omplex opertion is implemented y piee of ode. Oviously, running ode tkes longer time thn running single omplex instrution, so the simpler mhine would e slower thn the omplex mhine. But, omplex rhiteture results in omplex hrdwre with higher osts, longer development times nd diffiult upgrding. A simple rhiteture leds to simpler hrdwre. But, we NYU Shool of Engineering Pge 6 of 24 CS224 Hndout No : 3 Jnury 27, 204

7 need to use sophistited ompiler to generte n effiient ode sine n pplition with omplex opertions hs to e implemented y piees of ode. One n see tht the simpler omputer is slow omputer when those pplitions re run. We must note tht oth deisions re ttrtive : fst mhine or heper mhine. The fundmentl question is this : Are those omplex opertions needed often? In other words, re those funtions exeuted often? If often, omplex rhiteture is justified : we must mke the ommon se fst. The division : There hve een two mps in omputer hrdwre tht promote two different omputer rhiteture philosophies : A Complex Instrution Set Computer, CISC nd Redued (simple) Instrution Set Computer, RISC. Exmples of highly CISC miroproessors re the Intel x86 nd Motorol 680X0. Exmples of highly RISC miroproessors re MIPS nd Sun UltrSPARC. The ompromise hs een tried in the form of hyrid miroproessors. Highly RISC miroproessors re dded CISC fetures when upgrded. Similrly, highly CISC miroproessors re dded RISC fetures when upgrded. An exmple of hyrid miroproessor is the IBM PowerPC miroproessor, whih is nevertheless mrketed s RISC miroproessor. Currently, the RISC ide is the fvorite sine it llows effiient pipelining. Even, the Intel x86 rhiteture relies on RISC exeution : Eh x86 CISC instrution is onverted to up to three RISC opertions in the ID yle nd these three RISC opertions re exeuted in the rest of the CPU hrdwre s if they re in the instrution set. To summrize : ) There is lwys speed/ost trde-off where the higher the speed, the higher the ost. ) The design of omputer (designing its rhiteture, orgniztion, logi nd hip levels) is sed on the trgeted pplition set. Tht is, we hoose the pplition set for our omputer, then design the hrdwre. ) Mking the ommon se fst is n ttrtive design rule. It is mentioned s one of the eight gret ides in omputer rhiteture on pge of the textook. See lso pges 59, 60, 6, 62 nd 63 of the textook. When textook prolems re nlyzed, one n see how omputer rhitets would idelly design the rhiteture of omputer : A numer of rel, ommonly used progrms re run nd lrge set of sttistis is otined, suh s how often eh instrution is exeuted, whih registers re used, et. From the sttistis, we deide out whih instrutions we hve to inlude in the instrution set, how mny registers in the register set, types of ddressing modes, types of dt representtions, et. so tht we mke the ommon se fst! We lso determine how time onsuming it would e if some opertions were not implemented y instrutions (y hrdwre), ut y softwre (y funtions). Clerly, the design fouses on pplition-rhiteture intertions suh tht the rhiteture is tuned to the pplitions. For exmple, our EMY omputer is tuned to sientifi pplitions! Conentrting on one lyer t time (suh s the rhiteture lyer) is ttrtive from omputer rhiteture edution point of view. This pproh is not ttrtive prtilly. Beuse the resulting omputer n violte one or more of the design gols (speed, ost, size, power onsumption,...). For exmple, the omputer n e too expensive or too lrge. Thus, in prtie omputer designers work on severl levels simultneously, even though they proeed top-down. When n rhiteturl deision is mde, its implitions on lower levels re exmined. If it is onluded tht prtiulr rhiteturl deision n violte gol, it is ndoned. For exmple, if it is deided to llow word oundry rossings, on the rhiteture level, we hek its implitions on the orgniztion level. We might relize tht the orresponding hrdwre is unneessrily too expensive, so we reverse the deision out word oundry rossings Mirorhiteture Lyer : This lyer onsists of digitl systems. A omputer whih is digitl system onsists of t lest three smller digitl systems : the proessor (CPU), the memory nd Input/Output ontroller. A digitl system onsists of registers, uses, ALUs, sequeners, et. Other nmes used for this lyer re orgniztion nd register trnsfer level (RTL). The mirorhiteture lyer is lso disussed in depth in CS224, strting with the fourth week of the semester. Hndouts will e distriuted during the semester to ensure students understnd fundmentl mirorhiteture onepts. NYU Shool of Engineering Pge 7 of 24 CS224 Hndout No : 3 Jnury 27, 204

8 2.8. Logi Lyer : This lyer onsists of digitl iruits. Digitl iruits form digitl systems of the mirorhiteture level. Digitl iruits use two types of omponents : gtes nd flip-flops. A gte outputs or 0, depending on its urrent input vlues, i.e. the output now is funtion of the inputs now. Most ommon gtes used re AND, OR, NOT, NAND nd NOR gtes. A flip-flip stores single it. To store the it ( or 0), lok signl is used. The rising or flling edge of the lok stores the it. Most ommon flip-flops used re D nd JK flip-flops. A flip-flop is implemented y using few gtes. Then, we n stte tht ll digitl iruits onsist of gtes! Note tht flip-flop is not memory. The memory hip design is different from the flip-flop design. There re two types of digitl iruits. A omintionl iruit ontins gtes. A omintionl iruit hnges its output right fter n input is hnged : the output now is funtion of the inputs now. Comintionl iruits nnot store informtion. Exmples of omintionl iruits re dders, multipliers, omprtors, et. Sequentil iruits ontin gtes nd flip-flops. They store pst inputs : the output now is funtion of inputs now nd pst inputs. Exmples of sequentil iruits re ounters, registers, shift registers, sequeners. The Logi lyer will e disussed less thn the rhiteture nd mirorhiteture lyers in CS224. It will e the min topi of interest when we over hrdwiring, miroprogrmming nd high-speed rithmeti iruits. Below, we give rief introdution to digitl logi Introdution to Digitl Logi In this setion, we present forml digitl iruit fundmentls needed to implement suh strutures s registers, uses, ALUs nd sequeners. Digitl iruits onsist of gtes nd flip-flops. There re two types of digitl iruits : Comintionl iruits nd sequentil iruits. Comintionl iruits use only gtes while sequentil iruits use oth gtes nd flip-flops. Most rel life iruits re sequentil iruits. Comintionl iruits re more speifi purpose. The input-output reltionship of digitl iruit is importnt when it is studied. The input-output reltionship trets the digitl iruit s lk ox with inputs nd outputs. It reltes the output to the inputs : every output is desried s funtion of the inputs. A funtion is mthemtil entity tht preisely desries how n output is determined y its inputs. For exmple, in the figure elow, the digitl iruit shown s lk ox hs three inputs nd two outputs (two digitl funtions) : Digitl Ciruit y = f (,, ) z = f 2 (,, ) Funtions f nd f 2 preisely indite when outputs y nd z re nd when they re 0. Tht is, f speifies the inputoutput reltionship of y to inputs, nd nd f 2 speifies the input-output reltionship of z to inputs, nd. A funtion for simple omintionl iruit is represented y expressions, minterm lists, truth tles, et. For omplex omintionl iruits, we do not use funtions, ut opertion tles. A funtion for simple sequentil iruit is represented y expressions, stte tles nd stte digrms. For omplex sequentil iruits we do not use funtions, ut opertion digrms. Due to historil resons, digitl iruits re lled swithing iruits, digitl iruit funtions re lled swithing funtions nd the lger to design omintionl iruits is lled Swithing Alger. Below, we first disuss omintionl iruits nd then sequentil iruits Comintionl Ciruits A omintionl iruit hnges its output when its inputs re hnged. This is euse it uses gtes whih hnge their outputs when their inputs re hnged. The time it tkes for the gte output to hnge is severl hundred pio seonds tody. Therefore, omintionl iruit will hnge its output in time durtion in terms of nno seonds. There is no time dimension in omintionl iruits, sine they hnge their outputs if inputs re hnged. NYU Shool of Engineering Pge 8 of 24 CS224 Hndout No : 3 Jnury 27, 204

9 A numer of omintionl iruits re frequently used in digitl systems : Multiplexers, deoders, enoders, demultiplexers, dders, omprtors nd prity hekers. Their design hs een studied extensively in literture. Students n tke look t ooks on digitl logi to understnd their opertion. Typil omintionl design follows the rule of thum tht if it hs 4 inputs or less it is immeditely designed y using Swithing Alger. Otherwise, the iruit is prtitioned into smller nd smller loks until they hve 4 inputs or less or until they re populr digitl iruits nd there re ville designs for them Swithing Alger George Boole, in 854, introdued systemti tretment of logi nd developed for this purpose n lgeri system now lled Boolen Alger. This lgeri system, (S ; + ;. ; - ; 0 ; ), onsists of set S of elements, inry opertions + (lled plus ) nd. (lled dot ) nd unry opertion - (lled omplement ) nd t lest two elements 0 nd in the set S. E. V. Huntington in 904 defined mny-vlued Boolen Alger with the following postultes (xioms) : PI) There exists set S of elements whih stisfies the priniple of sustitution under the equivlene reltion = tht if k = m, then m my e sustituted for k in ny expression ontining k, without ffeting the vlidity of the expression. PII) ) The set S is losed with respet to the + opertion : PII) ) The set S is losed with respet to the. opertion : if k, m ΠS, then (k + m) if k, m ΠS, then (k + m) PIII) k + 0 = k 0 is the identity element with respet to + PIII) k. = k is the identity element with respet to. ΠS ΠS PIV) k + m = m + k PIV) k. m = m. k + is ommuttive. is ommuttive PV) k + (m. p) = (k + m). (k + p) + is distriutive over. PV) k. (m + p) = (k. m) + (k. p). is distriutive over + PVI) For every element k of set S, there exists n element k (omplement of k) of set S, suh tht k + (k) = PVI) For every element k of set S, there exists n element k (omplement of k) of set S, suh tht k. (k) = 0 Aove, we do not mention the numer of elements in S nd how the opertors mnipulte the elements of S. In ft, one n formulte mny Boolen Algers depending on the numer of elements in S nd opertor definitions. Among ll Boolen Algers, the two-vlued (two-element) Boolen Alger lso known s Swithing Alger is the most widely known nd studied. Swithing Alger ws developed y C. Shnnon in 938. Swithing Alger is defined y Algeri system (0 ; ; + ;. ; -) nd The six postultes ove under the ondition tht The following opertor rules on (0 ; ) pply, i.e. opertor definitions : k m k.m Definition of the AND opertor k m k+m Definition of the OR opertor k k 0 0 Definition of the Complement (NOT, Invert) opertor Tody, eh opertor ove is diretly implemented y eletroni iruits. Tht is, digitl eletroni iruit with trnsistors, pitors, resistors nd other eletroni omponents is designed to perform the speifi logi opertion. Eh suh digitl eletroni iruit for n opertor is lled gte. The figure elow shows the shemti symols of gtes for the three opertors ove. NYU Shool of Engineering Pge 9 of 24 CS224 Hndout No : 3 Jnury 27, 204

10 m Preedene rules : In order to redue the numer of prentheses, we hve the following set of preedene rules tht indites whih suk 2-input AND Gte k. m m k 2-input OR Gte k + m k k NOT Gte AND nd OR gtes n hve ny numer of inputs, s long s there re t lest two inputs. However, NOT gte lwys hs single input. 3-input AND Gte m p k k. m. p 3-input OR Gte m p k k + m + p There re other opertors, suh s NAND, NOR, EXOR nd EXNOR, tht re implemented y gtes. Tody, on hip eletroni iruits with trnsistors implement severl gtes to hundreds of millions of gtes. There re hips, suh s miroproessor hips, with illions of trnsistors. Chip densities hve inresed t the rte of Moore s Lw sine 960s : The numer of trnsistors on hip doules every two yers. Sine 938, theorems hve een developed in Swithing Alger. These theorems follow nd stisfy the postultes nd opertor definitions given ove : TI) Idempoteny : ) k + k = k ) k. k = k TII) Null elements ) k + = ) k. 0 = 0 TIII) Asorption : ) k + (k. m) = k ) k. (k + m) = k TIV) Involution : ((k)) = k TV) Assoitivity : ) k + (m + p) = (k + m) + p = k + m + p ) k. (m. p) = (k. m). p = k. m. p TVI) ) k + ((k).m) = k + m ) k. ((k) + m) = k. m TVII) DeMorgn s theorems : ) (k + m) = k. m ) (k. m) = k + m TVIII) Consensus theorem : ) (k. m) + ((k). p) + (m. p) = (k. m) + ((k). p) ) (k + m). ((k) + p). (m + p) = (k + m). ((k) + p) The dulity priniple : A postulte or theorem n e otined from nother postulte or theorem y interhnging the inry opertors + nd. nd the identity elements 0 nd. The AND opertor symol : In order to redue the numer of symols in expressions, we will not show the. symol etween vriles. We will imply there is n AND opertion etween them :.. = NYU Shool of Engineering Pge 0 of 24 CS224 Hndout No : 3 Jnury 27, 204

11 expression or opertor to evlute next : Evlute the expression inside pir of prentheses Evlute NOT Evlute AND Evlute OR Exmple : ().(((.()) + (.)) + ((.).( + ())) = ( + ) + ( + ) The truth tle for omintionl iruit shows the output vlue for every input omintion. For exmple, for the 4-input imginry iruit elow, the following truth tle reltes the output to the inputs. The truth tle desries the funtion, the input/output reltionship : Truth Tle : A B C D f(a, B, C, D) A B C D Digitl Ciruit f(a,b,c,d) Trditionlly, the OR opertion is lled sum nd the AND opertion is lled produt sine the OR performs similr to the sum opertion nd the AND performs similr to multiply opertion. One n develop n expression tht fouses on the s of the output suh tht it would hve s mny terms s there re s on the output. Eh term is n input omintion tht genertes for the output. Suh n expression would hve produt terms summed nd is lled the nonil SOP expression. Eh produt term is nonil produt term nd hs ll the inputs of the funtions. For exmple, on the ove truth tle, there re seven s, therefore the nonil SOP expression would hve seven nonil produt terms. The nonil SOP expression of the ove truth tle is the following : f(a, B, C, D) = A B C D + A B C D + A B C D + A B C D + A B C D + A B C D + A B C D The expression implements the funtion euse when nonil produt genertes, the whole expression eomes : OR ny term is. All we hve to do is to show tht eh nonil produt term orresponds to n input omintion. Here, we show the orrespondene etween the first nonil produt term nd the top input omintion tht genertes on the truth tle. The first term whih is A B C D genertes, if A, B, C nd D re ll s. In order for this to hppen, A, B nd C must zero nd D must e so tht 0 AND 0 AND 0 AND is AND AND AND whih is. We see tht if n input is omplemented, we need to hve the input s 0, otherwise to determine the input omintion. Then, the input omintion tht orrespondents to A B C D is sine it is 000 on the truth tle. The other nonil produt terms re for the remining six input omintions 3, 5, 7, 9, 3 nd 5 : A B C D A B C D A B C D A B C D 0 7 A B C D A B C D 0 3 A B C D 5 Another funtion representtion is the minterm list tht ontins the minterms of the funtion. A minterm is n input omintion tht genertes for the output. Sine nonil produt term lso hs the sme property, we n stte NYU Shool of Engineering Pge of 24 CS224 Hndout No : 3 Jnury 27, 204

12 tht minterm is nonil produt term. The minterm list is diretly otined from the truth tle. For the ove iruit, the minterm list is s follows : The minterm list : f(a, B, C, D) = m(,3,5,7,9,3,5) If we hve nonil expression or ny expression for funtion, we n use Swithing Alger to simplify it. One n lso Krnugh mps to otin miniml expressions. Below, we give the simplifition of omplex expression tht desries funtion : f(a, B, C, D) = D(AB + C) + ABCD + A B D A nonminiml expression for funtion f = ABD + CD + AD(B + BC) k(m + s) = km + ks = ABD + CD + AD(B + C) k + km = k + m = ABD + CD + A B D + ACD k(m + s) = km + ks = ABD + A B D + D(C + CA) k(m + s) = km + ks = ABD + A B D + CD + AD k + km = k + m & k(m + s) = km + ks = ABD + CD + AD( + B) k(m + s) = km + ks = ABD + CD + AD k + = & k = k = CD + D(A + AB) k(m + s) = km + ks = CD + AD + BD k + km = k + m & k(m + s) = km + ks expressions for funtion f Miniml SOP expression One we hve the miniml SOP expression, we drw the omintionl iruit (the gte network) s the lst step. The resulting gte network is wht we ll the 2-level AND-OR gte network. Below, we show the miniml 2-level AND-OR gte network for the ove funtion : 2-level miniml AND-OR gte network D D D C A B f(a, B, C, D) =AD + BD + CD Note tht the ove iruit hs three levels : level of inverters, level of AND gtes nd level of the OR gte. However,, these gte networks re still lled 2-level AND-OR gte networks nd we will keep tht nme. The reson why we try to otin SOP expressions is tht they re implemented y 2 (3)-level gte networks tht re the fstest possile we n hve s explined elow. Note tht -level gte network hs only one gte whih nnot e useful for rel-life pplitions. In summry, funtion, n input/output reltionship, for omintionl iruit n e expressed in different formts, tht inlude the truth tle, the minterm list, the miniml sum-of-produts (SOP) expression, the nonil SOP expression nd the Krnugh mp. Among these representtions, the miniml SOP expression nd the miniml POS expressions re the designs of the iruits. This is euse, they diretly desrie iruits (gte networks) nd s the word miniml implies, the iruits re miniml. Why SOP nd POS expressions re worked on is tht they led to 2 (3)-level gte networks tht re the fstest omintionl iruits. Often the SOP expression is preferred when iruits re designed sine it looks like n ordinry lger expression. For the ske of revity, we will not disuss POS expressions here. Students re referred to ooks on digitl logi Krnugh Mp Simplifitions Cnonil SOP nd nonil POS expressions re lmost ll the time not miniml. We need to otin miniml NYU Shool of Engineering Pge 2 of 24 CS224 Hndout No : 3 Jnury 27, 204

13 expressions from them. One n use Swithing Alger t the expense of slow nd error prone simplifition proess or the Krnugh mp tehnique. To use the Krnugh mp tehnique (to otin the miniml SOP expression) we strt with the minterm list. One n use the Krnugh mp tehnique to otin miniml POS expressions s well. In this one strts with the mxterm list. We will not disuss POS expression simplifitions vi Krnugh mps. There is stndrd K mp for ertin numer of inputs. In this setion, we will hve K mps for four-input ses. The K-mp method strts with pling the minterms on the mp. Then, one omines logill/vertilly djent 2 k minterms nd ontins produt term. If there re n inputs nd k minterms re omined, the produt term must hve (n - k) vriles. This n e used to verify tht the omintion is legl. Note tht minterms long the edges re djent. One hs to over ll the minterms of the funtion to get the miniml SOP expression. Therefore, the gol is to over the minterms y using minimum numer of lrgest omintions. The miniml SOP expression for the ove funtions is s otined elow : A 3 C D f(a, B, C, D) = AD + BD + CD B The orresponding 2-level AND-OR gte is s follows : d d d f(,,, d) 2-level miniml AND-OR gte network Another exmple to otin the miniml SOP expression of funtion y using the Krnugh-mp method : 2 f(,,,d) = m Either iruit is miniml. We hoose the one with omintions, 2 nd 3 : d 3 3 f(,,, d) = d + d + or 2 d 3 The funtion hs two miniml SOP expressions NYU Shool of Engineering Pge 3 of 24 CS224 Hndout No : 3 Jnury 27, 204

14 d f(,,, d) d 2-level miniml AND-OR network Comintionl Ciruit Speed Gtes in omintionl iruits output vlues sed on the inputs. If n input is hnged, the output hnges fter short dely whih is lled propgtion (gte) dely, t p. This dely is funtion of eletil properties of the gte, inluding the proess of the gte. We desrie the proess in the Trnsistor Lyer setion. Tody, this dely is few nnoseonds or less. Note tht when we mention the speed of gte, we men its gte dely : the shorter the dely, the fster the gte is. y The gte dely from the input to the output : t p y t p The gte dely is one of the three ftors tht determine the speed of omintion iruit. The other two ftors re the longest pth from n input to the output, i.e. the numer of gte levels nd wire delys etwen the gtes. 2-level gte networks hve the shortest pth from n input to the output nd so they re the fstest iruits. Wire delys lso ontriute to the speed sine it tkes some time for signls to trvel from one gte to nother. Although, 2-level gte networks re stisftory for high speed, they result in expensive iruits Exmples of Comintionl Ciruit Design Below, we give exmples of designing simple omintionl iruits, lgeri simplifitions nd Krnugh mp simplifition so tht students understnd the purpose of the postultes nd theorems. A (-it) 2-to- Multiplexer A -it 2-to- Multiplexer (MUX) is seletor whih selets one of the two inputs sed on selet signl. As seen elow, it hs three inputs nd one output. Two inputs ( nd ) re dt inputs one of whih is output. The third input () is the ontrol input, the selet input. The single output is lwys equl to either or t ny time. The MUX is -it MUX sine when n input is seleted, there is only one dt line seleted. As the gte network shows, the MUX hs three gte delys. One n develop 2-it 2-to- MUXes, 4-it 2-to- MUXes, et, y using numer of -it 2-to- MUXes s desried in the next setion. Note lso tht there re k-it 4-to- MUXes, k-it 8-to- MUXes, et. NYU Shool of Engineering Pge 4 of 24 CS224 Hndout No : 3 Jnury 27, 204

15 -it 2-to- MUX If = 0 then y = = then y = y(,, ) y(,, ) y(,, ) = m(2,3, 5, 7) y(,, ) = ( + ) + ( + ) = + k + k = = + k = k k(m+p) = km + kp y A 4-it 2-to- Multiplexer A 4-it 2-to- MUX hs two sets of dt inputs. Eh set of dt inputs hs four its. Thus, the MUX hs four outputs rrying the vlues of the four input lines seleted. The MUX hs 9 inputs nd 4 outputs. The single input is nd the 4-it inputs re K nd M. The 4-it otput is Y. It outputs K if is 0 nd outputs M if is. The lk ox view nd implementtion of the 4-it 2-to- MUX is given elow. K M 4 (K3,K2,K,K0) 4 (M3,M2,M,M0) 4-it 2-to- MUX 4 Y (Y3,Y2,Y,Y0) Sine there re 9 inputs, we need to prtition it into simpler piees! We hve to otin the opertion tle of the 4-it 2-to- MUX : Opertion 0 Y = K Y = M The mjor opertions re not ler on this opertion tle. We need to get different, more detiled opertion tle : Opertion 0 Y3 = K3 ; Y2 = K2 ; Y = K ; Y0 = K0 Y3 = M3 ; Y2 = M2 ; Y = M ; Y0 = M0 If = 0 then Y = K else if = then Y = M There re four identil mjor opertions : -it 2-to- MUXing! We prtition the 4-it 2-to- MUX into four loks. Eh lok is -it 2-to- MUX whih we hve designed y using Swithing Alger : It hs three inputs nd one output : K3 M3 K2 M2 K M K0 M0 -it 2-to- MUX -it 2-to- MUX -it 2-to- MUX -it 2-to- MUX Y3 Y2 Y Y0 The 4-it 2-to- MUX is then s follows : NYU Shool of Engineering Pge 5 of 24 CS224 Hndout No : 3 Jnury 27, 204

16 K3 M3 K2 M2 Y3 Y2 K M K0 M0 Y Y0 A -it Adder, Full Adder A -it dder, Full ADDer (FA) dds two -it numers plus rry input. Therefore, it dds three its. It hs 3 inputs nd 2 outputs s shown elow. F A out (,, ) sum(,, ) out We otin the truth tle from whih we otin the nonil SOP expressions : The -it ADDer : + sum out (,, ) sum(,, ) out (,,) = m(3, 5, 6, 7) sum(,,) = m(, 2, 4, 7) The nonil sum(,, ) expression is lso the miniml expression. It nnot e simplified : sum(,, ) out (,,, d) = = = ( + ) + + k(m+p) = km +kp = + + k+k = & k = k = ( + ) + k(m+p) = km +kp = ( + ) + k + km = k + m = + + k(m+p) = km +kp = ( + ) + k(m+p) = km +kp = ( + ) + k + km = k + m = + + k(m+p) = km +kp The 2-level AND-OR gte networks re s follows : NYU Shool of Engineering Pge 6 of 24 CS224 Hndout No : 3 Jnury 27, 204

17 3 gte delys sum(,, ) = gte delys out (,, ) = + + Therefore, Full Adder tkes 3 gte delys to generte the sum output (sum(,, )) nd two gte delys to generte the rry out ( out (,, )). A 32-it Ripple-Crry Adder An importnt omponent of digitl system is the ALU whih hs n dder, multiplier, AND, OR nd other funtionl units. The dder is the most ritil one sine its speed prtly determines the lok frequeny of the digitl system. CPUs hve typilly 32-it dder whih hs to omplete its opertion in one or few lok periods. Thus, high-speed dder hs to e designed. out + K M R K, M nd R 32-it 2 s Complement Binry numers in out K it Adder M in + out 32 K3 K30 K29 K28... K2 K K0 M3 M30 M29 M28... M2 M M0 R3 R30 R29 R28... R2 R R0 in 0 R A 32-it dder dds two 32-it numers plus rry input. It hs 65 inputs nd 33 outputs. Our strting point to design high-speed dder is 32-it Ripple-Crry Adder whih is the slowest tht n e designed. The Ripple- Crry Adder hs 32 -it dders, known s Full Adders : K3 M3 K30 M30 K29 M29 K2 M2 K M K0 M0 out 32 FA 3 FA FA... FA FA FA in 0 R3 R30 R29 R2 R R0 Eh one of our 32 Full Adders hve the ove two gte networks. By using these two gte delys, we n otin the worst se ddition time for our 32-it Ripple-Crry Adder : NYU Shool of Engineering Pge 7 of 24 CS224 Hndout No : 3 Jnury 27, 204

18 K3 M3 K30 M30 K29 M29 K2 M2 K M K0 M0 64 out 3 FA 62 3 FA FA... FA FA FA in 0 R3 65 R30 63 R29 6 R2 7 R 5 R0 3 Our 32-it Ripple-Crry Adder tkes 65 gte delys to lulte the sum. If gte dely is ns, the ddition time is 65ns. This is very long for tody s stndrds. We need to improve the timing. We will do tht y designing 32-it Crry-Lookhed Adder in lss. A 2-to-4 Deoder The most ommon deoder is the inry deoder whih hs k dt inputs nd 2 k outputs. If thedeoder is 2-to-4 deoder, then k is 2 nd so there re 2 2 = 4 outputs. The k inputs represent n unsigned inry numer. The outputs deode the unsigned numer represented y the k inputs.for exmple if the inputs represent (3) 0, Output line 3 is nd the other outputs lines re 0. Below the development of the 2-to-4 deoder is shown. I0 I 2-to-4 Deoder Inputs (I, I0) represent n unsigned inry numer Y0 Y Y2 Y3 I I0 Y3 Y2 Y Y Y0 = I I0 Y = I I0 Y2 = I I0 Y3 = I I0 I0 I I0 I I I I I I0 I0 I0 I0 Y0 Y Y2 Y3 The deoder outputs require t most two gte levels to generte the outputs. Therefore, the deoder is fst. Note tht there re 3-to-8, 4-to-6, et. deoders whose opertion nd implementtion follow similrly. We will use 4-to-6 deoder when we implement hrdwiring lter in the semester. Tody s memory hips (DRAM, SRAM, ROM, et.) hve lrge inry deoders. For k-input deoder, there re 2 k AND gtes. Eh input is onneted to hlf the numer of AND gtes. For smll size deoders, this is not mjor prolem. But, for lrge deoders, it is prolem whih is lled fn-out. The fn-out of line is numer whih indites how mny inputs n e onneted to it. If the numer is exeeded, eletrilly, there re prolems nd so the iruit my not work. It is euse of this reson tht the deoders of memory hips hve their gte networks with more thn two levels to redue the fn-out requirement. However, with more levels, the deoder is slower, therefore, the memory hip is slower Sequentil Ciruits A sequentil iruit onsists of flip-flops nd gtes. It hs flip-flops to store its, mening pst inputs. Therefore, sequentil iruit output depends on the present inputs nd lso pst inputs. This mens sequentil iruits hve the time dimension. A flip-flop opertes different from gte suh tht it stores it, if it reeives n edge on the lok signl. The edge is either high-to-low trnsition of the signl (negtive edge) or the low-to-high trnsition of the signl (positive edge). A flip uses only one type of these two edges. For exmple, if flip-flop stores when it reeives negtive edge, then we sy it is negtive-edge triggered. There re severl types of flip-flops. One tht is used to implement registers is the Dt (D) flip-flop. Another frequently used flip-flop is the J-K flipflop used to implement ounters. A D flip-flop hs single dt input whih is NYU Shool of Engineering Pge 8 of 24 CS224 Hndout No : 3 Jnury 27, 204

19 stored when the lok edge is reeived. A J-K flip-flop hs two inputs nd is stored it when lok edge is reeived. The timing of the edge is ontrolled y Store ontrol signl generted y the ontrol unit. A flip-flop tody hs two outputs : One unomplemented, Q, nd the other one omplemented, Q D Flip-Flops The flip-flop hs two outputs : Q, nd Q s shown elow. The CE or lok enle input enles/disles the lok input, the C input. Tht is, if CE is 0, the lok input nnot e used. The lok or C input indites when to store on the flip-flop. The tringle symol next to the lok input indites it is n edge triggered lok input. The high-tolow trnsition symol indites the flip-flop is stored when there is negtive edge. Wht is stored on the flip-flop depends on the dt input, D. Aording to the opertion tle elow, when CE is nd there is negtive edge on the lok input nd the D input is 0, we store 0 fter the negtive edge, typilly, few nno seonds fter the negtive edge. If the D input is t the edge, we store fter the edge. Finlly, the lst two rows, indite when the D input is ignored. Tht is, when the flip-flop is not stored. When CE is 0 or when there is no negtive edge, the D input is ignored. This is lso known s Don t Cre nd is shown y n X symol. D CE C Q Q D CE C Opertion 0 Store 0 fter the negtive edge Store fter the negtive edge X 0 X Not Stored X 0 Not Stored Registers A register is sequentil iruit used to store dt temporrily. It is stored dt y pplying lok edge t the end of the lok period it needs to e stored. Note the register whih is stored vlue in prtiulr lok period tully gets the vlue in the eginning of the following lok period. The exmple elow shows n imginry 32-it register nmed A whih is stored vlue when its Store A signl is in lok periods 2 nd 5. The D flip-flops of the register reeive the edge t the end of lok periods 2 nd 5. OBUS D Q Store A Clok CE C A lok period lok period 2 lok period 3 lok period 4 lok period 5 lok period 6 Clok Store A negtive edge negtive edge OBUS A We study how the D flip-flop ove n e used to store its y using one of the its of OBUS shown for the register exmple ove. The rightmost flip-flop A[0] nd how it is stored re shown elow. Note tht we do not store every NYU Shool of Engineering Pge 9 of 24 CS224 Hndout No : 3 Jnury 27, 204

20 lok period, ut when it is neessry y rising CE to in prtiulr lok period. Clok Result Store A D CE C Q Q A[0] lok period lok period 2 lok period 3 lok period 4 lok period 5 lok period 6 Clok Store A negtive edge negtive edge OBUS[0] A[0] The D input is used only when there is negtive edge on the lok input. Therefore, D line hnges do not ffet the output ll the time whih is unlike the gte opertion. Note tht on the timing digrm, it looks like output A[0] hnges t the sme time the negtive edge ours. Atully, it hnges few nno seonds fter the negtive edge. Similrly, if the input seems to hnge t the sme time there is negtive edge, the vlue stored is the vlue right efore the negtive edge. For exmple, if OBUS[0] hnged from to 0 t the end of lok period 2, the vlue tht is stored is the vlue right efore the edge whih is Trnsistor Lyer : This lyer onsist of digitl eletroni iruits. Digitl eletroni iruits re used to uild digitl iruits. Tht is, digitl eletroni iruits implement gtes (lso flip-flops). Digitl eletroni iruits onsist of trnsistors, resistors, pitors, diodes, et. Trnsistors re the min omponent nd so this level is often lled the trnsistor level. Trnsistors in these iruits re used s on-off swithes. The swithes re turned on nd off y ontrol inputs. The figure elow shows on-off swithes nd how these swithes re used to implement n AND gte s n exmple. A swith is devie with two onditions : 0 0 Open when the ontrol input is 0 Closed when the ontrol input is m k AND k.m k m k.m AND gte NYU Shool of Engineering Pge 20 of 24 CS224 Hndout No : 3 Jnury 27, 204

OUTLINE SYSTEM-ON-CHIP DESIGN. GETTING STARTED WITH VHDL August 31, 2015 GAJSKI S Y-CHART (1983) TOP-DOWN DESIGN (1)

OUTLINE SYSTEM-ON-CHIP DESIGN. GETTING STARTED WITH VHDL August 31, 2015 GAJSKI S Y-CHART (1983) TOP-DOWN DESIGN (1) August 31, 2015 GETTING STARTED WITH VHDL 2 Top-down design VHDL history Min elements of VHDL Entities nd rhitetures Signls nd proesses Dt types Configurtions Simultor sis The testenh onept OUTLINE 3 GAJSKI

More information

Words Symbols Diagram. abcde. a + b + c + d + e

Words Symbols Diagram. abcde. a + b + c + d + e Logi Gtes nd Properties We will e using logil opertions to uild mhines tht n do rithmeti lultions. It s useful to think of these opertions s si omponents tht n e hooked together into omplex networks. To

More information

Equivalence Checking. Sean Weaver

Equivalence Checking. Sean Weaver Equivlene Cheking Sen Wever Equivlene Cheking Given two Boolen funtions, prove whether or not two they re funtionlly equivlent This tlk fouses speifilly on the mehnis of heking the equivlene of pirs of

More information

1. Definition, Basic concepts, Types 2. Addition and Subtraction of Matrices 3. Scalar Multiplication 4. Assignment and answer key 5.

1. Definition, Basic concepts, Types 2. Addition and Subtraction of Matrices 3. Scalar Multiplication 4. Assignment and answer key 5. . Definition, Bsi onepts, Types. Addition nd Sutrtion of Mtries. Slr Multiplition. Assignment nd nswer key. Mtrix Multiplition. Assignment nd nswer key. Determinnt x x (digonl, minors, properties) summry

More information

Homework 3 Solutions

Homework 3 Solutions CS 341: Foundtions of Computer Science II Prof. Mrvin Nkym Homework 3 Solutions 1. Give NFAs with the specified numer of sttes recognizing ech of the following lnguges. In ll cses, the lphet is Σ = {,1}.

More information

CS99S Laboratory 2 Preparation Copyright W. J. Dally 2001 October 1, 2001

CS99S Laboratory 2 Preparation Copyright W. J. Dally 2001 October 1, 2001 CS99S Lortory 2 Preprtion Copyright W. J. Dlly 2 Octoer, 2 Ojectives:. Understnd the principle of sttic CMOS gte circuits 2. Build simple logic gtes from MOS trnsistors 3. Evlute these gtes to oserve logic

More information

Chapter. Contents: A Constructing decimal numbers

Chapter. Contents: A Constructing decimal numbers Chpter 9 Deimls Contents: A Construting deiml numers B Representing deiml numers C Deiml urreny D Using numer line E Ordering deimls F Rounding deiml numers G Converting deimls to frtions H Converting

More information

1 Fractions from an advanced point of view

1 Fractions from an advanced point of view 1 Frtions from n vne point of view We re going to stuy frtions from the viewpoint of moern lger, or strt lger. Our gol is to evelop eeper unerstning of wht n men. One onsequene of our eeper unerstning

More information

Student Access to Virtual Desktops from personally owned Windows computers

Student Access to Virtual Desktops from personally owned Windows computers Student Aess to Virtul Desktops from personlly owned Windows omputers Mdison College is plesed to nnoune the ility for students to ess nd use virtul desktops, vi Mdison College wireless, from personlly

More information

SECTION 7-2 Law of Cosines

SECTION 7-2 Law of Cosines 516 7 Additionl Topis in Trigonometry h d sin s () tn h h d 50. Surveying. The lyout in the figure t right is used to determine n inessile height h when seline d in plne perpendiulr to h n e estlished

More information

Active Directory Service

Active Directory Service In order to lern whih questions hve een nswered orretly: 1. Print these pges. 2. Answer the questions. 3. Send this ssessment with the nswers vi:. FAX to (212) 967-3498. Or. Mil the nswers to the following

More information

Ratio and Proportion

Ratio and Proportion Rtio nd Proportion Rtio: The onept of rtio ours frequently nd in wide vriety of wys For exmple: A newspper reports tht the rtio of Repulins to Demorts on ertin Congressionl ommittee is 3 to The student/fulty

More information

How To Balance Power In A Distribution System

How To Balance Power In A Distribution System NTERNATONA JOURNA OF ENERG, ssue 3, ol., 7 A dynmilly S bsed ompt ontrol lgorithm for lod blning in distribution systems A. Kzemi, A. Mordi Koohi nd R. Rezeipour Abstrt An lgorithm for pplying fixed pitor-thyristorontrolled

More information

Learning Outcomes. Computer Systems - Architecture Lecture 4 - Boolean Logic. What is Logic? Boolean Logic 10/28/2010

Learning Outcomes. Computer Systems - Architecture Lecture 4 - Boolean Logic. What is Logic? Boolean Logic 10/28/2010 /28/2 Lerning Outcomes At the end of this lecture you should: Computer Systems - Architecture Lecture 4 - Boolen Logic Eddie Edwrds eedwrds@doc.ic.c.uk http://www.doc.ic.c.uk/~eedwrds/compsys (Hevily sed

More information

CS 316: Gates and Logic

CS 316: Gates and Logic CS 36: Gtes nd Logi Kvit Bl Fll 27 Computer Siene Cornell University Announements Clss newsgroup reted Posted on we-pge Use it for prtner finding First ssignment is to find prtners P nd N Trnsistors PNP

More information

Quick Guide to Lisp Implementation

Quick Guide to Lisp Implementation isp Implementtion Hndout Pge 1 o 10 Quik Guide to isp Implementtion Representtion o si dt strutures isp dt strutures re lled S-epressions. The representtion o n S-epression n e roken into two piees, the

More information

ORGANIZER QUICK REFERENCE GUIDE

ORGANIZER QUICK REFERENCE GUIDE NOTES ON ORGANIZING AND SCHEDULING MEETINGS Individul GoToMeeting orgnizers my hold meetings for up to 15 ttendees. GoToMeeting Corporte orgnizers my hold meetings for up to 25 ttendees. GoToMeeting orgnizers

More information

How To Organize A Meeting On Gotomeeting

How To Organize A Meeting On Gotomeeting NOTES ON ORGANIZING AND SCHEDULING MEETINGS Individul GoToMeeting orgnizers my hold meetings for up to 15 ttendees. GoToMeeting Corporte orgnizers my hold meetings for up to 25 ttendees. GoToMeeting orgnizers

More information

Lec 2: Gates and Logic

Lec 2: Gates and Logic Lec 2: Gtes nd Logic Kvit Bl CS 34, Fll 28 Computer Science Cornell University Announcements Clss newsgroup creted Posted on we-pge Use it for prtner finding First ssignment is to find prtners Due this

More information

Clause Trees: a Tool for Understanding and Implementing Resolution in Automated Reasoning

Clause Trees: a Tool for Understanding and Implementing Resolution in Automated Reasoning Cluse Trees: Tool for Understnding nd Implementing Resolution in Automted Resoning J. D. Horton nd Brue Spener University of New Brunswik, Frederiton, New Brunswik, Cnd E3B 5A3 emil : jdh@un. nd spener@un.

More information

UNIVERSITY AND WORK-STUDY EMPLOYERS WEBSITE USER S GUIDE

UNIVERSITY AND WORK-STUDY EMPLOYERS WEBSITE USER S GUIDE UNIVERSITY AND WORK-STUDY EMPLOYERS WEBSITE USER S GUIDE Tble of Contents 1 Home Pge 1 2 Pge 2 3 Your Control Pnel 3 4 Add New Job (Three-Step Form) 4-6 5 Mnging Job Postings (Mnge Job Pge) 7-8 6 Additionl

More information

Fundamentals of Cellular Networks

Fundamentals of Cellular Networks Fundmentls of ellulr Networks Dvid Tipper Assoite Professor Grdute Progrm in Teleommunitions nd Networking University of Pittsburgh Slides 4 Telom 2720 ellulr onept Proposed by ell Lbs 97 Geogrphi Servie

More information

p-q Theory Power Components Calculations

p-q Theory Power Components Calculations ISIE 23 - IEEE Interntionl Symposium on Industril Eletronis Rio de Jneiro, Brsil, 9-11 Junho de 23, ISBN: -783-7912-8 p-q Theory Power Components Clultions João L. Afonso, Memer, IEEE, M. J. Sepúlved Freits,

More information

1 GSW IPv4 Addressing

1 GSW IPv4 Addressing 1 For s long s I ve een working with the Internet protools, people hve een sying tht IPv6 will e repling IPv4 in ouple of yers time. While this remins true, it s worth knowing out IPv4 ddresses. Even when

More information

VMware Horizon FLEX Administration Guide

VMware Horizon FLEX Administration Guide VMwre Horizon FLEX Administrtion Guide Horizon FLEX 1.0 This doument supports the version of eh produt listed nd supports ll susequent versions until the doument is repled y new edition. To hek for more

More information

SOLVING EQUATIONS BY FACTORING

SOLVING EQUATIONS BY FACTORING 316 (5-60) Chpter 5 Exponents nd Polynomils 5.9 SOLVING EQUATIONS BY FACTORING In this setion The Zero Ftor Property Applitions helpful hint Note tht the zero ftor property is our seond exmple of getting

More information

Reasoning to Solve Equations and Inequalities

Reasoning to Solve Equations and Inequalities Lesson4 Resoning to Solve Equtions nd Inequlities In erlier work in this unit, you modeled situtions with severl vriles nd equtions. For exmple, suppose you were given usiness plns for concert showing

More information

Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. Date: Friday 16 th May 2008. Time: 14:00 16:00

Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. Date: Friday 16 th May 2008. Time: 14:00 16:00 COMP20212 Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE Digitl Design Techniques Dte: Fridy 16 th My 2008 Time: 14:00 16:00 Plese nswer ny THREE Questions from the FOUR questions provided

More information

Calculating Principal Strains using a Rectangular Strain Gage Rosette

Calculating Principal Strains using a Rectangular Strain Gage Rosette Clulting Prinipl Strins using Retngulr Strin Gge Rosette Strin gge rosettes re used often in engineering prtie to determine strin sttes t speifi points on struture. Figure illustrtes three ommonly used

More information

The remaining two sides of the right triangle are called the legs of the right triangle.

The remaining two sides of the right triangle are called the legs of the right triangle. 10 MODULE 6. RADICAL EXPRESSIONS 6 Pythgoren Theorem The Pythgoren Theorem An ngle tht mesures 90 degrees is lled right ngle. If one of the ngles of tringle is right ngle, then the tringle is lled right

More information

Arc-Consistency for Non-Binary Dynamic CSPs

Arc-Consistency for Non-Binary Dynamic CSPs Ar-Consisteny for Non-Binry Dynmi CSPs Christin Bessière LIRMM (UMR C 9928 CNRS / Université Montpellier II) 860, rue de Sint Priest 34090 Montpellier, Frne Emil: essiere@rim.fr Astrt. Constrint stisftion

More information

McAfee Network Security Platform

McAfee Network Security Platform XC-240 Lod Blner Appline Quik Strt Guide Revision D MAfee Network Seurity Pltform This quik strt guide explins how to quikly set up nd tivte your MAfee Network Seurity Pltform XC-240 Lod Blner. The SFP+

More information

Module 5. Three-phase AC Circuits. Version 2 EE IIT, Kharagpur

Module 5. Three-phase AC Circuits. Version 2 EE IIT, Kharagpur Module 5 Three-hse A iruits Version EE IIT, Khrgur esson 8 Three-hse Blned Suly Version EE IIT, Khrgur In the module, ontining six lessons (-7), the study of iruits, onsisting of the liner elements resistne,

More information

- DAY 1 - Website Design and Project Planning

- DAY 1 - Website Design and Project Planning Wesite Design nd Projet Plnning Ojetive This module provides n overview of the onepts of wesite design nd liner workflow for produing wesite. Prtiipnts will outline the sope of wesite projet, inluding

More information

Enterprise Digital Signage Create a New Sign

Enterprise Digital Signage Create a New Sign Enterprise Digitl Signge Crete New Sign Intended Audiene: Content dministrtors of Enterprise Digitl Signge inluding stff with remote ess to sign.pitt.edu nd the Content Mnger softwre pplition for their

More information

VMware Horizon FLEX Administration Guide

VMware Horizon FLEX Administration Guide VMwre Horizon FLEX Administrtion Guide Horizon FLEX 1.1 This doument supports the version of eh produt listed nd supports ll susequent versions until the doument is repled y new edition. To hek for more

More information

c b 5.00 10 5 N/m 2 (0.120 m 3 0.200 m 3 ), = 4.00 10 4 J. W total = W a b + W b c 2.00

c b 5.00 10 5 N/m 2 (0.120 m 3 0.200 m 3 ), = 4.00 10 4 J. W total = W a b + W b c 2.00 Chter 19, exmle rolems: (19.06) A gs undergoes two roesses. First: onstnt volume @ 0.200 m 3, isohori. Pressure inreses from 2.00 10 5 P to 5.00 10 5 P. Seond: Constnt ressure @ 5.00 10 5 P, isori. olume

More information

Data Security 1. 1 What is the function of the Jump instruction? 2 What are the main parts of the virus code? 3 What is the last act of the virus?

Data Security 1. 1 What is the function of the Jump instruction? 2 What are the main parts of the virus code? 3 What is the last act of the virus? UNIT 18 Dt Seurity 1 STARTER Wht stories do you think followed these hedlines? Compre nswers within your group. 1 Love ug retes worldwide hos. 2 Hkers rk Mirosoft softwre odes. 3 We phone sm. Wht other

More information

Regular Sets and Expressions

Regular Sets and Expressions Regulr Sets nd Expressions Finite utomt re importnt in science, mthemtics, nd engineering. Engineers like them ecuse they re super models for circuits (And, since the dvent of VLSI systems sometimes finite

More information

5 a LAN 6 a gateway 7 a modem

5 a LAN 6 a gateway 7 a modem STARTER With the help of this digrm, try to descrie the function of these components of typicl network system: 1 file server 2 ridge 3 router 4 ckone 5 LAN 6 gtewy 7 modem Another Novell LAN Router Internet

More information

GENERAL OPERATING PRINCIPLES

GENERAL OPERATING PRINCIPLES KEYSECUREPC USER MANUAL N.B.: PRIOR TO READING THIS MANUAL, YOU ARE ADVISED TO READ THE FOLLOWING MANUAL: GENERAL OPERATING PRINCIPLES Der Customer, KeySeurePC is n innovtive prout tht uses ptente tehnology:

More information

BUSINESS PROCESS MODEL TRANSFORMATION ISSUES The top 7 adversaries encountered at defining model transformations

BUSINESS PROCESS MODEL TRANSFORMATION ISSUES The top 7 adversaries encountered at defining model transformations USINESS PROCESS MODEL TRANSFORMATION ISSUES The top 7 dversries enountered t defining model trnsformtions Mrion Murzek Women s Postgrdute College for Internet Tehnologies (WIT), Institute of Softwre Tehnology

More information

SOLVING QUADRATIC EQUATIONS BY FACTORING

SOLVING QUADRATIC EQUATIONS BY FACTORING 6.6 Solving Qudrti Equtions y Ftoring (6 31) 307 In this setion The Zero Ftor Property Applitions 6.6 SOLVING QUADRATIC EQUATIONS BY FACTORING The tehniques of ftoring n e used to solve equtions involving

More information

MATH PLACEMENT REVIEW GUIDE

MATH PLACEMENT REVIEW GUIDE MATH PLACEMENT REVIEW GUIDE This guie is intene s fous for your review efore tking the plement test. The questions presente here my not e on the plement test. Although si skills lultor is provie for your

More information

Maximum area of polygon

Maximum area of polygon Mimum re of polygon Suppose I give you n stiks. They might e of ifferent lengths, or the sme length, or some the sme s others, et. Now there re lots of polygons you n form with those stiks. Your jo is

More information

Inter-domain Routing

Inter-domain Routing COMP 631: COMPUTER NETWORKS Inter-domin Routing Jsleen Kur Fll 2014 1 Internet-sle Routing: Approhes DV nd link-stte protools do not sle to glol Internet How to mke routing slle? Exploit the notion of

More information

Chapter. Fractions. Contents: A Representing fractions

Chapter. Fractions. Contents: A Representing fractions Chpter Frtions Contents: A Representing rtions B Frtions o regulr shpes C Equl rtions D Simpliying rtions E Frtions o quntities F Compring rtion sizes G Improper rtions nd mixed numers 08 FRACTIONS (Chpter

More information

Binary Representation of Numbers Autar Kaw

Binary Representation of Numbers Autar Kaw Binry Representtion of Numbers Autr Kw After reding this chpter, you should be ble to: 1. convert bse- rel number to its binry representtion,. convert binry number to n equivlent bse- number. In everydy

More information

European Convention on Products Liability in regard to Personal Injury and Death

European Convention on Products Liability in regard to Personal Injury and Death Europen Trety Series - No. 91 Europen Convention on Produts Liility in regrd to Personl Injury nd Deth Strsourg, 27.I.1977 The memer Sttes of the Counil of Europe, signtory hereto, Considering tht the

More information

PLWAP Sequential Mining: Open Source Code

PLWAP Sequential Mining: Open Source Code PL Sequentil Mining: Open Soure Code C.I. Ezeife Shool of Computer Siene University of Windsor Windsor, Ontrio N9B 3P4 ezeife@uwindsor. Yi Lu Deprtment of Computer Siene Wyne Stte University Detroit, Mihign

More information

Innovation in Software Development Process by Introducing Toyota Production System

Innovation in Software Development Process by Introducing Toyota Production System Innovtion in Softwre Development Proess y Introduing Toyot Prodution System V Koihi Furugki V Tooru Tkgi V Akinori Skt V Disuke Okym (Mnusript reeived June 1, 2006) Fujitsu Softwre Tehnologies (formerly

More information

Algebra Review. How well do you remember your algebra?

Algebra Review. How well do you remember your algebra? Algebr Review How well do you remember your lgebr? 1 The Order of Opertions Wht do we men when we write + 4? If we multiply we get 6 nd dding 4 gives 10. But, if we dd + 4 = 7 first, then multiply by then

More information

Example 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers.

Example 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers. 2 Rtionl Numbers Integers such s 5 were importnt when solving the eqution x+5 = 0. In similr wy, frctions re importnt for solving equtions like 2x = 1. Wht bout equtions like 2x + 1 = 0? Equtions of this

More information

Vectors Summary. Projection vector AC = ( Shortest distance from B to line A C D [OR = where m1. and m

Vectors Summary. Projection vector AC = ( Shortest distance from B to line A C D [OR = where m1. and m . Slr prout (ot prout): = osθ Vetors Summry Lws of ot prout: (i) = (ii) ( ) = = (iii) = (ngle etween two ientil vetors is egrees) (iv) = n re perpeniulr Applitions: (i) Projetion vetor: B Length of projetion

More information

Seeking Equilibrium: Demand and Supply

Seeking Equilibrium: Demand and Supply SECTION 1 Seeking Equilirium: Demnd nd Supply OBJECTIVES KEY TERMS TAKING NOTES In Setion 1, you will explore mrket equilirium nd see how it is rehed explin how demnd nd supply intert to determine equilirium

More information

The Cat in the Hat. by Dr. Seuss. A a. B b. A a. Rich Vocabulary. Learning Ab Rhyming

The Cat in the Hat. by Dr. Seuss. A a. B b. A a. Rich Vocabulary. Learning Ab Rhyming MINI-LESSON IN TION The t in the Ht y Dr. Seuss Rih Voulry tme dj. esy to hndle (not wild) LERNING Lerning Rhyming OUT Words I know it is wet nd the sun is not sunny. ut we n hve Lots of good fun tht is

More information

A.7.1 Trigonometric interpretation of dot product... 324. A.7.2 Geometric interpretation of dot product... 324

A.7.1 Trigonometric interpretation of dot product... 324. A.7.2 Geometric interpretation of dot product... 324 A P P E N D I X A Vectors CONTENTS A.1 Scling vector................................................ 321 A.2 Unit or Direction vectors...................................... 321 A.3 Vector ddition.................................................

More information

Angles 2.1. Exercise 2.1... Find the size of the lettered angles. Give reasons for your answers. a) b) c) Example

Angles 2.1. Exercise 2.1... Find the size of the lettered angles. Give reasons for your answers. a) b) c) Example 2.1 Angles Reognise lternte n orresponing ngles Key wors prllel lternte orresponing vertilly opposite Rememer, prllel lines re stright lines whih never meet or ross. The rrows show tht the lines re prllel

More information

EQUATIONS OF LINES AND PLANES

EQUATIONS OF LINES AND PLANES EQUATIONS OF LINES AND PLANES MATH 195, SECTION 59 (VIPUL NAIK) Corresponding mteril in the ook: Section 12.5. Wht students should definitely get: Prmetric eqution of line given in point-direction nd twopoint

More information

Review. Scan Conversion. Rasterizing Polygons. Rasterizing Polygons. Triangularization. Convex Shapes. Utah School of Computing Spring 2013

Review. Scan Conversion. Rasterizing Polygons. Rasterizing Polygons. Triangularization. Convex Shapes. Utah School of Computing Spring 2013 Uth Shool of Computing Spring 2013 Review Leture Set 4 Sn Conversion CS5600 Computer Grphis Spring 2013 Line rsteriztion Bsi Inrementl Algorithm Digitl Differentil Anlzer Rther thn solve line eqution t

More information

2 DIODE CLIPPING and CLAMPING CIRCUITS

2 DIODE CLIPPING and CLAMPING CIRCUITS 2 DIODE CLIPPING nd CLAMPING CIRCUITS 2.1 Ojectives Understnding the operting principle of diode clipping circuit Understnding the operting principle of clmping circuit Understnding the wveform chnge of

More information

control policies to be declared over by associating security

control policies to be declared over by associating security Seure XML Querying with Seurity Views Wenfei Fn University of Edinurgh & Bell Lortories wenfei@infeduk Chee-Yong Chn Ntionl University of Singpore hny@ompnusedusg Minos Groflkis Bell Lortories minos@reserhell-lsom

More information

LISTENING COMPREHENSION

LISTENING COMPREHENSION PORG, přijímí zkoušky 2015 Angličtin B Reg. číslo: Inluded prts: Points (per prt) Points (totl) 1) Listening omprehension 2) Reding 3) Use of English 4) Writing 1 5) Writing 2 There re no extr nswersheets

More information

A System Context-Aware Approach for Battery Lifetime Prediction in Smart Phones

A System Context-Aware Approach for Battery Lifetime Prediction in Smart Phones A System Context-Awre Approh for Bttery Lifetime Predition in Smrt Phones Xi Zho, Yo Guo, Qing Feng, nd Xingqun Chen Key Lbortory of High Confidene Softwre Tehnologies (Ministry of Edution) Shool of Eletronis

More information

A Language-Neutral Representation of Temporal Information

A Language-Neutral Representation of Temporal Information A Lnguge-Neutrl Representtion of Temporl Informtion Rihrd Cmpell*, Tkko Aikw, Zixin Jing, Crmen Lozno, Mite Melero nd Andi Wu Mirosoft Reserh One Mirosoft Wy, Redmond, WA 98052 USA {rihmp, tkko, jingz,

More information

Or more simply put, when adding or subtracting quantities, their uncertainties add.

Or more simply put, when adding or subtracting quantities, their uncertainties add. Propgtion of Uncertint through Mthemticl Opertions Since the untit of interest in n eperiment is rrel otined mesuring tht untit directl, we must understnd how error propgtes when mthemticl opertions re

More information

Lesson 2.1 Inductive Reasoning

Lesson 2.1 Inductive Reasoning Lesson.1 Inutive Resoning Nme Perio Dte For Eerises 1 7, use inutive resoning to fin the net two terms in eh sequene. 1. 4, 8, 1, 16,,. 400, 00, 100, 0,,,. 1 8, 7, 1, 4,, 4.,,, 1, 1, 0,,. 60, 180, 10,

More information

INSTALLATION, OPERATION & MAINTENANCE

INSTALLATION, OPERATION & MAINTENANCE DIESEL PROTECTION SYSTEMS Exhust Temperture Vlves (Mehnil) INSTALLATION, OPERATION & MAINTENANCE Vlve Numer TSZ-135 TSZ-150 TSZ-200 TSZ-275 TSZ-392 DESCRIPTION Non-eletril temperture vlves mnuftured in

More information

European Convention on Social and Medical Assistance

European Convention on Social and Medical Assistance Europen Convention on Soil nd Medil Assistne Pris, 11.XII.1953 Europen Trety Series - No. 14 The governments signtory hereto, eing memers of the Counil of Europe, Considering tht the im of the Counil of

More information

Radius of the Earth - Radii Used in Geodesy James R. Clynch Naval Postgraduate School, 2002

Radius of the Earth - Radii Used in Geodesy James R. Clynch Naval Postgraduate School, 2002 dius of the Erth - dii Used in Geodesy Jmes. Clynh vl Postgrdute Shool, 00 I. Three dii of Erth nd Their Use There re three rdii tht ome into use in geodesy. These re funtion of ltitude in the ellipsoidl

More information

Start Here. Quick Setup Guide. the machine and check the components. NOTE Not all models are available in all countries.

Start Here. Quick Setup Guide. the machine and check the components. NOTE Not all models are available in all countries. Quik Setup Guide Strt Here HL-3140CW / HL-3150CDN HL-3150CDW / HL-3170CDW Thnk you for hoosing Brother, your support is importnt to us nd we vlue your usiness. Your Brother produt is engineered nd mnuftured

More information

Cell Breathing Techniques for Load Balancing in Wireless LANs

Cell Breathing Techniques for Load Balancing in Wireless LANs 1 Cell rething Tehniques for Lod lning in Wireless LANs Yigl ejerno nd Seung-Je Hn ell Lortories, Luent Tehnologies Astrt: Mximizing the network throughput while providing firness is one of the key hllenges

More information

How To Network A Smll Business

How To Network A Smll Business Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

Math Review for Algebra and Precalculus

Math Review for Algebra and Precalculus Copyrigt Jnury 00 y Stnley Oken. No prt of tis doument my e opied or reprodued in ny form wtsoever witout epress permission of te utor. Mt Review for Alger nd Prelulus Stnley Oken Deprtment of Mtemtis

More information

P.3 Polynomials and Factoring. P.3 an 1. Polynomial STUDY TIP. Example 1 Writing Polynomials in Standard Form. What you should learn

P.3 Polynomials and Factoring. P.3 an 1. Polynomial STUDY TIP. Example 1 Writing Polynomials in Standard Form. What you should learn 33337_0P03.qp 2/27/06 24 9:3 AM Chpter P Pge 24 Prerequisites P.3 Polynomils nd Fctoring Wht you should lern Polynomils An lgeric epression is collection of vriles nd rel numers. The most common type of

More information

Towards Zero-Overhead Static and Adaptive Indexing in Hadoop

Towards Zero-Overhead Static and Adaptive Indexing in Hadoop Nonme mnusript No. (will e inserted y the editor) Towrds Zero-Overhed Stti nd Adptive Indexing in Hdoop Stefn Rihter Jorge-Arnulfo Quiné-Ruiz Stefn Shuh Jens Dittrih the dte of reeipt nd eptne should e

More information

SE3BB4: Software Design III Concurrent System Design. Sample Solutions to Assignment 1

SE3BB4: Software Design III Concurrent System Design. Sample Solutions to Assignment 1 SE3BB4: Softwre Design III Conurrent System Design Winter 2011 Smple Solutions to Assignment 1 Eh question is worth 10pts. Totl of this ssignment is 70pts. Eh ssignment is worth 9%. If you think your solution

More information

If two triangles are perspective from a point, then they are also perspective from a line.

If two triangles are perspective from a point, then they are also perspective from a line. Mth 487 hter 4 Prtie Prolem Solutions 1. Give the definition of eh of the following terms: () omlete qudrngle omlete qudrngle is set of four oints, no three of whih re olliner, nd the six lines inident

More information

How To Find The Re Of Tringle

How To Find The Re Of Tringle Heron s Formul for Tringulr Are y Christy Willims, Crystl Holom, nd Kyl Gifford Heron of Alexndri Physiist, mthemtiin, nd engineer Tught t the museum in Alexndri Interests were more prtil (mehnis, engineering,

More information

Small Businesses Decisions to Offer Health Insurance to Employees

Small Businesses Decisions to Offer Health Insurance to Employees Smll Businesses Decisions to Offer Helth Insurnce to Employees Ctherine McLughlin nd Adm Swinurn, June 2014 Employer-sponsored helth insurnce (ESI) is the dominnt source of coverge for nonelderly dults

More information

One Minute To Learn Programming: Finite Automata

One Minute To Learn Programming: Finite Automata Gret Theoreticl Ides In Computer Science Steven Rudich CS 15-251 Spring 2005 Lecture 9 Fe 8 2005 Crnegie Mellon University One Minute To Lern Progrmming: Finite Automt Let me tech you progrmming lnguge

More information

Operations with Polynomials

Operations with Polynomials 38 Chpter P Prerequisites P.4 Opertions with Polynomils Wht you should lern: Write polynomils in stndrd form nd identify the leding coefficients nd degrees of polynomils Add nd subtrct polynomils Multiply

More information

LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES

LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES DAVID WEBB CONTENTS Liner trnsformtions 2 The representing mtrix of liner trnsformtion 3 3 An ppliction: reflections in the plne 6 4 The lgebr of

More information

Practice Test 2. a. 12 kn b. 17 kn c. 13 kn d. 5.0 kn e. 49 kn

Practice Test 2. a. 12 kn b. 17 kn c. 13 kn d. 5.0 kn e. 49 kn Prtie Test 2 1. A highwy urve hs rdius of 0.14 km nd is unnked. A r weighing 12 kn goes round the urve t speed of 24 m/s without slipping. Wht is the mgnitude of the horizontl fore of the rod on the r?

More information

KEY SKILLS INFORMATION TECHNOLOGY Level 3. Question Paper. 29 January 9 February 2001

KEY SKILLS INFORMATION TECHNOLOGY Level 3. Question Paper. 29 January 9 February 2001 KEY SKILLS INFORMATION TECHNOLOGY Level 3 Question Pper 29 Jnury 9 Ferury 2001 WHAT YOU NEED This Question Pper An Answer Booklet Aess to omputer, softwre nd printer You my use ilingul ditionry Do NOT

More information

Forensic Engineering Techniques for VLSI CAD Tools

Forensic Engineering Techniques for VLSI CAD Tools Forensi Engineering Tehniques for VLSI CAD Tools Jennifer L. Wong, Drko Kirovski, Dvi Liu, Miorg Potkonjk UCLA Computer Siene Deprtment University of Cliforni, Los Angeles June 8, 2000 Computtionl Forensi

More information

DiaGen: A Generator for Diagram Editors Based on a Hypergraph Model

DiaGen: A Generator for Diagram Editors Based on a Hypergraph Model DiGen: A Genertor for Digrm Eitors Bse on Hypergrph Moel G. Viehstet M. Mins Lehrstuhl für Progrmmiersprhen Universität Erlngen-Nürnerg Mrtensstr. 3, 91058 Erlngen, Germny Emil: fviehste,minsg@informtik.uni-erlngen.e

More information

Architecture and Data Flows Reference Guide

Architecture and Data Flows Reference Guide Arhiteture nd Dt Flows Referene Guide BES12 Version 12.3 Pulished: 2015-10-14 SWD-20151014125318579 Contents Aout this guide... 5 Arhiteture: BES12 EMM solution... 6 Components used to mnge BlkBerry 10,

More information

Use Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions.

Use Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions. Lerning Objectives Loci nd Conics Lesson 3: The Ellipse Level: Preclculus Time required: 120 minutes In this lesson, students will generlize their knowledge of the circle to the ellipse. The prmetric nd

More information

Polynomial Functions. Polynomial functions in one variable can be written in expanded form as ( )

Polynomial Functions. Polynomial functions in one variable can be written in expanded form as ( ) Polynomil Functions Polynomil functions in one vrible cn be written in expnded form s n n 1 n 2 2 f x = x + x + x + + x + x+ n n 1 n 2 2 1 0 Exmples of polynomils in expnded form re nd 3 8 7 4 = 5 4 +

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

REMO: Resource-Aware Application State Monitoring for Large-Scale Distributed Systems

REMO: Resource-Aware Application State Monitoring for Large-Scale Distributed Systems : Resoure-Awre Applition Stte Monitoring for Lrge-Sle Distriuted Systems Shiong Meng Srinivs R. Kshyp Chitr Venktrmni Ling Liu College of Computing, Georgi Institute of Tehnology, Atlnt, GA 332, USA {smeng,

More information

7 mm Diameter Miniature Cermet Trimmer

7 mm Diameter Miniature Cermet Trimmer 7 mm Dimeter Miniture Cermet Trimmer A dust seled plsti se proteting qulity ermet trk gurntees high performne nd proven reliility. Adjustments re mde esier y the ler sle redings. is idelly suited to ll

More information

The art of Paperarchitecture (PA). MANUAL

The art of Paperarchitecture (PA). MANUAL The rt of Pperrhiteture (PA). MANUAL Introution Pperrhiteture (PA) is the rt of reting three-imensionl (3D) ojets out of plin piee of pper or ror. At first, esign is rwn (mnully or printe (using grphil

More information

New combinatorial features for knots and virtual knots. Arnaud MORTIER

New combinatorial features for knots and virtual knots. Arnaud MORTIER New omintoril fetures for knots nd virtul knots Arnud MORTIER April, 203 2 Contents Introdution 5. Conventions.................................... 9 2 Virtul knot theories 2. The lssil se.................................

More information

Appendix D: Completing the Square and the Quadratic Formula. In Appendix A, two special cases of expanding brackets were considered:

Appendix D: Completing the Square and the Quadratic Formula. In Appendix A, two special cases of expanding brackets were considered: Appendi D: Completing the Squre nd the Qudrtic Formul Fctoring qudrtic epressions such s: + 6 + 8 ws one of the topics introduced in Appendi C. Fctoring qudrtic epressions is useful skill tht cn help you

More information

Multi-level Visualization of Concurrent and Distributed Computation in Erlang

Multi-level Visualization of Concurrent and Distributed Computation in Erlang Multi-level Visuliztion of Conurrent nd Distriuted Computtion in Erlng Roert Bker r440@kent..uk Peter Rodgers P.J.Rodgers@kent..uk Simon Thompson S.J.Thompson@kent..uk Huiqing Li H.Li@kent..uk Astrt This

More information

Orthodontic marketing through social media networks: The patient and practitioner s perspective

Orthodontic marketing through social media networks: The patient and practitioner s perspective Originl rtile Orthodonti mrketing through soil medi networks: The ptient nd prtitioner s perspetive Kristin L. Nelson ; Bhvn Shroff ; l M. Best ; Steven J. Linduer d BSTRCT Ojetive: To (1) ssess orthodonti

More information

Welch Allyn CardioPerfect Workstation Installation Guide

Welch Allyn CardioPerfect Workstation Installation Guide Welch Allyn CrdioPerfect Worksttion Instlltion Guide INSTALLING CARDIOPERFECT WORKSTATION SOFTWARE & ACCESSORIES ON A SINGLE PC For softwre version 1.6.5 or lter For network instlltion, plese refer to

More information