SlideShare a Scribd company logo
REGISTERS AND COUNTERS
By Dr. Heman Pathak
Chapter -7
Registers
 A register is a group of flip-flops with each flip-flop capable of
storing one bit of information.
 An n-bit register has a group of n flip-flops and is capable of
storing any binary information of n bits.
 In addition to the flip-flops, a register may have combinational
gates that perform certain data-processing tasks.
 In its broadest definition, a register consists of a group of flip-flops
and gates that effect their transition.
 The flip-flops hold the binary information and the gates control when
and how new information is transferred into the register.
Registers
Loading the Register
 The transfer of new information into a register is
referred to as loading the register.
 Serial load: (transfer in serial mode)
 Transfer of new binary information into a register bit by bit
 Number of clock pulses needed to load the register =
 Number of flip-flops in the register
 Parallel load: (transfer in parallel mode)
 If all the bits of the register are loaded simultaneously with
a common clock pulse transition, we say that the loading is
done in parallel .
Registers with Parallel Load (RS Flip-flop)
S R Q(T+1)
0 0 Q(T)
0 1 0
1 0 1
1 1 -
L S R Q(T+1)
0 0 0 Q(T)
1 I I’ I
1 1 0 1
1 0 1 0
L
I
I’
Registers and counters
Registers with Parallel Load (D Flip-flop)
D Q(T+1)
0 0
1 1
L d Q(T+1)
0 Q(T) Q(T)
1 I I
1 1 1
1 0 0
L’
Q
L
I
Q
I
L
D
Registers and counters
Shift Registers
 A register capable of shifting its binary information in
one or both directions is called a shift register.
Shift Registers (Shift-Right)
1101 0 0 0 0
110 1 0 0 0
11 0 1 0 0
1 1 0 1 0
1 1 0 1
Serial load: (transfer in serial mode)
Transfer of new binary information into a register bit by bit
Number of clock pulses needed to load the register =
Number of flip-flops in the register
Shift Registers (Shift-Left)
0 0 0 0 1101
0 0 0 1 101
0 0 1 1 01
0 1 1 0 1
1 1 0 1
Shift Registers
 A register capable of shifting its binary information in one or both directions is
called a shift register.
 The logical configuration of a shift register consists of a chain of flip-flops in
cascade, with the output of one flip-flop connected to the input of the next flip-
flop.
 All flip-flops receive common clock pulses that initiate the shift from one stage to
the next.
 The simplest possible shift register is one that uses only flip-flops (D).
 The output of a given flip-flop is connected to the D input of the flip-flop at its
right.
 The clock is common to all flip-flops.
 The serial input determines what goes into the leftmost position during the shift.
 The serial output is taken from the output of the rightmost flip-flop.
Serial Transfer
Sequential Circuit
Sequential Circuit
Sequential Circuit
Bidirectional Shift Register with Parallel Load
 A register capable of shifting in one direction only is
called a unidirectional shift register.
 A register that can shift in both directions is called a
bidirectional shift register.
 Some shift registers provide the necessary input and
output terminals for parallel transfer.
 The most general shift register has all the capabilities
listed below.
Bidirectional Shift Register with Parallel Load
The most general shift register has all the capabilities listed
below.
1. An input for clock pulses to synchronize all operations.
2. A shift-right operation and a serial input line associated with the shift
right.
3. A shift-left operation and a serial input line associated with the shift-left.
4. A parallel load operation and n input lines associated with the parallel
5. transfer.
6. n parallel output lines.
7. A control state that leaves the information in the register unchanged
8. even though clock pulses are applied continuously.
Bidirectional Shift Register with Parallel Load
A4
No Change A4
Shift Right SIR
Shift Left A3
Parallel Load I4
A3
No Change A3
Shift Right A4
Shift Left A2
Parallel Load I3
A2
No Change A2
Shift Right A3
Shift Left A1
Parallel Load I2
A1
No Change A1
Shift Right A2
Shift Left SIL
Parallel Load I1
A4 A3 A2 A1
Registers and counters
Serial Addition
Serial Addition
Serial Addition
Asynchronous or Ripple Counter
 Counter is a sequential circuit which is used for counting input
pulses passing through it.
 Counters are of two types.
 Asynchronous or ripple counters.
 Synchronous counters.
 A ripple counter is an asynchronous counter where only the first
flip-flop is clocked by an external clock.
 All subsequent flip-flops are clocked by the output of the
preceding flip-flop.
 Asynchronous counters are also called ripple-counters because of
the way the clock pulse ripples it way through the flip-flops.
Binary Ripple Counter
 Negative-Edge-Triggered J-K Flip-Flop
Binary Ripple Counter
Binary Ripple Counter
Binary Ripple Counter
Binary Ripple Counter
Binary Down Ripple Counter
Take the output from the
complemented terminals of
all flip-flops
Binary Down Ripple Counter
Instead of Negative-Edge-Triggered
flip-flops use Positive-Edge-Triggered
flip-flops
Binary Down Ripple Counter
BCD or Decade Ripple Counter
 BCD or Decade Ripple Counter is a serial digital counter that counts
ten digits.
 As it can go through 10 unique combinations of output, it is also
called as “Decade counter”.
BCD or Decade Ripple Counter
CLK Q8 Q4 Q2 Q1
Q1
CLK J K
External 1 1
Q2
CLK J K
Q1 Q8’ 1
Q4
CLK J K
Q2 1 1
Q8
CLK J K
Q1 Q2Q4 1
BCD or Decade Ripple Counter
Q8 Q4 Q2 Q1
Q1
CLK J K
External 1 1
Q2
CLK J K
Q1 Q8’ 1
Q4
CLK J K
Q2 1 1
Q8
CLK J K
Q1 Q2Q4 1
BCD or Decade Ripple Counter
BCD or Decade Ripple Counter
Synchronous Counter
 Synchronous Counters are so called because the
clock input of all the individual flip-flops within the
counter are all clocked together at the same time by
the same clock signal
Synchronous Down Counter
`
`
`
`
Synchronous Up-Down Counter
UP Down Action A4 A3 A2 A1
0 0 No Change 0 0 0 0
0 1 Down Counter A3’A2’A1’ A2’A1’ A1’ 1
1 0 Up Counter A3A2A1 A2A1 A1 1
1 1 Not Allowed - - - -
Synchronous Up-Down Counter
Synchronous BCD Counter
Synchronous BCD Counter
TQ2
8421 00 01 11 10
00 0 1 1 0
01 0 1 1 0
11 X X X X
10 0 0 X X
TQ4
8421 00 01 11 10
00 0 0 1 0
01 0 0 1 0
11 X X X X
10 0 0 X X
TQ8
8421 00 01 11 10
00 0 0 0 0
01 0 0 1 0
11 X X X X
10 0 1 X X
Binary Counter with Parallel Load
 Counter is basically a register that goes through a predetermined
sequence of state.
 This counter can be loaded in parallel with 4-Bit input data.
Load Count Action
0 0 No Change
0 1 Count
1 0 Load
1 1 Load
J K Action
0 0 No Change
Q Q Count
I I’ Load
I I’ Load
Registers and counters
Binary Counter with Parallel Load
Registers and counters
Timing Sequences in Serial Mode
Word-Time Generation
Timing Signals in Parallel Mode
Ring Counter
 A ring counter is a type of counter composed of flip-
flops connected into a shift register, with the output of the
last flip-flop fed to the input of the first, making a "circular"
or "ring" structure.
Ring Counter
Straight ring counter
Q0 Q1 Q2 Q3
0 1 0 0 0
1 0 1 0 0
2 0 0 1 0
3 0 0 0 1
0 1 0 0 0
1 0 1 0 0
2 0 0 1 0
3 0 0 0 1
0 1 0 0 0
Ring Counter
Ring Counter
Johnson Counter
 In Johnson counter, the complemented output of last flip
flop is connected to input of first flip flop.
Johnson Counter
Johnson Counter
Total number of used states = 2*n =2*4 = 8
Total number of unused states = 2n – 2*n = 24-2*4 = 8
 Advantages of Johnson counter:
 It can count twice the number of states the ring counter can count.
 Johnson ring counter is used to count the data in a continuous loop.
 Johnson counter is a self-decoding circuit.
 Disadvantages of Johnson counter:
 Johnson counter doesn’t count in a binary sequence.
 more number of states remain unutilized than the states being utilized.
 The number of flip flops needed is one half the number of timing signals.
Johnson Counter
A B C D
0 0 1 0
1 0 0 1
0 1 0 0
1 0 1 0
1 1 0 1
0 1 1 0
1 0 1 1
0 1 0 1
Integrated Circuits
 An integrated circuit (IC) is a small silicon
semiconductor crystal called a chip, containing
the electronic components for the digital gates.
 The various gates are interconnected inside the
chip to form the required circuit.
 The chip is mounted in a ceramic or plastic
container, and connections are welded by thin
gold wires to external pins to form the integrated
circuit.
 The number of pins may range from 14 in a small
IC package to 100 or more in a larger package.
Integrated Circuits
 As the technology of ICs has improved, the number of gates that can
be put in a single chip has increased considerably.
 Small-scale integration (SSI) devices contain several independent
gates in a single package. The inputs and outputs of the gates are
connected directly to the pins in the package. The number of gates is
usually less than 10 and is limited by the number of pins available in
the IC.
 Medium-scale integration (MSI) devices have a complexity of
approximately10 to 200 gates in a single package. They usually
perform specific elementary digital functions such as decoders,
adders, and registers.
Integrated Circuits
 LSI Large-scale integration (LSI) devices contain between 200 and a
few thousand gates in a single package. They include digital
systems, such as processors, memory chips, and programmable
modules.
 Very-large-scale integration (VLSI) devices contain thousands of gates
within a single package. Examples are large memory arrays and
complex microcomputer chips. Because of their small size and low
cost, VLSI devices have revolutionized the computer system design
technology, giving designers the capability to create structures that
previously were not economical.
Digital Logic Families
 Digital integrated circuits are classified not only by their logic operation
but also by the specific circuit technology to which they belong.
 The circuit technology is referred to as a digital logic family.
 Each logic family has its own basic electronic circuit upon which more
complex digital circuits and functions are developed.
 The basic circuit in each technology is either a NAND, a NOR, or an
inverter gate.
 The electronic components that are employed in the construction of the
basic circuit are usually used for the name of the technology.
 Many different logic families of integrated circuits have been introduced
commercially.
Digital Logic Families
 TTL - Transistor-transistor logic
 ECL - Emitter-coupled logic
 MOS - Metal-oxide semiconductor
 CMOS - Complementary metal-oxide semiconductor
 I2L - Integrated Injection Logic
Transistor-Transistor Logic
 TTL is a widespread logic family that has been in operation for many
years and is considered as standard.
 The transistor-transistor logic family was an evolution of a previous
technology that used diodes and transistors for the basic NAND gate.
 This technology was called DTL, for "diode-transistor logic." Later the
diodes were replaced by transistors to improve the circuit operation and
the name of the logic family was changed to "transistor-transistor logic."
 This is the reason for mentioning the word "transistor" twice.
 Power supply voltage for TTL circuits is 5 volts, and the two logic levels are
approximately 0 and 3.5 volts.
Transistor-Transistor Logic
Emitter-Coupled Logic (ECL)
 The emitter-coupled logic (ECL) family provides the
highest-speed digital circuits in integrated form.
 ECL is used in systems such as supercomputers and signal
processors where high speed is essential.
 The transistors in ECL gates operate in a non-saturated
state, a condition that allows the achievement of
propagation delays of 1 to 2 nanoseconds.
Emitter-Coupled Logic (ECL)
Metal-Oxide Semiconductor (MOS)
 The metal-oxide semiconductor (MOS) is a unipolar transistor that
depends on the flow of only one type of carrier, which may be
electrons (n-channel) or holes (p-channel).
 This is in contrast to the bipolar transistor used in TTL and ECL gates,
where both carriers exist during normal operation.
 A p-channel MOS is referred to as PMOS and an n-channel as
NMOS.
 NMOS is the one that is commonly used in circuits with only one type
of MOS transistor.
Complementary MOS (CMOS)
 The complementary MOS (CMOS) technology uses PMOS
and NMOS transistors connected in a complementary
fashion in all circuits.
 The most important advantages of CMOS over bipolar
are the high packing density of circuits, a simpler
processing technique during fabrication, and a more
economical operation because of low power consumption.
Complementary MOS (CMOS)
INTEGRATED INJECTION LOGIC
 Integrated injection logic (IIL, I2L, or I2L) is a class of digital circuits built with
multiple collector bipolar junction transistors (BJT).
 When introduced it had speed comparable to TTL yet was almost as low power as
CMOS, making it ideal for use in VLSI (and larger) integrated circuits.
 The gates can be made smaller with this logic family than with CMOS because
complementary transistors are not needed.
 Although the logic voltage levels are very close (High: 0.7V, Low: 0.2V), I2L has
high noise immunity because it operates by current instead of voltage.
 I2L was developed in 1971 by Siegfried K. Wiedmann and Horst H. Berger who
originally called it merged-transistor logic (MTL).
 A disadvantage of this logic family is that the gates draw power when not
switching unlike with CMOS.
Registers and counters

More Related Content

PPTX
Counters
PPT
Registers and Counters.ppt
PPTX
Registers
PPTX
digital Counter
PPTX
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
PPT
Counters
PPTX
Lecture 5 Synchronous Sequential Logic
PPTX
Synchronous counters
Counters
Registers and Counters.ppt
Registers
digital Counter
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
Counters
Lecture 5 Synchronous Sequential Logic
Synchronous counters

What's hot (20)

PPTX
Counters
PDF
Chapter 6 register
PPTX
Multiplexers
PPTX
Parity Generator and Parity Checker
PPTX
8251 USART
PPTX
Multiplexer & de multiplexer
PDF
Arm instruction set
PDF
ARM Architecture
PPTX
Transistor Transistor Logic
PPTX
Architecture of 8051
PPTX
Interrupts on 8086 microprocessor by vijay kumar.k
PDF
Delays in verilog
PPTX
sequential circuits
PPTX
Demultiplexer
PPT
Switch level modeling
PPTX
8255 PPI
PPTX
Weighted and Non Weighted Codes
PPTX
Digital Registers & Counters
PPTX
Code conversion
PDF
Ripple counter
Counters
Chapter 6 register
Multiplexers
Parity Generator and Parity Checker
8251 USART
Multiplexer & de multiplexer
Arm instruction set
ARM Architecture
Transistor Transistor Logic
Architecture of 8051
Interrupts on 8086 microprocessor by vijay kumar.k
Delays in verilog
sequential circuits
Demultiplexer
Switch level modeling
8255 PPI
Weighted and Non Weighted Codes
Digital Registers & Counters
Code conversion
Ripple counter
Ad

Similar to Registers and counters (20)

PPTX
Digital Fundamental Material for the student
PPT
register_coooooooooooooooooooo0unter.ppt
PPT
Register counters.readonly
PPTX
B sc cs i bo-de u-iii counters & registers
PDF
Digital Electronics – Unit III.pdf
PPTX
Synchronous Sequential Logic Unit 4
PPTX
Chapter 6 Register and countedfsdfr.pptx
PPTX
co-unit4.pptx mca computer organizaiton ist sem
PDF
Sequential circuits Sequential circuits1
PPTX
Sequential circuit design
PDF
FYBSC IT Digital Electronics Unit V Chapter II Shift Register
PPTX
Unit4_DE.pptx
PPT
chap7 counters and registers digital logic.ppt
PPTX
Digital Electronics Registers and Counters.pptx
PDF
DLD4.pdf
PPTX
Digital Electronics Unit_4_new.pptx
PDF
Registers and counters
PDF
Module 4 registers and counters
PPTX
digital elctronics
Digital Fundamental Material for the student
register_coooooooooooooooooooo0unter.ppt
Register counters.readonly
B sc cs i bo-de u-iii counters & registers
Digital Electronics – Unit III.pdf
Synchronous Sequential Logic Unit 4
Chapter 6 Register and countedfsdfr.pptx
co-unit4.pptx mca computer organizaiton ist sem
Sequential circuits Sequential circuits1
Sequential circuit design
FYBSC IT Digital Electronics Unit V Chapter II Shift Register
Unit4_DE.pptx
chap7 counters and registers digital logic.ppt
Digital Electronics Registers and Counters.pptx
DLD4.pdf
Digital Electronics Unit_4_new.pptx
Registers and counters
Module 4 registers and counters
digital elctronics
Ad

More from Heman Pathak (15)

PDF
Interconnection Network
PDF
Central processing unit
PDF
Sequential Circuit
PDF
Combinational logic 2
PDF
Combinational logic 1
PDF
Simplification of Boolean Function
PDF
Chapter 2: Boolean Algebra and Logic Gates
PDF
Chapter 7: Matrix Multiplication
PDF
Elementary Parallel Algorithms
PDF
Chapter 5: Mapping and Scheduling
PDF
Cost optimal algorithm
PDF
Chapter 4: Parallel Programming Languages
PDF
Parallel Algorithm for Graph Coloring
PDF
Parallel Algorithms
PDF
Chapter 1 - introduction - parallel computing
Interconnection Network
Central processing unit
Sequential Circuit
Combinational logic 2
Combinational logic 1
Simplification of Boolean Function
Chapter 2: Boolean Algebra and Logic Gates
Chapter 7: Matrix Multiplication
Elementary Parallel Algorithms
Chapter 5: Mapping and Scheduling
Cost optimal algorithm
Chapter 4: Parallel Programming Languages
Parallel Algorithm for Graph Coloring
Parallel Algorithms
Chapter 1 - introduction - parallel computing

Recently uploaded (20)

PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
DOCX
573137875-Attendance-Management-System-original
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Structs to JSON How Go Powers REST APIs.pdf
PPTX
Sustainable Sites - Green Building Construction
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
bas. eng. economics group 4 presentation 1.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Internet of Things (IOT) - A guide to understanding
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
573137875-Attendance-Management-System-original
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Embodied AI: Ushering in the Next Era of Intelligent Systems
Model Code of Practice - Construction Work - 21102022 .pdf
Structs to JSON How Go Powers REST APIs.pdf
Sustainable Sites - Green Building Construction
CYBER-CRIMES AND SECURITY A guide to understanding
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...

Registers and counters

  • 1. REGISTERS AND COUNTERS By Dr. Heman Pathak Chapter -7
  • 2. Registers  A register is a group of flip-flops with each flip-flop capable of storing one bit of information.  An n-bit register has a group of n flip-flops and is capable of storing any binary information of n bits.  In addition to the flip-flops, a register may have combinational gates that perform certain data-processing tasks.  In its broadest definition, a register consists of a group of flip-flops and gates that effect their transition.  The flip-flops hold the binary information and the gates control when and how new information is transferred into the register.
  • 4. Loading the Register  The transfer of new information into a register is referred to as loading the register.  Serial load: (transfer in serial mode)  Transfer of new binary information into a register bit by bit  Number of clock pulses needed to load the register =  Number of flip-flops in the register  Parallel load: (transfer in parallel mode)  If all the bits of the register are loaded simultaneously with a common clock pulse transition, we say that the loading is done in parallel .
  • 5. Registers with Parallel Load (RS Flip-flop) S R Q(T+1) 0 0 Q(T) 0 1 0 1 0 1 1 1 - L S R Q(T+1) 0 0 0 Q(T) 1 I I’ I 1 1 0 1 1 0 1 0 L I I’
  • 7. Registers with Parallel Load (D Flip-flop) D Q(T+1) 0 0 1 1 L d Q(T+1) 0 Q(T) Q(T) 1 I I 1 1 1 1 0 0 L’ Q L I Q I L D
  • 9. Shift Registers  A register capable of shifting its binary information in one or both directions is called a shift register.
  • 10. Shift Registers (Shift-Right) 1101 0 0 0 0 110 1 0 0 0 11 0 1 0 0 1 1 0 1 0 1 1 0 1 Serial load: (transfer in serial mode) Transfer of new binary information into a register bit by bit Number of clock pulses needed to load the register = Number of flip-flops in the register
  • 11. Shift Registers (Shift-Left) 0 0 0 0 1101 0 0 0 1 101 0 0 1 1 01 0 1 1 0 1 1 1 0 1
  • 12. Shift Registers  A register capable of shifting its binary information in one or both directions is called a shift register.  The logical configuration of a shift register consists of a chain of flip-flops in cascade, with the output of one flip-flop connected to the input of the next flip- flop.  All flip-flops receive common clock pulses that initiate the shift from one stage to the next.  The simplest possible shift register is one that uses only flip-flops (D).  The output of a given flip-flop is connected to the D input of the flip-flop at its right.  The clock is common to all flip-flops.  The serial input determines what goes into the leftmost position during the shift.  The serial output is taken from the output of the rightmost flip-flop.
  • 17. Bidirectional Shift Register with Parallel Load  A register capable of shifting in one direction only is called a unidirectional shift register.  A register that can shift in both directions is called a bidirectional shift register.  Some shift registers provide the necessary input and output terminals for parallel transfer.  The most general shift register has all the capabilities listed below.
  • 18. Bidirectional Shift Register with Parallel Load The most general shift register has all the capabilities listed below. 1. An input for clock pulses to synchronize all operations. 2. A shift-right operation and a serial input line associated with the shift right. 3. A shift-left operation and a serial input line associated with the shift-left. 4. A parallel load operation and n input lines associated with the parallel 5. transfer. 6. n parallel output lines. 7. A control state that leaves the information in the register unchanged 8. even though clock pulses are applied continuously.
  • 19. Bidirectional Shift Register with Parallel Load A4 No Change A4 Shift Right SIR Shift Left A3 Parallel Load I4 A3 No Change A3 Shift Right A4 Shift Left A2 Parallel Load I3 A2 No Change A2 Shift Right A3 Shift Left A1 Parallel Load I2 A1 No Change A1 Shift Right A2 Shift Left SIL Parallel Load I1 A4 A3 A2 A1
  • 24. Asynchronous or Ripple Counter  Counter is a sequential circuit which is used for counting input pulses passing through it.  Counters are of two types.  Asynchronous or ripple counters.  Synchronous counters.  A ripple counter is an asynchronous counter where only the first flip-flop is clocked by an external clock.  All subsequent flip-flops are clocked by the output of the preceding flip-flop.  Asynchronous counters are also called ripple-counters because of the way the clock pulse ripples it way through the flip-flops.
  • 25. Binary Ripple Counter  Negative-Edge-Triggered J-K Flip-Flop
  • 30. Binary Down Ripple Counter Take the output from the complemented terminals of all flip-flops
  • 31. Binary Down Ripple Counter Instead of Negative-Edge-Triggered flip-flops use Positive-Edge-Triggered flip-flops
  • 33. BCD or Decade Ripple Counter  BCD or Decade Ripple Counter is a serial digital counter that counts ten digits.  As it can go through 10 unique combinations of output, it is also called as “Decade counter”.
  • 34. BCD or Decade Ripple Counter CLK Q8 Q4 Q2 Q1 Q1 CLK J K External 1 1 Q2 CLK J K Q1 Q8’ 1 Q4 CLK J K Q2 1 1 Q8 CLK J K Q1 Q2Q4 1
  • 35. BCD or Decade Ripple Counter Q8 Q4 Q2 Q1 Q1 CLK J K External 1 1 Q2 CLK J K Q1 Q8’ 1 Q4 CLK J K Q2 1 1 Q8 CLK J K Q1 Q2Q4 1
  • 36. BCD or Decade Ripple Counter
  • 37. BCD or Decade Ripple Counter
  • 38. Synchronous Counter  Synchronous Counters are so called because the clock input of all the individual flip-flops within the counter are all clocked together at the same time by the same clock signal
  • 40. Synchronous Up-Down Counter UP Down Action A4 A3 A2 A1 0 0 No Change 0 0 0 0 0 1 Down Counter A3’A2’A1’ A2’A1’ A1’ 1 1 0 Up Counter A3A2A1 A2A1 A1 1 1 1 Not Allowed - - - -
  • 43. Synchronous BCD Counter TQ2 8421 00 01 11 10 00 0 1 1 0 01 0 1 1 0 11 X X X X 10 0 0 X X TQ4 8421 00 01 11 10 00 0 0 1 0 01 0 0 1 0 11 X X X X 10 0 0 X X TQ8 8421 00 01 11 10 00 0 0 0 0 01 0 0 1 0 11 X X X X 10 0 1 X X
  • 44. Binary Counter with Parallel Load  Counter is basically a register that goes through a predetermined sequence of state.  This counter can be loaded in parallel with 4-Bit input data. Load Count Action 0 0 No Change 0 1 Count 1 0 Load 1 1 Load J K Action 0 0 No Change Q Q Count I I’ Load I I’ Load
  • 46. Binary Counter with Parallel Load
  • 48. Timing Sequences in Serial Mode
  • 50. Timing Signals in Parallel Mode
  • 51. Ring Counter  A ring counter is a type of counter composed of flip- flops connected into a shift register, with the output of the last flip-flop fed to the input of the first, making a "circular" or "ring" structure.
  • 52. Ring Counter Straight ring counter Q0 Q1 Q2 Q3 0 1 0 0 0 1 0 1 0 0 2 0 0 1 0 3 0 0 0 1 0 1 0 0 0 1 0 1 0 0 2 0 0 1 0 3 0 0 0 1 0 1 0 0 0
  • 55. Johnson Counter  In Johnson counter, the complemented output of last flip flop is connected to input of first flip flop.
  • 57. Johnson Counter Total number of used states = 2*n =2*4 = 8 Total number of unused states = 2n – 2*n = 24-2*4 = 8  Advantages of Johnson counter:  It can count twice the number of states the ring counter can count.  Johnson ring counter is used to count the data in a continuous loop.  Johnson counter is a self-decoding circuit.  Disadvantages of Johnson counter:  Johnson counter doesn’t count in a binary sequence.  more number of states remain unutilized than the states being utilized.  The number of flip flops needed is one half the number of timing signals.
  • 58. Johnson Counter A B C D 0 0 1 0 1 0 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1
  • 59. Integrated Circuits  An integrated circuit (IC) is a small silicon semiconductor crystal called a chip, containing the electronic components for the digital gates.  The various gates are interconnected inside the chip to form the required circuit.  The chip is mounted in a ceramic or plastic container, and connections are welded by thin gold wires to external pins to form the integrated circuit.  The number of pins may range from 14 in a small IC package to 100 or more in a larger package.
  • 60. Integrated Circuits  As the technology of ICs has improved, the number of gates that can be put in a single chip has increased considerably.  Small-scale integration (SSI) devices contain several independent gates in a single package. The inputs and outputs of the gates are connected directly to the pins in the package. The number of gates is usually less than 10 and is limited by the number of pins available in the IC.  Medium-scale integration (MSI) devices have a complexity of approximately10 to 200 gates in a single package. They usually perform specific elementary digital functions such as decoders, adders, and registers.
  • 61. Integrated Circuits  LSI Large-scale integration (LSI) devices contain between 200 and a few thousand gates in a single package. They include digital systems, such as processors, memory chips, and programmable modules.  Very-large-scale integration (VLSI) devices contain thousands of gates within a single package. Examples are large memory arrays and complex microcomputer chips. Because of their small size and low cost, VLSI devices have revolutionized the computer system design technology, giving designers the capability to create structures that previously were not economical.
  • 62. Digital Logic Families  Digital integrated circuits are classified not only by their logic operation but also by the specific circuit technology to which they belong.  The circuit technology is referred to as a digital logic family.  Each logic family has its own basic electronic circuit upon which more complex digital circuits and functions are developed.  The basic circuit in each technology is either a NAND, a NOR, or an inverter gate.  The electronic components that are employed in the construction of the basic circuit are usually used for the name of the technology.  Many different logic families of integrated circuits have been introduced commercially.
  • 63. Digital Logic Families  TTL - Transistor-transistor logic  ECL - Emitter-coupled logic  MOS - Metal-oxide semiconductor  CMOS - Complementary metal-oxide semiconductor  I2L - Integrated Injection Logic
  • 64. Transistor-Transistor Logic  TTL is a widespread logic family that has been in operation for many years and is considered as standard.  The transistor-transistor logic family was an evolution of a previous technology that used diodes and transistors for the basic NAND gate.  This technology was called DTL, for "diode-transistor logic." Later the diodes were replaced by transistors to improve the circuit operation and the name of the logic family was changed to "transistor-transistor logic."  This is the reason for mentioning the word "transistor" twice.  Power supply voltage for TTL circuits is 5 volts, and the two logic levels are approximately 0 and 3.5 volts.
  • 66. Emitter-Coupled Logic (ECL)  The emitter-coupled logic (ECL) family provides the highest-speed digital circuits in integrated form.  ECL is used in systems such as supercomputers and signal processors where high speed is essential.  The transistors in ECL gates operate in a non-saturated state, a condition that allows the achievement of propagation delays of 1 to 2 nanoseconds.
  • 68. Metal-Oxide Semiconductor (MOS)  The metal-oxide semiconductor (MOS) is a unipolar transistor that depends on the flow of only one type of carrier, which may be electrons (n-channel) or holes (p-channel).  This is in contrast to the bipolar transistor used in TTL and ECL gates, where both carriers exist during normal operation.  A p-channel MOS is referred to as PMOS and an n-channel as NMOS.  NMOS is the one that is commonly used in circuits with only one type of MOS transistor.
  • 69. Complementary MOS (CMOS)  The complementary MOS (CMOS) technology uses PMOS and NMOS transistors connected in a complementary fashion in all circuits.  The most important advantages of CMOS over bipolar are the high packing density of circuits, a simpler processing technique during fabrication, and a more economical operation because of low power consumption.
  • 71. INTEGRATED INJECTION LOGIC  Integrated injection logic (IIL, I2L, or I2L) is a class of digital circuits built with multiple collector bipolar junction transistors (BJT).  When introduced it had speed comparable to TTL yet was almost as low power as CMOS, making it ideal for use in VLSI (and larger) integrated circuits.  The gates can be made smaller with this logic family than with CMOS because complementary transistors are not needed.  Although the logic voltage levels are very close (High: 0.7V, Low: 0.2V), I2L has high noise immunity because it operates by current instead of voltage.  I2L was developed in 1971 by Siegfried K. Wiedmann and Horst H. Berger who originally called it merged-transistor logic (MTL).  A disadvantage of this logic family is that the gates draw power when not switching unlike with CMOS.