SlideShare una empresa de Scribd logo
1 de 35
1
Digital Logic Design
2
Digital Logic Design
° Digital
- Concerned with the interconnection among digital
components and modules
» Best Digital System example is General Purpose
Computer
° Logic Design
- Deals with the basic concepts and tools used to design
digital hardware consisting of logic circuits
» Circuits to perform arithmetic operations (+, -, x, ÷)
3
DigiDigi
taltal
SigSig
nalsnals
° Decimal values are difficult to represent in electrical
systems. It is easier to use two voltage values than
ten.
° Digital Signals have two basic states:
1 (logic “high”, or H, or “on”)
0 (logic “low”, or L, or “off”)
° Digital values are in a binary format. Binary means
2 states.
° A good example of binary is a light (only on or off)
on off
Power switches have labels “1” for on and “0” for off.
4
Digital Logic Design
° Bits and Pieces of DLD History
° George Boole
- Mathematical Analysis of Logic (1847)
- An Investigation of Laws of Thoughts; Mathematical
Theories of Logic and Probabilities (1854)
° Claude Shannon
- Rediscovered the Boole
- “ A Symbolic Analysis of Relay and Switching Circuits “
- Boolean Logic and Boolean Algebra were Applied to Digital
Circuitry
---------- Beginning of the Digital Age and/or Computer Age
World War II
Computers as Calculating Machines
Arlington (State Machines) “ Control “
5
Motivation
° Microprocessors/Microelectronics have
revolutionized our world
• Cell phones, internet, rapid advances in medicine, etc.
° The semiconductor industry has grown tremendously
6
Objectives
° Number System, Their Uses, Conversions
° Basic Building Blocks of Digital System
° Minimization
° Combinational And Sequential Logic
° Digital System/Circuit Analysis and Design
° State Minimizations
° Integrated Circuits
° Simulations
7
Text Book
° Primary Text:
“Digital Design” By M. Morris Mano and Michael D.
Ciletti
° Complementary Material
“Logic and Computer Design Fundamentals” By M.
Morris Mano & Charles R Kime.
8
Digital Logic Design
Lecture 1
Number Systems
9
Number Systems
° Decimal is the number system that we use
° Binary is a number system that computers use
° Octal is a number system that represents groups of
binary numbers (binary shorthand). It is used in
digital displays, and in modern times in
conjunction with file permissions under Unix
systems.
° Hexadecimal (Hex) is a number system that
represents groups of binary numbers (binary
shorthand). Hex is primarily used in computing as
the most common form of expressing a human-
readable string representation of a byte (group of 8
bits).
10
Overvie
w
° The design of computers
• It all starts with numbers
• Building circuits
• Building computing machines
° Digital systems
° Understanding decimal numbers
° Binary and octal numbers
• The basis of computers!
° Conversion between different number systems
11
Analog vs. Digital
Consider a faucet
Digital
Water can be flowing or NOT flowing
from the faucet
Two States
• On
• Off
Analog
How much water is flowing from the
faucet?
Advantages of Digital
Replication
• Analog
Try replicating the exact flow
from a faucet
• Digital
12
Advantages of Digital
o Error Correction/Detection
• Small errors don’t propagate
o Miniaturization of Circuits
o Programmability
• Digital computers are programmable
°Two discrete values are used in digital systems.
°How are discrete elements represented?
• Signals are the physical quantities used to represent discrete
elements of information in a digital system.
°Electric signals used:
• Voltage
• Current
13
Advantages of Digital/Representation of Binary Values
Volts
- 1 .0
0 .0
1 .0
2 .0
3 .0
4 .0
5 .0
6 .0
H ig h
L o w
°Why are there voltage ranges instead
of exact voltages?
• Variations in circuit behavior & noise
oTwo possible values
• 1, 0
• On, Off
• True, False
• High, Low
• Heads, Tails
• Black, White
14
15
Digital Computer Systems
° Digital systems consider discrete amounts of data.
° Examples
• 26 letters in the alphabet
• 10 decimal digits
° Larger quantities can be built from discrete values:
• Words made of letters
• Numbers made of decimal digits (e.g. 239875.32)
° Computers operate on binary values (0 and 1)
° Easy to represent binary values electrically
• Voltages and currents.
• Can be implemented using circuits
• Create the building blocks of modern computers
16
Understanding Decimal Numbers
° Decimal numbers are made of decimal digits:
(0,1,2,3,4,5,6,7,8,9)
° But how many items does a decimal number
represent?
• 8653 = 8x103
+ 6x102 +
5x101 +
3x100
° What about fractions?
• 97654.35 = 9x104
+ 7x103 +
6x102 +
5x101 +
4x100
+ 3x10-1 +
5x10-2
• In formal notation -> (97654.35)10
° Why do we use 10 digits, anyway?
17
Understanding Octal
Numbers
° Octal numbers are made of octal digits:
(0,1,2,3,4,5,6,7)
° How many items does an octal number represent?
• (4536)8 = 4x83
+ 5x82 +
3x81 +
6x80
= (1362)10
° What about fractions?
• (465.27)8 = 4x82 +
6x81 +
5x80
+ 2x8-1 +
7x8-2
° Octal numbers don’t use digits 8 or 9
° Who would use octal number, anyway?
18
Understanding Binary Numbers
° Binary numbers are made of binary digits (bits):
• 0 and 1
° How many items does an binary number represent?
• (1011)2 = 1x23
+ 0x22 +
1x21 +
1x20
= (11)10
° What about fractions?
• (110.10)2 = 1x22 +
1x21 +
0x20
+ 1x2-1 +
0x2-2
° Groups of eight bits are called a byte
• (11001001) 2
° Groups of four bits are called a nibble.
• (1101) 2
19
Why Use Binary Numbers?
° Easy to represent 0 and 1 using
electrical values.
° Possible to tolerate noise.
° Easy to transmit data
° Easy to build binary circuits.
AND Gate
1
0
0
20
BinaryBinary
Base 2 = Base 10
000 = 0
001 = 1
010 = 2
011 = 3
100 = 4
101 = 5
110 = 6
111 = 7
In Binary, there are only 0’s and 1’s. These numbers are called “Base-2” ( Example:
0102)
BinarytoDecimal
We count in “Base-10”
(0 to 9)
° Binary number has base 2
° Each digit is one of two
numbers: 0 and 1
° Each digit is called a bit
° Eight binary bits make a byte
° All 256 possible values of a
byte can be represented using
2 digits in hexadecimal
notation.
21
Binary as a VoltageBinary as a Voltage
° Voltages are used to represent logic values:
° A voltage present (called Vcc or Vdd) = 1
° Zero Volts or ground (called gnd or Vss) = 0
A simple switch can provide a logic high or a logic low.
22
A Simple SwitchA Simple Switch
° Here is a simple switch used to provide a logic value:
Vcc
Gnd, or 0
Vcc
Vcc, or 1
There are other ways to connect a switch.
23
Binary digits
Bit: single binary digit
Byte: 8 binary digits
100101112
Bit
Byte
Radix
24
Conversion Between Number Bases
Decimal(base 10)
Octal(base 8)
Binary(base 2)
Hexadecimal
(base16)
° Learn to convert between bases.
° Already demonstrated how to convert
from binary to decimal.
° Hexadecimal described in next
lecture.
25
Number Systems
System Base Symbols
Used by
humans?
Used in
computers?
Decimal 10 0, 1, … 9 Yes No
Binary 2 0, 1 No Yes
Octal 8 0, 1, … 7 No No
Hexa-
decimal
16 0, 1, … 9,
A, B, … F
No No
26
Con
ver
sio
n
Am
ong
Bas
es
The possibilities:
Hexadecimal
Decimal Octal
Binary
27
Convert an Integer from Decimal to Another
Base
1. Divide decimal number by the base (e.g. 2)
2. The remainder is the lowest-order digit
3. Repeat first two steps until no divisor remains.
For each digit position:
Example for (13)10:
Integer
Quotient
13/2 = 6 + ½ a0 = 1
6/2 = 3 + 0 a1 = 0
3/2 = 1 + ½ a2 = 1
1/2 = 0 + ½ a3 = 1
Remainder Coefficient
Answer (13)10 = (a3 a2 a1 a0)2 = (1101)2
28
Convert an Fraction from Decimal to Another
Base
1. Multiply decimal number by the base (e.g. 2)
2. The integer is the highest-order digit
3. Repeat first two steps until fraction becomes
zero.
For each digit position:
Example for (0.625)10:
Integer
0.625 x 2 = 1 + 0.25 a-1 = 1
0.250 x 2 = 0 + 0.50 a-2 = 0
0.500 x 2 = 1 + 0 a-3 = 1
Fraction Coefficient
Answer (0.625)10 = (0.a-1 a-2 a-3 )2 = (0.101)2
29
The Growth of Binary
Numbersn 2n
0 20
=1
1 21
=2
2 22
=4
3 23
=8
4 24
=16
5 25
=32
6 26
=64
7 27
=128
n 2n
8 28
=256
9 29
=512
10 210
=1024
11 211
=2048
12 212
=4096
20 220
=1M
30 230
=1G
40 240
=1T
Mega
Giga
Tera
30
Binary
Addition
° Binary addition is very simple.
° This is best shown in an example of adding two
binary numbers…
1 1 1 1 0 1
+ 1 0 1 1 1
---------------------
0
1
0
1
1
1111
1 1 00
carries
31
Binary Subtraction
° We can also perform subtraction (with borrows in place of
carries).
° Let’s subtract (10111)2 from (1001101)2…
1 10
0 10 10 0 0 10
1 0 0 1 1 0 1
- 1 0 1 1 1
------------------------
1 1 0 1 1 0
borrows
32
Binary
Multiplication
° Binary multiplication is much the same as decimal
multiplication, except that the multiplication
operations are much simpler…
1 0 1 1 1
X 1 0 1 0
-----------------------
0 0 0 0 0
1 0 1 1 1
0 0 0 0 0
1 0 1 1 1
-----------------------
1 1 1 0 0 1 1 0
33
Convert an Integer from Decimal to
Octal
1. Divide decimal number by the base (8)
2. The remainder is the lowest-order digit
3. Repeat first two steps until no divisor remains.
For each digit position:
Example for (175)10:
Integer
Quotient
175/8 = 21 + 7/8 a0 = 7
21/8 = 2 + 5/8 a1 = 5
2/8 = 0 + 2/8 a2 = 2
Remainder Coefficient
Answer (175)10 = (a2 a1 a0)2 = (257)8
34
Convert an Fraction from Decimal to
Octal
1. Multiply decimal number by the base (e.g. 8)
2. The integer is the highest-order digit
3. Repeat first two steps until fraction becomes
zero.
For each digit position:
Example for (0.3125)10:
Integer
0.3125 x 8 = 2 + 5 a-1 = 2
0.5000 x 8 = 4 + 0 a-2 = 4
Fraction Coefficient
Answer (0.3125)10 = (0.24)8
35
Summary
° Binary numbers are made of binary digits (bits)
° Binary and octal number systems
° Conversion between number systems
° Addition, subtraction, and multiplication in binary

Más contenido relacionado

La actualidad más candente

Number system and codes
Number system and codesNumber system and codes
Number system and codesAbhiraj Bohra
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexersUnsa Shakir
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital ElectronicsJanki Shah
 
PPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMPPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMRishabh Kanth
 
Digital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systemsDigital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systemsImran Waris
 
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)ISMT College
 
Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Lovely Singh
 
Weighted and Non Weighted Codes
Weighted and Non Weighted CodesWeighted and Non Weighted Codes
Weighted and Non Weighted CodesSubhamSatpathy2
 

La actualidad más candente (20)

Signed Binary Numbers
Signed Binary NumbersSigned Binary Numbers
Signed Binary Numbers
 
Digital logic design part1
Digital logic design part1Digital logic design part1
Digital logic design part1
 
Number system and codes
Number system and codesNumber system and codes
Number system and codes
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
 
K - Map
  K - Map    K - Map
K - Map
 
Number system conversion
Number system conversionNumber system conversion
Number system conversion
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
 
PPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMPPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEM
 
Binary to Decimal Conversion
Binary to Decimal ConversionBinary to Decimal Conversion
Binary to Decimal Conversion
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
Data Representation
Data RepresentationData Representation
Data Representation
 
Basics of digital electronics
Basics of digital electronicsBasics of digital electronics
Basics of digital electronics
 
Digital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systemsDigital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systems
 
Bcd
BcdBcd
Bcd
 
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
 
Digital Logic circuit
Digital Logic circuitDigital Logic circuit
Digital Logic circuit
 
Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)
 
Binary Arithmetic Operations
Binary Arithmetic OperationsBinary Arithmetic Operations
Binary Arithmetic Operations
 
Weighted and Non Weighted Codes
Weighted and Non Weighted CodesWeighted and Non Weighted Codes
Weighted and Non Weighted Codes
 

Destacado (19)

Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
 
Parallel adders
Parallel addersParallel adders
Parallel adders
 
Digital logic design DLD Logic gates
Digital logic design DLD Logic gatesDigital logic design DLD Logic gates
Digital logic design DLD Logic gates
 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
 
Lect 1
Lect 1Lect 1
Lect 1
 
Bangladesh ic-design-program-rev4-1 bd
Bangladesh ic-design-program-rev4-1 bdBangladesh ic-design-program-rev4-1 bd
Bangladesh ic-design-program-rev4-1 bd
 
dld 01-introduction
dld 01-introductiondld 01-introduction
dld 01-introduction
 
DLD Practical Lab Work
DLD Practical Lab WorkDLD Practical Lab Work
DLD Practical Lab Work
 
Digital System Design Basics
Digital System Design BasicsDigital System Design Basics
Digital System Design Basics
 
Digital Creative Design course - UX Module day 01 (EDIT interactive design an...
Digital Creative Design course - UX Module day 01 (EDIT interactive design an...Digital Creative Design course - UX Module day 01 (EDIT interactive design an...
Digital Creative Design course - UX Module day 01 (EDIT interactive design an...
 
Encoders
EncodersEncoders
Encoders
 
DLD Summer Workshop Big Data
DLD Summer Workshop Big DataDLD Summer Workshop Big Data
DLD Summer Workshop Big Data
 
DLD Presentation By Team Reboot,Rafin Rayan,EUB
DLD Presentation By Team Reboot,Rafin Rayan,EUBDLD Presentation By Team Reboot,Rafin Rayan,EUB
DLD Presentation By Team Reboot,Rafin Rayan,EUB
 
Input output organization
Input output organizationInput output organization
Input output organization
 
Input-Output Modules
Input-Output ModulesInput-Output Modules
Input-Output Modules
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Digital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentationDigital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentation
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
 
Computer arithmetic
Computer arithmeticComputer arithmetic
Computer arithmetic
 

Similar a digital logic design number system

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
 
Lesson4.1 u4 l1 binary representation
Lesson4.1 u4 l1 binary representationLesson4.1 u4 l1 binary representation
Lesson4.1 u4 l1 binary representationLexume1
 
data representation
 data representation data representation
data representationHaroon_007
 
digital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptxdigital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptxabelllll
 
Conclusion in this titty tittle 106_1.ppt
Conclusion in this titty tittle 106_1.pptConclusion in this titty tittle 106_1.ppt
Conclusion in this titty tittle 106_1.pptKelvinSerimwe
 
1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptxLibanMohamed26
 
Chapter 3-Data Representation in Computers.ppt
Chapter 3-Data Representation in Computers.pptChapter 3-Data Representation in Computers.ppt
Chapter 3-Data Representation in Computers.pptKalGetachew2
 
Digital electronics-Introduction.pptx
Digital electronics-Introduction.pptxDigital electronics-Introduction.pptx
Digital electronics-Introduction.pptxSubrata Maiti
 
Number system
Number systemNumber system
Number systemAmit Shaw
 

Similar a digital logic design number system (20)

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
 
digitalelectronics.ppt
digitalelectronics.pptdigitalelectronics.ppt
digitalelectronics.ppt
 
Lesson4.1 u4 l1 binary representation
Lesson4.1 u4 l1 binary representationLesson4.1 u4 l1 binary representation
Lesson4.1 u4 l1 binary representation
 
data representation
 data representation data representation
data representation
 
Digital Logic
Digital LogicDigital Logic
Digital Logic
 
1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM
 
DLD-Introduction.pptx
DLD-Introduction.pptxDLD-Introduction.pptx
DLD-Introduction.pptx
 
digital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptxdigital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptx
 
Digital Electronics Notes.pdf
Digital Electronics Notes.pdfDigital Electronics Notes.pdf
Digital Electronics Notes.pdf
 
fundamentals.ppt
fundamentals.pptfundamentals.ppt
fundamentals.ppt
 
fundamentals.ppt
fundamentals.pptfundamentals.ppt
fundamentals.ppt
 
Conclusion in this titty tittle 106_1.ppt
Conclusion in this titty tittle 106_1.pptConclusion in this titty tittle 106_1.ppt
Conclusion in this titty tittle 106_1.ppt
 
Number system
Number systemNumber system
Number system
 
1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx
 
Chapter 3-Data Representation in Computers.ppt
Chapter 3-Data Representation in Computers.pptChapter 3-Data Representation in Computers.ppt
Chapter 3-Data Representation in Computers.ppt
 
Digital electronics-Introduction.pptx
Digital electronics-Introduction.pptxDigital electronics-Introduction.pptx
Digital electronics-Introduction.pptx
 
DLD Chapter-1.pdf
DLD Chapter-1.pdfDLD Chapter-1.pdf
DLD Chapter-1.pdf
 
W 9 numbering system
W 9 numbering systemW 9 numbering system
W 9 numbering system
 
W 9 numbering system
W 9 numbering systemW 9 numbering system
W 9 numbering system
 
Number system
Number systemNumber system
Number system
 

Más de Nallapati Anindra

Synchronous and asynchronous reset
Synchronous and asynchronous resetSynchronous and asynchronous reset
Synchronous and asynchronous resetNallapati Anindra
 
Synchronous and asynchronous clock
Synchronous and asynchronous clockSynchronous and asynchronous clock
Synchronous and asynchronous clockNallapati Anindra
 
Sequential circuits in digital logic design
Sequential circuits in digital logic designSequential circuits in digital logic design
Sequential circuits in digital logic designNallapati Anindra
 
Functions and tasks in verilog
Functions and tasks in verilogFunctions and tasks in verilog
Functions and tasks in verilogNallapati Anindra
 

Más de Nallapati Anindra (6)

Synchronous and asynchronous reset
Synchronous and asynchronous resetSynchronous and asynchronous reset
Synchronous and asynchronous reset
 
Synchronous and asynchronous clock
Synchronous and asynchronous clockSynchronous and asynchronous clock
Synchronous and asynchronous clock
 
Sequential circuits in digital logic design
Sequential circuits in digital logic designSequential circuits in digital logic design
Sequential circuits in digital logic design
 
Data types in verilog
Data types in verilogData types in verilog
Data types in verilog
 
Metastability
MetastabilityMetastability
Metastability
 
Functions and tasks in verilog
Functions and tasks in verilogFunctions and tasks in verilog
Functions and tasks in verilog
 

Último

complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 

Último (20)

Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 

digital logic design number system

  • 2. 2 Digital Logic Design ° Digital - Concerned with the interconnection among digital components and modules » Best Digital System example is General Purpose Computer ° Logic Design - Deals with the basic concepts and tools used to design digital hardware consisting of logic circuits » Circuits to perform arithmetic operations (+, -, x, ÷)
  • 3. 3 DigiDigi taltal SigSig nalsnals ° Decimal values are difficult to represent in electrical systems. It is easier to use two voltage values than ten. ° Digital Signals have two basic states: 1 (logic “high”, or H, or “on”) 0 (logic “low”, or L, or “off”) ° Digital values are in a binary format. Binary means 2 states. ° A good example of binary is a light (only on or off) on off Power switches have labels “1” for on and “0” for off.
  • 4. 4 Digital Logic Design ° Bits and Pieces of DLD History ° George Boole - Mathematical Analysis of Logic (1847) - An Investigation of Laws of Thoughts; Mathematical Theories of Logic and Probabilities (1854) ° Claude Shannon - Rediscovered the Boole - “ A Symbolic Analysis of Relay and Switching Circuits “ - Boolean Logic and Boolean Algebra were Applied to Digital Circuitry ---------- Beginning of the Digital Age and/or Computer Age World War II Computers as Calculating Machines Arlington (State Machines) “ Control “
  • 5. 5 Motivation ° Microprocessors/Microelectronics have revolutionized our world • Cell phones, internet, rapid advances in medicine, etc. ° The semiconductor industry has grown tremendously
  • 6. 6 Objectives ° Number System, Their Uses, Conversions ° Basic Building Blocks of Digital System ° Minimization ° Combinational And Sequential Logic ° Digital System/Circuit Analysis and Design ° State Minimizations ° Integrated Circuits ° Simulations
  • 7. 7 Text Book ° Primary Text: “Digital Design” By M. Morris Mano and Michael D. Ciletti ° Complementary Material “Logic and Computer Design Fundamentals” By M. Morris Mano & Charles R Kime.
  • 9. 9 Number Systems ° Decimal is the number system that we use ° Binary is a number system that computers use ° Octal is a number system that represents groups of binary numbers (binary shorthand). It is used in digital displays, and in modern times in conjunction with file permissions under Unix systems. ° Hexadecimal (Hex) is a number system that represents groups of binary numbers (binary shorthand). Hex is primarily used in computing as the most common form of expressing a human- readable string representation of a byte (group of 8 bits).
  • 10. 10 Overvie w ° The design of computers • It all starts with numbers • Building circuits • Building computing machines ° Digital systems ° Understanding decimal numbers ° Binary and octal numbers • The basis of computers! ° Conversion between different number systems
  • 11. 11 Analog vs. Digital Consider a faucet Digital Water can be flowing or NOT flowing from the faucet Two States • On • Off Analog How much water is flowing from the faucet? Advantages of Digital Replication • Analog Try replicating the exact flow from a faucet • Digital
  • 12. 12 Advantages of Digital o Error Correction/Detection • Small errors don’t propagate o Miniaturization of Circuits o Programmability • Digital computers are programmable °Two discrete values are used in digital systems. °How are discrete elements represented? • Signals are the physical quantities used to represent discrete elements of information in a digital system. °Electric signals used: • Voltage • Current
  • 13. 13 Advantages of Digital/Representation of Binary Values Volts - 1 .0 0 .0 1 .0 2 .0 3 .0 4 .0 5 .0 6 .0 H ig h L o w °Why are there voltage ranges instead of exact voltages? • Variations in circuit behavior & noise oTwo possible values • 1, 0 • On, Off • True, False • High, Low • Heads, Tails • Black, White
  • 14. 14
  • 15. 15 Digital Computer Systems ° Digital systems consider discrete amounts of data. ° Examples • 26 letters in the alphabet • 10 decimal digits ° Larger quantities can be built from discrete values: • Words made of letters • Numbers made of decimal digits (e.g. 239875.32) ° Computers operate on binary values (0 and 1) ° Easy to represent binary values electrically • Voltages and currents. • Can be implemented using circuits • Create the building blocks of modern computers
  • 16. 16 Understanding Decimal Numbers ° Decimal numbers are made of decimal digits: (0,1,2,3,4,5,6,7,8,9) ° But how many items does a decimal number represent? • 8653 = 8x103 + 6x102 + 5x101 + 3x100 ° What about fractions? • 97654.35 = 9x104 + 7x103 + 6x102 + 5x101 + 4x100 + 3x10-1 + 5x10-2 • In formal notation -> (97654.35)10 ° Why do we use 10 digits, anyway?
  • 17. 17 Understanding Octal Numbers ° Octal numbers are made of octal digits: (0,1,2,3,4,5,6,7) ° How many items does an octal number represent? • (4536)8 = 4x83 + 5x82 + 3x81 + 6x80 = (1362)10 ° What about fractions? • (465.27)8 = 4x82 + 6x81 + 5x80 + 2x8-1 + 7x8-2 ° Octal numbers don’t use digits 8 or 9 ° Who would use octal number, anyway?
  • 18. 18 Understanding Binary Numbers ° Binary numbers are made of binary digits (bits): • 0 and 1 ° How many items does an binary number represent? • (1011)2 = 1x23 + 0x22 + 1x21 + 1x20 = (11)10 ° What about fractions? • (110.10)2 = 1x22 + 1x21 + 0x20 + 1x2-1 + 0x2-2 ° Groups of eight bits are called a byte • (11001001) 2 ° Groups of four bits are called a nibble. • (1101) 2
  • 19. 19 Why Use Binary Numbers? ° Easy to represent 0 and 1 using electrical values. ° Possible to tolerate noise. ° Easy to transmit data ° Easy to build binary circuits. AND Gate 1 0 0
  • 20. 20 BinaryBinary Base 2 = Base 10 000 = 0 001 = 1 010 = 2 011 = 3 100 = 4 101 = 5 110 = 6 111 = 7 In Binary, there are only 0’s and 1’s. These numbers are called “Base-2” ( Example: 0102) BinarytoDecimal We count in “Base-10” (0 to 9) ° Binary number has base 2 ° Each digit is one of two numbers: 0 and 1 ° Each digit is called a bit ° Eight binary bits make a byte ° All 256 possible values of a byte can be represented using 2 digits in hexadecimal notation.
  • 21. 21 Binary as a VoltageBinary as a Voltage ° Voltages are used to represent logic values: ° A voltage present (called Vcc or Vdd) = 1 ° Zero Volts or ground (called gnd or Vss) = 0 A simple switch can provide a logic high or a logic low.
  • 22. 22 A Simple SwitchA Simple Switch ° Here is a simple switch used to provide a logic value: Vcc Gnd, or 0 Vcc Vcc, or 1 There are other ways to connect a switch.
  • 23. 23 Binary digits Bit: single binary digit Byte: 8 binary digits 100101112 Bit Byte Radix
  • 24. 24 Conversion Between Number Bases Decimal(base 10) Octal(base 8) Binary(base 2) Hexadecimal (base16) ° Learn to convert between bases. ° Already demonstrated how to convert from binary to decimal. ° Hexadecimal described in next lecture.
  • 25. 25 Number Systems System Base Symbols Used by humans? Used in computers? Decimal 10 0, 1, … 9 Yes No Binary 2 0, 1 No Yes Octal 8 0, 1, … 7 No No Hexa- decimal 16 0, 1, … 9, A, B, … F No No
  • 27. 27 Convert an Integer from Decimal to Another Base 1. Divide decimal number by the base (e.g. 2) 2. The remainder is the lowest-order digit 3. Repeat first two steps until no divisor remains. For each digit position: Example for (13)10: Integer Quotient 13/2 = 6 + ½ a0 = 1 6/2 = 3 + 0 a1 = 0 3/2 = 1 + ½ a2 = 1 1/2 = 0 + ½ a3 = 1 Remainder Coefficient Answer (13)10 = (a3 a2 a1 a0)2 = (1101)2
  • 28. 28 Convert an Fraction from Decimal to Another Base 1. Multiply decimal number by the base (e.g. 2) 2. The integer is the highest-order digit 3. Repeat first two steps until fraction becomes zero. For each digit position: Example for (0.625)10: Integer 0.625 x 2 = 1 + 0.25 a-1 = 1 0.250 x 2 = 0 + 0.50 a-2 = 0 0.500 x 2 = 1 + 0 a-3 = 1 Fraction Coefficient Answer (0.625)10 = (0.a-1 a-2 a-3 )2 = (0.101)2
  • 29. 29 The Growth of Binary Numbersn 2n 0 20 =1 1 21 =2 2 22 =4 3 23 =8 4 24 =16 5 25 =32 6 26 =64 7 27 =128 n 2n 8 28 =256 9 29 =512 10 210 =1024 11 211 =2048 12 212 =4096 20 220 =1M 30 230 =1G 40 240 =1T Mega Giga Tera
  • 30. 30 Binary Addition ° Binary addition is very simple. ° This is best shown in an example of adding two binary numbers… 1 1 1 1 0 1 + 1 0 1 1 1 --------------------- 0 1 0 1 1 1111 1 1 00 carries
  • 31. 31 Binary Subtraction ° We can also perform subtraction (with borrows in place of carries). ° Let’s subtract (10111)2 from (1001101)2… 1 10 0 10 10 0 0 10 1 0 0 1 1 0 1 - 1 0 1 1 1 ------------------------ 1 1 0 1 1 0 borrows
  • 32. 32 Binary Multiplication ° Binary multiplication is much the same as decimal multiplication, except that the multiplication operations are much simpler… 1 0 1 1 1 X 1 0 1 0 ----------------------- 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 0 1 1 1 ----------------------- 1 1 1 0 0 1 1 0
  • 33. 33 Convert an Integer from Decimal to Octal 1. Divide decimal number by the base (8) 2. The remainder is the lowest-order digit 3. Repeat first two steps until no divisor remains. For each digit position: Example for (175)10: Integer Quotient 175/8 = 21 + 7/8 a0 = 7 21/8 = 2 + 5/8 a1 = 5 2/8 = 0 + 2/8 a2 = 2 Remainder Coefficient Answer (175)10 = (a2 a1 a0)2 = (257)8
  • 34. 34 Convert an Fraction from Decimal to Octal 1. Multiply decimal number by the base (e.g. 8) 2. The integer is the highest-order digit 3. Repeat first two steps until fraction becomes zero. For each digit position: Example for (0.3125)10: Integer 0.3125 x 8 = 2 + 5 a-1 = 2 0.5000 x 8 = 4 + 0 a-2 = 4 Fraction Coefficient Answer (0.3125)10 = (0.24)8
  • 35. 35 Summary ° Binary numbers are made of binary digits (bits) ° Binary and octal number systems ° Conversion between number systems ° Addition, subtraction, and multiplication in binary

Notas del editor

  1. Give qualifications of instructors: DAP teaching computer architecture at Berkeley since 1977 Co-athor of textbook used in class Best known for being one of pioneers of RISC currently author of article on future of microprocessors in SciAm Sept 1995 RY took 152 as student, TAed 152,instructor in 152 undergrad and grad work at Berkeley joined NextGen to design fact 80x86 microprocessors one of architects of UltraSPARC fastest SPARC mper shipping this Fall
  2. Give qualifications of instructors: DAP teaching computer architecture at Berkeley since 1977 Co-athor of textbook used in class Best known for being one of pioneers of RISC currently author of article on future of microprocessors in SciAm Sept 1995 RY took 152 as student, TAed 152,instructor in 152 undergrad and grad work at Berkeley joined NextGen to design fact 80x86 microprocessors one of architects of UltraSPARC fastest SPARC mper shipping this Fall
  3. credential: bring a computer die photo wafer : This can be an hidden slide. I just want to use this to do my own planning. I have rearranged Culler’s lecture slides slightly and add more slides. This covers everything he covers in his first lecture (and more) but may We will save the fun part, “ Levels of Organization,” at the end (so student can stay awake): I will show the internal stricture of the SS10/20. Notes to Patterson: You may want to edit the slides in your section or add extra slides to taylor your needs.
  4. credential: bring a computer die photo wafer : This can be an hidden slide. I just want to use this to do my own planning. I have rearranged Culler’s lecture slides slightly and add more slides. This covers everything he covers in his first lecture (and more) but may We will save the fun part, “ Levels of Organization,” at the end (so student can stay awake): I will show the internal stricture of the SS10/20. Notes to Patterson: You may want to edit the slides in your section or add extra slides to taylor your needs.
  5. credential: bring a computer die photo wafer : This can be an hidden slide. I just want to use this to do my own planning. I have rearranged Culler’s lecture slides slightly and add more slides. This covers everything he covers in his first lecture (and more) but may We will save the fun part, “ Levels of Organization,” at the end (so student can stay awake): I will show the internal stricture of the SS10/20. Notes to Patterson: You may want to edit the slides in your section or add extra slides to taylor your needs.
  6. credential: bring a computer die photo wafer : This can be an hidden slide. I just want to use this to do my own planning. I have rearranged Culler’s lecture slides slightly and add more slides. This covers everything he covers in his first lecture (and more) but may We will save the fun part, “ Levels of Organization,” at the end (so student can stay awake): I will show the internal stricture of the SS10/20. Notes to Patterson: You may want to edit the slides in your section or add extra slides to taylor your needs.
  7. credential: bring a computer die photo wafer : This can be an hidden slide. I just want to use this to do my own planning. I have rearranged Culler’s lecture slides slightly and add more slides. This covers everything he covers in his first lecture (and more) but may We will save the fun part, “ Levels of Organization,” at the end (so student can stay awake): I will show the internal stricture of the SS10/20. Notes to Patterson: You may want to edit the slides in your section or add extra slides to taylor your needs.
  8. Design state of art organization in 1990
  9. Design state of art organization in 1990
  10. Design state of art organization in 1990
  11. credential: bring a computer die photo wafer : This can be an hidden slide. I just want to use this to do my own planning. I have rearranged Culler’s lecture slides slightly and add more slides. This covers everything he covers in his first lecture (and more) but may We will save the fun part, “ Levels of Organization,” at the end (so student can stay awake): I will show the internal stricture of the SS10/20. Notes to Patterson: You may want to edit the slides in your section or add extra slides to taylor your needs.