SlideShare a Scribd company logo
8085 Microprocessor Architecture
Course: BCA-2nd Sem
Subject: Introduction to
Microprocessor
Unit-2
1
1) Combinational
2) Sequential
• Combinational logic circuits (circuits without a
memory):
Combinational switching networks whose outputs
depend only on the current inputs.
• Sequential logic circuits (circuits with memory):
In this kind of network, the outputs depend on the
current inputs and the previous inputs. These
networks employ storage elements and logic
gates.
LOGIC CIRCUITS
COMBINATIONAL CIRCUITS[1]
• Most important standard combinational circuits are:
• Adders
• Subtractors
• Comparators
• Decoders
• Encoders
• Multiplexers
Available in IC’s as MSI and used as
standard cells in complex VLSI (ASIC)
ANALYSIS OF COMBINATIONAL
LOGIC[1]
ANALYSIS OF COMBINATIONAL
LOGIC
ANALYSIS OF COMBINATIONAL
LOGIC
DESIGN OF COMBINATIONAL
LOGIC
1. From the specifications of the circuit,
determine the number of inputs and outputs
2. Derive the truth table that defines the
relationship between the input and the output.
3. Obtain the simplified Boolean function using
x-variable K-Map.
4. Draw the logic diagram and verify the
correctness of the design.
DESIGN OF COMBINATIONAL
LOGIC[2]
• Example: Design a combinational circuit with
three inputs and one output. The output is a 1
when the binary value is less than three.
• The output is 0 otherwise.
BINARY ADDER – Half Adder[2]
Implementation of Half Adder
BINARY ADDER - Full Adder[2]
Full Adder in SOP[2]
Implementation Full Adder with two
half Adders[2]
4-BIT FULLADDER[2]
4 bit Adder
Magnitude Comparator
• A magnitude comparator is a combinational circuit that
compares two numbers, A and B, and then determines their
relative magnitudes.
 A > B
 A = B
 A < B
• Algorithm Consider two numbers, A and B, with four digits
each:
 A=A3 A2 A1 A0
 B=B3 B2 B1 B0
• xi=1 if A=B=0 or A=B=1
• xi=AiBi+ Ai’Bi’for i=0,1,2,3 XNOR
• For equality to exist, all xi variables must be equal to 1:
• (A=B)=X3 X2 X1 X0
AND Operation
Magnitude Comparator
• To determine if A is greater than or less than
B, we inspect the relative magnitudes of
significant digits.
• If the two digits are equal, we compare the
next lower significant pair of digits. The
comparison continues until a pair of unequal
digits is reached.
• The sequential comparison can be expressed
by:
DECODERS
• A decoder is a combinational circuit that converts
binary information
• from n input lines to an 2nunique output lines.
• Some Applications:
a) Microprocessor memory system: selecting different
banks of memory.
b) Microprocessor I/O: Selecting different devices.
c) Memory: Decoding memory addresses (e.g. in ROM).
d) Decoding the binary input to activate the LED
segments so that the decimal number can be
displayed.
3-to-8-line DECODER[3]
• If the input corresponds to minterm mi then the
decoder ouput i will be the single asserted
output.
3-to-8-line DECODER[3]
2-to-4-line DECODER with
Enable[3]
• The decoder is enabled when E = 0. The output whose
value = 0 represents the minterm is selected by inputs
A and B.
• The decoder is inactive when E=1 D0………D3 =1
• A Decoder with enable input is called a
decoder/demultiplexer. Demultiplexer receives
information from a single line and directs it to the
output lines.
A 4 x 16 DECODER[3]
• When w = 0, the top decoder is enabled and the bottom is
disabled.
• Top decoder generates 8 minterms 0000 to 0111, while the
bottom decoder outputs are 0’s.
• When w = 1, the top decoder is disabled and the bottom is
enabled.
• Bottom decoder generates 8 minterms 1000 to 1111, while
the top decoder outputs are 0’s.
Full-Adder using Decoder[4]
MULTIPLEXERS/DATA
SELECTORS[4]
• A multiplexer is a combinational circuit that
selects one of many input lines (2n ) and steers
it to its single output line. There are (2n ) and n
selection lines whose bit combinations
determine which input is selected.
4-to-1LINE MULTIPLEXER
DESIGN[4]
• In general, a 2n –to–1- line multiplexer is
constructed from an n–to 2n decoder by adding
to 2n it lines, one to each AND gate.
References
1. Computer Organization and Architecture, Designing
for performance by William Stallings, Prentice Hall
of India.
2. Modern Computer Architecture, by Morris Mano,
Prentice Hall of India.
3. Computer Architecture and Organization by John P.
Hayes, McGraw Hill Publishing Company.
4. Computer Organization by V. Carl Hamacher,
Zvonko G. Vranesic, Safwat G. Zaky, McGraw Hill
Publishing Company.

More Related Content

PPTX
B.sc cs-ii-u-1.4 digital logic circuits, digital component
PPTX
B sc cs i bo-de u-iii combitional logic circuit
PPTX
Combinational circuit
PPT
Combinational circuits
PPTX
halfadder & halfsubtractor using 4:1 MUX
PPTX
Combinational circuit
PPTX
Combinational circuits
PPT
Combinational circuits
B.sc cs-ii-u-1.4 digital logic circuits, digital component
B sc cs i bo-de u-iii combitional logic circuit
Combinational circuit
Combinational circuits
halfadder & halfsubtractor using 4:1 MUX
Combinational circuit
Combinational circuits
Combinational circuits

What's hot (20)

PPT
Binary parallel adder, decimal adder
PPT
Decoder encoder
PPT
Combinational circuits
PPTX
Combinational circuit
PPTX
Combinational Logic with MSI and LSI
PPTX
Switching theory Unit 1
PDF
Combinational logic
PPT
adder and subtractor
PPTX
logical circuits substractors
PPTX
Introduction of Combinational logic circuits & half adder
PPTX
full subtractor
PDF
Half subtracter
PDF
Subtractor
PPTX
Switching theory unit 2
PPTX
Chapter 4: Combinational Logic
PPT
STLD-Combinational logic design
PDF
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
PPTX
Combinational Circuits & Sequential Circuits
PDF
Half Subtractor : Combiational Circuit
PPTX
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
Binary parallel adder, decimal adder
Decoder encoder
Combinational circuits
Combinational circuit
Combinational Logic with MSI and LSI
Switching theory Unit 1
Combinational logic
adder and subtractor
logical circuits substractors
Introduction of Combinational logic circuits & half adder
full subtractor
Half subtracter
Subtractor
Switching theory unit 2
Chapter 4: Combinational Logic
STLD-Combinational logic design
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
Combinational Circuits & Sequential Circuits
Half Subtractor : Combiational Circuit
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
Ad

Similar to Bca 2nd sem-u-1.4 digital logic circuits, digital component (20)

PPTX
digital logic circuits, digital component
PPTX
MAGNITUDE COMPARATOR & DECODER
PPT
Digital Logic Design
PPTX
Unit 3 combinational circuits
PDF
Lecture6 Chapter4- Design Magnitude Comparator Circuit, Introduction to Decod...
PPTX
Combinational circuit
PDF
Chapter-04.pdf
PDF
Lect 1 unit 2.pdf
PPT
combinational-circuit.ppt
PPT
combinational-circuit presenmtation .ppt
PPT
Combinational circuit
PPT
Magnitude Comparator
PPTX
combinational-circuit (1).pptx for all the digital electronics data
PPTX
lecture_19.pptx
PPT
digital electr Chapter-4-Combinational ckt.ppt
PDF
Combinational circuits
PPTX
combinational-circuit.pptx it tis creative study of digital electronics for ...
PPTX
Digital VLSI - Unit 2.pptx
PPTX
Chapter 5: Cominational Logic with MSI and LSI
PPT
Logic System Design KTU Chapter-4.ppt
digital logic circuits, digital component
MAGNITUDE COMPARATOR & DECODER
Digital Logic Design
Unit 3 combinational circuits
Lecture6 Chapter4- Design Magnitude Comparator Circuit, Introduction to Decod...
Combinational circuit
Chapter-04.pdf
Lect 1 unit 2.pdf
combinational-circuit.ppt
combinational-circuit presenmtation .ppt
Combinational circuit
Magnitude Comparator
combinational-circuit (1).pptx for all the digital electronics data
lecture_19.pptx
digital electr Chapter-4-Combinational ckt.ppt
Combinational circuits
combinational-circuit.pptx it tis creative study of digital electronics for ...
Digital VLSI - Unit 2.pptx
Chapter 5: Cominational Logic with MSI and LSI
Logic System Design KTU Chapter-4.ppt
Ad

More from Rai University (20)

PDF
Brochure Rai University
PPT
Mm unit 4point2
PPT
Mm unit 4point1
PPT
Mm unit 4point3
PPT
Mm unit 3point2
PPTX
Mm unit 3point1
PPTX
Mm unit 2point2
PPT
Mm unit 2 point 1
PPT
Mm unit 1point3
PPT
Mm unit 1point2
PPTX
Mm unit 1point1
DOCX
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
PPTX
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
PPTX
Bsc agri 2 pae u-4.3 public expenditure
PPTX
Bsc agri 2 pae u-4.2 public finance
PPS
Bsc agri 2 pae u-4.1 introduction
PPT
Bsc agri 2 pae u-3.3 inflation
PPTX
Bsc agri 2 pae u-3.2 introduction to macro economics
PPTX
Bsc agri 2 pae u-3.1 marketstructure
PPTX
Bsc agri 2 pae u-3 perfect-competition
Brochure Rai University
Mm unit 4point2
Mm unit 4point1
Mm unit 4point3
Mm unit 3point2
Mm unit 3point1
Mm unit 2point2
Mm unit 2 point 1
Mm unit 1point3
Mm unit 1point2
Mm unit 1point1
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri 2 pae u-4.3 public expenditure
Bsc agri 2 pae u-4.2 public finance
Bsc agri 2 pae u-4.1 introduction
Bsc agri 2 pae u-3.3 inflation
Bsc agri 2 pae u-3.2 introduction to macro economics
Bsc agri 2 pae u-3.1 marketstructure
Bsc agri 2 pae u-3 perfect-competition

Recently uploaded (20)

PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
Unit 4 Skeletal System.ppt.pptxopresentatiom
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
1_English_Language_Set_2.pdf probationary
PDF
What if we spent less time fighting change, and more time building what’s rig...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
Empowerment Technology for Senior High School Guide
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
PDF
advance database management system book.pdf
PPTX
Digestion and Absorption of Carbohydrates, Proteina and Fats
PPTX
Lesson notes of climatology university.
PDF
Trump Administration's workforce development strategy
PDF
RMMM.pdf make it easy to upload and study
LDMMIA Reiki Yoga Finals Review Spring Summer
Hazard Identification & Risk Assessment .pdf
Unit 4 Skeletal System.ppt.pptxopresentatiom
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
1_English_Language_Set_2.pdf probationary
What if we spent less time fighting change, and more time building what’s rig...
Final Presentation General Medicine 03-08-2024.pptx
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Empowerment Technology for Senior High School Guide
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Complications of Minimal Access Surgery at WLH
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
advance database management system book.pdf
Digestion and Absorption of Carbohydrates, Proteina and Fats
Lesson notes of climatology university.
Trump Administration's workforce development strategy
RMMM.pdf make it easy to upload and study

Bca 2nd sem-u-1.4 digital logic circuits, digital component

  • 1. 8085 Microprocessor Architecture Course: BCA-2nd Sem Subject: Introduction to Microprocessor Unit-2 1
  • 2. 1) Combinational 2) Sequential • Combinational logic circuits (circuits without a memory): Combinational switching networks whose outputs depend only on the current inputs. • Sequential logic circuits (circuits with memory): In this kind of network, the outputs depend on the current inputs and the previous inputs. These networks employ storage elements and logic gates. LOGIC CIRCUITS
  • 3. COMBINATIONAL CIRCUITS[1] • Most important standard combinational circuits are: • Adders • Subtractors • Comparators • Decoders • Encoders • Multiplexers Available in IC’s as MSI and used as standard cells in complex VLSI (ASIC)
  • 7. DESIGN OF COMBINATIONAL LOGIC 1. From the specifications of the circuit, determine the number of inputs and outputs 2. Derive the truth table that defines the relationship between the input and the output. 3. Obtain the simplified Boolean function using x-variable K-Map. 4. Draw the logic diagram and verify the correctness of the design.
  • 8. DESIGN OF COMBINATIONAL LOGIC[2] • Example: Design a combinational circuit with three inputs and one output. The output is a 1 when the binary value is less than three. • The output is 0 otherwise.
  • 9. BINARY ADDER – Half Adder[2] Implementation of Half Adder
  • 10. BINARY ADDER - Full Adder[2]
  • 11. Full Adder in SOP[2]
  • 12. Implementation Full Adder with two half Adders[2]
  • 14. Magnitude Comparator • A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.  A > B  A = B  A < B • Algorithm Consider two numbers, A and B, with four digits each:  A=A3 A2 A1 A0  B=B3 B2 B1 B0 • xi=1 if A=B=0 or A=B=1 • xi=AiBi+ Ai’Bi’for i=0,1,2,3 XNOR • For equality to exist, all xi variables must be equal to 1: • (A=B)=X3 X2 X1 X0 AND Operation
  • 15. Magnitude Comparator • To determine if A is greater than or less than B, we inspect the relative magnitudes of significant digits. • If the two digits are equal, we compare the next lower significant pair of digits. The comparison continues until a pair of unequal digits is reached. • The sequential comparison can be expressed by:
  • 16. DECODERS • A decoder is a combinational circuit that converts binary information • from n input lines to an 2nunique output lines. • Some Applications: a) Microprocessor memory system: selecting different banks of memory. b) Microprocessor I/O: Selecting different devices. c) Memory: Decoding memory addresses (e.g. in ROM). d) Decoding the binary input to activate the LED segments so that the decimal number can be displayed.
  • 17. 3-to-8-line DECODER[3] • If the input corresponds to minterm mi then the decoder ouput i will be the single asserted output.
  • 19. 2-to-4-line DECODER with Enable[3] • The decoder is enabled when E = 0. The output whose value = 0 represents the minterm is selected by inputs A and B. • The decoder is inactive when E=1 D0………D3 =1 • A Decoder with enable input is called a decoder/demultiplexer. Demultiplexer receives information from a single line and directs it to the output lines.
  • 20. A 4 x 16 DECODER[3] • When w = 0, the top decoder is enabled and the bottom is disabled. • Top decoder generates 8 minterms 0000 to 0111, while the bottom decoder outputs are 0’s. • When w = 1, the top decoder is disabled and the bottom is enabled. • Bottom decoder generates 8 minterms 1000 to 1111, while the top decoder outputs are 0’s.
  • 22. MULTIPLEXERS/DATA SELECTORS[4] • A multiplexer is a combinational circuit that selects one of many input lines (2n ) and steers it to its single output line. There are (2n ) and n selection lines whose bit combinations determine which input is selected.
  • 23. 4-to-1LINE MULTIPLEXER DESIGN[4] • In general, a 2n –to–1- line multiplexer is constructed from an n–to 2n decoder by adding to 2n it lines, one to each AND gate.
  • 24. References 1. Computer Organization and Architecture, Designing for performance by William Stallings, Prentice Hall of India. 2. Modern Computer Architecture, by Morris Mano, Prentice Hall of India. 3. Computer Architecture and Organization by John P. Hayes, McGraw Hill Publishing Company. 4. Computer Organization by V. Carl Hamacher, Zvonko G. Vranesic, Safwat G. Zaky, McGraw Hill Publishing Company.