Page 1) 7 points Page 2) 16 points Page 3) 22 points Page 4) 21 points Page 5) 22 points Page 6) 12 points. TOTAL out of 100

Similar documents
Open book/open notes. No electronic devices permitted. Do not write on the back side of any of the pages. Page 1) 14 points Page 2) 16 points

Open book/open notes, 90-minutes. Calculators permitted. Do not write on the back side of any pages.

Final Exam review: chapter 4 and 5. Supplement 3 and 4

Good Evening! Welcome!

1. Convert the decimal number to binary, octal, and hexadecimal.

ECE 263 Digital Systems, Fall 2015

Good Evening! Welcome!

Point System (for instructor and TA use only)

Combinational vs Sequential

EECS 270 Midterm Exam Spring 2011

Why do we need to debounce the clock input on counter or state machine design? What happens if we don t?

VU Mobile Powered by S NO Group

Chapter 5 Sequential Circuits

EECS 270 Group Homework 4 Due Friday. June half credit if turned in by June

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

EE292: Fundamentals of ECE

DIGITAL ELECTRONICS MCQs

Using minterms, m-notation / decimal notation Sum = Cout = Using maxterms, M-notation Sum = Cout =

Decade Counters Mod-5 counter: Decade Counter:

1.b. Realize a 5-input NOR function using 2-input NOR gates only.

Slide 1. Flip-Flops. Cross-NOR SR flip-flop S R Q Q. hold reset set not used. Cross-NAND SR flip-flop S R Q Q. not used reset set hold 1 Q.

Contents Circuits... 1

Logic Design II (17.342) Spring Lecture Outline

Midterm Exam 15 points total. March 28, 2011

REPEAT EXAMINATIONS 2002

Logic Devices for Interfacing, The 8085 MPU Lecture 4

Read-only memory (ROM) Digital logic: ALUs Sequential logic circuits. Don't cares. Bus

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Counters

REPEAT EXAMINATIONS 2004 SOLUTIONS

Department of Electrical and Computer Engineering Mid-Term Examination Winter 2012

WINTER 14 EXAMINATION

Good Evening! Welcome!

Asynchronous (Ripple) Counters

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

1. a) For the circuit shown in figure 1.1, draw a truth table showing the output Q for all combinations of inputs A, B and C. [4] Figure 1.

ASYNCHRONOUS COUNTER CIRCUITS

TYPICAL QUESTIONS & ANSWERS


Registers. Unit 12 Registers and Counters. Registers (D Flip-Flop based) Register Transfers (example not out of text) Accumulator Registers

WINTER 15 EXAMINATION Model Answer

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

Sequencing and Control

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

Microprocessor Design

ELE2120 Digital Circuits and Systems. Tutorial Note 8

TIME SCHEDULE. MODULE TOPICS PERIODS 1 Number system & Boolean algebra 17 Test I 1 2 Logic families &Combinational logic

Chapter 8. The MAP Circuit Discussion. The MAP Circuit 53

CHAPTER1: Digital Logic Circuits

MODULE 3. Combinational & Sequential logic

COMP2611: Computer Organization. Introduction to Digital Logic

CHAPTER 4: Logic Circuits

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

UNIVERSITI TEKNOLOGI MALAYSIA

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20

DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING DIGITAL DESIGN

Logic Design II (17.342) Spring Lecture Outline

2.6 Reset Design Strategy

Digital Fundamentals: A Systems Approach

Quiz #4 Thursday, April 25, 2002, 5:30-6:45 PM

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Section 001. Read this before starting!

Find the equivalent decimal value for the given value Other number system to decimal ( Sample)

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

THE KENYA POLYTECHNIC

Chapter 4. Logic Design

AIM: To study and verify the truth table of logic gates

Chapter 3 Unit Combinational

Chapter 5 Flip-Flops and Related Devices

CS6201 UNIT I PART-A. Develop or build the following Boolean function with NAND gate F(x,y,z)=(1,2,3,5,7).

CHAPTER 4: Logic Circuits

Digital Circuits I and II Nov. 17, 1999

Logic Design. Flip Flops, Registers and Counters

Chapter 9 Counters. Clock Edge Output Q 2 Q 1 Q

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

Counter dan Register

Experiment 8 Introduction to Latches and Flip-Flops and registers

# "$ $ # %!"$!# &!'$("!)!"! $ # *!"! $ '!!$ #!!)! $ "# ' "

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS Registers

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100

RS flip-flop using NOR gate

RAO PAHALD SINGH GROUP OF INSTITUTIONS BALANA(MOHINDER GARH)123029

EET2411 DIGITAL ELECTRONICS

Switching Circuits & Logic Design, Fall Final Examination (1/13/2012, 3:30pm~5:20pm)

Chapter 2. Digital Circuits

CHAPTER 11 LATCHES AND FLIP-FLOPS

Software Engineering 2DA4. Slides 9: Asynchronous Sequential Circuits

BUSES IN COMPUTER ARCHITECTURE

Electrical and Telecommunications Engineering Technology_TCET3122/TC520. NEW YORK CITY COLLEGE OF TECHNOLOGY The City University of New York

First Name Last Name November 10, 2009 CS-343 Exam 2

CSE115: Digital Design Lecture 23: Latches & Flip-Flops

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 151) Pass Marks: 24

Topic D-type Flip-flops. Draw a timing diagram to illustrate the significance of edge

Come and join us at WebLyceum

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

EKT 121/4 ELEKTRONIK DIGIT 1

UNIT 1: DIGITAL LOGICAL CIRCUITS What is Digital Computer? OR Explain the block diagram of digital computers.

Chapter. Sequential Circuits

The word digital implies information in computers is represented by variables that take a limited number of discrete values.

Sequential Logic Circuits

Transcription:

EE3701 Dr. Gugel Spring 2014 Exam II ast Name First Open book/open notes, 90-minutes. Calculators are permitted. Write on the top of each page only. Page 1) 7 points Page 2) 16 points Page 3) 22 points Page 4) 21 points Page 5) 22 points Page 6) 12 points TOTA out of 100 Grade Review Information: 1. Deadline of request for grade review is the day the exam is returned. 2. Do not make any changes to problems in the test as this will be considered cheating. 3. Write only in this blocked area for a re-grade request. 4. Simply write the problem number that you would like re-graded. 3 Maximum. 1. A student has purchased a microprocessor that has a 20 bit address bus and 16 bit data bus. ow many maximum bits, bytes and words can this microprocessor address? Show your values as a power of 2. i.e. 2^8 (3 pt.) words = bytes = bits = 2. Given the input and output current characteristics for an Altera 3064 CPD in Appendix A, what is the worst case estimate for the number of input pins that can be driven by one output pin? Show all equations below and do not solve with a calculator; just show as fractions and state how to find the worst case. (4 pt.) Page 1 Page Score =

3. You are given a microprocessor with a 16 bit address bus and 8 bit data bus. The control bus consists of a R/-W signal and a low true data strobe (-DS). Upon reset, the processor begins fetching the first instruction address from the highest two addresses in the system memory map. You are given any number of 4K x 8 ROMs and 8K x 4 SRAMs. Place 5K of ROM in the system and 16K of SRAM starting at 4000 ex in the system memory map. Show the required Rom & Ram memory devices below. abel all signals and use bus nomenclature where appropriate. Note: The decode equations will go on the next page. (16 pt.) Page 2

4. For the previous problem show the required decode circuitry for the ROM devices below. Your decode signals you are going to create below should match those that you specified on the previous page. (8 pt.) 5. What is the address range of the ROM block? (2 pt.) 6. Show the decode circuitry for the RAM devices you drew on the previous page. Your decode signals that you are going to create below should match those that you specified on the previous page. (6 pt.) 7. What would the decode logic equations be for the RAM block if the starting address for the RAM is 3000 ex? (4 pt.) 8. What values should be programmed into the highest two bytes of the ROM to accommodate the reset vector mentioned in #3? (2 pt) Page 3

9. Use the ASM Diagram in Appendix B. to complete the following problems. Assume that JK flip-flops will be used for the state variables and that the output of the most significant flip-flop is Q1 and the output of the least significant flip-flop is Q0. Fill out the next state OGIC table for the design below. (14 pt.) A. Q1. Q0. Q1.+ Q0.+ J1. K1. J0. K0. X. Y. Z. 10. Assuming that we will use logic devices (AND, OR & Inverter gates) to implement the design. Show the simplified logic equations required for J1, K0 and X. (7 pt.) J1 = K0 = X = Page 4

11. For the next state logic table in problem #9 (ASM Diagram in Appendix B.), assume that the design will now be implemented in an 32K x 8 EPROM and that all unused address lines are tied high. Draw the EPROM connections below and show what must be programmed in the EPROM. Don't care data should programmed as zeros for ease of grading purposes. (14 pt.) EPROM Memory Address & Contents EPROM Circuit Below Address (ex) Data (ex) 12. For the specifications given for the Fish Tank Controller in Appendix C, draw the required flow chart below. (8 pt.) Page 5

14. Using the design found in Appendix D, complete the voltage timing diagram below. Note1: You do not have to draw propagation delays in the diagram below. owever you should take them into account when deriving the sum and flip-flop outputs in each clock cycle. Note2: -reset is asynchronous and functions just as was observed in your CPD; WXYZ are all unknown initially at time zero. (12 pt.) Complete the Voltage Timing Diagram Below -reset CK N1 N2 SUM Cout Cin W X Y Z Page 6

Appendix A. Altera CPD Input and Output Current Requirements Minimum Typical Maximum I O -27 ma -29 ma -32 ma I O 35 ma 39 ma 43 ma I I 160 ua 180 ua 200 ua I I -220 ua -230 ua -245 ua Appendix B. Typical ASM Diagram State 0 F A. T X. State 1 Y. Z. F A. T X. State 2 X. Z. J K Q+ 0 0 Q 0 1 0 1 0 1 1 1 /Q Page 7

Appendix C. Fish Tank Controller We would like to design a flow chart for a fish tank controller. ere are the specifications: Outputs: eater. (when on/true heats up the water), Bubbler. (when on/true, injects bubbles into the water, Pump. (when on/true, pumps the water through a filter), UV_ight. (when on/true, turns on bacteria killing UV light) Inputs: TempSensor. (goes true when the temperature in the tank is below the desired temperature setpoint), PhotoSensor. (goes true when the water is murky due to excessive bacteria & dirt in the water) 1. The period of the clock is one minute. 2. The Pump should always be pumping water through the filter at any time. 3. The eater should only go on when the water temperature is below the desired set-point. 4. The UV_ight should only go on for a maximum of two minutes if both the temperature is below the setpoint and the PhotoSensor detects murky water. Once the temperature reaches setpoint and the PhotoSensor detects clear water, UV ight should immediately be shut off. 5. The Bubbler should be on for at least one minute for every three minutes of pump operation and the bubbler should be turned on if the PhotoSensor detects murky bad water. The optimal flow chart implementing the above rules will be awarded the most points. Appendix D. Serial Adder with Parallel Converter N1 N2 Full Adder A Sum B Cout Cin - reset clock - reset D Q - CR D Q - CR W D Q - CR X D Q - CR Y D Q - CR Z Page 8