SlideShare a Scribd company logo
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
unit-3.pptx
unit-3.pptx
unit-3.pptx
unit-3.pptx
unit-3.pptx
unit-3.pptx
unit-3.pptx
unit-3.pptx

More Related Content

Similar to unit-3.pptx

Switching theory Unit 1
Switching theory Unit 1Switching theory Unit 1
Switching theory Unit 1
SURBHI 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.pptx
AhmedLakhwera
 
Chap ii.BCD code,Gray code
Chap ii.BCD code,Gray codeChap ii.BCD code,Gray code
Chap ii.BCD code,Gray code
Bala Ganesh
 
Interfacing of data converters & io devices
Interfacing of data converters & io devicesInterfacing of data converters & io devices
Interfacing of data converters & io devices
Dr.YNM
 
integrated circutits -324567654-12-345-.pptx
integrated circutits -324567654-12-345-.pptxintegrated circutits -324567654-12-345-.pptx
integrated circutits -324567654-12-345-.pptx
FermanIbrahim
 
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
AQCreations
 
Lcdf4 chap 03_p2
Lcdf4 chap 03_p2Lcdf4 chap 03_p2
Lcdf4 chap 03_p2
ozgur_can
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
Jher Carlson Atasan
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
Nabarun Chakraborty
 
digita circuit design.pptx
digita circuit design.pptxdigita circuit design.pptx
digita circuit design.pptx
Godwin585235
 
Computer Networks
Computer NetworksComputer Networks
Computer Networks
Aabha Tiwari
 
Computer System and Architecture
Computer System and ArchitectureComputer System and Architecture
Computer System and Architecture
sarfraz1411
 
combinationalcircuits-161111065011(0).pptx
combinationalcircuits-161111065011(0).pptxcombinationalcircuits-161111065011(0).pptx
combinationalcircuits-161111065011(0).pptx
MmMm633188
 
SESSION 2.ppt
SESSION 2.pptSESSION 2.ppt
SESSION 2.ppt
Saranya S
 
Digital Components
Digital ComponentsDigital Components
Digital Components
lalithambiga kamaraj
 
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
Rai University
 
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
Arif, Mohammed Nazrul Islam
 
Dr.naveen electronics binary codes
Dr.naveen electronics binary codesDr.naveen electronics binary codes
Dr.naveen electronics binary codes
NAVEEN 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.2
ISMT 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 component
Rai University
 

Similar to unit-3.pptx (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.ppt
RajaDesingu2
 
dqTransformation.ppt
dqTransformation.pptdqTransformation.ppt
dqTransformation.ppt
RajaDesingu2
 
vector control induction motor.ppt
vector control induction motor.pptvector control induction motor.ppt
vector control induction motor.ppt
RajaDesingu2
 
PSG_unit3_motor protection.ppt
PSG_unit3_motor protection.pptPSG_unit3_motor protection.ppt
PSG_unit3_motor protection.ppt
RajaDesingu2
 
SolarThermal.pptx
SolarThermal.pptxSolarThermal.pptx
SolarThermal.pptx
RajaDesingu2
 
Solar Dryer.pptx
Solar Dryer.pptxSolar Dryer.pptx
Solar Dryer.pptx
RajaDesingu2
 
Unit I PPT.pptx
Unit I PPT.pptxUnit I PPT.pptx
Unit I PPT.pptx
RajaDesingu2
 

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

哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
Aditya Rajan Patra
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
NazakatAliKhoso2
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 

Recently uploaded (20)

哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 

unit-3.pptx

  • 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