SlideShare a Scribd company logo
1 of 52
DIGITAL SYSTEM DESIGN
Course Code: B000313(028)
Mr. Manjeet Singh Sonwani
Assistant Professor
Department of Electronics & Telecomm.
Government Engineering College Raipur
Course Contents
UNIT-I BOOLEAN ALGEBRA & MINIMIZATION TECHNIQUES
UNIT-II COMBINATIONAL CIRCUITS
UNIT-III SEQUENTIAL CIRCUITS
UNIT-IV FINITE STATE MACHINE
UNIT-V DIGITAL LOGIC FAMILIES
Text Books/Reference Books:
1. R.P. Jain, “Modern digital Electronics”, Tata McGraw Hill, 4th edition, 2009.
2. W.H. Gothmann, “Digital Electronics- An introduction to theory and practice”,
PHI, 2nd Edition ,2006.
3. D.V. Hall, “Digital Circuits and Systems”, Tata McGraw Hill, 1989
4. Digital Fundamentals: Floyd & Jain: Pearson Education.
5. Digital Electronics: A. P. Malvino: Tata McGraw Hill.
Course Code B000313(028)
Course Title Digital System Design
Credits 4
Contact
Periods
(L-T-P)
3-1-0
Course
Objective
1.To Design, Analyze and Interpret Combinational Circuits
2. To Design, Analyze and Interpret Sequential Circuits
Course
Outcome
At the end of this course students will demonstrate the ability to
C 313.1 Employ Boolean algebra and circuit minimization techniques.
C313.2 Design combinational circuits such as adders, subtractors, multiplexers,
decoder
C313.3 Design & analyze modular combinational circuits with MUX/DEMUX,
Decoder, Encoder etc.
C313.4 Design & analyze synchronous sequential logic circuits .
C313.5 Gain knowledge about various logic families and select a suitable one for a
specific application.
SCHEME OF TEACHING
UNIT-I
BOOLEAN ALGEBRA & MINIMIZATION
TECHNIQUES
• Introduction
• Review of Number Systems:
Decimal,Binary,Octal,Hexadecimal
• Representation of Signed Numbers and Binary Arithmetic in
Computers.
• Logic Simplification and Combinational Logic Design,
Boolean Algebra: Logic Operations; Axioms and Laws of
Boolean Algebra: Complementation Laws, AND Laws, OR
Laws, Commutative Laws, Associative Laws, Distributive
Laws, Absorption Laws, Transposition Theorem, De
Morgan’s Theorem; Duality; Reducing Boolean Expressions;
Functionally Complete Sets of Operations; Boolean Functions
and their Representation.
UNIT-I
BOOLEAN ALGEBRA & MINIMIZATION
TECHNIQUES
• Minimization Techniques:
• Expansion of a Boolean expression to SOP form; Expansion
of a Boolean expression to POS form;
• Karnaugh maps up to 4 variables, Mapping and minimization
of SOP and POS expressions; Concept of Don't Care Terms;
Quine – McClusky Method (Up to 5 variable);
• Synthesis using AND-OR, NAND-NOR and XOR forms;
Design Examples;
• Binary codes and code conversion(BCD, Excess-3, Gray
code)
Introduction
Digital Electronics : Digital Electronics or digital circuits are the
branch of Electronics that operates on digital signal.
Analog Signal : It gives its value at any instant of time.
Digital Signal : A signal that is sampled at discrete points and the
sampled values are quantized into a set of discrete values.
At a given time it can only take on one of a finite no. of values.
Discrete Signal : It gives its value at a particular instant of time.
Digital Systems
Digital vs. Analog Waveforms
Analog:
values vary over a broad range
continuously
Digital:
only assumes discrete values
+5
V
–5
Ti me
+5
V
–5
1 0 1
Time
Binary numbers?
Digital Computers: Imply that the computer deals with digital
information, i.e., it deals with the information that is
represented by binary digits.
Why BINARY ? instead of Decimal or other number
system ?
Computers work only on two states
– On
– Off
• Basic memory elements(transistor/MOSFET) hold only two
states
– Zero / One
• Thus a number system with two elements {0,1}
• A binary digit – bit !
Review of Number Systems
Number Systems : In Digital Electronics , the number system is
used for representing the information.
The NS has different bases and the most common of them are
decimal ,binary,octal,Hexadecimal .
The base and radix of any NS is the total no. of digit used in that
NS.
Example: Four number system
Decimal (10): 0,1,2,3,4,5,6,7,8,9
Binary (2) : 0,1
Octal (8) : 0,1,2,3,4,5,6,7
Hexadecimal (16) : 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
Application: (i)To communicate (ii) To perform task (iii) To
quantify (iv) To measure
Characteristics of Numbering Systems
1) The digits are consecutive/Successive.
2) The number of digits is equal to the size of the
base.
3) Zero is always the first digit.
4) The base number is never a digit.
5) When 1 is added to the largest digit, a sum of
zero and a carry of one results.
6) Numeric values are determined by the implicit
positional values of the digits.
Binary Quantities and Variables
• A binary quantity is one that can take only 2
states
A simple binary arrangement
S L
OPEN OFF
CLOSED ON
S L
0 0
1 1
A truth table
• A binary arrangement with two switches in
series
L = S1 AND S2
• A binary arrangement with two switches in
parallel
L = S1 OR S2
• Three switches in series
L = S1 AND S2 AND S3
• Three switches in parallel
L = S1 OR S2 OR S3
• A series/parallel arrangement
L = S1 AND (S2 OR S3)
Natural Numbers
Zero and any number obtained by repeatedly adding one to it.
Examples: 100, 0, 45645, 32
Negative Numbers
A value less than 0, with a – sign
Examples: -24, -1, -45645, -32
Integers
A natural number, a negative number
Examples: 249, 0, - 45645, - 32
Rational Numbers
An integer or the quotient of two integers
Examples: -249, -1, 0, 3/7, -2/5
Numbers
dn * Rn-1 + dn-1 * Rn-2 + ... + d2 * R1 + d1 * R0
As a formula:
1439 = 1 x 103 + 4 x 102 + 3 x 101 + 9 x 100
642 = 6 * 102 + 4 * 10 + 2 * 1
R is the base
of the number
n is the number of
digits in the number
d is the digit in the
ith position
in the number
Positional Notation
Decimal numbers
(1439)10= 1 x 103 + 4 x 102 + 3 x 101 + 9 x 100
Thousands Hundreds Tens Ones
• Base / Radix = 10
Binary Decimal
1101 = 1 x 23 + 1 x 22 + 0 x 21 + 1 x 20
= 1 x 8 + 1 x 4 + 0 x 2 + 1 x 1
= 8 + 4 + 0 + 1
(1101)2 = (13)10
1, 2, 4, 8, 16, 32, 64, 128, 256, 512, ….
Significant Digits
Binary: 11101101
Most significant digit Least significant digit
Hexadecimal: 1D63A7A
Most significant digit Least significant digit
Binary Number System
• Also called the “Base 2 system”
• The binary number system is used to model the
series of electrical signals computers use to
represent information
• 0 represents the no voltage or an off state
• 1 represents the presence of voltage or an
on state
Binary Numbering Scale
Base 2
Number
Base 10
Equivalent
Power
Positional
Value
000 0 20 1
001 1 21 2
010 2 22 4
011 3 23 8
100 4 24 16
101 5 25 32
110 6 26 64
111 7 27 128
Step 1. Divide the decimal number by the new base
Step 2. Make the remainder the next digit to the left in the answer
Step 3. Replace the original decimal number with the quotient While
Step 4.Repeat Step 1 to Step 3 till the quotient is not zero.
Algorithm for converting number in base 10 to
other bases
Converting Decimal to Other Bases
Division Algorithm
Decimal to Binary Conversion
Convert 67 to its binary equivalent:
6710 = x2
Step 1: 67 / 2 = 33 R 1 Divide 67 by 2. Record quotient in next row
Step 2: 33 / 2 = 16 R 1 Again divide by 2; record quotient in next row
Step 3: 16 / 2 = 8 R 0 Repeat again
Step 4: 8 / 2 = 4 R 0 Repeat again
Step 5: 4 / 2 = 2 R 0 Repeat again
Step 6: 2 / 2 = 1 R 0 Repeat again
Step 7: 1 / 2 = 0 R 1 STOP when quotient equals 0
1 0 0 0 0 1 12
Binary to Decimal Conversion
• The easiest method for converting a binary
number to its decimal equivalent is to use the
Multiplication Algorithm
• Step 1. Multiply the binary digits by increasing
powers of two, starting from the right(LSB)
• Step 2. Then, to find the decimal number
equivalent, sum those products
Multiplication Algorithm
Convert (10101101)2 to its decimal equivalent:
Binary 1 0 1 0 1 1 0 1
Positional Values 2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
128 + 32 + 8 + 4 + 1
Products
17310
1x27 +0x26 +1x25 +0x24 + 1x 23 +1x22 +0x 21 +1x 20
Hexadecimal Number System
• Base 16 system
• Uses digits 0-9 &
letters A,B,C,D,E,F
• Groups of four bits
represent each
base 16 digit
Decimal to Hexadecimal Conversion
Convert 83010 to its hexadecimal equivalent:
830 / 16 = Q 51 R 14
51 / 16 = Q 3 R 3
3 / 16 = Q 0 R 3
33 E16
= E in
Hex
Hexadecimal to Decimal Conversion
Convert 3B4F16 to its decimal equivalent:
Hex Digits
3 B 4 F
x
x
x 163 162 161 160
12288 +2816 + 64 +15
15,18310
Positional Values
Products
x
Binary to Hexadecimal Conversion
• The easiest method for converting binary to
hexadecimal is to use a substitution code
• Each hex number converts to 4 binary digits
Decimal Binary
13
6
3
1
0
2
2
2
2
1
0
1
1
(13)10 = (1101)2
MSB
LSB
Octal Decimal
137 = 1 x 82 + 3 x 81 + 7 x 80
= 1 x 64 + 3 x 8 + 7 x 1
= 64 + 24 + 7
(137)8 = (95)10
• Digits used in Octal number system – 0 to 7
Decimal Octal
95
11
1
0
8
8
8
7
3
1
(95)10 = (137)8
MSP
LSP
Hex Decimal
BAD = 11 x 162 + 10 x 161 + 13 x 160
= 11 x 256 + 10 x 16 + 13 x 1
= 2816 + 160 + 13
(BAD)16 = (2989)10
A = 10, B = 11, C = 12, D = 13, E = 14, F = 15
Decimal Hex
2989
186
11
0
16
16
16
13
10
11
(2989)10 = (BAD)16
MSP
LSP
Why octal or hex?
• Ease of use and conversion
• Three bits make one octal digit
111 010 110 101
7 2 6 5 => 7265 in octal
• Four bits make one hexadecimal digit
1110 1011 0101
E B 5 => EB5 in hex
4 bits = nibble
Representation of Signed Numbers
Negative numbers
Three representations
• Signed magnitude
• 1’s complement
• 2’s complement
Sign magnitude
• Make MSB represent sign
• Positive = 0
• Negative = 1
• E.g. for a 3 bit set
– “-2”
Sign Bit Bit
1 1 0
MSB LSB
DRC(Diminished Radix Complement):(r-1)’s
complement
1’s complement
• MSB as in sign magnitude
• Complement all the other bits
• Given a positive number complement all
bits to get negative equivalent
• E.g. for a 3 bit set
– “-2” Sign Bit Bit
1 0 1
0 1 0
RXC(Radix Complement): r ’s complement
2’s complement
If MSD is a 0 :
• The number is positive
• Remaining (n-1) bits directly indicate the magnitude
If the MSD is 1 :
• The number is negative
• Magnitude is obtained by complementing all the remaining (n-1) bits and
adding a 1
• 1’s complement plus one
• E.g. for a 3 bit set
– “-2”
Sign Bit Bit
1 1 0
0 1 0
Range of n-bit numbers
Two’s complement numbers:
0111111 + 63
0000110 + 6
0000000 + 0
1111010 – 6
1000001 - 63
1000000 - 64
0 is represented by 000.....0
7- bit number covers the range from +63 to -64.
n-bit number has a range from +(2n-1 - 1) to -(2n-1)
Decimal
number
Signed
magnitude
2’s complement 1’s complement
3 011 011 011
2 010 010 010
1 001 001 001
0 000 000 000
-0 100 --- 111
-1 101 111 110
-2 110 110 101
-3 111 101 100
-4 100
No matter which scheme is used we get an even set of numbers but we need one less
(odd: as we have a unique zero)
Binary Arithmetic in Computers
• Addition / subtraction
• Unsigned
• Signed
– Using negative numbers
Unsigned: Addition
Like normal decimal addition
B
A
The carry out of the MSB is neglected
+ 0 1
0 0 1
1 1 10
0101 (5)
+ 1001 (9)
1110 (14)
Unsigned: Subtraction
Like normal decimal subtraction
B
A
A borrow (shown in red) from the MSB implies a
negative
- 0 1
0 0 11
1 1 0
1001 (9)
- 0101 (5)
0100 (4)
Signed arithmetic
• Use a negative number representation
scheme
• Reduces subtraction to addition
2’s complement
Negative numbers in 2’s complement
001 ( 1)10
101 (-3)10
110 (-2)10
The carry out of the MSB is lost/Discard the carry
Overflow / Underflow
• Maximum value N bits can hold : 2n –1
• When addition result is bigger than the biggest
number of bits can hold.
– Overflow
• When addition result is smaller than the smallest
number the bits can hold.
– Underflow
• Addition of a positive and a negative number
cannot give an overflow or underflow.
Overflow example
011 (+3)10
011 (+3)10
110 (+6)10 ????
1’s complement computer interprets it as –1 !!
(+6)10 = (0110)2 requires four bits !
Underflow examples
Two’s complement addition
101 (-3)10
101 (-3)10
Carry 1 010 (-6)10 ????
The computer sees it as +2.
(-6)10 = (1010)2 again requires four bits !

More Related Content

Similar to Boolean Algebra Arithmetic SIG UNSIGN.ppt

Chapter 2.1 introduction to number system
Chapter 2.1 introduction to number systemChapter 2.1 introduction to number system
Chapter 2.1 introduction to number systemISMT College
 
DATA REPRESENTATION.pptx
DATA REPRESENTATION.pptxDATA REPRESENTATION.pptx
DATA REPRESENTATION.pptxMamataAnilgod
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionMubashir Ali
 
Number system
Number systemNumber system
Number systemSajib
 
Logic Circuits Design - "Chapter 1: Digital Systems and Information"
Logic Circuits Design - "Chapter 1: Digital Systems and Information"Logic Circuits Design - "Chapter 1: Digital Systems and Information"
Logic Circuits Design - "Chapter 1: Digital Systems and Information"Ra'Fat Al-Msie'deen
 
Course Name: Digital System Design Number System.pdf
Course Name: Digital System Design Number System.pdfCourse Name: Digital System Design Number System.pdf
Course Name: Digital System Design Number System.pdfMdJubayerFaisalEmon
 
digi.elec.number%20system.pptx
digi.elec.number%20system.pptxdigi.elec.number%20system.pptx
digi.elec.number%20system.pptxansariparveen06
 
Module 1 number systems and code1
Module 1  number systems and code1Module 1  number systems and code1
Module 1 number systems and code1Deepak John
 
21EC201– Digital Principles and system design.pptx
21EC201– Digital Principles and system design.pptx21EC201– Digital Principles and system design.pptx
21EC201– Digital Principles and system design.pptxGobinathAECEJRF1101
 
Number Systems and Binary Aritmetics
Number Systems and Binary AritmeticsNumber Systems and Binary Aritmetics
Number Systems and Binary AritmeticsDelowar Hossain
 

Similar to Boolean Algebra Arithmetic SIG UNSIGN.ppt (20)

1. basic theories of information
1. basic theories of information1. basic theories of information
1. basic theories of information
 
Chapter 2.1 introduction to number system
Chapter 2.1 introduction to number systemChapter 2.1 introduction to number system
Chapter 2.1 introduction to number system
 
DCF QNA edited
DCF QNA editedDCF QNA edited
DCF QNA edited
 
DATA REPRESENTATION.pptx
DATA REPRESENTATION.pptxDATA REPRESENTATION.pptx
DATA REPRESENTATION.pptx
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & Conversion
 
Number system
Number systemNumber system
Number system
 
Logic Circuits Design - "Chapter 1: Digital Systems and Information"
Logic Circuits Design - "Chapter 1: Digital Systems and Information"Logic Circuits Design - "Chapter 1: Digital Systems and Information"
Logic Circuits Design - "Chapter 1: Digital Systems and Information"
 
Lecture 2 ns
Lecture 2 nsLecture 2 ns
Lecture 2 ns
 
DLD-Introduction.pptx
DLD-Introduction.pptxDLD-Introduction.pptx
DLD-Introduction.pptx
 
Number systems r002
Number systems  r002Number systems  r002
Number systems r002
 
Digital logic design part1
Digital logic design part1Digital logic design part1
Digital logic design part1
 
DLD_Lecture_notes2.ppt
DLD_Lecture_notes2.pptDLD_Lecture_notes2.ppt
DLD_Lecture_notes2.ppt
 
Course Name: Digital System Design Number System.pdf
Course Name: Digital System Design Number System.pdfCourse Name: Digital System Design Number System.pdf
Course Name: Digital System Design Number System.pdf
 
Number Systems.ppt
Number Systems.pptNumber Systems.ppt
Number Systems.ppt
 
digi.elec.number%20system.pptx
digi.elec.number%20system.pptxdigi.elec.number%20system.pptx
digi.elec.number%20system.pptx
 
Module 1 number systems and code1
Module 1  number systems and code1Module 1  number systems and code1
Module 1 number systems and code1
 
21EC201– Digital Principles and system design.pptx
21EC201– Digital Principles and system design.pptx21EC201– Digital Principles and system design.pptx
21EC201– Digital Principles and system design.pptx
 
Unit-1.pptx
Unit-1.pptxUnit-1.pptx
Unit-1.pptx
 
Number_Systems (2).ppt
Number_Systems (2).pptNumber_Systems (2).ppt
Number_Systems (2).ppt
 
Number Systems and Binary Aritmetics
Number Systems and Binary AritmeticsNumber Systems and Binary Aritmetics
Number Systems and Binary Aritmetics
 

More from AshishChandrakar12

NOISE IN Analog Communication Part-2 AM SYSTEMS.ppt
NOISE IN Analog Communication  Part-2 AM SYSTEMS.pptNOISE IN Analog Communication  Part-2 AM SYSTEMS.ppt
NOISE IN Analog Communication Part-2 AM SYSTEMS.pptAshishChandrakar12
 
NOISE IN Analog Communication Part-1.ppt
NOISE IN Analog Communication  Part-1.pptNOISE IN Analog Communication  Part-1.ppt
NOISE IN Analog Communication Part-1.pptAshishChandrakar12
 
Introduction to communication system part 2Unit-I Part 2.pptx
Introduction to communication system part 2Unit-I   Part 2.pptxIntroduction to communication system part 2Unit-I   Part 2.pptx
Introduction to communication system part 2Unit-I Part 2.pptxAshishChandrakar12
 
Introduction of communication system_Unit-I Part 2.pptx
Introduction of communication system_Unit-I   Part 2.pptxIntroduction of communication system_Unit-I   Part 2.pptx
Introduction of communication system_Unit-I Part 2.pptxAshishChandrakar12
 
Propagation_model5th unit.pptx
Propagation_model5th unit.pptxPropagation_model5th unit.pptx
Propagation_model5th unit.pptxAshishChandrakar12
 
Modulation_techniques4th unit.pptx
Modulation_techniques4th unit.pptxModulation_techniques4th unit.pptx
Modulation_techniques4th unit.pptxAshishChandrakar12
 
Elements of wireless communication_2nd unit.pptx
Elements of wireless communication_2nd unit.pptxElements of wireless communication_2nd unit.pptx
Elements of wireless communication_2nd unit.pptxAshishChandrakar12
 
Wireless_communication_1st unit.pptx
Wireless_communication_1st unit.pptxWireless_communication_1st unit.pptx
Wireless_communication_1st unit.pptxAshishChandrakar12
 

More from AshishChandrakar12 (10)

NOISE IN Analog Communication Part-2 AM SYSTEMS.ppt
NOISE IN Analog Communication  Part-2 AM SYSTEMS.pptNOISE IN Analog Communication  Part-2 AM SYSTEMS.ppt
NOISE IN Analog Communication Part-2 AM SYSTEMS.ppt
 
NOISE IN Analog Communication Part-1.ppt
NOISE IN Analog Communication  Part-1.pptNOISE IN Analog Communication  Part-1.ppt
NOISE IN Analog Communication Part-1.ppt
 
Minimization Technique .ppt
 Minimization Technique .ppt Minimization Technique .ppt
Minimization Technique .ppt
 
Boolean Algebra part 2.ppt
Boolean Algebra part 2.pptBoolean Algebra part 2.ppt
Boolean Algebra part 2.ppt
 
Introduction to communication system part 2Unit-I Part 2.pptx
Introduction to communication system part 2Unit-I   Part 2.pptxIntroduction to communication system part 2Unit-I   Part 2.pptx
Introduction to communication system part 2Unit-I Part 2.pptx
 
Introduction of communication system_Unit-I Part 2.pptx
Introduction of communication system_Unit-I   Part 2.pptxIntroduction of communication system_Unit-I   Part 2.pptx
Introduction of communication system_Unit-I Part 2.pptx
 
Propagation_model5th unit.pptx
Propagation_model5th unit.pptxPropagation_model5th unit.pptx
Propagation_model5th unit.pptx
 
Modulation_techniques4th unit.pptx
Modulation_techniques4th unit.pptxModulation_techniques4th unit.pptx
Modulation_techniques4th unit.pptx
 
Elements of wireless communication_2nd unit.pptx
Elements of wireless communication_2nd unit.pptxElements of wireless communication_2nd unit.pptx
Elements of wireless communication_2nd unit.pptx
 
Wireless_communication_1st unit.pptx
Wireless_communication_1st unit.pptxWireless_communication_1st unit.pptx
Wireless_communication_1st unit.pptx
 

Recently uploaded

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 

Recently uploaded (20)

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 

Boolean Algebra Arithmetic SIG UNSIGN.ppt

  • 1. DIGITAL SYSTEM DESIGN Course Code: B000313(028) Mr. Manjeet Singh Sonwani Assistant Professor Department of Electronics & Telecomm. Government Engineering College Raipur
  • 2. Course Contents UNIT-I BOOLEAN ALGEBRA & MINIMIZATION TECHNIQUES UNIT-II COMBINATIONAL CIRCUITS UNIT-III SEQUENTIAL CIRCUITS UNIT-IV FINITE STATE MACHINE UNIT-V DIGITAL LOGIC FAMILIES Text Books/Reference Books: 1. R.P. Jain, “Modern digital Electronics”, Tata McGraw Hill, 4th edition, 2009. 2. W.H. Gothmann, “Digital Electronics- An introduction to theory and practice”, PHI, 2nd Edition ,2006. 3. D.V. Hall, “Digital Circuits and Systems”, Tata McGraw Hill, 1989 4. Digital Fundamentals: Floyd & Jain: Pearson Education. 5. Digital Electronics: A. P. Malvino: Tata McGraw Hill.
  • 3. Course Code B000313(028) Course Title Digital System Design Credits 4 Contact Periods (L-T-P) 3-1-0 Course Objective 1.To Design, Analyze and Interpret Combinational Circuits 2. To Design, Analyze and Interpret Sequential Circuits Course Outcome At the end of this course students will demonstrate the ability to C 313.1 Employ Boolean algebra and circuit minimization techniques. C313.2 Design combinational circuits such as adders, subtractors, multiplexers, decoder C313.3 Design & analyze modular combinational circuits with MUX/DEMUX, Decoder, Encoder etc. C313.4 Design & analyze synchronous sequential logic circuits . C313.5 Gain knowledge about various logic families and select a suitable one for a specific application. SCHEME OF TEACHING
  • 4. UNIT-I BOOLEAN ALGEBRA & MINIMIZATION TECHNIQUES • Introduction • Review of Number Systems: Decimal,Binary,Octal,Hexadecimal • Representation of Signed Numbers and Binary Arithmetic in Computers. • Logic Simplification and Combinational Logic Design, Boolean Algebra: Logic Operations; Axioms and Laws of Boolean Algebra: Complementation Laws, AND Laws, OR Laws, Commutative Laws, Associative Laws, Distributive Laws, Absorption Laws, Transposition Theorem, De Morgan’s Theorem; Duality; Reducing Boolean Expressions; Functionally Complete Sets of Operations; Boolean Functions and their Representation.
  • 5. UNIT-I BOOLEAN ALGEBRA & MINIMIZATION TECHNIQUES • Minimization Techniques: • Expansion of a Boolean expression to SOP form; Expansion of a Boolean expression to POS form; • Karnaugh maps up to 4 variables, Mapping and minimization of SOP and POS expressions; Concept of Don't Care Terms; Quine – McClusky Method (Up to 5 variable); • Synthesis using AND-OR, NAND-NOR and XOR forms; Design Examples; • Binary codes and code conversion(BCD, Excess-3, Gray code)
  • 6. Introduction Digital Electronics : Digital Electronics or digital circuits are the branch of Electronics that operates on digital signal. Analog Signal : It gives its value at any instant of time. Digital Signal : A signal that is sampled at discrete points and the sampled values are quantized into a set of discrete values. At a given time it can only take on one of a finite no. of values. Discrete Signal : It gives its value at a particular instant of time.
  • 7. Digital Systems Digital vs. Analog Waveforms Analog: values vary over a broad range continuously Digital: only assumes discrete values +5 V –5 Ti me +5 V –5 1 0 1 Time
  • 8. Binary numbers? Digital Computers: Imply that the computer deals with digital information, i.e., it deals with the information that is represented by binary digits. Why BINARY ? instead of Decimal or other number system ? Computers work only on two states – On – Off • Basic memory elements(transistor/MOSFET) hold only two states – Zero / One • Thus a number system with two elements {0,1} • A binary digit – bit !
  • 9. Review of Number Systems Number Systems : In Digital Electronics , the number system is used for representing the information. The NS has different bases and the most common of them are decimal ,binary,octal,Hexadecimal . The base and radix of any NS is the total no. of digit used in that NS. Example: Four number system Decimal (10): 0,1,2,3,4,5,6,7,8,9 Binary (2) : 0,1 Octal (8) : 0,1,2,3,4,5,6,7 Hexadecimal (16) : 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F Application: (i)To communicate (ii) To perform task (iii) To quantify (iv) To measure
  • 10. Characteristics of Numbering Systems 1) The digits are consecutive/Successive. 2) The number of digits is equal to the size of the base. 3) Zero is always the first digit. 4) The base number is never a digit. 5) When 1 is added to the largest digit, a sum of zero and a carry of one results. 6) Numeric values are determined by the implicit positional values of the digits.
  • 11. Binary Quantities and Variables • A binary quantity is one that can take only 2 states A simple binary arrangement S L OPEN OFF CLOSED ON S L 0 0 1 1 A truth table
  • 12. • A binary arrangement with two switches in series L = S1 AND S2
  • 13. • A binary arrangement with two switches in parallel L = S1 OR S2
  • 14. • Three switches in series L = S1 AND S2 AND S3
  • 15. • Three switches in parallel L = S1 OR S2 OR S3
  • 16. • A series/parallel arrangement L = S1 AND (S2 OR S3)
  • 17. Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645, 32 Negative Numbers A value less than 0, with a – sign Examples: -24, -1, -45645, -32 Integers A natural number, a negative number Examples: 249, 0, - 45645, - 32 Rational Numbers An integer or the quotient of two integers Examples: -249, -1, 0, 3/7, -2/5 Numbers
  • 18. dn * Rn-1 + dn-1 * Rn-2 + ... + d2 * R1 + d1 * R0 As a formula: 1439 = 1 x 103 + 4 x 102 + 3 x 101 + 9 x 100 642 = 6 * 102 + 4 * 10 + 2 * 1 R is the base of the number n is the number of digits in the number d is the digit in the ith position in the number Positional Notation
  • 19. Decimal numbers (1439)10= 1 x 103 + 4 x 102 + 3 x 101 + 9 x 100 Thousands Hundreds Tens Ones • Base / Radix = 10
  • 20. Binary Decimal 1101 = 1 x 23 + 1 x 22 + 0 x 21 + 1 x 20 = 1 x 8 + 1 x 4 + 0 x 2 + 1 x 1 = 8 + 4 + 0 + 1 (1101)2 = (13)10 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, ….
  • 21. Significant Digits Binary: 11101101 Most significant digit Least significant digit Hexadecimal: 1D63A7A Most significant digit Least significant digit
  • 22. Binary Number System • Also called the “Base 2 system” • The binary number system is used to model the series of electrical signals computers use to represent information • 0 represents the no voltage or an off state • 1 represents the presence of voltage or an on state
  • 23. Binary Numbering Scale Base 2 Number Base 10 Equivalent Power Positional Value 000 0 20 1 001 1 21 2 010 2 22 4 011 3 23 8 100 4 24 16 101 5 25 32 110 6 26 64 111 7 27 128
  • 24. Step 1. Divide the decimal number by the new base Step 2. Make the remainder the next digit to the left in the answer Step 3. Replace the original decimal number with the quotient While Step 4.Repeat Step 1 to Step 3 till the quotient is not zero. Algorithm for converting number in base 10 to other bases Converting Decimal to Other Bases
  • 25. Division Algorithm Decimal to Binary Conversion Convert 67 to its binary equivalent: 6710 = x2 Step 1: 67 / 2 = 33 R 1 Divide 67 by 2. Record quotient in next row Step 2: 33 / 2 = 16 R 1 Again divide by 2; record quotient in next row Step 3: 16 / 2 = 8 R 0 Repeat again Step 4: 8 / 2 = 4 R 0 Repeat again Step 5: 4 / 2 = 2 R 0 Repeat again Step 6: 2 / 2 = 1 R 0 Repeat again Step 7: 1 / 2 = 0 R 1 STOP when quotient equals 0 1 0 0 0 0 1 12
  • 26. Binary to Decimal Conversion • The easiest method for converting a binary number to its decimal equivalent is to use the Multiplication Algorithm • Step 1. Multiply the binary digits by increasing powers of two, starting from the right(LSB) • Step 2. Then, to find the decimal number equivalent, sum those products
  • 27. Multiplication Algorithm Convert (10101101)2 to its decimal equivalent: Binary 1 0 1 0 1 1 0 1 Positional Values 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0 128 + 32 + 8 + 4 + 1 Products 17310 1x27 +0x26 +1x25 +0x24 + 1x 23 +1x22 +0x 21 +1x 20
  • 28. Hexadecimal Number System • Base 16 system • Uses digits 0-9 & letters A,B,C,D,E,F • Groups of four bits represent each base 16 digit
  • 29. Decimal to Hexadecimal Conversion Convert 83010 to its hexadecimal equivalent: 830 / 16 = Q 51 R 14 51 / 16 = Q 3 R 3 3 / 16 = Q 0 R 3 33 E16 = E in Hex
  • 30. Hexadecimal to Decimal Conversion Convert 3B4F16 to its decimal equivalent: Hex Digits 3 B 4 F x x x 163 162 161 160 12288 +2816 + 64 +15 15,18310 Positional Values Products x
  • 31. Binary to Hexadecimal Conversion • The easiest method for converting binary to hexadecimal is to use a substitution code • Each hex number converts to 4 binary digits
  • 33. Octal Decimal 137 = 1 x 82 + 3 x 81 + 7 x 80 = 1 x 64 + 3 x 8 + 7 x 1 = 64 + 24 + 7 (137)8 = (95)10 • Digits used in Octal number system – 0 to 7
  • 35. Hex Decimal BAD = 11 x 162 + 10 x 161 + 13 x 160 = 11 x 256 + 10 x 16 + 13 x 1 = 2816 + 160 + 13 (BAD)16 = (2989)10 A = 10, B = 11, C = 12, D = 13, E = 14, F = 15
  • 37. Why octal or hex? • Ease of use and conversion • Three bits make one octal digit 111 010 110 101 7 2 6 5 => 7265 in octal • Four bits make one hexadecimal digit 1110 1011 0101 E B 5 => EB5 in hex 4 bits = nibble
  • 38.
  • 39. Representation of Signed Numbers Negative numbers Three representations • Signed magnitude • 1’s complement • 2’s complement
  • 40. Sign magnitude • Make MSB represent sign • Positive = 0 • Negative = 1 • E.g. for a 3 bit set – “-2” Sign Bit Bit 1 1 0 MSB LSB
  • 41. DRC(Diminished Radix Complement):(r-1)’s complement 1’s complement • MSB as in sign magnitude • Complement all the other bits • Given a positive number complement all bits to get negative equivalent • E.g. for a 3 bit set – “-2” Sign Bit Bit 1 0 1 0 1 0
  • 42. RXC(Radix Complement): r ’s complement 2’s complement If MSD is a 0 : • The number is positive • Remaining (n-1) bits directly indicate the magnitude If the MSD is 1 : • The number is negative • Magnitude is obtained by complementing all the remaining (n-1) bits and adding a 1 • 1’s complement plus one • E.g. for a 3 bit set – “-2” Sign Bit Bit 1 1 0 0 1 0
  • 43. Range of n-bit numbers Two’s complement numbers: 0111111 + 63 0000110 + 6 0000000 + 0 1111010 – 6 1000001 - 63 1000000 - 64 0 is represented by 000.....0 7- bit number covers the range from +63 to -64. n-bit number has a range from +(2n-1 - 1) to -(2n-1)
  • 44. Decimal number Signed magnitude 2’s complement 1’s complement 3 011 011 011 2 010 010 010 1 001 001 001 0 000 000 000 -0 100 --- 111 -1 101 111 110 -2 110 110 101 -3 111 101 100 -4 100 No matter which scheme is used we get an even set of numbers but we need one less (odd: as we have a unique zero)
  • 45. Binary Arithmetic in Computers • Addition / subtraction • Unsigned • Signed – Using negative numbers
  • 46. Unsigned: Addition Like normal decimal addition B A The carry out of the MSB is neglected + 0 1 0 0 1 1 1 10 0101 (5) + 1001 (9) 1110 (14)
  • 47. Unsigned: Subtraction Like normal decimal subtraction B A A borrow (shown in red) from the MSB implies a negative - 0 1 0 0 11 1 1 0 1001 (9) - 0101 (5) 0100 (4)
  • 48. Signed arithmetic • Use a negative number representation scheme • Reduces subtraction to addition
  • 49. 2’s complement Negative numbers in 2’s complement 001 ( 1)10 101 (-3)10 110 (-2)10 The carry out of the MSB is lost/Discard the carry
  • 50. Overflow / Underflow • Maximum value N bits can hold : 2n –1 • When addition result is bigger than the biggest number of bits can hold. – Overflow • When addition result is smaller than the smallest number the bits can hold. – Underflow • Addition of a positive and a negative number cannot give an overflow or underflow.
  • 51. Overflow example 011 (+3)10 011 (+3)10 110 (+6)10 ???? 1’s complement computer interprets it as –1 !! (+6)10 = (0110)2 requires four bits !
  • 52. Underflow examples Two’s complement addition 101 (-3)10 101 (-3)10 Carry 1 010 (-6)10 ???? The computer sees it as +2. (-6)10 = (1010)2 again requires four bits !