Digital Design using HDLs EE 4755 Final Examination

Size: px
Start display at page:

Download "Digital Design using HDLs EE 4755 Final Examination"

Transcription

1 Nme Solution Digitl Design using HDLs EE 4755 Finl Exmintion Thursdy, 8 Decemer 6 :3-4:3 CST Alis The Hottest Plce in Hell Prolem Prolem Prolem 3 Prolem 4 Prolem 5 Prolem 6 Exm Totl (3 pts) ( pts) (5 pts) (5 pts) ( pts) ( pts) ( pts) Good Luck!

2 Prolem : [3 pts] The digrm nd Verilog code elo sho incomplete versions of module pro_seq. This module is to operte something like mg_seq from Homeork 6. When strt is t positive clock edge the module ill set redy to nd strt computing v*v v*v v*v, here v nd v re ech IEEE 754 FP single vlues. The module ill set redy to t the first positive edge fter the result is redy. Complete the Verilog code so tht the module orks s indicted nd is consistent ith the digrm. It is oky to chnge declrtions from, sy, logic to uire. But the synthesized hrdre cnnot chnge ht is lredy on the digrm, for exmple, don t remove register such s c nd don t insert ny ne registers in existing ires, such s those eteen the multiplier inputs nd the multiplexors. Don t modify this digrm, rite Verilog code. strt pro_seq redy v m c CW_fp_dd result v 3' 3' clk 'd c Don t modify this digrm, rite Verilog code.

3 Prolem, continued: Solution on this pge. Complete Verilog so tht module computes v*v v*v v*v. Synthesizedhrdremusteconsistentithdigrm, espelly synthesized registers. Note tht redy must come from register. Don t skip the esy prt: connections to dder. strt v v clk Don t modify, Verilog only. pro_seq 3' m 'd c c CW_fp_dd 3' redy result module pro_seq( output uire [3:] result, output logic redy, input uire [3:] v, v, input uire strt, clk); uire [7:] mul_s, dd_s; uire [3:] mul_, mul_; uire [3:] dd_, dd_; uire [3:] prod, ; logic [3:] c, c; logic [:] step; loclprm int lst_step = 4; // SOLUTION. posedge clk ) if ( strt ) step = ; else if ( step lst_step ) step = step ; m(.(mul_),.(mul_),.(),.z(prod),.sttus(mul_s)); CW_fp_dd (.(dd_),.(dd_),.(),.z(),.sttus(dd_s)); // ssign redy = step == lst_step; // SOLUTION: Remove this line. // SOLUTION (reminder of module is solution) ssign mul_ = step? v : v; // Connect FP multiplier ports.. ssign mul_ = step ==? v : v; //.. to pproprite vlues. ssign dd_ = c, dd_ = c; // Connect FP dder input ports. posedge clk ) egin c = prod; // Assign registers c, c, nd redy. // Alys rite c. cse ( step ) // Set c sed on the step vlue.. : c = ; //.. *efore* the positive clk edge., : c = ; endcse if ( strt ) redy = ; // Reset redy *efore* step.. else if ( step == lst_step- ) redy = ; //.. nd set redy hen ill e done. end ssign result = ; // Connect FP dder output to this module s output. endmodule 3

4 To understnd ho the solution orks refer to the timing digrm elo. Note tht the vlue of step in the second lys ff is efore it is incremented. strt pro_seq redy v m c CW_fp_dd result v 3' 3' clk 'd c clk strt step mul_ v v mul_ v v Mux dely. prod c c redy Mult dely. v² vv v² v² vv v² v² v² vv v² vv v² v² vv v² 4

5 Prolem : [ pts] Anlyze the timing of the to similr modules on the next pge using the timing model used in clss, s requested in the suprolems. Ase tht ll dders re synthesized s ripple connection of inry full dders nd tht the comprison units re lso sed on ripple hrdre. () Before nlyzing the modules, sho the dely of ech of the components listed elo using the simple model given in clss. For this prt se tht ll inputs re ville t t =. In the simple timing model the dely of n n-input AND nd OR gte is lgn units, hich orks out to for -input gtes. For lrger gtes the dely is ht ould e otined y constructing reduction tree of -input gtes. NOT gtes hve dely of zero. Other comintionl logic is sed on the dely of n implementtion using AND, OR, nd NOT gtes. For exmple, the dely of -input XOR gte is. 5

6 Dely for BFA is: The dely (of f-unopt) is 4 units for the nd 3 units for co. Explin or sho digrm. Short Anser: The dely is sed on the f-unopt BFA implementtion elo. The loer digrm shos the timing nlysis. Long Anser: Appering elo re to implementtions of inry full dder, shon ith nd ithout timing nlysis. In the first, f-unopt, seprte logic is used to generte the nd crry out signls. In the second, f-fst, n XOR gte is shred y the nd crry out logic, oth redung cost nd redung the criticl pth in ripple dder. The lue lels sho the gte delys, rcled numers sho the time tht signl is ville. The purple signls sho the timing underthesptionthtllsignlsrrivetmoduleinputst = ndthegreensignlsshothetimingunderthesptiontht the crry in signl rrives t t = ut tht the nd signls rrive t t =. The rtionle for the green signls sption is tht hen BFA is used s prt of ripple dder the crry in signl for ll ut the lest-significnt it BFA ill rrive lter thn the nd inputs. Note tht even ith the nd signls rriving erly the dely for co in BFA-unopt ould still e 3. In mry: For BFA-unopt, t t = 4 nd crry out t t = 3. For BFA-fst ith ll signls rriving t t =, the is ville t t = 4 nd crry out t t = 4. With erly rrivl, the crry out is ville t t =. BFA-unopt BF BFA-unopt 4 3 Crry-in rrives >= units lter. E.g., in BFA units fter LSB. All signls rrive t sme time. E.g., BFA t LSB BF

7 Dely for -it dder is: Using BFA-unopt the dely for > is 3 units for the crry out nd 3 units for the MSB of the. Explin or sho digrm. [] [] r ple_dder [] [] [-] [] [] [-] Bit -- LSB Bit Bit Bit - -- MSB BFA-unopt BFA-unopt BFA-unopt BFA-unopt 3(-) Dely for it - -- MSB Dely for it -- LSB 4 3- Short Anser: As shon in red in the digrm ove, the criticl pth psses from to co of the linerly-connected BFAs, so the totl dely is 3 using BFA-unopt or using BFA-fst. When BFA-unopt is used the co signl of the BFA for it i is ville t 3(i), here i = is the lest-significnt it. If the -it dder itself hs crry-out signl, the dely is 3 its, sed on the vilility of the crry out t it. If there is no crry out then the dely of the MSB is to units fter the rrivl of the crry in, so the totl dely is 3( ) = 3 units. Bit i =, the LSB, of the is redy t t = 4, it i of the is redy t 3i. When BFA-fst is used the co signl is ville t time 4 for the LSB, for it i it is ville t 4i. The is ville cycles fter the rrivl, so overll timing is 4( ) = hether or not crry out is used. Dely for -it (less thn) comprison unit is: Using sutrction, 3 units sed on BFA-unopt or units using BFA-fst. Explin or sho digrm. To compute use -it dder to compute, here nd re -it unsigned numers. (To perform sutrction the inputs re inverted nd the dder crry in is set to. This doesn t ffect cost or dely under the simple model since NOT gtes re free nd zero-dely.) If the crry out is zero then the difference is negtive nd so is true. Note tht logic tht is only used for computing is omitted. Using BFA-unopt the dely is 3, using BFA-fst the dely is. (In oth cses the cost is 5. In BFA-unopt oth XOR gtes re eliminted. In BFA-fst one XOR gte is eliminted nd the other is replced ith n OR gte.) Dely for -it, n-input multiplexor is: The dely is lg lgn lgn units. Explin or sho digrm. 7

8 s mux n, One decode AND per input (n totl). s[lg(n)-] s= s= lg lg n gte ANDs per input (n totl). OR gtes lg n (lg lg n) lg n x (n-) s=n- As shon in the illustrtion ove ech mux input hs n AND gte decoding the select signl (ith some inputs inverted sed on the mux input numer). The AND gte hs lgn inputs (hich is the numer of its in the select signl) nd so y the simple model hs dely of lg lg n units. (For revity the digrm omits the ceiling function.) The decoder nd input connect to nother AND gte, dding to the dely. Finlly, there is n n-input OR gte, contriuting nother lgn units of dely. 8

9 Prolem, continued: () Find the length of criticl pth in the to modules elo using the timings ove. Where pplicle mke the resonle sption tht ripple dder cn strt hen its loer its rrive, not hen ll its of its input re stle. [] [] [] [3] 3 36, 6 LSB Time 66 MSB Time 6, 98 98, [] [] [] [3] 4, 3 8, 34, Length of criticl pth for greedy fit in terms of. Sho ork for prtil credit. Short Anser: Using f-unopt the criticl pth length is units, see the digrm ove in hich the criticl pth is shon in red nd is leled ith timing long the criticl pth. Long Anser: The time for the comprison unit is 3 units. The time for n dder is 4 units to produce the LSB of the nd 3 for the complete, including the crry out. Note tht ecuse the comprison unit is implemented using the crry pth of n dder, it cn strt on the LSB s soon s it rrives (mening efore more significnt its rrive), nd it cn keep up ith the pce of ne input it eing redy every 3 time units fter the nd it. Signls rrive t the inputs to the[] dder t time 3 nd so the comprison gets its LSB t time 36, the next its t 37, 3, 33,... The comprison unit s output is redy t 3 63 = 6 6. Unfortuntely for the [] dder one of its inputs is the output of multiplexor, mening tht ll its rrive t the sme time nd so it cnnot strt erly. Length of criticl pth for fcfs fit in terms of. Sho ork for prtil credit. Short Anser: Using f-unopt the criticl pth length is 34 units, see the digrm ove in hich the criticl pth is shon in red nd is leled ith timing long the criticl pth. Green shos timing of non-criticl signls. Long Anser: Unlike greedy_fit the inputs to the dders in fcfc_fit re either module input or the output of nother dder. For this reson the totl dely through the 3 dders is Note tht 3 4 is the redy time of the LSB output of the lst (third) dder. 9

10 Prolem 3: [5 pts] Complete the Verilog code so tht it corresponds to the module shon. Complete module. The solution ppers elo. The module ould e slightly simpler if the if ( i > ) ere removed (mking the r=[i] unconditionl) nd r ere initilized to zero, ut tht ould not exctly correspond to the illustrtion. Full credit ould e given to either solution. [] [] [] [3] module fcfs_fit #( int nelts = 4, int = 6 ) ( output logic [-:], input uire [-:] [nelts], limit ); // SOLUTION lys_com egin end endmodule logic [-:] r; // Running. r = []; = ; for ( int i=; inelts; i ) egin if ( i > ) r = [i]; if ( r limit ) = r; end

11 Prolem 4: [5 pts] Appering to the right is fcfs_cfit, version of the fcfs_fit module in hich the input hs een chnged to prmeter, mening tht is n elortion-time constnt. Compute the cost of this module using the simple model used in clss nd ccounting for optimiztion sed on the constnt vlues. As in n erlier prolem, dders nd comprision units re ripple-style. 6h'4755 6h'47 6h'3755 6h'74 [] [] [] [3] n=4, =6, = Cost of the [] comprison unit. The cost is gtes. Explin. 6' [] [] B A p ' Optimiztion for [] it =. ' c c c pre [] B A p B A p Optimiztion for [] it =. Optimiztion for [] it =. c ' Becuse one input is constnt the 5 gtes per it using BFA-unopt is reduced to, either n AND gte or n OR gte. (If BFA-fst isusedthenthe4gtesperitislsoreducedto, eithernandoror.) Seethedigrmove. Thelestsignificnt it requires t most NOT gte, hich hs cost of zero. The totl cost is gtes. Cost of the [] dder. Explin. Since oth inputs re constnt the cost is zero.

12 Cost of the [] multiplexor. Explin. ' s m ' x ' s m x Optimiztion Pln Completed Optimiztion Sinceothinputsreconstntthecostiszero. Theoutput for it i 6 is either the constnt zero or, here n it is, is equl to the select signl. See the ottom ro of the -input mux optimiztion digrm to the right. ' s m x ' s m x Cost of the [] multiplexor. Explin. s m s m One input to the [] mux is constnt. Where the constnt input it is the logic is just n AND gte (top ro of digrm) here it is the logic is n AND nd n OR (middle ro of digrm). ' ' ' x ' ' x Totl cost.

13 Prolem 5: [ pts] Anser ech question elo. () A time slot in the Verilog event queue contins mny regions, mong them ctive, inctive, nd NBA. Explin ho n event gets put in ech region. (You cn use the next suprolem for exmples.) An event is put into the ctive region hen: Short Anser: When the ctive region is empty. Explntion: All events in the first non-empty region re copied into the ctive region. Of the regions tht hve een mentioned, the inctive region in the current time slot is checked first, folloed y the NBA region in the current time slot, folloed y the inctive region in the next scheduled time slot, etc. An event is put into the inctive region hen: Short Anser:... hen dely such s# is encountered in procedurl code nd hen vrile found in sensitivity list chnges. Explntion: Whendelysuchs#d(ford )isencounteredinprocedurlcodenreeeventillescheduledintheinctive region of time step td, here t is the current time slot. Note tht # is perfectly oky for those ho understnd SystemVerilog event timing. For exmple, in... =z; #; c=qr;... hen the # is reched ree event ill e put in the inctive region of the current time slot to ree execution t the c= sttement. If the dely hd een #3 then the ree event ould e put in the inctive region of time slot t3. For those events ith sensitivity list, such s lys com, continuous ssignments, nd module instntitions, events re scheduled hen vrile on the sensitivity list chnges. For exmple, consider lys com egin =xy;... When x chnges n event to execute the lys com lock ill e put in the inctive region. An event is put into the NBA region hen: Short Anser:... hen non-locking ssignment is executed. Explntion: For exmple, hen execution reches sttement like = the left-hnd side, in the exmple, ill immeditely e computed nd then n updte event ill e plced in the NBA region. The updte event crries the vlue of. Eventully the NBA region ill e copied to the ctive region nd the updte event ill e executed, cusing to chnge to the crried vlue. () In the code frgment elo sho the order in hich the sttements re executed fter the posedge clk. Identify sttement y the vlue tht is ssigned. The first to sttements executed re nd, tht s shon. (Since is nonlocking ssignment, the execution of only mens tht s computed, it doesn t men tht s chnged.) Complete the Order of sttements list. module regions; posedge clk ) egin = ; = ; end lys_com s = ; lys_com x = ; lys_com y = x 5; lys_com y = x 4; lys_com x = 3; endmodule Order of sttements:,, Short nser:,, s, x, y, s, x, y. 3

14 Prolem 6: [ pts] Appering elo is the pipelined mg module from Homeork 6. () Suppose it turns out tht the multiply () tkes tice s long s the dd (CW_fp_dd). Bsed on this fct, modify the pipeline to reduce cost, ut ithout ffecting clock frequency. Dr in your chnges, there s no need to rite Verilog. Also, comment on ltency nd throughput chnges. Modify for loer cost sed on fster dder. Solution ppers elo fter the unmodified module. The pipeline ltch eteen the to dders s removed. With this chnge the criticl pth length in the multiplier stge mtches the criticl pth in the dder stge. (Before this chnge the criticl pth length in ech of the dder stges s hlf the criticl pth in the multiplier stge.) Does the chnge help throughput? Does it help ltency? The chnge does not chnge throughput ecuse the clock frequency does not chnge. The module cn complete one clcultion per cycle ith or ithout the chnge. The chnge reduces (helps) ltency ecuse there is one less stge. pl_v[] pl_v[] pl_v[] 3' 3' 3' :m :m :m vsq[] vsq[] vsq[] mg pl_vsq[][] pl_vsq[][] pl_vsq[][] e CW_fp_dd 3' pl_sos[] pl_vsq[][] CW_fp_dd 3' pl_sos[3] mg pl_v[] 3' nd vsq[] mg pl_vsq[][] e CW_fp_dd Solution Pipeline removed. pl_v[] 3' nd vsq[] pl_vsq[][] 3' CW_fp_dd pl_sos[] mg pl_v[] 3' nd vsq[] pl_vsq[][] 3' 4

15 () Suppose tht the v input rrives very erly in the clock cycle. Bsed on this modify the pipeline to reduce cost. Modify for erly-rriving v. Short Anser: Solution ppers elo fter the unmodified module. Explntion: In this cse the pipeline ltch t the inputs s removed, sving the cost of the pipeline ltch. Since the inputs rrive erly there should e enough time to compute the products during the clock cycle in hich the inputs first rrive. The removed pipeline ltch ould e necessry if the inputs rrived lter in clock cycle, in tht cse the multipliction ould not strt until the next clock cycle. This modifiction does not chnge throughput ut does reduce ltency. pl_v[] pl_v[] pl_v[] 3' 3' 3' :m :m :m Stge vsq[] vsq[] vsq[] mg pl_vsq[][] pl_vsq[][] pl_vsq[][] e CW_fp_dd 3' pl_sos[] pl_vsq[][] CW_fp_dd 3' Stge Stge pl_sos[3] mg Solution mg e Pipeline ltch removed. 3' 3' nd nd vsq[] vsq[] pl_vsq[][] pl_vsq[][] CW_fp_dd 3' pl_sos[] CW_fp_dd pl_sos[3] mg 3' nd Stge vsq[] pl_vsq[][] pl_vsq[][] 3' Stge Stge 5

Digital Design using HDLs EE 4755 Final Examination

Digital Design using HDLs EE 4755 Final Examination Name Digital Design using HDLs EE 4755 Final Examination Thursday, 8 December 26 2:3-4:3 CST Alias Problem Problem 2 Problem 3 Problem 4 Problem 5 Problem 6 Exam Total (3 pts) (2 pts) (5 pts) (5 pts) (

More information

What do all those bits mean now? Number Systems and Arithmetic. Introduction to Binary Numbers. Questions About Numbers

What do all those bits mean now? Number Systems and Arithmetic. Introduction to Binary Numbers. Questions About Numbers Wht do ll those bits men now? bits (...) Number Systems nd Arithmetic or Computers go to elementry school instruction R-formt I-formt... integer dt number text chrs... floting point signed unsigned single

More information

Example: 2:1 Multiplexer

Example: 2:1 Multiplexer Exmple: 2:1 Multiplexer Exmple #1 reg ; lwys @( or or s) egin if (s == 1') egin = ; else egin = ; 1 s B. Bs 114 Exmple: 2:1 Multiplexer Exmple #2 Normlly lwys include egin nd sttements even though they

More information

EECS150 - Digital Design Lecture 23 - High-level Design and Optimization 3, Parallelism and Pipelining

EECS150 - Digital Design Lecture 23 - High-level Design and Optimization 3, Parallelism and Pipelining EECS150 - Digitl Design Lecture 23 - High-level Design nd Optimiztion 3, Prllelism nd Pipelining Nov 12, 2002 John Wwrzynek Fll 2002 EECS150 - Lec23-HL3 Pge 1 Prllelism Prllelism is the ct of doing more

More information

Fig.25: the Role of LEX

Fig.25: the Role of LEX The Lnguge for Specifying Lexicl Anlyzer We shll now study how to uild lexicl nlyzer from specifiction of tokens in the form of list of regulr expressions The discussion centers round the design of n existing

More information

2 Computing all Intersections of a Set of Segments Line Segment Intersection

2 Computing all Intersections of a Set of Segments Line Segment Intersection 15-451/651: Design & Anlysis of Algorithms Novemer 14, 2016 Lecture #21 Sweep-Line nd Segment Intersection lst chnged: Novemer 8, 2017 1 Preliminries The sweep-line prdigm is very powerful lgorithmic design

More information

In the last lecture, we discussed how valid tokens may be specified by regular expressions.

In the last lecture, we discussed how valid tokens may be specified by regular expressions. LECTURE 5 Scnning SYNTAX ANALYSIS We know from our previous lectures tht the process of verifying the syntx of the progrm is performed in two stges: Scnning: Identifying nd verifying tokens in progrm.

More information

CS321 Languages and Compiler Design I. Winter 2012 Lecture 5

CS321 Languages and Compiler Design I. Winter 2012 Lecture 5 CS321 Lnguges nd Compiler Design I Winter 2012 Lecture 5 1 FINITE AUTOMATA A non-deterministic finite utomton (NFA) consists of: An input lphet Σ, e.g. Σ =,. A set of sttes S, e.g. S = {1, 3, 5, 7, 11,

More information

Systems I. Logic Design I. Topics Digital logic Logic gates Simple combinational logic circuits

Systems I. Logic Design I. Topics Digital logic Logic gates Simple combinational logic circuits Systems I Logic Design I Topics Digitl logic Logic gtes Simple comintionl logic circuits Simple C sttement.. C = + ; Wht pieces of hrdwre do you think you might need? Storge - for vlues,, C Computtion

More information

COMP 423 lecture 11 Jan. 28, 2008

COMP 423 lecture 11 Jan. 28, 2008 COMP 423 lecture 11 Jn. 28, 2008 Up to now, we hve looked t how some symols in n lphet occur more frequently thn others nd how we cn sve its y using code such tht the codewords for more frequently occuring

More information

What do all those bits mean now? Number Systems and Arithmetic. Introduction to Binary Numbers. Questions About Numbers

What do all those bits mean now? Number Systems and Arithmetic. Introduction to Binary Numbers. Questions About Numbers Wht do ll those bits men now? bits (...) Number Systems nd Arithmetic or Computers go to elementry school instruction R-formt I-formt... integer dt number text chrs... floting point signed unsigned single

More information

CSCI 3130: Formal Languages and Automata Theory Lecture 12 The Chinese University of Hong Kong, Fall 2011

CSCI 3130: Formal Languages and Automata Theory Lecture 12 The Chinese University of Hong Kong, Fall 2011 CSCI 3130: Forml Lnguges nd utomt Theory Lecture 12 The Chinese University of Hong Kong, Fll 2011 ndrej Bogdnov In progrmming lnguges, uilding prse trees is significnt tsk ecuse prse trees tell us the

More information

George Boole. IT 3123 Hardware and Software Concepts. Switching Algebra. Boolean Functions. Boolean Functions. Truth Tables

George Boole. IT 3123 Hardware and Software Concepts. Switching Algebra. Boolean Functions. Boolean Functions. Truth Tables George Boole IT 3123 Hrdwre nd Softwre Concepts My 28 Digitl Logic The Little Mn Computer 1815 1864 British mthemticin nd philosopher Mny contriutions to mthemtics. Boolen lger: n lger over finite sets

More information

Questions About Numbers. Number Systems and Arithmetic. Introduction to Binary Numbers. Negative Numbers?

Questions About Numbers. Number Systems and Arithmetic. Introduction to Binary Numbers. Negative Numbers? Questions About Numbers Number Systems nd Arithmetic or Computers go to elementry school How do you represent negtive numbers? frctions? relly lrge numbers? relly smll numbers? How do you do rithmetic?

More information

LAB L Hardware Building Blocks

LAB L Hardware Building Blocks LAB L Hrdwre Building Blocks Perform the following groups of tsks: LL1.v 1. In previous l we creted the 2-to-1 mux shown in the left prt of the figure elow nd found tht it cts s n if sttement. c c 0 1

More information

CS143 Handout 07 Summer 2011 June 24 th, 2011 Written Set 1: Lexical Analysis

CS143 Handout 07 Summer 2011 June 24 th, 2011 Written Set 1: Lexical Analysis CS143 Hndout 07 Summer 2011 June 24 th, 2011 Written Set 1: Lexicl Anlysis In this first written ssignment, you'll get the chnce to ply round with the vrious constructions tht come up when doing lexicl

More information

12-B FRACTIONS AND DECIMALS

12-B FRACTIONS AND DECIMALS -B Frctions nd Decimls. () If ll four integers were negtive, their product would be positive, nd so could not equl one of them. If ll four integers were positive, their product would be much greter thn

More information

If you are at the university, either physically or via the VPN, you can download the chapters of this book as PDFs.

If you are at the university, either physically or via the VPN, you can download the chapters of this book as PDFs. Lecture 5 Wlks, Trils, Pths nd Connectedness Reding: Some of the mteril in this lecture comes from Section 1.2 of Dieter Jungnickel (2008), Grphs, Networks nd Algorithms, 3rd edition, which is ville online

More information

Concepts Introduced. A 1-Bit Logical Unit. 1-Bit Half Adder (cont.) 1-Bit Half Adder

Concepts Introduced. A 1-Bit Logical Unit. 1-Bit Half Adder (cont.) 1-Bit Half Adder oncepts Introduced A -Bit Logicl Unit sic rithmetic/logic unit clocks ltches nd ip-ops registers SRAMs nd RAMs nite stte mchines Below is -it logicl unit tht performs AN nd OR opertions Both the AN nd

More information

Computer Arithmetic Logical, Integer Addition & Subtraction Chapter

Computer Arithmetic Logical, Integer Addition & Subtraction Chapter Computer Arithmetic Logicl, Integer Addition & Sutrction Chpter 3.-3.3 3.3 EEC7 FQ 25 MIPS Integer Representtion -it signed integers,, e.g., for numeric opertions 2 s s complement: one representtion for

More information

Parallel Square and Cube Computations

Parallel Square and Cube Computations Prllel Squre nd Cube Computtions Albert A. Liddicot nd Michel J. Flynn Computer Systems Lbortory, Deprtment of Electricl Engineering Stnford University Gtes Building 5 Serr Mll, Stnford, CA 945, USA liddicot@stnford.edu

More information

Stack Manipulation. Other Issues. How about larger constants? Frame Pointer. PowerPC. Alternative Architectures

Stack Manipulation. Other Issues. How about larger constants? Frame Pointer. PowerPC. Alternative Architectures Other Issues Stck Mnipultion support for procedures (Refer to section 3.6), stcks, frmes, recursion mnipulting strings nd pointers linkers, loders, memory lyout Interrupts, exceptions, system clls nd conventions

More information

Section 10.4 Hyperbolas

Section 10.4 Hyperbolas 66 Section 10.4 Hyperbols Objective : Definition of hyperbol & hyperbols centered t (0, 0). The third type of conic we will study is the hyperbol. It is defined in the sme mnner tht we defined the prbol

More information

cisc1110 fall 2010 lecture VI.2 call by value function parameters another call by value example:

cisc1110 fall 2010 lecture VI.2 call by value function parameters another call by value example: cisc1110 fll 2010 lecture VI.2 cll y vlue function prmeters more on functions more on cll y vlue nd cll y reference pssing strings to functions returning strings from functions vrile scope glol vriles

More information

Study Guide for Exam 3

Study Guide for Exam 3 Mth 05 Elementry Algebr Fll 00 Study Guide for Em Em is scheduled for Thursdy, November 8 th nd ill cover chpters 5 nd. You my use "5" note crd (both sides) nd scientific clcultor. You re epected to no

More information

Class 04 MUX / DMUX and Full Adder

Class 04 MUX / DMUX and Full Adder lss 4 MUX / DMUX nd Full dder June 3, 23 2 Multiplexer MUX S S Y D D D 2 D 3 S S Y 3 D 3 D 3 D 23 D 33 Y 2 D 2 D 2 D 22 D 32 Y D D D 2 D 3 Y D D D 2 D 3 June 3, 23 3 Multiplexer MUX ENTITY mux4sel IS s:

More information

Course Administration

Course Administration /4/7 Spring 7 EE 363: Computer Orgniztion Arithmetic for Computers Numer Representtion & ALU Avinsh Kodi Deprtment of Electricl Engineering & Computer Science Ohio University, Athens, Ohio 457 E-mil: kodi@ohio.edu

More information

CS311H: Discrete Mathematics. Graph Theory IV. A Non-planar Graph. Regions of a Planar Graph. Euler s Formula. Instructor: Işıl Dillig

CS311H: Discrete Mathematics. Graph Theory IV. A Non-planar Graph. Regions of a Planar Graph. Euler s Formula. Instructor: Işıl Dillig CS311H: Discrete Mthemtics Grph Theory IV Instructor: Işıl Dillig Instructor: Işıl Dillig, CS311H: Discrete Mthemtics Grph Theory IV 1/25 A Non-plnr Grph Regions of Plnr Grph The plnr representtion of

More information

Midterm 2 Sample solution

Midterm 2 Sample solution Nme: Instructions Midterm 2 Smple solution CMSC 430 Introduction to Compilers Fll 2012 November 28, 2012 This exm contins 9 pges, including this one. Mke sure you hve ll the pges. Write your nme on the

More information

Ma/CS 6b Class 1: Graph Recap

Ma/CS 6b Class 1: Graph Recap M/CS 6 Clss 1: Grph Recp By Adm Sheffer Course Detils Adm Sheffer. Office hour: Tuesdys 4pm. dmsh@cltech.edu TA: Victor Kstkin. Office hour: Tuesdys 7pm. 1:00 Mondy, Wednesdy, nd Fridy. http://www.mth.cltech.edu/~2014-15/2term/m006/

More information

Slides for Data Mining by I. H. Witten and E. Frank

Slides for Data Mining by I. H. Witten and E. Frank Slides for Dt Mining y I. H. Witten nd E. Frnk Simplicity first Simple lgorithms often work very well! There re mny kinds of simple structure, eg: One ttriute does ll the work All ttriutes contriute eqully

More information

CS 241 Week 4 Tutorial Solutions

CS 241 Week 4 Tutorial Solutions CS 4 Week 4 Tutoril Solutions Writing n Assemler, Prt & Regulr Lnguges Prt Winter 8 Assemling instrutions utomtilly. slt $d, $s, $t. Solution: $d, $s, nd $t ll fit in -it signed integers sine they re 5-it

More information

UT1553B BCRT True Dual-port Memory Interface

UT1553B BCRT True Dual-port Memory Interface UTMC APPICATION NOTE UT553B BCRT True Dul-port Memory Interfce INTRODUCTION The UTMC UT553B BCRT is monolithic CMOS integrted circuit tht provides comprehensive MI-STD- 553B Bus Controller nd Remote Terminl

More information

Basics of Logic Design Arithmetic Logic Unit (ALU)

Basics of Logic Design Arithmetic Logic Unit (ALU) Bsics of Logic Design Arithmetic Logic Unit (ALU) CPS 4 Lecture 9 Tody s Lecture Homework #3 Assigned Due Mrch 3 Project Groups ssigned & posted to lckord. Project Specifiction is on We Due April 9 Building

More information

CS201 Discussion 10 DRAWTREE + TRIES

CS201 Discussion 10 DRAWTREE + TRIES CS201 Discussion 10 DRAWTREE + TRIES DrwTree First instinct: recursion As very generic structure, we could tckle this problem s follows: drw(): Find the root drw(root) drw(root): Write the line for the

More information

10.5 Graphing Quadratic Functions

10.5 Graphing Quadratic Functions 0.5 Grphing Qudrtic Functions Now tht we cn solve qudrtic equtions, we wnt to lern how to grph the function ssocited with the qudrtic eqution. We cll this the qudrtic function. Grphs of Qudrtic Functions

More information

Before We Begin. Introduction to Spatial Domain Filtering. Introduction to Digital Image Processing. Overview (1): Administrative Details (1):

Before We Begin. Introduction to Spatial Domain Filtering. Introduction to Digital Image Processing. Overview (1): Administrative Details (1): Overview (): Before We Begin Administrtive detils Review some questions to consider Winter 2006 Imge Enhncement in the Sptil Domin: Bsics of Sptil Filtering, Smoothing Sptil Filters, Order Sttistics Filters

More information

Presentation Martin Randers

Presentation Martin Randers Presenttion Mrtin Rnders Outline Introduction Algorithms Implementtion nd experiments Memory consumption Summry Introduction Introduction Evolution of species cn e modelled in trees Trees consist of nodes

More information

Unit #9 : Definite Integral Properties, Fundamental Theorem of Calculus

Unit #9 : Definite Integral Properties, Fundamental Theorem of Calculus Unit #9 : Definite Integrl Properties, Fundmentl Theorem of Clculus Gols: Identify properties of definite integrls Define odd nd even functions, nd reltionship to integrl vlues Introduce the Fundmentl

More information

this grammar generates the following language: Because this symbol will also be used in a later step, it receives the

this grammar generates the following language: Because this symbol will also be used in a later step, it receives the LR() nlysis Drwcks of LR(). Look-hed symols s eplined efore, concerning LR(), it is possile to consult the net set to determine, in the reduction sttes, for which symols it would e possile to perform reductions.

More information

What are suffix trees?

What are suffix trees? Suffix Trees 1 Wht re suffix trees? Allow lgorithm designers to store very lrge mount of informtion out strings while still keeping within liner spce Allow users to serch for new strings in the originl

More information

ECEN 468 Advanced Logic Design Lecture 36: RTL Optimization

ECEN 468 Advanced Logic Design Lecture 36: RTL Optimization ECEN 468 Advnced Logic Design Lecture 36: RTL Optimiztion ECEN 468 Lecture 36 RTL Design Optimiztions nd Trdeoffs 6.5 While creting dtpth during RTL design, there re severl optimiztions nd trdeoffs, involving

More information

Network Layer: Routing Classifications; Shortest Path Routing

Network Layer: Routing Classifications; Shortest Path Routing igitl ommuniction in the Modern World : Routing lssifictions; Shortest Pth Routing s min prolem: To get efficiently from one point to the other in dynmic environment http://.cs.huji.c.il/~com com@cs.huji.c.il

More information

Compilers Spring 2013 PRACTICE Midterm Exam

Compilers Spring 2013 PRACTICE Midterm Exam Compilers Spring 2013 PRACTICE Midterm Exm This is full length prctice midterm exm. If you wnt to tke it t exm pce, give yourself 7 minutes to tke the entire test. Just like the rel exm, ech question hs

More information

box Boxes and Arrows 3 true 7.59 'X' An object is drawn as a box that contains its data members, for example:

box Boxes and Arrows 3 true 7.59 'X' An object is drawn as a box that contains its data members, for example: Boxes nd Arrows There re two kinds of vriles in Jv: those tht store primitive vlues nd those tht store references. Primitive vlues re vlues of type long, int, short, chr, yte, oolen, doule, nd flot. References

More information

EECS 281: Homework #4 Due: Thursday, October 7, 2004

EECS 281: Homework #4 Due: Thursday, October 7, 2004 EECS 28: Homework #4 Due: Thursdy, October 7, 24 Nme: Emil:. Convert the 24-bit number x44243 to mime bse64: QUJD First, set is to brek 8-bit blocks into 6-bit blocks, nd then convert: x44243 b b 6 2 9

More information

ΕΠΛ323 - Θεωρία και Πρακτική Μεταγλωττιστών

ΕΠΛ323 - Θεωρία και Πρακτική Μεταγλωττιστών ΕΠΛ323 - Θωρία και Πρακτική Μταγλωττιστών Lecture 3 Lexicl Anlysis Elis Athnsopoulos elisthn@cs.ucy.c.cy Recognition of Tokens if expressions nd reltionl opertors if è if then è then else è else relop

More information

INTRODUCTION TO SIMPLICIAL COMPLEXES

INTRODUCTION TO SIMPLICIAL COMPLEXES INTRODUCTION TO SIMPLICIAL COMPLEXES CASEY KELLEHER AND ALESSANDRA PANTANO 0.1. Introduction. In this ctivity set we re going to introduce notion from Algebric Topology clled simplicil homology. The min

More information

Engineer To Engineer Note

Engineer To Engineer Note Engineer To Engineer Note EE-186 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit

More information

5 Regular 4-Sided Composition

5 Regular 4-Sided Composition Xilinx-Lv User Guide 5 Regulr 4-Sided Composition This tutoril shows how regulr circuits with 4-sided elements cn be described in Lv. The type of regulr circuits tht re discussed in this tutoril re those

More information

P(r)dr = probability of generating a random number in the interval dr near r. For this probability idea to make sense we must have

P(r)dr = probability of generating a random number in the interval dr near r. For this probability idea to make sense we must have Rndom Numers nd Monte Crlo Methods Rndom Numer Methods The integrtion methods discussed so fr ll re sed upon mking polynomil pproximtions to the integrnd. Another clss of numericl methods relies upon using

More information

Compression Outline :Algorithms in the Real World. Lempel-Ziv Algorithms. LZ77: Sliding Window Lempel-Ziv

Compression Outline :Algorithms in the Real World. Lempel-Ziv Algorithms. LZ77: Sliding Window Lempel-Ziv Compression Outline 15-853:Algorithms in the Rel World Dt Compression III Introduction: Lossy vs. Lossless, Benchmrks, Informtion Theory: Entropy, etc. Proility Coding: Huffmn + Arithmetic Coding Applictions

More information

TO REGULAR EXPRESSIONS

TO REGULAR EXPRESSIONS Suject :- Computer Science Course Nme :- Theory Of Computtion DA TO REGULAR EXPRESSIONS Report Sumitted y:- Ajy Singh Meen 07000505 jysmeen@cse.iit.c.in BASIC DEINITIONS DA:- A finite stte mchine where

More information

Fall 2018 Midterm 1 October 11, ˆ You may not ask questions about the exam except for language clarifications.

Fall 2018 Midterm 1 October 11, ˆ You may not ask questions about the exam except for language clarifications. 15-112 Fll 2018 Midterm 1 October 11, 2018 Nme: Andrew ID: Recittion Section: ˆ You my not use ny books, notes, extr pper, or electronic devices during this exm. There should be nothing on your desk or

More information

MTH 146 Conics Supplement

MTH 146 Conics Supplement 105- Review of Conics MTH 146 Conics Supplement In this section we review conics If ou ne more detils thn re present in the notes, r through section 105 of the ook Definition: A prol is the set of points

More information

Announcements. CS 188: Artificial Intelligence Fall Recap: Search. Today. Example: Pancake Problem. Example: Pancake Problem

Announcements. CS 188: Artificial Intelligence Fall Recap: Search. Today. Example: Pancake Problem. Example: Pancake Problem Announcements Project : erch It s live! Due 9/. trt erly nd sk questions. It s longer thn most! Need prtner? Come up fter clss or try Pizz ections: cn go to ny, ut hve priority in your own C 88: Artificil

More information

COMPUTER SCIENCE 123. Foundations of Computer Science. 6. Tuples

COMPUTER SCIENCE 123. Foundations of Computer Science. 6. Tuples COMPUTER SCIENCE 123 Foundtions of Computer Science 6. Tuples Summry: This lecture introduces tuples in Hskell. Reference: Thompson Sections 5.1 2 R.L. While, 2000 3 Tuples Most dt comes with structure

More information

Rational Numbers---Adding Fractions With Like Denominators.

Rational Numbers---Adding Fractions With Like Denominators. Rtionl Numbers---Adding Frctions With Like Denomintors. A. In Words: To dd frctions with like denomintors, dd the numertors nd write the sum over the sme denomintor. B. In Symbols: For frctions c nd b

More information

Dr. D.M. Akbar Hussain

Dr. D.M. Akbar Hussain Dr. D.M. Akr Hussin Lexicl Anlysis. Bsic Ide: Red the source code nd generte tokens, it is similr wht humns will do to red in; just tking on the input nd reking it down in pieces. Ech token is sequence

More information

Agenda & Reading. Class Exercise. COMPSCI 105 SS 2012 Principles of Computer Science. Arrays

Agenda & Reading. Class Exercise. COMPSCI 105 SS 2012 Principles of Computer Science. Arrays COMPSCI 5 SS Principles of Computer Science Arrys & Multidimensionl Arrys Agend & Reding Agend Arrys Creting & Using Primitive & Reference Types Assignments & Equlity Pss y Vlue & Pss y Reference Copying

More information

CS481: Bioinformatics Algorithms

CS481: Bioinformatics Algorithms CS481: Bioinformtics Algorithms Cn Alkn EA509 clkn@cs.ilkent.edu.tr http://www.cs.ilkent.edu.tr/~clkn/teching/cs481/ EXACT STRING MATCHING Fingerprint ide Assume: We cn compute fingerprint f(p) of P in

More information

UNIVERSITY OF EDINBURGH COLLEGE OF SCIENCE AND ENGINEERING SCHOOL OF INFORMATICS INFORMATICS 1 COMPUTATION & LOGIC INSTRUCTIONS TO CANDIDATES

UNIVERSITY OF EDINBURGH COLLEGE OF SCIENCE AND ENGINEERING SCHOOL OF INFORMATICS INFORMATICS 1 COMPUTATION & LOGIC INSTRUCTIONS TO CANDIDATES UNIVERSITY OF EDINBURGH COLLEGE OF SCIENCE AND ENGINEERING SCHOOL OF INFORMATICS INFORMATICS COMPUTATION & LOGIC Sturdy st April 7 : to : INSTRUCTIONS TO CANDIDATES This is tke-home exercise. It will not

More information

Ma/CS 6b Class 1: Graph Recap

Ma/CS 6b Class 1: Graph Recap M/CS 6 Clss 1: Grph Recp By Adm Sheffer Course Detils Instructor: Adm Sheffer. TA: Cosmin Pohot. 1pm Mondys, Wednesdys, nd Fridys. http://mth.cltech.edu/~2015-16/2term/m006/ Min ook: Introduction to Grph

More information

Union-Find Problem. Using Arrays And Chains. A Set As A Tree. Result Of A Find Operation

Union-Find Problem. Using Arrays And Chains. A Set As A Tree. Result Of A Find Operation Union-Find Problem Given set {,,, n} of n elements. Initilly ech element is in different set. ƒ {}, {},, {n} An intermixed sequence of union nd find opertions is performed. A union opertion combines two

More information

MA1008. Calculus and Linear Algebra for Engineers. Course Notes for Section B. Stephen Wills. Department of Mathematics. University College Cork

MA1008. Calculus and Linear Algebra for Engineers. Course Notes for Section B. Stephen Wills. Department of Mathematics. University College Cork MA1008 Clculus nd Liner Algebr for Engineers Course Notes for Section B Stephen Wills Deprtment of Mthemtics University College Cork s.wills@ucc.ie http://euclid.ucc.ie/pges/stff/wills/teching/m1008/ma1008.html

More information

Section 3.1: Sequences and Series

Section 3.1: Sequences and Series Section.: Sequences d Series Sequences Let s strt out with the definition of sequence: sequence: ordered list of numbers, often with definite pttern Recll tht in set, order doesn t mtter so this is one

More information

OUTPUT DELIVERY SYSTEM

OUTPUT DELIVERY SYSTEM Differences in ODS formtting for HTML with Proc Print nd Proc Report Lur L. M. Thornton, USDA-ARS, Animl Improvement Progrms Lortory, Beltsville, MD ABSTRACT While Proc Print is terrific tool for dt checking

More information

Agilent Mass Hunter Software

Agilent Mass Hunter Software Agilent Mss Hunter Softwre Quick Strt Guide Use this guide to get strted with the Mss Hunter softwre. Wht is Mss Hunter Softwre? Mss Hunter is n integrl prt of Agilent TOF softwre (version A.02.00). Mss

More information

Tries. Yufei Tao KAIST. April 9, Y. Tao, April 9, 2013 Tries

Tries. Yufei Tao KAIST. April 9, Y. Tao, April 9, 2013 Tries Tries Yufei To KAIST April 9, 2013 Y. To, April 9, 2013 Tries In this lecture, we will discuss the following exct mtching prolem on strings. Prolem Let S e set of strings, ech of which hs unique integer

More information

Lexical analysis, scanners. Construction of a scanner

Lexical analysis, scanners. Construction of a scanner Lexicl nlysis scnners (NB. Pges 4-5 re for those who need to refresh their knowledge of DFAs nd NFAs. These re not presented during the lectures) Construction of scnner Tools: stte utomt nd trnsition digrms.

More information

Simplifying Algebra. Simplifying Algebra. Curriculum Ready.

Simplifying Algebra. Simplifying Algebra. Curriculum Ready. Simplifying Alger Curriculum Redy www.mthletics.com This ooklet is ll out turning complex prolems into something simple. You will e le to do something like this! ( 9- # + 4 ' ) ' ( 9- + 7-) ' ' Give this

More information

Unit 5 Vocabulary. A function is a special relationship where each input has a single output.

Unit 5 Vocabulary. A function is a special relationship where each input has a single output. MODULE 3 Terms Definition Picture/Exmple/Nottion 1 Function Nottion Function nottion is n efficient nd effective wy to write functions of ll types. This nottion llows you to identify the input vlue with

More information

Definition of Regular Expression

Definition of Regular Expression Definition of Regulr Expression After the definition of the string nd lnguges, we re redy to descrie regulr expressions, the nottion we shll use to define the clss of lnguges known s regulr sets. Recll

More information

Lecture 10 Evolutionary Computation: Evolution strategies and genetic programming

Lecture 10 Evolutionary Computation: Evolution strategies and genetic programming Lecture 10 Evolutionry Computtion: Evolution strtegies nd genetic progrmming Evolution strtegies Genetic progrmming Summry Negnevitsky, Person Eduction, 2011 1 Evolution Strtegies Another pproch to simulting

More information

MIPS I/O and Interrupt

MIPS I/O and Interrupt MIPS I/O nd Interrupt Review Floting point instructions re crried out on seprte chip clled coprocessor 1 You hve to move dt to/from coprocessor 1 to do most common opertions such s printing, clling functions,

More information

Lab 1 - Counter. Create a project. Add files to the project. Compile design files. Run simulation. Debug results

Lab 1 - Counter. Create a project. Add files to the project. Compile design files. Run simulation. Debug results 1 L 1 - Counter A project is collection mechnism for n HDL design under specifiction or test. Projects in ModelSim ese interction nd re useful for orgnizing files nd specifying simultion settings. The

More information

ASTs, Regex, Parsing, and Pretty Printing

ASTs, Regex, Parsing, and Pretty Printing ASTs, Regex, Prsing, nd Pretty Printing CS 2112 Fll 2016 1 Algeric Expressions To strt, consider integer rithmetic. Suppose we hve the following 1. The lphet we will use is the digits {0, 1, 2, 3, 4, 5,

More information

Functor (1A) Young Won Lim 8/2/17

Functor (1A) Young Won Lim 8/2/17 Copyright (c) 2016-2017 Young W. Lim. Permission is grnted to copy, distribute nd/or modify this document under the terms of the GNU Free Documenttion License, Version 1.2 or ny lter version published

More information

Register Transfer Level (RTL) Design

Register Transfer Level (RTL) Design CSE4: Components nd Design Techniques for Digitl Systems Register Trnsfer Level (RTL) Design Tjn Simunic Rosing Where we re now Wht we hve covered lst time: Register Trnsfer Level (RTL) design Wht we re

More information

Pipeline Example: Cycle 1. Pipeline Example: Cycle 2. Pipeline Example: Cycle 4. Pipeline Example: Cycle 3. 3 instructions. 3 instructions.

Pipeline Example: Cycle 1. Pipeline Example: Cycle 2. Pipeline Example: Cycle 4. Pipeline Example: Cycle 3. 3 instructions. 3 instructions. ipeline Exmple: Cycle 1 ipeline Exmple: Cycle X X/ /W X X/ /W $3,$,$1 lw $,0($5) $3,$,$1 3 instructions 8 9 ipeline Exmple: Cycle 3 ipeline Exmple: Cycle X X/ /W X X/ /W sw $6,($7) lw $,0($5) $3,$,$1 sw

More information

Product of polynomials. Introduction to Programming (in C++) Numerical algorithms. Product of polynomials. Product of polynomials

Product of polynomials. Introduction to Programming (in C++) Numerical algorithms. Product of polynomials. Product of polynomials Product of polynomils Introduction to Progrmming (in C++) Numericl lgorithms Jordi Cortdell, Ricrd Gvldà, Fernndo Orejs Dept. of Computer Science, UPC Given two polynomils on one vrile nd rel coefficients,

More information

Functor (1A) Young Won Lim 10/5/17

Functor (1A) Young Won Lim 10/5/17 Copyright (c) 2016-2017 Young W. Lim. Permission is grnted to copy, distribute nd/or modify this document under the terms of the GNU Free Documenttion License, Version 1.2 or ny lter version published

More information

Quiz2 45mins. Personal Number: Problem 1. (20pts) Here is an Table of Perl Regular Ex

Quiz2 45mins. Personal Number: Problem 1. (20pts) Here is an Table of Perl Regular Ex Long Quiz2 45mins Nme: Personl Numer: Prolem. (20pts) Here is n Tle of Perl Regulr Ex Chrcter Description. single chrcter \s whitespce chrcter (spce, t, newline) \S non-whitespce chrcter \d digit (0-9)

More information

A Tautology Checker loosely related to Stålmarck s Algorithm by Martin Richards

A Tautology Checker loosely related to Stålmarck s Algorithm by Martin Richards A Tutology Checker loosely relted to Stålmrck s Algorithm y Mrtin Richrds mr@cl.cm.c.uk http://www.cl.cm.c.uk/users/mr/ University Computer Lortory New Museum Site Pemroke Street Cmridge, CB2 3QG Mrtin

More information

The Greedy Method. The Greedy Method

The Greedy Method. The Greedy Method Lists nd Itertors /8/26 Presenttion for use with the textook, Algorithm Design nd Applictions, y M. T. Goodrich nd R. Tmssi, Wiley, 25 The Greedy Method The Greedy Method The greedy method is generl lgorithm

More information

UNIT 11. Query Optimization

UNIT 11. Query Optimization UNIT Query Optimiztion Contents Introduction to Query Optimiztion 2 The Optimiztion Process: An Overview 3 Optimiztion in System R 4 Optimiztion in INGRES 5 Implementing the Join Opertors Wei-Png Yng,

More information

such that the S i cover S, or equivalently S

such that the S i cover S, or equivalently S MATH 55 Triple Integrls Fll 16 1. Definition Given solid in spce, prtition of consists of finite set of solis = { 1,, n } such tht the i cover, or equivlently n i. Furthermore, for ech i, intersects i

More information

Digital Signal Processing: A Hardware-Based Approach

Digital Signal Processing: A Hardware-Based Approach Digitl Signl Processing: A Hrdwre-Bsed Approch Roert Esposito Electricl nd Computer Engineering Temple University troduction Teching Digitl Signl Processing (DSP) hs included the utilition of simultion

More information

Today. CS 188: Artificial Intelligence Fall Recap: Search. Example: Pancake Problem. Example: Pancake Problem. General Tree Search.

Today. CS 188: Artificial Intelligence Fall Recap: Search. Example: Pancake Problem. Example: Pancake Problem. General Tree Search. CS 88: Artificil Intelligence Fll 00 Lecture : A* Serch 9//00 A* Serch rph Serch Tody Heuristic Design Dn Klein UC Berkeley Multiple slides from Sturt Russell or Andrew Moore Recp: Serch Exmple: Pncke

More information

Pointers and Arrays. More Pointer Examples. Pointers CS 217

Pointers and Arrays. More Pointer Examples. Pointers CS 217 Pointers nd Arrs CS 21 1 2 Pointers More Pointer Emples Wht is pointer A vrile whose vlue is the ddress of nother vrile p is pointer to vrile v Opertions &: ddress of (reference) *: indirection (dereference)

More information

ECE 468/573 Midterm 1 September 28, 2012

ECE 468/573 Midterm 1 September 28, 2012 ECE 468/573 Midterm 1 September 28, 2012 Nme:! Purdue emil:! Plese sign the following: I ffirm tht the nswers given on this test re mine nd mine lone. I did not receive help from ny person or mteril (other

More information

Spring 2018 Midterm Exam 1 March 1, You may not use any books, notes, or electronic devices during this exam.

Spring 2018 Midterm Exam 1 March 1, You may not use any books, notes, or electronic devices during this exam. 15-112 Spring 2018 Midterm Exm 1 Mrch 1, 2018 Nme: Andrew ID: Recittion Section: You my not use ny books, notes, or electronic devices during this exm. You my not sk questions bout the exm except for lnguge

More information

PARALLEL AND DISTRIBUTED COMPUTING

PARALLEL AND DISTRIBUTED COMPUTING PARALLEL AND DISTRIBUTED COMPUTING 2009/2010 1 st Semester Teste Jnury 9, 2010 Durtion: 2h00 - No extr mteril llowed. This includes notes, scrtch pper, clcultor, etc. - Give your nswers in the ville spce

More information

Chapter 9. Greedy Technique. Copyright 2007 Pearson Addison-Wesley. All rights reserved.

Chapter 9. Greedy Technique. Copyright 2007 Pearson Addison-Wesley. All rights reserved. Chpter 9 Greey Tehnique Copyright 2007 Person Aison-Wesley. All rights reserve. Greey Tehnique Construts solution to n optimiztion prolem piee y piee through sequene of hoies tht re: fesile lolly optiml

More information

2 Surface Topology. 2.1 Topological Type. Computational Topology Surface Topology Afra Zomorodian

2 Surface Topology. 2.1 Topological Type. Computational Topology Surface Topology Afra Zomorodian Klein ottle for rent inquire ithin. Anonymous 2 Surfce Topology Lst lecture, e spent considerle mount of effort defining mnifolds. We like mnifolds ecuse they re loclly Eucliden. So, een though it is hrd

More information

Misrepresentation of Preferences

Misrepresentation of Preferences Misrepresenttion of Preferences Gicomo Bonnno Deprtment of Economics, University of Cliforni, Dvis, USA gfbonnno@ucdvis.edu Socil choice functions Arrow s theorem sys tht it is not possible to extrct from

More information

Digital Design. Chapter 6: Optimizations and Tradeoffs

Digital Design. Chapter 6: Optimizations and Tradeoffs Digitl Design Chpter 6: Optimiztions nd Trdeoffs Slides to ccompny the tetbook Digitl Design, with RTL Design, VHDL, nd Verilog, 2nd Edition, by Frnk Vhid, John Wiley nd Sons Publishers, 2. http://www.ddvhid.com

More information

LINX MATRIX SWITCHERS FIRMWARE UPDATE INSTRUCTIONS FIRMWARE VERSION

LINX MATRIX SWITCHERS FIRMWARE UPDATE INSTRUCTIONS FIRMWARE VERSION Overview LINX MATRIX SWITCHERS FIRMWARE UPDATE INSTRUCTIONS FIRMWARE VERSION 4.3.1.0 Due to the complex nture of this updte, plese fmilirize yourself with these instructions nd then contct RGB Spectrum

More information

9 Graph Cutting Procedures

9 Graph Cutting Procedures 9 Grph Cutting Procedures Lst clss we begn looking t how to embed rbitrry metrics into distributions of trees, nd proved the following theorem due to Brtl (1996): Theorem 9.1 (Brtl (1996)) Given metric

More information

File Manager Quick Reference Guide. June Prepared for the Mayo Clinic Enterprise Kahua Deployment

File Manager Quick Reference Guide. June Prepared for the Mayo Clinic Enterprise Kahua Deployment File Mnger Quick Reference Guide June 2018 Prepred for the Myo Clinic Enterprise Khu Deployment NVIGTION IN FILE MNGER To nvigte in File Mnger, users will mke use of the left pne to nvigte nd further pnes

More information