8 Pages

practice_mod5_soln

Course: ECE 270, Spring 2012
School: Purdue
Rating:
 
 
 
 
 

Word Count: 2219

Document Preview

270 ECE Module 5 Practice Homework -1Solution 2009 by D. G. Meyer ______________________________________________________________________________ 1. As the competition on American Idol heats up, the judges have become aware of the need for an "improved" scoring circuit. Now that you know something about arithmetic logic circuit design, you can help! Before the next round, RPS (short for Randy,...

Register Now

Unformatted Document Excerpt

Coursehero >> Indiana >> Purdue >> ECE 270

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
270 ECE Module 5 Practice Homework -1Solution 2009 by D. G. Meyer ______________________________________________________________________________ 1. As the competition on American Idol heats up, the judges have become aware of the need for an "improved" scoring circuit. Now that you know something about arithmetic logic circuit design, you can help! Before the next round, RPS (short for Randy, Paula, and Simon) have asked for a circuit that will allow each of them to award a score ranging from zero to five for each contestant; each judge, therefore, will have six pushbuttons to register their result, labeled "0" through "5". The sum of the three judges' scores is to be displayed on an LED "bar-graph", which should only illuminate when all three judges press their chosen button simultaneously. Further, your design should correctly handle multiple (simultaneous) button presses by any individual judge, registering only the highest numbered button pressed (HINT: sounds like a priority encoder). Note that the three-judge vote total has the potential to range from 0 to 15, requiring 16 LEDs in the bar-graph display. To help the bewildered contestants quickly ascertain their status, your design should utilize the following LED color-coding scheme: green for scores in the range of 1215 ("clear winner even Simon kind of liked you"), yellow for scores in the range of 8-11 ("split decision"), red in the range of 1-7 ("the competition is over for you"), and blue for zero ("signed Love is Like a Flower worse than Napoleon Dynamite"). For this problem, you need to complete the following steps: (a) Draw a block diagram of your design. Note that the main "building blocks" you need include 6:3 priority encoders, 4-bit binary adders, and a 4:16 binary decoder. 6:3 Encoder I0 D0 I1 D1 I2 D2 I3 I4 GS I5 6:3 Encoder I0 D0 I1 D1 I2 D2 I3 I4 GS I5 6:3 Encoder I0 D0 I1 D1 I2 D2 I3 I4 GS I5 PUSHBUTTONS PUSHBUTTONS 0 0 VCC 4-bit adder PUSHBUTTONS 0 4-bit adder 4:16 Decoder A B C D 2 3 4 1 Enable ECE 270 Module 5 Practice Homework -2Solution 2009 by D. G. Meyer ______________________________________________________________________________ (b) Create an ABEL source file for your complete solution, noting that nominally 18 inputs (six buttons for each of the three judges) and 16 outputs (all active low, for sinking current through the bar-graph LEDs) are required. MODULE idolbar TITLE 'RPS Idol Bar' DECLARATIONS " Pushbutton inputs (contact closure to ground " when pressed, therefore active low -- assume " pulled up to high state when button not pressed !RB0..!RB5 pin; " Randy's pushbuttons !PB0..!PB5 pin; " Paula's pushbuttons !SB0..!SB5 pin; " Simon's pushbuttons RV0..RV2 node istype 'com'; " Randy's encoded vote RV = [0,RV2,RV1,RV0]; RG node istype 'com'; " Randy's vote strobe PV0..PV2 node istype 'com'; " Paula's encoded vote PV = [0,PV2,PV1,PV0]; PG node istype 'com'; " Paula's vote strobe SV0..SV2 node istype 'com'; " Simon's encoded vote SV = [0,SV2,SV1,SV0]; SG node istype 'com'; " Simon's vote strobe " Split into intermediate sum to make it easier for fitter " to find smaller part that works ISUM0..ISUM3 node istype 'com'; " intermediate vote sum ISUM = [ISUM3,ISUM2,ISUM1,ISUM0]; VSUM0..VSUM3 node istype 'com'; " vote sum VSUM = [VSUM3,VSUM2,VSUM1,VSUM0]; !L0..!L15 pin istype 'com'; " LED outputs (active low) LEN node istype 'com'; " LED display enable X = .X.; TRUTH_TABLE ([RB5, RB4, RB3, RB2, RB1, RB0] -> [RV2, RV1, RV0, RG]) [ 0, 0, 0, 0, 0, 0] -> [ 0, 0, 0, 0]; [ 0, 0, 0, 0, 0, 1] -> [ 0, 0, 0, 1]; [ 0, 0, 0, 0, 1, X] -> [ 0, 0, 1, 1]; [ 0, 0, 0, 1, X, X] -> [ 0, 1, 0, 1]; [ 0, 0, 1, X, X, X] -> [ 0, 1, 1, 1]; [ 0, 1, X, X, X, X] -> [ 1, 0, 0, 1]; [ 1, X, X, X, X, X] -> [ 1, 0, 1, 1]; EQUATIONS LEN = RG & PG & SG; ISUM = RV + PV; VSUM = SV + ISUM; L0 L1 L2 L3 L4 L5 L6 L7 = = = = = = = = LEN LEN LEN LEN LEN LEN LEN LEN LEN LEN LEN LEN LEN LEN LEN LEN & & & & & & & & & & & & & & & & !VSUM3 !VSUM3 !VSUM3 !VSUM3 !VSUM3 !VSUM3 !VSUM3 !VSUM3 VSUM3 VSUM3 VSUM3 VSUM3 VSUM3 VSUM3 VSUM3 VSUM3 & & & & & & & & & & & & & & & & !VSUM2 !VSUM2 !VSUM2 !VSUM2 VSUM2 VSUM2 VSUM2 VSUM2 !VSUM2 !VSUM2 !VSUM2 !VSUM2 VSUM2 VSUM2 VSUM2 VSUM2 & & & & & & & & & & & & & & & & This could have been done on a single line, but splitting it up like this makes it easier for the fitter to realize the design using a smaller PLD. !VSUM1 !VSUM1 VSUM1 VSUM1 !VSUM1 !VSUM1 VSUM1 VSUM1 !VSUM1 !VSUM1 VSUM1 VSUM1 !VSUM1 !VSUM1 VSUM1 VSUM1 & & & & & & & & & & & & & & & & !VSUM0; VSUM0; !VSUM0; VSUM0; !VSUM0; VSUM0; !VSUM0; VSUM0; !VSUM0; VSUM0; !VSUM0; VSUM0; !VSUM0; VSUM0; !VSUM0; VSUM0; L8 = L9 = L10= L11= L12= L13= L14= L15= END TRUTH_TABLE ([PB5, PB4, PB3, PB2, PB1, PB0] -> [PV2, PV1, PV0, PG]) [ 0, 0, 0, 0, 0, 0] -> [ 0, 0, 0, 0]; [ 0, 0, 0, 0, 0, 1] -> [ 0, 0, 0, 1]; [ 0, 0, 0, 0, 1, X] -> [ 0, 0, 1, 1]; [ 0, 0, 0, 1, X, X] -> [ 0, 1, 0, 1]; [ 0, 0, 1, X, X, X] -> [ 0, 1, 1, 1]; [ 0, 1, X, X, X, X] -> [ 1, 0, 0, 1]; [ 1, X, X, X, X, X] -> [ 1, 0, 1, 1]; TRUTH_TABLE ([SB5, SB4, SB3, SB2, SB1, SB0] -> [SV2, SV1, SV0, SG]) [ 0, 0, 0, 0, 0, 0] -> [ 0, 0, 0, 0]; [ 0, 0, 0, 0, 0, 1] -> [ 0, 0, 0, 1]; [ 0, 0, 0, 0, 1, X] -> [ 0, 0, 1, 1]; [ 0, 0, 0, 1, X, X] -> [ 0, 1, 0, 1]; [ 0, 0, 1, X, X, X] -> [ 0, 1, 1, 1]; [ 0, 1, X, X, X, X] -> [ 1, 0, 0, 1]; [ 1, X, X, X, X, X] -> [ 1, 0, 1, 1]; ECE 270 Module 5 Practice Homework -3Solution 2009 by D. G. Meyer ______________________________________________________________________________ (c) Compile your ABEL source file and fit it into an appropriate sized PLD (note that there are many possible choices in ispLEVER pick the smallest one that works). Include a copy of your "fitter" report to document that your design indeed compiles and fits into an available PLD. ECE 270 Module 5 Practice Homework -4Solution 2009 by D. G. Meyer ______________________________________________________________________________ 2. After using your "Problem 1" circuit for a week, the judges (RPS) quickly grew tired of "counting LEDS" to compare the contestants' scores. Having just learned about BCD adder circuits, you know how the circuit could be modified to produce a total score that could be displayed on a pair of 7-segment LEDs. In fact, by simply replacing the 4-bit binary adders (used in Problem 1) with BCD adders, and coupling that with a 74x47 BCD decoder/driver (from your DK-1 parts kit), you could meet the judges' needs! (Note that the most significant digit is either BLANK or "1", i.e., either no segments driven or only segments "b" and "c" driven, depending on the state of the "ten's position" output signal.) For this problem, you need to complete the following steps: (a) [5 points] Draw a block diagram of your design. Note that the main "building blocks" you need include 6:3 priority encoders, 4-bit BCD adders, and a 74x74 decoder/driver. 6:3 Encoder I0 D0 I1 D1 I2 D2 I3 I4 GS I5 6:3 Encoder I0 D0 I1 D1 I2 D2 I3 I4 GS I5 6:3 Encoder I0 D0 I1 D1 I2 D2 I3 I4 GS I5 PUSHBUTTONS PUSHBUTTONS 0 0 4-bit binary adder PUSHBUTTONS 0 VCC Cout 4-bit BCD adder Cin 0 A B C 74x47 D One's Digit 2 3 4 1 BI' Ten's Digit 1 2 ECE 270 Module 5 Practice Homework -5Solution 2009 by D. G. Meyer ______________________________________________________________________________ (b) Create an ABEL source file for your complete solution, noting that nominally 18 inputs (six buttons for each of the three judges) and 5 outputs (single bit for ten's position, 4bit BCD number for one's position note that the values displayed will range from "_0" to "15"). MODULE bcdidol 'RPS TITLE BCD Idol' DECLARATIONS " Pushbutton inputs (contact closure to ground " when pressed, therefore active low -- assume " pulled up to high state when button not pressed) !RB0..!RB5 pin; " Randy's pushbuttons !PB0..!PB5 pin; " Paula's pushbuttons !SB0..!SB5 pin; " Simon's pushbuttons RV0..RV2 node istype 'com'; " Randy's encoded vote RV = [0,RV2,RV1,RV0]; RG node istype 'com'; " Randy's vote strobe PV0..PV2 node istype 'com'; " Paula's encoded vote PV = [0,PV2,PV1,PV0]; PG node istype 'com'; " Paula's vote strobe SV0..SV2 node istype 'com'; " Simon's encoded vote SV = [0,SV2,SV1,SV0]; SG node istype 'com'; " Simon's vote strobe VSUM0..VSUM3 node istype 'com'; " vote sum VSUM = [VSUM3,VSUM2,VSUM1,VSUM0]; !TENS pin istype 'com'; " BCD Ten's position (active low, direct segment drive) ONES0..ONES3 pin istype 'com'; " BCD One's position (output to 74x47) LEN node istype 'com'; " LED display enable !BI pin istype 'com'; " 74x47 blanking input (active low) X = .X.; TRUTH_TABLE ([RB5, RB4, RB3, RB2, RB1, RB0] -> [RV2, RV1, RV0, RG]) [ 0, 0, 0, 0, 0, 0] -> [ 0, 0, 0, 0]; [ 0, 0, 0, 0, 0, 1] -> [ 0, 0, 0, 1]; [ 0, 0, 0, 0, 1, X] -> [ 0, 0, 1, 1]; [ 0, 0, 0, 1, X, X] -> [ 0, 1, 0, 1]; [ 0, 0, 1, X, X, X] -> [ 0, 1, 1, 1]; [ 0, 1, X, X, X, X] -> [ 1, 0, 0, 1]; [ 1, X, X, X, X, X] -> [ 1, 0, 1, 1]; TRUTH_TABLE ([PB5, PB4, PB3, PB2, PB1, PB0] -> [PV2, PV1, PV0, PG]) [ 0, 0, 0, 0, 0, 0] -> [ 0, 0, 0, 0]; [ 0, 0, 0, 0, 0, 1] -> [ 0, 0, 0, 1]; [ 0, 0, 0, 0, 1, X] -> [ 0, 0, 1, 1]; [ 0, 0, 0, 1, X, X] -> [ 0, 1, 0, 1]; [ 0, 0, 1, X, X, X] -> [ 0, 1, 1, 1]; [ 0, 1, X, X, X, X] -> [ 1, 0, 0, 1]; [ 1, X, X, X, X, X] -> [ 1, 0, 1, 1]; TRUTH_TABLE ([SB5, SB4, SB3, SB2, SB1, SB0] -> [SV2, SV1, SV0, SG]) [ 0, 0, 0, 0, 0, 0] -> [ 0, 0, 0, 0]; [ 0, 0, 0, 0, 0, 1] -> [ 0, 0, 0, 1]; [ 0, 0, 0, 0, 1, X] -> [ 0, 0, 1, 1]; [ 0, 0, 0, 1, X, X] -> [ 0, 1, 0, 1]; [ 0, 0, 1, X, X, X] -> [ 0, 1, 1, 1]; [ 0, 1, X, X, X, X] -> [ 1, 0, 0, 1]; [ 1, X, X, X, X, X] -> [ 1, 0, 1, 1]; ECE 270 Module 5 Practice Homework -6Solution 2009 by D. G. Meyer ______________________________________________________________________________ TRUTH_TABLE ([LEN, VSUM3, VSUM2, VSUM1, VSUM0] -> [TENS, ONES3, ONES2, ONES1, ONES0]) [ 0, X, X, X, X] -> [ 0, 0, 0, 0, 0]; [ 1, 0, 0, 0, 0] -> [ 0, 0, 0, 0, 0]; [ 1, 0, 0, 0, 1] -> [ 0, 0, 0, 0, 1]; [ 1, 0, 0, 1, 0] -> [ 0, 0, 0, 1, 0]; [ 1, 0, 0, 1, 1] -> [ 0, 0, 0, 1, 1]; [ 1, 0, 1, 0, 0] -> [ 0, 0, 1, 0, 0]; [ 1, 0, 1, 0, 1] -> [ 0, 0, 1, 0, 1]; [ 1, 0, 1, 1, 0] -> [ 0, 0, 1, 1, 0]; [ 1, 0, 1, 1, 1] -> [ 0, 0, 1, 1, 1]; [ 1, 1, 0, 0, 0] -> [ 0, 1, 0, 0, 0]; [ 1, 1, 0, 0, 1] -> [ 0, 1, 0, 0, 1]; [ 1, 1, 0, 1, 0] -> [ 1, 0, 0, 0, 0]; [ 1, 1, 0, 1, 1] -> [ 1, 0, 0, 0, 1]; [ 1, 1, 1, 0, 0] -> [ 1, 0, 0, 1, 0]; [ 1, 1, 1, 0, 1] -> [ 1, 0, 0, 1, 1]; [ 1, 1, 1, 1, 0] -> [ 1, 0, 1, 0, 0]; [ 1, 1, 1, 1, 1] -> [ 1, 0, 1, 0, 1]; EQUATIONS LEN = (RG & PG & SG); " only enable display when all 3 judges vote BI = !LEN; " assert 74x47 blanking input if no vote is taking place VSUM = RV + PV + SV; END (c) Compile your ABEL source file and fit it into an appropriate sized PLD (note that there are many possible choices in ispLEVER pick the smallest one that works). Include a copy of your "fitter" report to document that your design indeed compiles and fits into an available PLD. ECE 270 Module 5 Practice Homework -7Solution 2009 by D. G. Meyer ______________________________________________________________________________ 3. Design a 4-bit CLA block (with two 4-bit operand inputs, a 4-bit result output, and a carryin and carry-out), such that all outputs are produced in a single pass (i.e., one unit of propagation delay). Complete the following steps: (a) Create an ABEL source file for your 4-bit CLA block. (b) Compile your ABEL source file and fit it into a Mach M4A3-32/32-5JC. Using the ispLEVER Timing Analysis tool, run a propagation delay (tPD) analysis and print the results obtained. (c) Answer the following questions: Even though your source file (and originally compiled equations) should have yielded a single-pass (here, 5 ns) propagation delay for all outputs, the Timing Analyzer indicates otherwise. What happened, and why? In this design, does it matter which definition of the propagate function (Pi) you used (i.e., Xi+Yi or XiYi? Why or why not? MODULE f4cla TITLE 'Fast 4-bit CLA Block' DECLARATIONS X0..X3, Y0..Y3 pin; " operands CIN pin; " carry in COUT pin istype 'com'; " carry out S0..S3 pin istype 'com'; " sum outputs G0 G1 G2 G3 P0 P1 P2 P3 = = = = = = = = X0&Y0; X1&Y1; X2&Y2; X3&Y3; X0#Y0; X1#Y1; X2#Y2; X3#Y3; " generate functions C0 = G0 # CIN&P0; C1 = G1 # G0&P1 # CIN&P0&P1; C2 = G2 # G1&P2 # G0&P1&P2 # CIN&P0&P1&P2; EQUATIONS COUT = G3 # G2&P3 # G1&P2&P3 # G0&P1&P2&P3 # CIN&P0&P1&P2&P3; S0 = CIN$P0; S1 = C0$P1; S2 = C1$P2; S3 = C2$P3; END Question 1: The outputs do not all incur a single unit (5 ns) of propagation delay because the fitter "breaks" some of the equations into smaller ones and inserts some nodes to compute intermediate results (this can be seen by comparing the "compiled" equations with the "fit" equations. Note, however, that going through a node (a macrocell that does not have a pin associated with it) is faster than going through a pin, hence the propagation delay penalty is a bit less than two times a single unit of delay. Question 2: It really does not matter (much) which definition of Pi is used for this realization both designs fit in the same size PLD, and any propagation delay differences are just an artifact of how the splitter broke down the larger equations (although the "OR" is probably easier for the fitter to break down than the "XOR"). The maximum delay path for both cases remains 8.5 ns. ECE 270 Module 5 Practice Homework -8Solution 2009 by D. G. Meyer ______________________________________________________________________________ 4. Design a 6x4 unsigned binary multiplier, completing the following steps: (a) Create an ABEL source file for your 6x4 multiplier. (b) Compile your ABEL source file and fit it into a MACH M4A3-128/64-55VC. Using the ispLEVER Timing Analysis tool, run a propagation delay (tPD) analysis and print the results obtained. (c) Answer the following questions: Based on the analysis done on multiplier arrays in the text and in the class notes, which multiplier output(s) would you predict to have the largest propagation delay? How do the propagation delays obtained using the Timing Analysis tool differ from the values you predicted? What do you think accounts for the differences? MODULE mult64 TITLE '6x4 Binary Multiplier' DECLARATIONS X5..X0, Y3..Y0 pin; multiplier P9..P0 pin; " multiplicand, " product P = [P9..P0]; " Definition of product components PC1 = Y0 & [ 0, 0, 0, 0,X5,X4,X3,X2,X1,X0]; PC2 = Y1 & [ 0, 0, 0,X5,X4,X3,X2,X1,X0, 0]; PC3 = Y2 & [ 0, 0,X5,X4,X3,X2,X1,X0, 0, 0]; PC4 = Y3 & [ 0,X5,X4,X3,X2,X1,X0, 0, 0, 0]; EQUATIONS " Form unsigned sum of product components P = PC1 + PC2 + PC3 + PC4; END Question 1: Based on the analysis in the text (and class notes), one would expect the two most significant bits (here, P8 and P9) to incur the largest propagation delay. Question 2: Curiously, in the design realized here, the outputs expected to incur the largest propagation delay (P8 and P9) exhibit the smallest amount of delay. This has happened because the compiler generates all the equations that produce all the outputs in parallel (i.e., it is not artificially broken down into FA cells, as assumed in the text/notes). The fitter program then breaks the largest equations (here, for P5) into several parts, and uses an intermediate node to accomplish this. This is how the "middle" bit of the result takes the longest to compute.
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Miami University - ECO - 202
Bonds Keynes said that "The rate of interest is the reward for parting with liquidity for a specified period of time." We usually think of that reward as yield. Yield is the annual rate of return over cost, considering both interest payments and any diffe
Purdue - ECE - 270
ECE 270 Introduction toDigital System Design Spring 2012MondayMar 5 Module 4 LAB 8 Mar 13 Spring BreakCOURSE CALENDAR for Traditional Lecture (CRN 40775)MondayJan 9 Course Introduction Jan 16 MLK Day LAB 1 Jan 24 LAB INTRO Jan 17TuesdayJan 10Wedn
Miami University - ECO - 202
Suppose output, or GDP, depends on inputs of capital and labor. Use a Cobb Douglas function: Y = A K L1 . The exponent, , is a parameter of the production function. In a competitive economy operating with a CobbDouglas production function, the share of
Miami University - MBI - 121
Animations for Cell Metabolism Electron transport chain: http:/vcell.ndsu.edu/animations/etc/movie-flash.htm Chemiosmosis: http:/vcell.ndsu.edu/animations/atpgradient/movie-flash.htm
Miami University - MBI - 121
Basic Genetics Genome: All the genetic information (DNA) in a cell (includes genes and non-gene regions) Chromosome(s): Cellular structure(s) of DNA Gene: A segment of DNA found on a chromosome (or plasmid) that codes for a protein or RNA molecule Genotyp
Purdue - ECE - 270
ECE 270 Introduction toDigital System Design Spring 2012MondayMar 5 Mod 4E,F LAB 8 Mar 13 Spring BreakCOURSE CALENDAR for Directed Problem Solving (CRN 17132)MondayJan 9 Course Introduction Jan 16 MLK Day LAB 1 Jan 24 LAB INTRO Jan 17TuesdayJan 10
Miami University - MBI - 121
Cell Metabolism Metabolism = all chemical reactions that occur in a cell Chemical bonds store energy, therefore, building large molecules from small molecules requires energy input, and breaking down large molecules into smaller molecules results in energ
Miami University - MBI - 121
Controlling Microbial Growth Part 1: Use of Physical and Chemical Methods Physical and chemical methods are used to control microbial growth on inanimate items and body surfaces Sterilization Destruction of all forms of microbial life, even endospores Dis
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignSpring 2012HELPFUL STUDY TIPS(1) ATTITUDE TOWARD STUDY (a) Confidence in Your Ability: You must have confidence in your ability to learn. Do not become disturbed if some grades are low. Remember, only a few
Miami University - MIS - 235
MIS Final Exam Chapter 1 1. Information System (IS): a group of components that interact to produce information a. Consists of 5 Components that are present in every information systemPeople 2. Management Information Systems (MIS): the development and us
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 1 Due 8/31/20111. Assume two hypothetical logic families have the following D.C. characteristics: Logic Family "A" VCC = 5 V VTH = (VOH VOL)/2 VOH = 4.4 V IOH = -4 mA VOL = 0
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 1 Due 9/02/20111. A particular CMOS microcontroller is designed to operate over a supply voltage range of 1 V to 5 V and at a maximum clock frequency of 100 MHz (no minimum c
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 1 Due 9/07/2011Given the following circuit:5V VCCR1 3 2 7403 1 2O.D.74041 3 2 7403O.D.(a) [10 points] For the case of BOTH inputs of BOTH gates driven LOW: If the off
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 2 Due September 16, 20111. [20 points] For the circuit shown below, derive the following formal descriptions: (a) [4 points] truth table (b) [4 points] ON set (c) [4 points]
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 2 Due September 19, 20111. [10 points] For the function mapped below: W Y 1 0 1 Y 1 X 1 X 0 1 X 1 0 1 0 0 1 W 1 0 Z 0 Z Z (a) [5 points]Write a minimal sum-of-products expre
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 2 Due September 21, 20111. [20 points] Simplify the function mapped below in terms of XOR or XNOR operators, draw a circuit realization, and compare the cost of this "simplif
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 3 Due Friday, September 301. [10 pts] Assume a hypothetical PLD has macrocells of the following configuration:2 3 4 5 6 7 1 8 9 10 11 12 13 2 3 4 5 6 7 1 8 9 10 11 12 132 3
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 3 Due Monday, October 31. [20 pts] Complete the ABEL file, below, that implements a "dorm-room alarm" system using a 16V8 PLD. Your alarm should accommodate eight sensor inpu
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 3 Due Wednesday, October 51. [14 pts] Show how you can implement any arbitrary 3-variable Boolean function using only an 8:1 multiplexer (specifically, a 74x151), an LED, som
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 4 Due October 171. [20 pts] Complete the timing chart for the edge-triggered flip-flop, below, assuming its tPLH(CQ) is 10 ns and its tPHL(CQ) is 5 ns. 5 nsD CLK Q Q_LDete
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 4 Due October 191. [10 pts] Given the timing diagram, below, for a state machine that has one input (EN) and two state variables (Q1 and Q0), derive a state transition diagra
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 4 Due October 211. [10 pts] Design a state machine that serves as a simple two-floor elevator controller. When the elevator is on floor one, the digit "1" should be output on
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 4 Due October 24Implement a "dorm-room alarm" that accommodates eight sensor inputs, labeled S0 through S7, plus an ARM/DISARM pushbutton than can be used to "toggle" the sta
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 4 Due October 261. [20 pts] Given the following circuit based on a 26V12 PLD, complete an ABEL file that implements a 3-bit programmable binary UP counter, i.e., a counter th
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 5 Due November 4, 20111. [8 points] Radix addition (base 2)1 0 0 1 1 + 0 1 1 1 1 1 0 0 1 1 + 1 0 0 1 1 -0 1 1 1 1 + 1 0 0 0 0 -0 1 1 1 1 + 0 1 0 1 0 -2. [12 points] Radix
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 5 Due November 7, 20111. [36 points] Determine how the condition codes (C, Z, N, V) are set for 2-bit Radixsubtraction. Show all work. 1 0 1 0 - 0 1 - 1 0 _ _1 0 - 1 1 _C
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 5 Due November 9, 20111. [20 points] Compile the ABEL program (listed below) using ispLever in order to determine the minimum number of P-terms required for the code as writt
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 6 Due Friday, November 181. [20 points] Given the "snapshot" of memory shown, calculate the result stored in memory along with the condition codes generated when each "shaded
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 6 Due Monday, November 281. [10 points] To implement transfer-of-control instructions in the simple computer requires modification of the program counter. Briefly describe th
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignFall 2011TakeHomaWork for Module 6 Due Wednesday, November 301. [20 points] List the signals asserted on each cycle for the Simple Computer described on the Reference Sheet. Assume that the stack pointer poi
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignSpring 2012Traditional Lecture Homework Set for Module 1Due at the Beginning of Class (4:30 pm) on Wednesday, January 25Name: _ Signature: _Class No: _ _ _ _ - _ Score: _ / 100Your Class No. is the last f
Purdue - ECE - 270
ECE 270Introduction to Digital System DesignSpring 2012Traditional Lecture Homework Set for Module 2Due at the Beginning of Class (4:30 pm) on Wednesday, February 8Name: _ Signature: _Class No: _ _ _ _ - _ Score: _ / 100Your Class No. is the last f
Purdue - ECE - 255
Common-EmitterModerate Input Impedance ZinR1| R 2 | rCommon-BaseLow1 R E | r | gmCommon-CollectorHighR1 R 2 r + (1 + 0 ) R E R L Moderate Output Impedance ZoutRCModerateRCLow r + R1 R 2 R S RE 1 + 0 Voltage GainA Vi = Vout Vin- gm ( R C R
Purdue - ECE - 255
Cascode AmplifierVddVdd Rd R11 C2 Q1 Rc R12 Vcc Rload Re R22 R21 Rss Cb1 Cb C3 + Vout M1RsC1Vs0
Purdue - ECE - 255
Purdue - ECE - 255
Purdue - ECE - 255
Purdue - ECE - 255
Purdue - ECE - 255
diode circuit example, dc and ac small signal analysisExample#3.cir* B2 Spicediode4 1 2 model_diode diode0 3 4 model_diode RS 2 3 135.78 R0 3 5 311.5 R1 4 6 709.2 diode1 5 7 model_diode diode2 7 8 model_diode diode3 8 9 model_diode V 1 0 DC 3
Purdue - ECE - 255
ECE 255ELECTRONIC ANALYSIS AND DESIGN Fall 2011 Due: Wednesday, August 31 Homework 15:00 p.m. Room MSEE 180 Drop BoxCOURSE WEBSITE:http:/cobweb.ecn.purdue.edu/~ee255/1) 2) 3) 4) 5)Text problem 2.14, page 70 Text problem 2.26, page 71 Text problem 2.
Purdue - ECE - 255
ECE 255ELECTRONIC ANALYSIS AND DESIGN Fall 2011 Due Wednesday, September 14 Homework 25:00 p.m. Room MSEE 180 Drop BoxCOURSE WEBSITE: 1) 2)http:/cobweb.ecn.purdue.edu/~ee255/Text problem 3.74, page 139 Continue Text problem 3.74, page 139 (c) Repeat
Purdue - ECE - 255
ECE 255ELECTRONIC ANALYSIS AND DESIGN Fall 2011 Due Friday, October 7 Homework 35:00 p.m. Room MSEE 180 Drop BoxCOURSE WEBSITE:http:/cobweb.ecn.purdue.edu/~ee255/1) 2) 3) 4)Text problem 5.88, page 282. Assume VBE = V0 = 0.7 V. Text problem 5.90, pag
Purdue - ECE - 255
ECE 255ELECTRONIC ANALYSIS AND DESIGN Fall 2011 Due Monday, October 17 Homework 45:00 p.m. MSEE 180 Drop Box1)Text problem 13.65, page 849. Compute AVs q (use = 38.92 V -1 ) kTRS(or R1)vs2)Text problem 13.66, page 849. Calculate worst-case voltag
Purdue - ECE - 255
ECE 255ELECTRONIC ANALYSIS AND DESIGN Fall 2011 Due Friday, November 4 Homework 55:00 p.m. MSEE 180 Drop BoxRss Rd1) The FET in the circuit at the right is characterized by |IDSS| = 22.5 mA and |VP| = 3.6 V. Determine suitable values for the external
Purdue - ECE - 255
ECE 255ELECTRONIC ANALYSIS AND DESIGN Fall 2011 Homework 6 Due: Monday, November 145:00 p.m. MSEE 180 Drop Box1) An FET in an electronic kit is to be biased as in the circuit shown with the specified component values. The FET is characterized by VT = 3
Purdue - ECE - 255
ECE 255ELECTRONIC ANALYSIS AND DESIGN Fall 2011 Due Friday, September 9 SPICE Homework5:00 p.m. Room MSEE 180 Drop BoxBased on ECE 208 Lab 3 1. Using any SPICE based simulation system, plot the V-I characteristics of a 1N4148 diode. Most PC based progr
Purdue - ECE - 255
ECE 255ELECTRONIC ANALYSIS AND DESIGN Fall 2011 Due Friday, September 30, 2011 SPICE DESIGN PROJECT #15:00 p.m. Room MSEE 180 Drop BoxDevelopment of D.C. and Hybrid- models for a 2N3904 Bipolar Transistor.(Based on ECE 208 Experiments #9A and #11 usin
York University - CSE - 1720
Announcements: "CSE 1720 labs this week:" preparation for labtest #1; sample problems/tasks" guided demo: gesture tracking (MaxMSP)" labs next week:"Lecture 3 Aggregation, Graphics labtest #1" given a description of some shape- and string-based imag
York University - CSE - 1720
Announcements: "CSE 1720 labs this week:" preparation for labtest #1; sample problems/tasks" guided demo: gesture tracking (MaxMSP)" labs next week:"Lecture 4 Aggregation, Graphics II labtest #1" given a description of some shape- and string-based i
Purdue - ECE - 255
ECE 255ELECTRONIC ANALYSIS AND DESIGN Fall 2011 SPICE DESIGN PROJECT #2 Due: Friday October 21, 20095:00 p.m. MSEE 180 Drop BoxDesign of a Precision Gain Amplifier (Pre-lab for ECE 208 Experiment #5) This exercise will use the PSpice models for Q2N3903
York University - CSE - 1720
CSE 1720! ! lab check-in!Lecture 5 Aggregation, Graphics III2 !Announcements: ! for labtest#1 (this week), be prepared to:! create and draw a picture from a jpg file ! create and draw a blank white canvas with a specified dimension! superimpose on t
York University - CSE - 1720
Announcements: "CSE 1720 Lectures 7-10 assigned reading: Ch 9, JBA"Lecture 6 Aggregation, Graphics IV2 "Goals/To do: " How to create, copy, and delegate to aggregates" example aggregates: Pixel, Picture, Graphics2D!Goals/To understand:"" recogni
Purdue - ECE - 255
ECE 255ELECTRONIC ANALYSIS AND DESIGN SPICE DESIGN PROJECT #3Fall 2011Due: Friday, November 185:00 p.m. MSEE 180 Drop BoxDesign of a Common Source Amplifier (Pre-lab for ECE 208 Experiment X) This exercise will use the PSpice model for the J2N3819 n-
York University - CSE - 1720
Announcements: "CSE 1720 Lectures 7-10 assigned reading: Ch 9, JBA"Lecture 7 Inheritance2 "Goals/To do: " Good practices for the declaration and instantiation of objects within a class hierarchy " Take advantage of polymorphism when desiging apps" C
York University - CSE - 1720
Announcements: "CSE 1720 Lectures 7-10 assigned reading: Ch 9, JBA" Preparation for Labtes#2: "Lecture 8 Inheritance, II you will be asked to construct a generic collection of Shape objects " you will be asked to iterate over the elements of the colle
Purdue - ECE - 255
ECE 255ELECTRONIC ANALYSIS AND DESIGNFall 2011TEXT: Jaeger and Blalock, Microelectronic Circuit Design, 4th Edition, McGraw Hill, 2010 INSTRUCTOR: E.S. Furgason, EE Rm. 047, Phone 43526, Login: furg@ecn.purdue.edu Secretary: Linda, EE Rm. 145, Phone 46
York University - CSE - 1720
Topics CSE 1720 object serialization# transformation of drawing space (rotate, shear, .)#Lecture 9 Inheritance, III 2Transient vs Persistent Representation of Objects we already know and understand that the VM makes use of heap space, which is trans
York University - CSE - 1720
Topics CSE 1720 fonts, string formatting#Lecture 10 Graphics and Fonts 2The Basics draw(Shape)! our go-to method for drawing shape primitives#How is Font information Encapsulated. e.g., L10App02! information about font face, font style, font si
Purdue - ECE - 255
ECE 255ELECTRONIC ANALYSIS AND DESIGNFall 2011TEXT: Jaeger and Blalock, Microelectronic Circuit Design, 4th Edition, McGraw Hill, 2010 INSTRUCTOR: E.S. Furgason, EE Rm. 047, Phone 43526, Login: furg@ecn.purdue.edu Secretary: Linda, EE Rm. 145, Phone 46
York University - CSE - 1720
Reminder CSE 1720Midterm Exam"Thursday, Feb 16, 10-11:30" CLH J Curtis Lecture Hall, Room J! will cover all material up to and including Tues Feb 14th! Tues, Feb 7 topic: exceptions" Thurs, Feb 9 Midterm overview, Recap, Review, Study preparation" Tues
York University - CSE - 1720
Computer OrganizationMinas E. SpetsakisComputer OrganizationCourse and Notes based on Computer Organization and DesignBy Petterson and HennessyWhat is a Computer? Definition changes over time Used to be a big piece of hardware in the basement of a