SlideShare ist ein Scribd-Unternehmen logo
1 von 23
DIGITAL LOGIC DESIGN
BY UNSA SHAKIR
Definition
 Digital Logic is a term used to denote the
design and analysis of digital systems.
 Digital Logic is the basis of electronic
systems, such as computers and cell
phones. Digital Logic is rooted in binary
code, a series of zeroes and ones.This
system includes logic gates and facilitates
the design of electronic circuits that convey
information in the form of digital bits, Digital
Logic gate functions include and, or and not.
Design of such system is digital logic design
Example:
Number Systems
Conversion Among Bases
Example:
123410 = ?16
12510 = ?2
7058 = ?2
10AF16 = ?2
123410 = ?8
10110101112 = ?8
10101110112 = ?16
10768 = ?16
1F0C16 = ?8
Exercise
Answer
Base 10
Review – multiplying powers
 For common bases, add powers
ab  ac = ab+c
26  210 = 216 = 65,536
or…
26  210 = 64  210 = 64k
Binary Addition
 Two 1-bit values
Binary Addition
 Two n-bit values
◦ Add individual bits
◦ Propagate carries
◦ E.g.,
10101 25
+ 11001 + 31
101110 56
Multiplication
 Binary, two 1-bit values
Multiplication
 Binary, two n-bit values
◦ As with decimal values
◦ E.g.,
1110
x 1011
1110
1110
0000
1110
10011010
1's complement
 The 1's complement of a number is
found by changing all 1's to 0's and all
0's to 1's. This is called as taking
complement or 1's complement.
2's complement
 The 2's complement of binary number
is obtained by adding 1 to the Least
Significant Bit (LSB) of 1's
complement of the number.
 2's complement = 1's complement + 1
• Convert decimal 49 to binary
• Convert binary 100101 to decimal
• Convert 10111101.0112 to decimal
• Convert 1910 and 9910 to binary
• Express 37028 in decimal
• Express 1A2F16 in decimal
EXAMPLES:
• Convert 43910 to octal
• Convert 65010 to hexadecimal
• 1111110001011010012 in hexadecimal
• 1111110001011010012 in octal-base
• Express 246910 in BCD
• Express the decimal number 39 as an 8-bit
number
• Find the 1’s complement of 10110010
• Find the 2’s complement of 10110010
• Find the 2’s complement of 10010000
• Represent 2510 in 8-bit and then write 1’s
and 2’s complement form
Reference book
 Digital Design, 2nd Ed., M. Morris
Mano, Prentice Hall, 1991.

Weitere ähnliche Inhalte

Was ist angesagt?

Finite state machines
Finite state machinesFinite state machines
Finite state machines
dennis gookyi
 

Was ist angesagt? (20)

Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
 
Finite State Machine.ppt.pptx
Finite State Machine.ppt.pptxFinite State Machine.ppt.pptx
Finite State Machine.ppt.pptx
 
Manchester & Differential Manchester encoding scheme
Manchester & Differential Manchester encoding schemeManchester & Differential Manchester encoding scheme
Manchester & Differential Manchester encoding scheme
 
SAP II ARTICTURE ,SAP 2
SAP II ARTICTURE ,SAP 2SAP II ARTICTURE ,SAP 2
SAP II ARTICTURE ,SAP 2
 
Group 11 introduction to registers and counters
Group 11 introduction to registers and countersGroup 11 introduction to registers and counters
Group 11 introduction to registers and counters
 
push down automata
push down automatapush down automata
push down automata
 
Logic gates ppt
Logic gates pptLogic gates ppt
Logic gates ppt
 
Transistor Transistor Logic
Transistor Transistor LogicTransistor Transistor Logic
Transistor Transistor Logic
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
 
Fourier Transform
Fourier TransformFourier Transform
Fourier Transform
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Laws of boolean algebra
Laws of boolean algebraLaws of boolean algebra
Laws of boolean algebra
 
Minimization of DFA
Minimization of DFAMinimization of DFA
Minimization of DFA
 
Basic theorems and properties of boolean algebra
Basic theorems and properties of boolean algebraBasic theorems and properties of boolean algebra
Basic theorems and properties of boolean algebra
 
Finite state machines
Finite state machinesFinite state machines
Finite state machines
 
Registers
RegistersRegisters
Registers
 
Hexadecimal addition
Hexadecimal additionHexadecimal addition
Hexadecimal addition
 
Latches and flip flop
Latches and flip flopLatches and flip flop
Latches and flip flop
 
Context free grammar
Context free grammar Context free grammar
Context free grammar
 
BCD to Decimal - Digital Electronics
BCD to Decimal - Digital ElectronicsBCD to Decimal - Digital Electronics
BCD to Decimal - Digital Electronics
 

Ähnlich wie number system

Alu1
Alu1Alu1

Ähnlich wie number system (20)

uyuyuy.pdf
uyuyuy.pdfuyuyuy.pdf
uyuyuy.pdf
 
1. NUMBER SYSTEM.pptx Computer Applications in Pharmacy
1. NUMBER SYSTEM.pptx Computer Applications in Pharmacy1. NUMBER SYSTEM.pptx Computer Applications in Pharmacy
1. NUMBER SYSTEM.pptx Computer Applications in Pharmacy
 
Data representation
Data representationData representation
Data representation
 
UNIT - I.pptx
UNIT - I.pptxUNIT - I.pptx
UNIT - I.pptx
 
UNIT - I.pptx
UNIT - I.pptxUNIT - I.pptx
UNIT - I.pptx
 
Digital Logic Design.pptx
Digital Logic Design.pptxDigital Logic Design.pptx
Digital Logic Design.pptx
 
Chapter 2 Data Representation on CPU (part 1)
Chapter 2 Data Representation on CPU (part 1)Chapter 2 Data Representation on CPU (part 1)
Chapter 2 Data Representation on CPU (part 1)
 
Number system
Number systemNumber system
Number system
 
Unit-1 Digital Design and Binary Numbers:
Unit-1 Digital Design and Binary Numbers:Unit-1 Digital Design and Binary Numbers:
Unit-1 Digital Design and Binary Numbers:
 
Number system
Number systemNumber system
Number system
 
Alu1
Alu1Alu1
Alu1
 
Chapter02.pdf
Chapter02.pdfChapter02.pdf
Chapter02.pdf
 
number system
number systemnumber system
number system
 
DLD-Introduction.pptx
DLD-Introduction.pptxDLD-Introduction.pptx
DLD-Introduction.pptx
 
Lec 02
Lec 02Lec 02
Lec 02
 
conversion.ppt
conversion.pptconversion.ppt
conversion.ppt
 
digitalelectronics.ppt
digitalelectronics.pptdigitalelectronics.ppt
digitalelectronics.ppt
 
Digital Electronics – Unit I.pdf
Digital Electronics – Unit I.pdfDigital Electronics – Unit I.pdf
Digital Electronics – Unit I.pdf
 
Digital Principles-Number systems
Digital Principles-Number systemsDigital Principles-Number systems
Digital Principles-Number systems
 
Okkkkk
OkkkkkOkkkkk
Okkkkk
 

Mehr von Unsa Shakir

Mehr von Unsa Shakir (20)

Types of diode
Types of diodeTypes of diode
Types of diode
 
Transistor
TransistorTransistor
Transistor
 
Single diode circuits
Single diode circuitsSingle diode circuits
Single diode circuits
 
Silicon control rectifier
Silicon control rectifierSilicon control rectifier
Silicon control rectifier
 
Rectifiers
RectifiersRectifiers
Rectifiers
 
Operational amplifier
Operational amplifierOperational amplifier
Operational amplifier
 
Diode voltage multiplier
Diode voltage multiplierDiode voltage multiplier
Diode voltage multiplier
 
Types of transistors
Types of transistorsTypes of transistors
Types of transistors
 
Clipper and clamper circuits
Clipper and clamper circuitsClipper and clamper circuits
Clipper and clamper circuits
 
kinds of distribution
 kinds of distribution kinds of distribution
kinds of distribution
 
Probability of card
Probability of  cardProbability of  card
Probability of card
 
hypothesis test
 hypothesis test hypothesis test
hypothesis test
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
 
probability
probabilityprobability
probability
 
tree diagrams
 tree diagrams tree diagrams
tree diagrams
 
counting techniques
counting techniquescounting techniques
counting techniques
 
analytical representation of data
 analytical representation of data analytical representation of data
analytical representation of data
 
frequency distribution
 frequency distribution frequency distribution
frequency distribution
 
graphic representations in statistics
 graphic representations in statistics graphic representations in statistics
graphic representations in statistics
 
introduction to statistical theory
introduction to statistical theoryintroduction to statistical theory
introduction to statistical theory
 

Kürzlich hochgeladen

result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
Tonystark477637
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 

Kürzlich hochgeladen (20)

(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 

number system

  • 2. Definition  Digital Logic is a term used to denote the design and analysis of digital systems.  Digital Logic is the basis of electronic systems, such as computers and cell phones. Digital Logic is rooted in binary code, a series of zeroes and ones.This system includes logic gates and facilitates the design of electronic circuits that convey information in the form of digital bits, Digital Logic gate functions include and, or and not. Design of such system is digital logic design
  • 5.
  • 6.
  • 7.
  • 9. Example: 123410 = ?16 12510 = ?2 7058 = ?2 10AF16 = ?2 123410 = ?8 10110101112 = ?8 10101110112 = ?16 10768 = ?16 1F0C16 = ?8
  • 13. Review – multiplying powers  For common bases, add powers ab  ac = ab+c 26  210 = 216 = 65,536 or… 26  210 = 64  210 = 64k
  • 14. Binary Addition  Two 1-bit values
  • 15. Binary Addition  Two n-bit values ◦ Add individual bits ◦ Propagate carries ◦ E.g., 10101 25 + 11001 + 31 101110 56
  • 17. Multiplication  Binary, two n-bit values ◦ As with decimal values ◦ E.g., 1110 x 1011 1110 1110 0000 1110 10011010
  • 18. 1's complement  The 1's complement of a number is found by changing all 1's to 0's and all 0's to 1's. This is called as taking complement or 1's complement.
  • 19. 2's complement  The 2's complement of binary number is obtained by adding 1 to the Least Significant Bit (LSB) of 1's complement of the number.  2's complement = 1's complement + 1
  • 20.
  • 21. • Convert decimal 49 to binary • Convert binary 100101 to decimal • Convert 10111101.0112 to decimal • Convert 1910 and 9910 to binary • Express 37028 in decimal • Express 1A2F16 in decimal EXAMPLES: • Convert 43910 to octal • Convert 65010 to hexadecimal • 1111110001011010012 in hexadecimal
  • 22. • 1111110001011010012 in octal-base • Express 246910 in BCD • Express the decimal number 39 as an 8-bit number • Find the 1’s complement of 10110010 • Find the 2’s complement of 10110010 • Find the 2’s complement of 10010000 • Represent 2510 in 8-bit and then write 1’s and 2’s complement form
  • 23. Reference book  Digital Design, 2nd Ed., M. Morris Mano, Prentice Hall, 1991.