SlideShare a Scribd company logo
1 of 128
EE T45 PULSE AND DIGITAL
CIRCUITS
Unit-3
Don’t care conditions
CODE CONVERSION
There is a wide variety of binary codes used in digital systems.
Some of these codes are. Many times it is required binary coded
decimal (BCD), Excess-3 code and Gray code to convert one code
to another. Binary codes are codes which are represented in
binary system with modification from the original ones.
Weighted Binary Systems
Non Weighted Codes
Weighted Binary Systems
Weighted binary codes are those which obey the positional
weighting principles, each position of the number represents a
specific weight. The binary counting sequence is an example.
Decimal 8421 2421 5211 Excess-3
• 0 0000 0000 0000 0011
• 1 0001 0001 0001 0100
• 2 0010 0010 0011 0101
• 3 0011 0011 0101 0110
• 4 0100 0100 0111 0111
• 5 0101 1011 1000 1000
• 6 0110 1100 1010 1001
• 7 0111 1101 1100 1010
• 8 1000 1110 1110 1011
• 9 1001 1111 1111 1100
• Non Weighted Codes
• Non weighted codes are codes that are not
positionally weighted. That is, each position
within the binary number is not assigned a fixed
value
• Gray Code:
• It is a weighted code and is a special case of unit
distance code. These codes are also called cyclic
code.
• Applications: If we use gray code to represent
disk position then error due to improper brush
alignment can be reduced.
• Excess 3 Code:
• It is a Non weighted code and is a modified form of
BCD code. The excess 3 code can be derived from the
natural BCD code by adding 3 to each coded number.
2 to 1 multiplexer and 4 to 1 multiplexer with ENABLE input
DE MUX
FLIP FLOPS
• A device that exhibits two stable states is
extremely useful as a memory element in a
binary system.
• Any electrical circuit that has these
characteristics falls into the category of the
device known as Flip Flop.
• While a logic gate is the most basic building
block of combinational logic, its counterpart in
sequential logic is the flip-flop.
FLIP FLOPS
• SR flip-flop
• D flip-flop: Has just one input in addition to
the CLOCK input. ...
• JK flip-flop: A common variation of the SR flip-
flop. ...
• T flip-flop: This is simply a JK flip-flop whose
output alternates between HIGH and LOW
with each clock pulse.
7’s Complement Representation
8’s Complement Representation
9’s Complement Representation
10’s Complement Representation
15’s Complement Representation
16’s Complement Representation
9’s Complement subtraction
10’s Complement subtraction
BCD ADDITION & SUBTRACTION
• Procedure of BCD Addition
Procedure of BCD Subtraction
• (For BCD subtraction refer 9’s & 10’s
Complement subtraction)
DeMorgan’s Theorem
MINIMIZATION OF BOOLEAN
FUNCTIONS
Example -2 BINARY TO EXCESS 3
CONVERTER
Example-3
BINARY TO GRAY CODE CONVERTER
K map simplification
Binary to Gray code converter
PARITY GENERATOR & CHECKER
MULTIPLEXER.
• A multiplexer or MUX, also called a data
selector, is a combinational circuit with more
than one input line, one output line and more
than one selection line.
MUX Types
2-to-1 (1 select line)
4-to-1 (2 select lines)
8-to-1 (3 select lines)
16-to-1 (4 select lines)
2 to 1 multiplexer
4 to 1 multiplexer
Y = I0𝑆1 𝑆0 +I1𝑆1 S0+I2S1𝑆0 +I3S1S0
FLIP FLOPS
• A device that exhibits two stable states is
extremely useful as a memory element in a
binary system.
• Any electrical circuit that has these
characteristics falls into the category of the
device known as Flip Flop.
• While a logic gate is the most basic building
block of combinational logic, its counterpart in
sequential logic is the flip-flop.
FLIP FLOPS
• SR flip-flop
• D flip-flop: Has just one input in addition to
the CLOCK input. ...
• JK flip-flop: A common variation of the SR flip-
flop. ...
• T flip-flop: This is simply a JK flip-flop whose
output alternates between HIGH and LOW
with each clock pulse.
HALF ADDER AND FULL ADDER
-HALF ADDER
HALF ADDER
FULL ADDER
EE T45 PULSE AND DIGITAL CIRCUITS CODE CONVERSION
EE T45 PULSE AND DIGITAL CIRCUITS CODE CONVERSION
EE T45 PULSE AND DIGITAL CIRCUITS CODE CONVERSION
EE T45 PULSE AND DIGITAL CIRCUITS CODE CONVERSION
EE T45 PULSE AND DIGITAL CIRCUITS CODE CONVERSION
EE T45 PULSE AND DIGITAL CIRCUITS CODE CONVERSION
EE T45 PULSE AND DIGITAL CIRCUITS CODE CONVERSION
EE T45 PULSE AND DIGITAL CIRCUITS CODE CONVERSION

More Related Content

Similar to EE T45 PULSE AND DIGITAL CIRCUITS CODE CONVERSION

Switching theory Unit 1
Switching theory Unit 1Switching theory Unit 1
Switching theory Unit 1SURBHI SAROHA
 
combinational logic circuit and sequential logic circuit.pptx
combinational logic circuit and sequential logic circuit.pptxcombinational logic circuit and sequential logic circuit.pptx
combinational logic circuit and sequential logic circuit.pptxAhmedLakhwera
 
Chap ii.BCD code,Gray code
Chap ii.BCD code,Gray codeChap ii.BCD code,Gray code
Chap ii.BCD code,Gray codeBala Ganesh
 
Interfacing of data converters & io devices
Interfacing of data converters & io devicesInterfacing of data converters & io devices
Interfacing of data converters & io devicesDr.YNM
 
integrated circutits -324567654-12-345-.pptx
integrated circutits -324567654-12-345-.pptxintegrated circutits -324567654-12-345-.pptx
integrated circutits -324567654-12-345-.pptxFermanIbrahim
 
Digital Logic Design basic gate and Logic Probe
Digital Logic Design basic gate and Logic ProbeDigital Logic Design basic gate and Logic Probe
Digital Logic Design basic gate and Logic ProbeAQCreations
 
Lcdf4 chap 03_p2
Lcdf4 chap 03_p2Lcdf4 chap 03_p2
Lcdf4 chap 03_p2ozgur_can
 
digita circuit design.pptx
digita circuit design.pptxdigita circuit design.pptx
digita circuit design.pptxGodwin585235
 
Computer System and Architecture
Computer System and ArchitectureComputer System and Architecture
Computer System and Architecturesarfraz1411
 
combinationalcircuits-161111065011(0).pptx
combinationalcircuits-161111065011(0).pptxcombinationalcircuits-161111065011(0).pptx
combinationalcircuits-161111065011(0).pptxMmMm633188
 
SESSION 2.ppt
SESSION 2.pptSESSION 2.ppt
SESSION 2.pptSaranya S
 
B.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital componentB.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital componentRai University
 
Dr.naveen electronics binary codes
Dr.naveen electronics binary codesDr.naveen electronics binary codes
Dr.naveen electronics binary codesNAVEEN KUMAR
 
Digital Logic BCA TU Chapter 2.2
Digital Logic BCA TU Chapter 2.2Digital Logic BCA TU Chapter 2.2
Digital Logic BCA TU Chapter 2.2ISMT College
 
Bca 2nd sem-u-1.4 digital logic circuits, digital component
Bca 2nd sem-u-1.4 digital logic circuits, digital componentBca 2nd sem-u-1.4 digital logic circuits, digital component
Bca 2nd sem-u-1.4 digital logic circuits, digital componentRai University
 

Similar to EE T45 PULSE AND DIGITAL CIRCUITS CODE CONVERSION (20)

Switching theory Unit 1
Switching theory Unit 1Switching theory Unit 1
Switching theory Unit 1
 
combinational logic circuit and sequential logic circuit.pptx
combinational logic circuit and sequential logic circuit.pptxcombinational logic circuit and sequential logic circuit.pptx
combinational logic circuit and sequential logic circuit.pptx
 
Chap ii.BCD code,Gray code
Chap ii.BCD code,Gray codeChap ii.BCD code,Gray code
Chap ii.BCD code,Gray code
 
Interfacing of data converters & io devices
Interfacing of data converters & io devicesInterfacing of data converters & io devices
Interfacing of data converters & io devices
 
integrated circutits -324567654-12-345-.pptx
integrated circutits -324567654-12-345-.pptxintegrated circutits -324567654-12-345-.pptx
integrated circutits -324567654-12-345-.pptx
 
Digital Logic Design basic gate and Logic Probe
Digital Logic Design basic gate and Logic ProbeDigital Logic Design basic gate and Logic Probe
Digital Logic Design basic gate and Logic Probe
 
Lcdf4 chap 03_p2
Lcdf4 chap 03_p2Lcdf4 chap 03_p2
Lcdf4 chap 03_p2
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
digita circuit design.pptx
digita circuit design.pptxdigita circuit design.pptx
digita circuit design.pptx
 
Computer Networks
Computer NetworksComputer Networks
Computer Networks
 
Computer System and Architecture
Computer System and ArchitectureComputer System and Architecture
Computer System and Architecture
 
combinationalcircuits-161111065011(0).pptx
combinationalcircuits-161111065011(0).pptxcombinationalcircuits-161111065011(0).pptx
combinationalcircuits-161111065011(0).pptx
 
SESSION 2.ppt
SESSION 2.pptSESSION 2.ppt
SESSION 2.ppt
 
Digital Components
Digital ComponentsDigital Components
Digital Components
 
B.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital componentB.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital component
 
4 bit Binary to Gray converter using XOR
4 bit Binary to Gray converter using XOR4 bit Binary to Gray converter using XOR
4 bit Binary to Gray converter using XOR
 
Dr.naveen electronics binary codes
Dr.naveen electronics binary codesDr.naveen electronics binary codes
Dr.naveen electronics binary codes
 
Digital Logic BCA TU Chapter 2.2
Digital Logic BCA TU Chapter 2.2Digital Logic BCA TU Chapter 2.2
Digital Logic BCA TU Chapter 2.2
 
Bca 2nd sem-u-1.4 digital logic circuits, digital component
Bca 2nd sem-u-1.4 digital logic circuits, digital componentBca 2nd sem-u-1.4 digital logic circuits, digital component
Bca 2nd sem-u-1.4 digital logic circuits, digital component
 

More from RajaDesingu2

Introduction and Present Status of Renewable Energies.ppt
Introduction and Present Status of Renewable Energies.pptIntroduction and Present Status of Renewable Energies.ppt
Introduction and Present Status of Renewable Energies.pptRajaDesingu2
 
dqTransformation.ppt
dqTransformation.pptdqTransformation.ppt
dqTransformation.pptRajaDesingu2
 
vector control induction motor.ppt
vector control induction motor.pptvector control induction motor.ppt
vector control induction motor.pptRajaDesingu2
 
PSG_unit3_motor protection.ppt
PSG_unit3_motor protection.pptPSG_unit3_motor protection.ppt
PSG_unit3_motor protection.pptRajaDesingu2
 

More from RajaDesingu2 (7)

Introduction and Present Status of Renewable Energies.ppt
Introduction and Present Status of Renewable Energies.pptIntroduction and Present Status of Renewable Energies.ppt
Introduction and Present Status of Renewable Energies.ppt
 
dqTransformation.ppt
dqTransformation.pptdqTransformation.ppt
dqTransformation.ppt
 
vector control induction motor.ppt
vector control induction motor.pptvector control induction motor.ppt
vector control induction motor.ppt
 
PSG_unit3_motor protection.ppt
PSG_unit3_motor protection.pptPSG_unit3_motor protection.ppt
PSG_unit3_motor protection.ppt
 
SolarThermal.pptx
SolarThermal.pptxSolarThermal.pptx
SolarThermal.pptx
 
Solar Dryer.pptx
Solar Dryer.pptxSolar Dryer.pptx
Solar Dryer.pptx
 
Unit I PPT.pptx
Unit I PPT.pptxUnit I PPT.pptx
Unit I PPT.pptx
 

Recently uploaded

(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
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
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 

Recently uploaded (20)

(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
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...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 

EE T45 PULSE AND DIGITAL CIRCUITS CODE CONVERSION

  • 1. EE T45 PULSE AND DIGITAL CIRCUITS Unit-3
  • 2.
  • 3.
  • 5. CODE CONVERSION There is a wide variety of binary codes used in digital systems. Some of these codes are. Many times it is required binary coded decimal (BCD), Excess-3 code and Gray code to convert one code to another. Binary codes are codes which are represented in binary system with modification from the original ones. Weighted Binary Systems Non Weighted Codes Weighted Binary Systems Weighted binary codes are those which obey the positional weighting principles, each position of the number represents a specific weight. The binary counting sequence is an example.
  • 6. Decimal 8421 2421 5211 Excess-3 • 0 0000 0000 0000 0011 • 1 0001 0001 0001 0100 • 2 0010 0010 0011 0101 • 3 0011 0011 0101 0110 • 4 0100 0100 0111 0111 • 5 0101 1011 1000 1000 • 6 0110 1100 1010 1001 • 7 0111 1101 1100 1010 • 8 1000 1110 1110 1011 • 9 1001 1111 1111 1100
  • 7. • Non Weighted Codes • Non weighted codes are codes that are not positionally weighted. That is, each position within the binary number is not assigned a fixed value • Gray Code: • It is a weighted code and is a special case of unit distance code. These codes are also called cyclic code. • Applications: If we use gray code to represent disk position then error due to improper brush alignment can be reduced.
  • 8.
  • 9.
  • 10. • Excess 3 Code: • It is a Non weighted code and is a modified form of BCD code. The excess 3 code can be derived from the natural BCD code by adding 3 to each coded number.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15. 2 to 1 multiplexer and 4 to 1 multiplexer with ENABLE input
  • 16.
  • 17.
  • 18.
  • 19.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30. FLIP FLOPS • A device that exhibits two stable states is extremely useful as a memory element in a binary system. • Any electrical circuit that has these characteristics falls into the category of the device known as Flip Flop. • While a logic gate is the most basic building block of combinational logic, its counterpart in sequential logic is the flip-flop.
  • 31. FLIP FLOPS • SR flip-flop • D flip-flop: Has just one input in addition to the CLOCK input. ... • JK flip-flop: A common variation of the SR flip- flop. ... • T flip-flop: This is simply a JK flip-flop whose output alternates between HIGH and LOW with each clock pulse.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 54. BCD ADDITION & SUBTRACTION • Procedure of BCD Addition
  • 55.
  • 56.
  • 57. Procedure of BCD Subtraction • (For BCD subtraction refer 9’s & 10’s Complement subtraction)
  • 58.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 71.
  • 72.
  • 73.
  • 74.
  • 75.
  • 76.
  • 77.
  • 78. Example -2 BINARY TO EXCESS 3 CONVERTER
  • 79.
  • 80.
  • 81. Example-3 BINARY TO GRAY CODE CONVERTER
  • 83. Binary to Gray code converter
  • 85.
  • 86.
  • 87.
  • 88. MULTIPLEXER. • A multiplexer or MUX, also called a data selector, is a combinational circuit with more than one input line, one output line and more than one selection line. MUX Types 2-to-1 (1 select line) 4-to-1 (2 select lines) 8-to-1 (3 select lines) 16-to-1 (4 select lines)
  • 89. 2 to 1 multiplexer
  • 90. 4 to 1 multiplexer Y = I0𝑆1 𝑆0 +I1𝑆1 S0+I2S1𝑆0 +I3S1S0
  • 91.
  • 92.
  • 93.
  • 94.
  • 95.
  • 96.
  • 97.
  • 98.
  • 99. FLIP FLOPS • A device that exhibits two stable states is extremely useful as a memory element in a binary system. • Any electrical circuit that has these characteristics falls into the category of the device known as Flip Flop. • While a logic gate is the most basic building block of combinational logic, its counterpart in sequential logic is the flip-flop.
  • 100. FLIP FLOPS • SR flip-flop • D flip-flop: Has just one input in addition to the CLOCK input. ... • JK flip-flop: A common variation of the SR flip- flop. ... • T flip-flop: This is simply a JK flip-flop whose output alternates between HIGH and LOW with each clock pulse.
  • 101.
  • 102.
  • 103.
  • 104.
  • 105.
  • 106.
  • 107.
  • 108.
  • 109.
  • 110.
  • 111.
  • 112.
  • 113.
  • 114.
  • 115.
  • 116.
  • 117.
  • 118. HALF ADDER AND FULL ADDER -HALF ADDER