SlideShare a Scribd company logo
1 of 38
Download to read offline
Addis Ababa Institute of Technology
(AAIT) Department of Electrical and
Computer Engineering
ECEG-3201 Digital Logic Design
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri2
Learning Outcomes
 At the end of the lecture, students should get
familiarized with;
 Registers.
 Counters.
3
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Registers
 A flip-flop stores one bit of information. When a set of
n flip-flops are used to store n bits of information,
such as an n-bit number, we refer to these flip-flops
as a register.
 Register is a digital circuit with two basic functions;
data storage and data movement.
 A common clock is used for each flip-flop in a register.
 A register that provides the ability to shift its contents
is called a shift register.
4
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Registers
 Transmitting n bits of information at once using n
separate wires is called parallel transfer.
 But it is also possible to transfer all bits using a single
wire, by performing the transfer one bit at a time, in n
consecutive clock cycles. We refer to this scheme as
serial transfer.
5
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Shift Registers
 A shift register is a sequential logic device made up of
flip-flops that allows parallel or serial loading and
serial or parallel outputs as well as shifting bit by bit.
 A shift register is an n-bit register with a provision for
shifting its stored data by one bit position at each tick
of the clock.
 There are different types of shift registers.
 Serial in Serial Out
 Serial in Parallel Out
 Parallel in Serial Out
 Parallel in Parallel Out
6
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Shift Registers
 This sequential device loads the data present on its
inputs and then moves or “shifts” it to its output once
every clock cycle, hence the name “Shift register”.
 Common tasks of shift registers:
 Serial/Parallel data conversion
 UART (universal asynchronous receiver/transmitter)
 Time delay
 Ring counter
 Twisted-ring counter or Johnson counter
 Memory device
7
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Characteristics of Shift Registers
 Number of bits (4-bit, 8-bit, etc.)
 Loading
 Serial
 Parallel (asynchronous or synchronous)
 Common modes of operation.
 Parallel load
 Shift right-serial load
 Shift left-serial load
 Hold
 Clear
 Recirculating or non-recirculating
8
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Serial/Parallel Data Conversion
1 0 1 0 1 1 1 1Serial in Serial out
Shift registers can be used to convert from serial-
to-parallel or the reverse from parallel-to-serial.
1 0 1 0 1 1 1 1Serial in
Parallel out
1 0 1 0 1 1 1 1 Serial out
Parallel in
1 0 1 0 1 1 1 1
Parallel in
Parallel out
9
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Serial In Serial Out Shift Registers
 Serial-In Serial-Out (SISO) - the data is shifted
serially “IN” and “OUT” of the register, one bit at a
time in either a left or right direction under clock
control.
10
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Serial In Serial Out Shift Registers
11
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Serial In Serial Out Shift Registers
Clk pulse
no.
FF0 FF1 FF2 FF3
0 0 0 0 0
1 0 0 0 0
2 1 0 0 0
3 0 1 0 0
4 1 0 1 0
5 0 1 0 1
6 0 0 1 0
7 0 0 0 1
8 0 0 0 0
Data IN = 1010
Data OUT =00001010
12
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Serial In Parallel Out Shift Registers
13
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Serial In Parallel Out Shift Registers
14
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Parallel In Serial Out Shift Registers
Clk pulse
no.
FF0 FF1 FF2 FF3
0 0 0 0 0
1 1 0 1 0
2 0 1 0 1
3 0 0 1 0
4 0 0 0 1
5 0 0 0 0
Data IN = 1010
15
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Parallel In Parallel Out Shift Registers
16
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Parallel In Parallel Out Shift Registers
Clk pulse
no.
FF0 FF1 FF2 FF3
0 0 0 0 0
1 1 0 1 0
2 0 1 0 1
3 0 0 1 0
4 0 0 0 1
5 0 0 0 0
Data IN = 1010
17
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Universal Shift Register
 Universal Shift Register is a register that has both
serial and parallel input and output capability.
 Today, there are many high speed bi-directional
“universal” type Shift Registers available such as the
TTL 74LS194, 74LS195,74HC194 or the CMOS 4035
which are available as 4-bit multi-function devices that
can be used in either serial-to-serial, left shifting, right
shifting, serial-to-parallel, parallel-to-serial, or as a
parallel-to-parallel multifunction data register, hence
the name “Universal”.
18
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Universal Shift Register
 Universal shift registers are very useful digital
devices. They are frequently used in arithmetic
operations to shift data to the left or right for
multiplication or division.
19
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Shift Register based Counters
 A shift register counter is basically a shift
register with the serial output connected to the
serial input to produce a special sequence.
 There are two basic types of counters which are
based on shift registers
 Ring counters
 Johnson counters
20
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Ring Counters
 In a ring counter the output of the most
significant stage is fed back to the input of the
least significant stage.
 E.g. 4 bit ring counter
21
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
4 bit Ring Counters
 It got only 4 distinct states, hence mod-4 counter. Only
4 of the maximum 16 states are used, making ring
counters very inefficient in terms of state usage.
 But the major advantage of a ring counter over a
binary counter is that it is self-decoding. No extra
decoding circuit is needed to determine what state the
counter is in.
22
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
5 bit Ring Counters
23
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
10 bit Ring Counters
24
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Johnson Counters
 Johnson counters are a variation of standard
ring counters, with the inverted output of the
last stage fed back to the input of the first
stage.
 They are also known as twisted ring counters.
 An n-stage Johnson counter yields a count
sequence of length 2n modulus, so it may be
considered to be a mod-2n counter.
 E.g. 4 bit and 5 bit Johnson counters
25
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
4 bit Johnson Counter
26
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
4 bit Johnson Counter
27
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
5 bit Johnson Counter
28
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
5 bit Johnson Counter
29
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Counters
 There are two basic types of counters
 Asynchronous counters
 Synchronous counters
30
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Asynchronous counters
 Counters that do not have a fixed time relationship
with each other and generally do not count at the
same time.
 An asynchronous counter is one in which the
flip-flops within it do not change states at exactly
the same time because they do not have a
common clock pulse.
 Also known as ripple counters.
31
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
2-Bit Asynchronous Binary Counter
32
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
3-Bit Asynchronous Binary Counter
33
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
4-Bit Asynchronous Binary Counter
34
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
Synchronous Counter
 The counter have a fixed time relationship with
each other and generally count at the same time.
 A synchronous counter is one which all the
flip-flops are connected to the same clock.
35
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
2-Bit Synchronous Counter
36
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
3-Bit Synchronous Counter
37
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
4-Bit Synchronous Counter
38
AAIT, Department of
Electrical and Computer
Engineering
Nebyu Yonas Sutri
 Reading assignment.
 Read about synchronous counters design, on
Fundamentals of digital logic with verilog design,
Section 8.7, page 495-505.
What to Do this Week?

More Related Content

What's hot (20)

Embedded Systems,Embedded Systems Project,Winter training,
Embedded Systems,Embedded Systems Project,Winter training,Embedded Systems,Embedded Systems Project,Winter training,
Embedded Systems,Embedded Systems Project,Winter training,
 
8255_utkarsh_kulshrestha
8255_utkarsh_kulshrestha8255_utkarsh_kulshrestha
8255_utkarsh_kulshrestha
 
Design of Accumulator Unit
Design of Accumulator UnitDesign of Accumulator Unit
Design of Accumulator Unit
 
Cadancesimulation
CadancesimulationCadancesimulation
Cadancesimulation
 
Architecture of 8085
Architecture of  8085Architecture of  8085
Architecture of 8085
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Interfacing of io device to 8085
Interfacing of io device to 8085Interfacing of io device to 8085
Interfacing of io device to 8085
 
Microprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 FeaturesMicroprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 Features
 
8155 Basic Concepts
8155 Basic Concepts8155 Basic Concepts
8155 Basic Concepts
 
8255 Programmable parallel I/O
8255 Programmable parallel I/O 8255 Programmable parallel I/O
8255 Programmable parallel I/O
 
Interfacing ics for microprocessor
Interfacing ics for microprocessorInterfacing ics for microprocessor
Interfacing ics for microprocessor
 
Microprocessor systems 8085(2)
Microprocessor systems 8085(2)Microprocessor systems 8085(2)
Microprocessor systems 8085(2)
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
8085 paper-presentation
8085 paper-presentation8085 paper-presentation
8085 paper-presentation
 
8085 microprocessor Embedded system
8085 microprocessor  Embedded system8085 microprocessor  Embedded system
8085 microprocessor Embedded system
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
8 Bit ALU
8 Bit ALU8 Bit ALU
8 Bit ALU
 
8255 ppi
8255 ppi8255 ppi
8255 ppi
 
Sequential Logic Circuits
Sequential Logic CircuitsSequential Logic Circuits
Sequential Logic Circuits
 
Microprocessor 8085 Chapter 4
Microprocessor 8085 Chapter 4Microprocessor 8085 Chapter 4
Microprocessor 8085 Chapter 4
 

Similar to Eceg 3201-dld-lec 11-registers_and_asynchoronous_counters

FYBSC IT Digital Electronics Unit V Chapter I Counters
FYBSC IT Digital Electronics Unit V Chapter I CountersFYBSC IT Digital Electronics Unit V Chapter I Counters
FYBSC IT Digital Electronics Unit V Chapter I CountersArti Parab Academics
 
FYBSC IT Digital Electronics Unit V Chapter II Shift Register
FYBSC IT Digital Electronics Unit V Chapter II Shift RegisterFYBSC IT Digital Electronics Unit V Chapter II Shift Register
FYBSC IT Digital Electronics Unit V Chapter II Shift RegisterArti Parab Academics
 
Registers and counters
Registers and countersRegisters and counters
Registers and countersHeman Pathak
 
Eceg 3201-dld-lec 12-synchronous_counter_design
Eceg 3201-dld-lec 12-synchronous_counter_designEceg 3201-dld-lec 12-synchronous_counter_design
Eceg 3201-dld-lec 12-synchronous_counter_designNebiyu Musie
 
Sequential Circuit Design-2.pdf
Sequential Circuit Design-2.pdfSequential Circuit Design-2.pdf
Sequential Circuit Design-2.pdfShivarkarSandip
 
Module 4 registers and counters
Module 4 registers and counters Module 4 registers and counters
Module 4 registers and counters Deepak John
 
Registers and counters
Registers and counters Registers and counters
Registers and counters Deepak John
 
Microprocessor-Compatible Quadrature Decoder/Counter Design
Microprocessor-Compatible Quadrature Decoder/Counter DesignMicroprocessor-Compatible Quadrature Decoder/Counter Design
Microprocessor-Compatible Quadrature Decoder/Counter DesignRohit Singh
 
Ade(unit 4) Counters
Ade(unit 4) CountersAde(unit 4) Counters
Ade(unit 4) CountersANKITSURWADE
 
Design of Counter Using SRAM
Design of Counter Using SRAMDesign of Counter Using SRAM
Design of Counter Using SRAMIOSRJECE
 
IRJET- Testing the Induction Motor Voltage, Current, Torque, Speed, Power and...
IRJET- Testing the Induction Motor Voltage, Current, Torque, Speed, Power and...IRJET- Testing the Induction Motor Voltage, Current, Torque, Speed, Power and...
IRJET- Testing the Induction Motor Voltage, Current, Torque, Speed, Power and...IRJET Journal
 

Similar to Eceg 3201-dld-lec 11-registers_and_asynchoronous_counters (20)

FYBSC IT Digital Electronics Unit V Chapter I Counters
FYBSC IT Digital Electronics Unit V Chapter I CountersFYBSC IT Digital Electronics Unit V Chapter I Counters
FYBSC IT Digital Electronics Unit V Chapter I Counters
 
Chapter 6 register
Chapter 6 registerChapter 6 register
Chapter 6 register
 
FYBSC IT Digital Electronics Unit V Chapter II Shift Register
FYBSC IT Digital Electronics Unit V Chapter II Shift RegisterFYBSC IT Digital Electronics Unit V Chapter II Shift Register
FYBSC IT Digital Electronics Unit V Chapter II Shift Register
 
Digital electronics sequential ckts counters
Digital electronics sequential ckts countersDigital electronics sequential ckts counters
Digital electronics sequential ckts counters
 
Registers and counters
Registers and countersRegisters and counters
Registers and counters
 
Eceg 3201-dld-lec 12-synchronous_counter_design
Eceg 3201-dld-lec 12-synchronous_counter_designEceg 3201-dld-lec 12-synchronous_counter_design
Eceg 3201-dld-lec 12-synchronous_counter_design
 
Dee2034 chapter 6 register
Dee2034 chapter 6 registerDee2034 chapter 6 register
Dee2034 chapter 6 register
 
Sequential Circuit Design-2.pdf
Sequential Circuit Design-2.pdfSequential Circuit Design-2.pdf
Sequential Circuit Design-2.pdf
 
Module 4 registers and counters
Module 4 registers and counters Module 4 registers and counters
Module 4 registers and counters
 
Registers and counters
Registers and counters Registers and counters
Registers and counters
 
Microprocessor-Compatible Quadrature Decoder/Counter Design
Microprocessor-Compatible Quadrature Decoder/Counter DesignMicroprocessor-Compatible Quadrature Decoder/Counter Design
Microprocessor-Compatible Quadrature Decoder/Counter Design
 
Latch and Counter
Latch and CounterLatch and Counter
Latch and Counter
 
Dns module3 p3
Dns module3 p3Dns module3 p3
Dns module3 p3
 
Dns module3 p3_shift registers
Dns module3 p3_shift registersDns module3 p3_shift registers
Dns module3 p3_shift registers
 
40620130101005
4062013010100540620130101005
40620130101005
 
Ade(unit 4) Counters
Ade(unit 4) CountersAde(unit 4) Counters
Ade(unit 4) Counters
 
Chapter7
Chapter7Chapter7
Chapter7
 
Design of Counter Using SRAM
Design of Counter Using SRAMDesign of Counter Using SRAM
Design of Counter Using SRAM
 
IRJET- Testing the Induction Motor Voltage, Current, Torque, Speed, Power and...
IRJET- Testing the Induction Motor Voltage, Current, Torque, Speed, Power and...IRJET- Testing the Induction Motor Voltage, Current, Torque, Speed, Power and...
IRJET- Testing the Induction Motor Voltage, Current, Torque, Speed, Power and...
 
Counters
CountersCounters
Counters
 

Eceg 3201-dld-lec 11-registers_and_asynchoronous_counters

  • 1. Addis Ababa Institute of Technology (AAIT) Department of Electrical and Computer Engineering ECEG-3201 Digital Logic Design
  • 2. AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri2 Learning Outcomes  At the end of the lecture, students should get familiarized with;  Registers.  Counters.
  • 3. 3 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Registers  A flip-flop stores one bit of information. When a set of n flip-flops are used to store n bits of information, such as an n-bit number, we refer to these flip-flops as a register.  Register is a digital circuit with two basic functions; data storage and data movement.  A common clock is used for each flip-flop in a register.  A register that provides the ability to shift its contents is called a shift register.
  • 4. 4 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Registers  Transmitting n bits of information at once using n separate wires is called parallel transfer.  But it is also possible to transfer all bits using a single wire, by performing the transfer one bit at a time, in n consecutive clock cycles. We refer to this scheme as serial transfer.
  • 5. 5 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Shift Registers  A shift register is a sequential logic device made up of flip-flops that allows parallel or serial loading and serial or parallel outputs as well as shifting bit by bit.  A shift register is an n-bit register with a provision for shifting its stored data by one bit position at each tick of the clock.  There are different types of shift registers.  Serial in Serial Out  Serial in Parallel Out  Parallel in Serial Out  Parallel in Parallel Out
  • 6. 6 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Shift Registers  This sequential device loads the data present on its inputs and then moves or “shifts” it to its output once every clock cycle, hence the name “Shift register”.  Common tasks of shift registers:  Serial/Parallel data conversion  UART (universal asynchronous receiver/transmitter)  Time delay  Ring counter  Twisted-ring counter or Johnson counter  Memory device
  • 7. 7 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Characteristics of Shift Registers  Number of bits (4-bit, 8-bit, etc.)  Loading  Serial  Parallel (asynchronous or synchronous)  Common modes of operation.  Parallel load  Shift right-serial load  Shift left-serial load  Hold  Clear  Recirculating or non-recirculating
  • 8. 8 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Serial/Parallel Data Conversion 1 0 1 0 1 1 1 1Serial in Serial out Shift registers can be used to convert from serial- to-parallel or the reverse from parallel-to-serial. 1 0 1 0 1 1 1 1Serial in Parallel out 1 0 1 0 1 1 1 1 Serial out Parallel in 1 0 1 0 1 1 1 1 Parallel in Parallel out
  • 9. 9 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Serial In Serial Out Shift Registers  Serial-In Serial-Out (SISO) - the data is shifted serially “IN” and “OUT” of the register, one bit at a time in either a left or right direction under clock control.
  • 10. 10 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Serial In Serial Out Shift Registers
  • 11. 11 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Serial In Serial Out Shift Registers Clk pulse no. FF0 FF1 FF2 FF3 0 0 0 0 0 1 0 0 0 0 2 1 0 0 0 3 0 1 0 0 4 1 0 1 0 5 0 1 0 1 6 0 0 1 0 7 0 0 0 1 8 0 0 0 0 Data IN = 1010 Data OUT =00001010
  • 12. 12 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Serial In Parallel Out Shift Registers
  • 13. 13 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Serial In Parallel Out Shift Registers
  • 14. 14 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Parallel In Serial Out Shift Registers Clk pulse no. FF0 FF1 FF2 FF3 0 0 0 0 0 1 1 0 1 0 2 0 1 0 1 3 0 0 1 0 4 0 0 0 1 5 0 0 0 0 Data IN = 1010
  • 15. 15 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Parallel In Parallel Out Shift Registers
  • 16. 16 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Parallel In Parallel Out Shift Registers Clk pulse no. FF0 FF1 FF2 FF3 0 0 0 0 0 1 1 0 1 0 2 0 1 0 1 3 0 0 1 0 4 0 0 0 1 5 0 0 0 0 Data IN = 1010
  • 17. 17 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Universal Shift Register  Universal Shift Register is a register that has both serial and parallel input and output capability.  Today, there are many high speed bi-directional “universal” type Shift Registers available such as the TTL 74LS194, 74LS195,74HC194 or the CMOS 4035 which are available as 4-bit multi-function devices that can be used in either serial-to-serial, left shifting, right shifting, serial-to-parallel, parallel-to-serial, or as a parallel-to-parallel multifunction data register, hence the name “Universal”.
  • 18. 18 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Universal Shift Register  Universal shift registers are very useful digital devices. They are frequently used in arithmetic operations to shift data to the left or right for multiplication or division.
  • 19. 19 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Shift Register based Counters  A shift register counter is basically a shift register with the serial output connected to the serial input to produce a special sequence.  There are two basic types of counters which are based on shift registers  Ring counters  Johnson counters
  • 20. 20 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Ring Counters  In a ring counter the output of the most significant stage is fed back to the input of the least significant stage.  E.g. 4 bit ring counter
  • 21. 21 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri 4 bit Ring Counters  It got only 4 distinct states, hence mod-4 counter. Only 4 of the maximum 16 states are used, making ring counters very inefficient in terms of state usage.  But the major advantage of a ring counter over a binary counter is that it is self-decoding. No extra decoding circuit is needed to determine what state the counter is in.
  • 22. 22 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri 5 bit Ring Counters
  • 23. 23 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri 10 bit Ring Counters
  • 24. 24 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Johnson Counters  Johnson counters are a variation of standard ring counters, with the inverted output of the last stage fed back to the input of the first stage.  They are also known as twisted ring counters.  An n-stage Johnson counter yields a count sequence of length 2n modulus, so it may be considered to be a mod-2n counter.  E.g. 4 bit and 5 bit Johnson counters
  • 25. 25 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri 4 bit Johnson Counter
  • 26. 26 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri 4 bit Johnson Counter
  • 27. 27 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri 5 bit Johnson Counter
  • 28. 28 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri 5 bit Johnson Counter
  • 29. 29 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Counters  There are two basic types of counters  Asynchronous counters  Synchronous counters
  • 30. 30 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Asynchronous counters  Counters that do not have a fixed time relationship with each other and generally do not count at the same time.  An asynchronous counter is one in which the flip-flops within it do not change states at exactly the same time because they do not have a common clock pulse.  Also known as ripple counters.
  • 31. 31 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri 2-Bit Asynchronous Binary Counter
  • 32. 32 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri 3-Bit Asynchronous Binary Counter
  • 33. 33 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri 4-Bit Asynchronous Binary Counter
  • 34. 34 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri Synchronous Counter  The counter have a fixed time relationship with each other and generally count at the same time.  A synchronous counter is one which all the flip-flops are connected to the same clock.
  • 35. 35 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri 2-Bit Synchronous Counter
  • 36. 36 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri 3-Bit Synchronous Counter
  • 37. 37 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri 4-Bit Synchronous Counter
  • 38. 38 AAIT, Department of Electrical and Computer Engineering Nebyu Yonas Sutri  Reading assignment.  Read about synchronous counters design, on Fundamentals of digital logic with verilog design, Section 8.7, page 495-505. What to Do this Week?