Digital Electronics Paper-EE-204-F SECTION-A

Similar documents
( c) Give logic symbol, Truth table and circuit diagram for a clocked SR flip-flop. A combinational circuit is defined by the function

KUMARAGURU COLLEGE OF TECHNOLOGY COIMBATORE

ELECTRONICS & COMMUNICATION ENGINEERING PROFESSIONAL ETHICS AND HUMAN VALUES

Philadelphia University Faculty of Engineering

SAU1A FUNDAMENTALS OF DIGITAL COMPUTERS

Reg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CS6201 DIGITAL PRINCIPLES AND SYSTEM DESIGN

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

Philadelphia University Student Name: Student Number:

Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS


Combinational Logic. By : Ali Mustafa

SIR C.R.REDDY COLLEGE OF ENGINEERING ELURU DIGITAL INTEGRATED CIRCUITS (DIC) LABORATORY MANUAL III / IV B.E. (ECE) : I - SEMESTER

Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4

Chapter 7 Logic Circuits

S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques

UNIT II COMBINATIONAL CIRCUITS:

Digital Electronics Circuits 2017

PART-A. 2. Expand ASCII and BCD ASCII American Standard Code for Information Interchange BCD Binary Coded Decimal

Show that the dual of the exclusive-or is equal to its compliment. 7

UNIVERSITI TENAGA NASIONAL. College of Information Technology

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

A B D 1 Y D 2 D 3. Truth table for 4 to 1 MUX: A B Y 0 0 D D D D 3

CHAPTER 7. Exercises 17/ / /2 2 0

Chapter 4. Combinational: Circuits with logic gates whose outputs depend on the present combination of the inputs. elements. Dr.

Review for Test 1 : Ch1 5

Logic. Combinational. inputs. outputs. the result. system can

Schedule. ECEN 301 Discussion #25 Final Review 1. Date Day Class No. 1 Dec Mon 25 Final Review. Title Chapters HW Due date. Lab Due date.

Logic Design 2013/9/26. Introduction. Chapter 4: Optimized Implementation of Logic Functions. K-map

S.Y. Diploma : Sem. III [DE/ED/EI/EJ/EN/ET/EV/EX/IC/IE/IS/IU/MU] Principles of Digital Techniques

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

Adders, subtractors comparators, multipliers and other ALU elements

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution

Layout of 7400-series Chips Commonly Used in. CDA 3101: Introduction to Computer Hardware and Organization

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

Fundamentals of Digital Design

MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Principles of Digital Techniques

3. Complete the following table of equivalent values. Use binary numbers with a sign bit and 7 bits for the value

ELCT201: DIGITAL LOGIC DESIGN

DE58/DC58 LOGIC DESIGN DEC 2014

INSTITUTEOFAERONAUTICALENGINEERING (Autonomous) Dundigal, Hyderabad

Philadelphia University Student Name: Student Number:

DIGITAL LOGIC CIRCUITS

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

WORKBOOK. Try Yourself Questions. Electrical Engineering Digital Electronics. Detailed Explanations of

Save from: cs. Logic design 1 st Class أستاذ المادة: د. عماد

PAST EXAM PAPER & MEMO N3 ABOUT THE QUESTION PAPERS:

Chapter 2. Review of Digital Systems Design

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

Adders, subtractors comparators, multipliers and other ALU elements

Sample Test Paper - I

(Boolean Algebra, combinational circuits) (Binary Codes and -arithmetics)

The Design Procedure. Output Equation Determination - Derive output equations from the state table

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

Vidyalankar S.E. Sem. III [ETRX] Digital Circuits and Design Prelim Question Paper Solution

Design of Sequential Circuits

Why digital? Overview. Number Systems. Binary to Decimal conversion

CHW 261: Logic Design

DIGITAL LOGIC CIRCUITS

Digital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.

Fundamentals of Boolean Algebra

MC9211 Computer Organization

Digital Logic Appendix A

PG - TRB UNIT-X- DIGITAL ELECTRONICS. POLYTECHNIC-TRB MATERIALS

ECE 2300 Digital Logic & Computer Organization

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Cs302 Quiz for MID TERM Exam Solved

Information redundancy

Boolean Algebra. Digital Logic Appendix A. Postulates, Identities in Boolean Algebra How can I manipulate expressions?


211: Computer Architecture Summer 2016

Vidyalankar S.E. Sem. III [EXTC] Digital Electronics Prelim Question Paper Solution ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD = B

CHAPTER 7. Solutions for Exercises

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

on candidate s understanding. 7) For programming language papers, credit may be given to any other program based on equivalent concept.

Boolean Algebra. Digital Logic Appendix A. Boolean Algebra Other operations. Boolean Algebra. Postulates, Identities in Boolean Algebra

S.E. Sem. III [ETRX] Digital Circuit Design. t phl. Fig.: Input and output voltage waveforms to define propagation delay times.

Systems I: Computer Organization and Architecture

IT T35 Digital system desigm y - ii /s - iii

Written exam for IE1204/5 Digital Design with solutions Thursday 29/

Outline. EECS Components and Design Techniques for Digital Systems. Lec 18 Error Coding. In the real world. Our beautiful digital world.

Review for B33DV2-Digital Design. Digital Design

Tribhuvan University Institute of Science and Technology 2067

Combinational Logic. Mantıksal Tasarım BBM231. section instructor: Ufuk Çelikcan

Digital Techniques. Figure 1: Block diagram of digital computer. Processor or Arithmetic logic unit ALU. Control Unit. Storage or memory unit

Combinational Logic Design Combinational Functions and Circuits

Chapter 4: Designing Combinational Systems Uchechukwu Ofoegbu

Class Website:

COMBINATIONAL LOGIC FUNCTIONS

Total Time = 90 Minutes, Total Marks = 50. Total /50 /10 /18

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) State any two Boolean laws. (Any 2 laws 1 mark each)

Fault Tolerance & Reliability CDA Chapter 2 Cyclic Polynomial Codes

Exam for Physics 4051, October 31, 2008

EECS Components and Design Techniques for Digital Systems. Lec 26 CRCs, LFSRs (and a little power)

Introduction EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 6: Sequential Logic 3 Registers & Counters 5/9/2010

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

Chapter 4: Combinational Logic Solutions to Problems: [1, 5, 9, 12, 19, 23, 30, 33]

Time Allowed 3:00 hrs. April, pages

EE 209 Spiral 1 Exam Solutions Name:

TYPICAL QUESTIONS & ANSWERS

Transcription:

B.Tech 4 th Semester (AEIE) F Scheme, May 24 Diital Electronics Paper-EE-24-F Note : Attempt five questions. Question is compulsory and one question from each of the four sections.. What is a loic ate? Explain each loic ate. 5x4 a. With truth table and loic symbol. b. Implement the followin usin MUX i. AND ate ii. OR ate c. Explain rin counter d. Desin the circuit of HA usin ROM SECTION-A 2. Minimise the followin function usin the GM method. 5x4 a. Y= m(,,3,7,,4) b. Convert the followins: i. (268.75) to binary ii. (.) 2 to octal iii. (36) 8 to hexadecimal c. Minimise the followin usin K-Map i. Y = m(4,5,,5) ii. Y=πM(3,6,9,4,5) d. Explain the procedure form eneration matrix in binary cycle codes 3. (a) Write in detail about various error detectin and correctin codes. 5 (b) Find the 9 s and s complement of the followin numbers 5 (i). 25 (ii) 55 (iii) 333 (iv) 982 SECTION-B 4. (a) Desin the circuit of full adder usin 8: MUX (b) Desin a full subtractor usin half subtractors. 5. Give the truth table and loic diaram of: a. 3:8 decoder b. Implement the function F(A,B,C) = m(,3,5,6) usin decoder 5 c. Desin a binary to ray code converter. SECTION-C 6. (a) Give the excitation table of the followins flip-flop (i) D FF (ii) JK FF (iii) T FF

(iv) SR FF b. Desin,,2,3, counter usin D FF c. Explain the workin of Master-Slave JK FF d. Explain the workin of Serial-in-Serial-out reister 7. Desin synchronour decade counter usin:, a. JK Flip-Flop b. Give the difference between the followin i. Decoder and De-Multiplexer ii. Ripple counter and Synchronous counter iii. Latch and Flip-Flop SECTION-D 8. (i) Desin the circuit of Half Adder usin PLA (ii) Desin BCD to XS-3 code converter usin PLA 9. (a) Realise the followin function usin ROM i. F= m(,,2,3) ii. F= m(,2,5) b. With the help of state table and state diaram desin a Mod-4 up/down counter.

SOLUTION B.Tech 4 th Semester (AEIE) F Scheme, May 24 Diital Electronics Paper-EE-24-F Note : Attempt five questions. Question is compulsory and one question from each of the four sections.. What is a loic ate? Explain each loic ate. 5x4 a. With truth table and loic symbol. Solution: Loic ates are the basic buildin blocks of any diital system. It is an electronic circuit havin one or more than one input and only one output. The relationship between the input and the output is based on a certain loic. Based on this, loic ates are named as AND ate, OR ate, NOT ate etc. THE OR GATE The OR ate produces a HIGH output when any or all of the inputs is HIGH. Fiure shows the symbol for an OR and its truth table. The operation function sin for the OR ate is + THE AND GATE The AND ate produces a HIGH output when all of the inputs are HIGH. The AND operation is denoted by a dor (.)..AND ate is shown in fiure below alon with the associated Truth Table. NOT GATE An inverter or NOT ate produces the complement of the input i.e. if the input if the output produces is and vice versa. The inverter symbol and truth table is shown below:

b. Implement the followin usin MUX i. AND ate ii. OR ate AND ate The truth table of AND ate is shown below: A B Y = A. B SOP eqn for AND ate function Y = Y = A B + A B + AB + AB The function Y=A.B can be implemented by usin a 4 x MUX with the select lines as AB and multiplexer output Y ivin the output Y=A.B OR ate implementation The truth table of OR ate is shown below: A B Y = A. B

SOP eqn for Y = A B + A B + AB + AB The function Y=A + B can be implemented by usin a 4 x MUX with the select lines as AB and multiplexer output Y ivin the output Y=A + B c. Explain rin counter A rin counter is constructed usin the serial-in serial-out reister whose output is fed back as input. Thus the bits from one stae to another is shifted with the arrival of every clock pulse. A 4-bit rin counter is shown in the followin fiure. The rin counter output is shown in the followin table d. Desin the circuit of HA usin ROM A B Sum Cy

The SP equations for the Sum and Carry (Cy) are iven below: Sum = A.B + A.B Cy = A.B The output are stored at the correspondin input combinations which for a ROM act as the address lines. The complete implementation is shown below: SECTION-A 2. Minimise the followin function usin the GM method. 5x4 a. Y= m(,,3,7,,4) Minterm M M M3 M7 M M4 Binary No. of s 2 3 2 3 Rewritin the minterms by roupin them as per no. of s contained in their binary value. Then comparin and chekin every mineterm from one roup with adjacent roup for one bit chane. No of s Minterm Binary checked Pair m m,m - m m,m3-2 m3 m3,m7 - m m,m4-3 m7 m4 We see that after first level of pairin no further roupin are possible. So the final equation uses all the four minterms on the riht column. Y= A B C + A B D + A CD + ACD Final we draw the PI chart as shown below:

The final solution contain only the three essential prime implecants. Y = A B C + A CD + ACD b. Convert the followins: i. (268.75) to binary ii. (.) 2 to octal iii. (36) 8 to hexadecimal Solution: i. 268.75 = ii. (.) 2 to octal Binary to Octal is quite easy, we can take roup of three bits from riht (LSB) and write the equivalent octal of binary combination. (.) 2 = (453.7) 8 iii. (36) 8 to hexadecimal Octal to hex is also easy. First convert Octal to binary by writin 3-bit binay code of each octal diit. (36) 8 = () 2

Now roup the bits in 4-bit each roup and write the equivalent hex diit. So the answer is: () 2 = (F) 6 c. Minimise the followin usin K-Map i. Y = m(4,5,,5) ii. Y=πM(3,6,9,4,5) d. Explain the procedure form eneration matrix in binary cycle codes A code C is cyclic if (i) C is a linear code; (ii) any cyclic shift of a codeword is also a codeword, i.e. whenever a, a n - ϵ C, then also a n - a a n 2 ϵ C. Theorem Suppose C is a cyclic code of codewords of lenth n with the enerator polynomial(x) = + x + + r x r. Then dim (C) = n - r and a enerator matrix G for C is G.... 2...... 2 r... 2 r...... r.............. r

Proof (i) All rows of G are linearly independent. (ii) The n - r rows of G represent codewords (x), x(x), x 2 (x),, x n -r - (x) (*) (iii) It remains to show that every codeword in C can be expressed as a linear combination of vectors from (*). Indeed, if a(x) Î C, then a(x) = q(x)(x). Since de a(x) <n we have de q(x) < n - r. Hence q(x)(x) = (q + q x + + q n -r - x n -r - )(x) = q (x) + q x(x) + + q n -r - x n -r - (x). Example: The task is to determine all ternary codes of lenth 4 and enerators for them. Factorization of x 4 - over GF(3) has the form x 4 - = (x - )(x 3 + x 2 + x + ) = (x - )(x + )(x 2 + ) Therefore there are 2 3 = 8 divisors of x 4 - and each enerates a cyclic code. Generator polynomial Generator matrix I 4 x x + x 2 + (x - )(x + ) = x 2 - (x - )(x 2 + ) = x 3 - x 2 + x - [ - - ] (x + )(x 2 + ) [ ] x 4 - = [ ] 3. (a) Write in detail about various error detectin and correctin codes. 5 Different Error detectin and correctin codes are described below: i. Parity Method ii. Lonitudinal Redundancy Check (LRC)

iii. Hammin Code iv. Cyclic Redundancy Check (CRC) Parity Check: Parity system is a ood method of error detectin codes. It is a simple method of findin -bit error in transmitted code. In this an additional bit is appended with the code at the transmittin end such that the number of s become odd or even and accordin parity named as odd parity or even parity. At the receivin end the same parity as sent from the transmittin end is aain checked. Only problem with this code is that if more than -bit chane occur durin transmission then this is not suitable method. Example of odd parity Lonitudinal Redundancy Check (LRC ): In this system a two dimensional parity is enerated for a block of codes. HRC horizontal parity is appended with every code word and also vertical parity is appended with every column for a roup of codes. Then this whole block is transmitted. At the receivin end the block is checked for any chane in horizontal and vertical parity. Coordinates of the bit in error ives the exact code in which error occurred. As an example, if the characters RAVI is to be sent whose ASCII codes are Code ASCII Binary With Odd Parity R 52h A 4h V 56h I 49h Vertical Parity -> Now suppose this code is transmitted and the received code with -bit error is iven below. The error can be easily found by checkin the horizontal parity of each code and also vertical parity. The location of error is wron parity in row and column. With Odd Parity

X X So we find that the error is in row 2 and column 3 from riht(bit shown in bold). It can be corrected by simply complementin this bit. Hammin Code: Hammin code is used to detect error in RAMs. In this code k parity bits are added to form the n-bit data word, formin a new code word of n+k bit. Those positions as power of 2 are reserved for parity bits and the remainin bits are the data word. For example, consider a code word to be transmitted. It is first appended with parity bits at positions at power of 2 i.e. at positions,2,4,8,. As shown below: 2 9 8 7 6 5 4 3 2 P8 P4 P2 P The parity bits are then calculated as: P: bits +9+7+5+3+ = ++++ = for even parity P2:bits ++7+6+3+2= ++++= for even parity P4: bits 2+7+6+5+4 = +++ = for even parity P8: bits 2+++9+8 = +++ = for even parity So the code becomes as : 2 9 8 7 6 5 4 3 2 P8 P4 P2 P The code to be transmitted is: Cyclic Redundancy Check (CRC): In this code the polynomial (M(x)) is appended with the as many zeros as the deree of the divisor polynomial(p(x)) (step-). The alorithm at the sendin and the receivin end is iven below: Sendin. Multiply M(x) by x n 2. Divide x n M(x) by P(x) 3. Inore the quotient and keep the reminder C(x) 4. Form and send F(x) = x n M(x)+C(x) Receivin

. Receive F (x) 2. Divide F (x) by P(x) 3. Accept if remainder is, reject otherwise (b) Find the 9 s and s complement of the followin numbers 5 (i). 25 (ii) 55 (iii) 333 (iv) 982 9 s and s complement are the sined representation is decimal system (BCD). We append to represent +ve number; and 9 to represent ve number. The 9 s complement of a number is found by (( n -) N) where n is the number of diits in the number N Decimal Number 9 s Complement I 25 = 25 (( n - ) N) = (( 3 - ) 25) =999-25 = 975 Here MSD( 9 ) indicate ve number Ii 55= 55 (( n - ) N) = (( 4 - ) 55) =9999-55 = 9844 Here MSD( 9 ) indicate ve number Iii 333 = 333 (( n - ) N) = (( 4 - ) 333) =9999-333 = 9666 Here MSD( 9 ) indicate ve number iv 982 = 982 (( n - ) N) = (( 4 - ) 982) =999-982 = 97 Here MSD( 9 ) indicate ve number s Complement = 9 s Complment + (( n - ) N) + = = 975 + = 976 Here MSD( 9 ) indicate ve number (( n - ) N) + = =9844+ = 9845 Here MSD( 9 ) indicate ve number (( n - ) N) + = = 9666 + = 9667 Here MSD( 9 ) indicate ve number (( n - ) N) + = = 97 + = 98 Here MSD( 9 ) indicate ve number SECTION-B 4. (a) Desin the circuit of full adder usin 8: MUX

Solution: The truth table for the full adder is shown below: A B C Sum Carry Write the SOP equations Sum= m (,2,4,7) Carry = m(3,5,6,7) (b) Desin a full subtractor usin half subtractors. The truth table for full subtractor is shown below: A B C Diff Borrow

The SOP equations for the Diff and Borrow is iven below: Diff = m (,2,4,7) = A B C + A BC + AB C + ABC Borrow= m(,2,3,7) = A B C + A BC +A BC +ABC Solvin the above equations alebraically we et: Diff = A B C + A BC + AB C + ABC = A (B C + BC ) + A( B C + BC) = A xor B xor C Borrow = A B C + A BC +A BC +ABC = (A B C + A BC) + (A BC +ABC) = A C(B + B). C+ B (A C + AC) = A C + (AxnorC).B Lookin at the simplified equation aain: We find that there are two half subtractors hidden in these two equations and have been circled clearly. We can now construct the full subtractor usin two Half Subtractor.

5. Give the truth table and loic diaram of: a. 3:8 decoder 5 A decoder is a circuit that chanes a code into a set of sinals. It is called a decoder because it does the reverse of encodin.a common type of decoder is the line decoder which takes an n- diit binary number and decodes it into 2 N output lines. The truth table of a 3:8 decoder is shown below: C B A O O O2 O3 O4 O5 O6 O7 There are 8 output and hence 8 independent minterms. These can be implemented by a simple AND ate array connected to various input combinations as shown in the fiure.

b. Implement the function F(A,B,C) = m(,3,5,6) usin decoder 5 c. Desin a binary to ray code converter. Truth Table for Binary to Gray code converter Decimal Binary Input Gray Output Decimal B2 B B G2 G G 2 3 4 5 6 7

Loical Equations: G2 = B2B'B'+B2B'B + B2BB' + B2BB G = B2'BB' + B2'BB + B2B'B' + B2B'B G = B2'B'B + B2'BB' + B2B'B +B2BB' Simplification: G2 = B2B'(B' + B) + B2B(B' + B) = B2B' + B2B = B2(B' +B) = B2 G = B2'BB' + B2'BB + B2B'B' + B2B'B = B2'B(B' + B) + B2B'(B' + B) = B2'B + B2B' = B2 B G = B2'B'B + B2'BB' + B2B'B + B2BB' = B2'(B'B + BB') + B2(B'B + BB') =(B'B + BB') (B2' + B2) = B B Loic Desin of a 3-bit binary to ray code converter Fiure-: A 3-bit Binary to Gray Code Converter SECTION-C 6. (a) Give the excitation table of the followins flip-flop I. D FF II. JK FF III. T FF IV. SR FF

Excitation Tables: an excitation table shows the minimum inputs that are necessary to enerate a particular next state (in other words, to "excite" it to the next state) when the current state is known. They are similar to truth tables and state tables, but rearrane the data so that the current state and next state are next to each other on the left-hand side of the table, and the inputs needed to make that state chane happen are shown on the riht side of the table. The various excitation tables are shown below: b. Desin,,2,3, counter usin D FF Answer is bein prepared c. Explain the workin of Master-Slave JK FF Answer is bein prepared d. Explain the workin of Serial-in-Serial-out reister Answer is bein prepared 7. Desin synchronour decade counter usin:

a. JK Flip-Flop Answer is bein prepared b. Give the difference between the followin i. Decoder and De-Multiplexer ii. Ripple counter and Synchronous counter iii. Latch and Flip-Flop Answer is bein prepared SECTION-D 8. (i) Desin the circuit of Half Adder usin PLA Answer is bein prepared (ii) Desin BCD to XS-3 code converter usin PLA Answer is bein prepared 9. (a) Realise the followin function usin ROM i. F= m(,,2,3) ii. F= m(,2,5) Answer is bein prepared b. With the help of state table and state diaram desin a Mod-4 up/down counter.

Answer is bein prepared