Professional Documents
Culture Documents
DIGITAL ELECTRONICS
EEC-302
UNIT-I
Digital System and Binary Numbers
Signed binary numbers, binary codes, cyclic codes, error detecting and correcting codes, hamming codes.
Floating Point Representation
Gate-level minimization: The map method up to five variable, dont care conditions, POS simplification, NAND
and NOR implementation, Quine Mc-Clusky method (Tabular method).
UNIT-II
Combinational Logic
Combinational circuits, analysis procedure, design procedure, binary adder-subtractor, decimal adder, binary
multiplier, magnitude comparator, decoders, encoders, multiplexers.
UNIT-III
Synchronous Sequential Logic
Sequential circuits, storage elements; latches, flip flops, analysis of clocked sequential circuits, state reduction
and assignments, design procedure.
Registers and Counters
Shift registers, ripple counter, synchronous counter, other counters
UNIT-IV
Memory and Programmable Logic
RAM, ROM, PLA, PAL.
Design at the Register Transfer Level
ASMs, design example, design with multiplexers.
UNIT-V
Asynchronous Sequential Logic
Analysis procedure, circuit with latches, design procedure, reduction of state and flow table, race free state
assignment, hazards.
DIGITAL ELECTRONICS
Nandani Prakashan Pvt. Ltd.
7/22 1st Floor, Ansari Road, Daryaganj, Delhi-110002.
E-mail: nandaniprakashan@gmail.com
Ph. 011-43522135, 011-47078713
Prabhakar Sharma
B.Tech, M.Tech (CDAC-Mohali)
Assistant Professor
ITS Engineering College, Gr. Noida
Shilpa Sharma
B.Tech, M.Tech.
(Banasthali University
Jaipur)
EEC-302
DIGITAL ELECTRONICS
Prabhakar Sharma
Shilpa Sharma
Published by:
NANDANI PRAKASHAN PVT. LTD.
7/22, 1st Floor, Ansari Road, Daryaganj, New Delhi-110002
E-mail: nandaniprakashan@gmail.com
Phone : 011-43522135, 011-47078713
Publisher
First Edition : 2013
All rights reserved, No part of this publication may be reproduced, translated or
transmitted (except for review or criticism), without the written permission of the
publishers.
ISBN: 978-93-81126-56-1
Printed at:
Durga Offset Printers, Haryana.
Preface
This book has been written primarily to serve as a textbook in accordance with the syllabus of
Digital Electronics course offered by MTU Noida and GBTU Lucknow. It is intended to provide a
student with clear understanding of the fundamentals of Digital Electronics with an emphasis on solving
large number of numerical problems that generally ask in their examinations.
The book has been organised accordance to the syllabus of MTU and GBTU. The complete syllabus
is divided into five units. The first unit introduce digital system, binary numbers and gate level
minimization technique.
The second unit cover the combinational logic circuits like adder, subtractor, comparator, multiplier,
decoder, encoder, mux, demux and designing. The third unit deal with the synchronous sequential logic
circuits and its designing. It cover all types of flip-flops, analysis of clocked sequential circuits, state
reduction and assignment. The second part of this unit deals with registers and counters.
The fourth unit outlines the construction of various primary memories and programmable logic
devices like PAL and PLA. The second part of this unit introduces design at the register transfer level
like ASMs. The fifth unit deals with asynchronous sequential circuits with races and hazards.
This book is a gradual development of our lecture notes on Digital Electronics used for last six plus
years. Our experience tells us that a text book, which is meant for learning a student, who trying to
understand subject for the first time, must clarify all the basic features of the subject in a most lucid and
systematic manner. This book is written with the same central idea, so that students can be benefitted
from this book with a greater sense of ease.
Illustrative large number of examples and solved problems with the previous year university questions
are interspersed throughout the book at their natural locations. These have been selected so that apart
from illustrating the concepts involved, all types of questions have covered which was asked in last
years university exams. For the basics, some short question and answer are given at the end of book
which cover all fundamentals and frequent ask queries.
In spite of our best care, it is just possible that some errors, printing mistakes etc. might have
occurred. We shall be thankful if the same are bought to our notice. Suggestions for further improvement
of the book will be thankfully acknowledged by the authors at prabhakar.sh@gmail.com.
Prabhakar Sharma
Shilpa Sharma
Acknowledgements
I am obliged to my parents Er. B.N. Sharma and Mrs. Sumitra Sharma for everything that I have. How
can I acknowlege my teachers and mentors who made me what I am today, still my great regards will
forever in their lotus feet.
I wish to express my profound thanks to all those who helped in making this book a reality. I thank
to Prof. Vikas Maheswari, Prof. Prabhat Sharma, Prof. Kapil Kumawat, Prof. Ravi Singh, Prof. Sumit
Tripathi and Prof. Pooja Japra for extending their cooperation while writing this book.
I would like to my sincere thanks to the entire management of ITS engineering college, Dr. R.P.
Chadhna (Chairman) and Mr. B.K. Arora (Secretary) specially. I forward my regards to Dr. N.T. Rao
(Director), Dr. L.N. Paliwal (D.G.), Prof. R.K. Yadav (HOD-EC), Prof. Vijay Shukla (HOD-CS),
Prof. Subhajit Ghosh (HOD-IT), Prof. Chadna (HOD-EEE), Dr. Jai Prakash (VC, GLA University),
Dr. Parul Garg (Professor, NSIT New Delhi), Dr. R. Kumar (DG, VGI), Dr. Himanshu Vijay (AEC,
Agra) Prof. Sanjay Singhal (AEC, Agra) and to all my colleagues for their support throughout the
work.
I am greatly thankful to Mrs. Shimsa Verma, Mr. Rahul Verma and all other staff members of
Nandani Prakashan Pvt. Ltd. for making this book a great reality.
Thanks to you my students, enjoy learning Digital Logic Design.
Prabhakar Sharma
We are Thankful to
Dr. T.N. Sharma GLA University, Mathura
Prof. V.K.Deolia GLA University, Mathura
Prof. A.K. Singh ITS Engg. College, Gr. Noida
Dr. Sanjay Agrawal IGNOU, New Delhi
Dr. Himanshu Vijay AEC, Agra
Prof. Brajesh Kaushal FET, Agra
Prof. S.K. Dubey Accurate, Gr. Nodia
Prof. S.K. Jaiswal IEM, Mathura
Prof. Ayub Khan AEC, Agra
Prof. Sanjay Singh HCST, Agra
Prof. Manish Sharma AEC, Agra
Prof. Prakash Chandra AEC, Agra
Prof. M.K. Agrawal GLA University, Mathura
Prof. Vikas Chawla MPGIT, Kanpur
Prof. S.K. Dwivedi HITM, Agra
Prof. Manish Gupta HITM, Agra
Prof. Abhay Chaturvedi GLA University, Mathura
Er. Nagesh Sharma JPM Group, Gurgaon
Er. Devendra Gautam Vodafone, Karnal
Er. Lokendra Sharma N.Railway
Er. J.P. Sharma N.Railway
Mr. Ashish Sharma Govt. Contractor
Dr. Ravi Kumar Fair Wealth Security Ltd.
Prof. Ravindra Sharma BSACET, Mathura
Mr. R.B. Sharma Store Incharge, AEC, Agra
Prof. Kapil Kumawat SBCET, Jaipur
Prof. Anand Kumar Galgotias, Gr. Noida
Prof. Ashish Gupta ITS, Gr. Noida
Mr. Vijay Pratap Yadav ITS, Gr. Noida
Prof. Manish Saraswat ABES, Ghaziabad
Prof. Arun Sharma SIT, Mathura
Prof. Rishi Sikka Sanjay Institute, Mathura
Prof. Chandra Shankar Porwal JSS Academy, Noida
Prof. Abhay Goel VIET, Gr. Noida
Prof. Anubhav Kumar VIET, Gr. Noida
Prof. Awanish Kaushik VIET, Gr. Noida
Prabhakar Sharma
Shilpa Sharma
xii Acknowledgments
Contents
1. NUMBER SYSTEM AND GATE LEVEL MINIMIZATION 1110
1.1 Introduction of Analog and Digital Signals ............................................................................3
1.1.1 Analog and Digital Systems ................................................................................................ 3
1.1.2 Representation of Digital Signals ........................................................................................ 3
1.1.3 Advantages of Digital System ............................................................................................. 4
1.2 Number Systems .......................................................................................................... .............4
1.2.1 Decimal Number System ...................................................................................................... 5
1.2.2 Binary Number System .................................................................................................. ...... 5
1.2.3 Octal Number System ................................................................................................... ........ 5
1.2.4 Hexadecimal Number System .............................................................................................. 5
1.3 Interconversion of Numbers .....................................................................................................6
1.3.1 Conversion from any Base to Decimal Number (Multiplication Method) ......................... 6
1.3.2 Conversion from Decimal Number to any Base Number
(Repeated Division and Multiplication Method) .......................................................................... 7
1.3.3 Conversion from Octal Number to Binary Number ............................................................. 9
1.3.4 Conversion from Binary Number to Octal Number ............................................................. 9
1.3.5 Conversion from Hexadecimal Number to Binary Number .............................................. 10
1.3.6 Conversion from Binary Number to Hexadecimal Number .............................................. 10
1.3.7 Conversion from Octal Number to Hexadecimal Number ................................................. 10
1.3.8 Conversion from Hexadecimal Number to Octal Number ................................................. 11
1.4 Signed Binary Number .................................................................................................... .... .11
1.4.1 Sign Magnitude Representation ........................................................................................ 11
1.4.2 1s Complement Representation ....................................................................................... 12
1.4.3 2s Complement Representation ....................................................................................... 12
1.5 Complement Representation ............................................................................................... ... 13
1.5.1 Radix Complement ...................................................................................................... ... ... 13
1.5.2 Diminished Radix Complement ..................................................................................... ... 13
1.6 Arithmetic Operations Using Complements ......................................................................... 14
1.6.1 Arithmetic Operation using rs/radix Complement (2s/8s/10s/16s) ........................... . 14
1.6.2 Arithmetic Operation using (r 1)s/Diminished Radix Complement (1s/9s/7s/15s) . 16
1.6.3 Arithmetic Operation of Two Same Sign Operands using rs and (r 1)s
Complement Method ......................................................................................................... 18
1.7 Binary Codes ....................................................................................................................... 20
1.7.1 Binary Coded Decimal (BCD) Code ............................................................................... 21
1.7.2 Other 4-bit Weighted BCD Codes .................................................................................... 25
1.7.3 Biquinary Code.................................................................................................................. 26
1.7.4 Non-Weighted Codes ........................................................................................................ 26
1.7.5 Cyclic Codes ..................................................................................................................... 28
1.8 Error Detecting and Correcting Codes ................................................................................. 28
1.8.1 Error Detection Code ........................................................................................................ 29
1.8.2 Error Correction Code ....................................................................................................... 32
459489
490498