ENEL Digital Circuit Design Final Examination

Similar documents
Counters and Decoders

Digital Logic Design Sequential circuits

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Lecture 8: Synchronous Digital Systems

CSEE 3827: Fundamentals of Computer Systems. Standard Forms and Simplification with Karnaugh Maps

The string of digits in the binary number system represents the quantity

United States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1

DEPARTMENT OF INFORMATION TECHNLOGY

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

Module 3: Floyd, Digital Fundamental

ASYNCHRONOUS COUNTERS

Counters are sequential circuits which "count" through a specific state sequence.

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas

BINARY CODED DECIMAL: B.C.D.

Karnaugh Maps & Combinational Logic Design. ECE 152A Winter 2012

Unit 3 Boolean Algebra (Continued)

Counters & Shift Registers Chapter 8 of R.P Jain

Binary Adders: Half Adders and Full Adders

Gates, Circuits, and Boolean Algebra

2.0 Chapter Overview. 2.1 Boolean Algebra

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

3.Basic Gate Combinations

Asynchronous Counters. Asynchronous Counters

COMBINATIONAL CIRCUITS

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

Logic in Computer Science: Logic Gates

Logic Reference Guide

Oct: 50 8 = 6 (r = 2) 6 8 = 0 (r = 6) Writing the remainders in reverse order we get: (50) 10 = (62) 8

SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram

CHAPTER 11: Flip Flops

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell

Chapter 8. Sequential Circuits for Registers and Counters

Karnaugh Maps. Circuit-wise, this leads to a minimal two-level implementation

Lesson 12 Sequential Circuits: Flip-Flops

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Number and codes in digital systems

CH3 Boolean Algebra (cont d)

CHAPTER 3 Boolean Algebra and Digital Logic

Contents COUNTER. Unit III- Counters

Digital Electronics Detailed Outline

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

Let s put together a Manual Processor

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

Understanding Logic Design

Design and Development of Virtual Instrument (VI) Modules for an Introductory Digital Logic Course

Boolean Algebra Part 1

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012

Flip-Flops and Sequential Circuit Design

SECTION C [short essay] [Not to exceed 120 words, Answer any SIX questions. Each question carries FOUR marks] 6 x 4=24 marks

The components. E3: Digital electronics. Goals:

Simplifying Logic Circuits with Karnaugh Maps

ENEE 244 (01**). Spring Homework 5. Due back in class on Friday, April 28.

Upon completion of unit 1.1, students will be able to

LSN 2 Number Systems. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

A single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc

Boolean Algebra (cont d) UNIT 3 BOOLEAN ALGEBRA (CONT D) Guidelines for Multiplying Out and Factoring. Objectives. Iris Hui-Ru Jiang Spring 2010

Boolean Algebra. Boolean Algebra. Boolean Algebra. Boolean Algebra

Systems I: Computer Organization and Architecture

Number Conversions Dr. Sarita Agarwal (Acharya Narendra Dev College,University of Delhi)

Chapter 2 Logic Gates and Introduction to Computer Architecture

ANALOG & DIGITAL ELECTRONICS

CHAPTER IX REGISTER BLOCKS COUNTERS, SHIFT, AND ROTATE REGISTERS

BOOLEAN ALGEBRA & LOGIC GATES

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on

plc numbers Encoded values; BCD and ASCII Error detection; parity, gray code and checksums

Two-level logic using NAND gates

Designing Digital Circuits a modern approach. Jonathan Turner

Operating Manual Ver.1.1

List of Experiment. 8. To study and verify the BCD to Seven Segments DECODER.(IC-7447).

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

CSE140: Components and Design Techniques for Digital Systems

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

Chapter 1: Digital Systems and Binary Numbers

(1) /30 (2) /30 (3) /40 TOTAL /100

Course Requirements & Evaluation Methods

2011, The McGraw-Hill Companies, Inc. Chapter 3

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

Decimal Number (base 10) Binary Number (base 2)

Digital Design. Assoc. Prof. Dr. Berna Örs Yalçın

Useful Number Systems

EXPERIMENT 8. Flip-Flops and Sequential Circuits

Binary, Hexadecimal, Octal, and BCD Numbers

Copyright Peter R. Rony All rights reserved.

Class One: Degree Sequences

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

Theory of Logic Circuits. Laboratory manual. Exercise 3

EE 261 Introduction to Logic Circuits. Module #2 Number Systems

CpE358/CS381. Switching Theory and Logical Design. Class 10

Gray Code Generator and Decoder by Carsten Kristiansen Napier University. November 2004

Chapter Binary, Octal, Decimal, and Hexadecimal Calculations

Lab 1: Study of Gates & Flip-flops

Chapter 7. Registers & Register Transfers. J.J. Shann. J. J. Shann

Click on the links below to jump directly to the relevant section

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

Transcription:

Department of Electrical and Computer Engineering ENEL 353 - Digital Circuit Design Final Examination April 26, 1999 Instructions: Please attempt all questions. Time allowed is 3 hours. The examination is closed-book. Calculators are permitted. The maximum number of marks is 100, as indicated. Please use a pen or heavy pencil to ensure legibility. 1

1 Positional Number Systems (15 marks) For questions (1.1)-(1.5) below, please show your work to receive full marks. 1.1 Convert 453.6 9 to decimal. [3 marks.] 1.2 Convert 106.5 10 to base 4. [3 marks.] 1.3 Convert 1536.123 8 to hexadecimal. [3 marks.] 1.4 Determine the radix r such that the following relationship is satisfied. [3 marks.] 31r = 5 r (1) 1.5 First convert to 8-bit two s-complement binary numbers and then calculate 57 10 + 14 10 using two s-complement binary arithmetic. Express your answer as an 8-bit two s complement binary number. [3 marks.] 2 Switching Algebra (15 marks) 2.1 Simplify the following expression algebraically. [3 marks.] F = [x(xy) ][y(xy) ] (2) 2.2 Simplify the following expression algebraically. [3 marks.] F = wxy + wxyz + (w + w x z)(x z + w ) + wxy (3) 2.2 Manipulate the following expression in such a way that it can be implemented using only AND and exclusive-or operations. [3 marks.] F = AB CD + A BCD + AB C D + A BC D (4) 2.4 Express the following as a canonical sum and a canonical product. [3 marks.] F = A B + B C + A (5) 2.5 Express the complement of the following expression in POS form. [3 marks.] F = A,B,C,D(2, 3, 4, 5) (6) 2

3 Combinational Circuits (40 marks) 3.1 Using K-maps, obtain a minimal sum for the function F = w xz + xy + wyz + x y + wx (7) Carefully indicate the distinguished one-cells and the essential prime implicants. [5 marks.] 3.2 Design a combinational circuit that takes a 3-bit binary number ABC, where A is the MSB, and computes its two s-complement XY Z, where X is the MSB. Your circuit should be minimal in complexity and use only NOR gates and inverters. [9 marks.] 3.3 The logic symbol for a 74x151 8-to-one-line multiplexer is shown in Fig. 1. Fig. 1. A 74x151 multiplexer Implement the two s-complement converter in question (3.2) using multiplexers of this type. The MSB of the select lines is C. [6 marks.] 3.4 Design a combinational circuit that determines the square root of a number. The input is a four-bit positive binary-coded decimal (BCD) integer ABCD, where A is the MSB. The output is a 3-bit number with a 2-bit integer part XY, where X is the MSB, and a 1-bit fractional part Z. Thus, XY.Z is determined as the square root of ABCD. In the cases where the square root cannot be represented exactly, use the closest lower-valued estimate. Your circuit should be minimal in complexity and you have only NAND gates and inverters. You may assume that non-bcd values are never input to the circuit. [9 marks.] 3.5 A majority function is generated in a combinational circuit when the output is equal to 1 if the input variables have more 1s than 0s. The output is 0 otherwise. Design a four-input majority function circuit that is minimal in complexity and uses NAND gates and inverters. [6 marks.] 3

3.6 Draw a K-map and assign variables to the inputs of the AND-XOR circuit shown in Fig. 2 such that the output function is given by [5 marks.] F = W,X,Y,Z(6, 7, 12, 13) (8) Fig. 2. An AND-XOR circuit 4 Sequential Circuits (30 marks) 4.1 Analyze the clocked synchronous circuit given in Fig. 3. Write the excitation equations, the excitation/transition table, and the state/output table (use state names A-D for Q1Q2 = 00, 01, 10, 11). [6 marks.] Fig. 3. A clocked synchronous circuit for analysis 4.2 Design a clocked synchronous circuit based on D flip-flops that performs the function of a decade counter. Such a counter counts in binary counting sequence from 0 to 9 and then repeats. The circuit has one input x. When x = 0, the counter is disabled and the circuit remains in its current state; when x = 1, the counter is enabled and is allowed to count. The circuit s outputs are the state variables. Use the minimal cost approach for the unused states in your design. (... continued on next page...) 4

For your design, please provide the following: The state diagram. Show all transitions. The state/output table. The transition/excitation/output table. The minimized excitation equations. It is not necessary to draw the logic diagram for the circuit. [10 marks.] 4.3 Design a clocked synchronous circuit based on D flip-flops that detects a 2-bit Gray code sequence. The circuit has two inputs X and Y and a single Mealytype output Z. The system should begin in an initial state, and detect the Gray code sequence XY = 00, 01, 11, and 10. When the system receives the final XY = 11 in this sequence, the output Z should be set to 1, otherwise it is 0. If a value of XY is found to be out of sequence, the system is to return to the initial state awaiting a new sequence starting again with XY = 00. For your design, please provide the following: The state diagram. Show all transitions. The state/output table. The transition/excitation/output table. The minimized excitation equations. The minimized output equations. The logic circuit realization using DFFs, NAND gates, and inverters. [10 marks.] 4.4 The logic symbol for a positive-edge-triggered toggle flip-flop (TFF) is shown in Fig. 4. Fig. 4. A positive-edge-triggered TFF Write the characteristic equation for this TFF and show how to build one, first using a positive-edge-triggered DFF and then using a positive-edge-triggered JKFF. [4 marks.] Norm Bartley, April 26, 1999 5