Академический Документы
Профессиональный Документы
Культура Документы
Overview
Register
Shift register counters
Asynchronous counters
Synchronous counters
Design of synchronous
binary counters
Self-starting counters
Introduction
Register a set of flip flops used to store
binary data or information
Counter device used to count clock
pulses or number of events
Register
Shift registers
The new bit is shifted into the register one bit at a time
4-bit shift register
*CE=Chip enable
adder
1 bit
X = x3x2x1x0 is stored in the accumulator
then the number Y = y3y2y1y0 is applied to the full adder
the sum of X and Y, S = X + Y.
9
Ring Counters
A ring counter is a circular shift register with one flip-flop in state 1 at a
particular time to produce a sequence of timing signals.
The shift registers serial output is fed back to the serial input.
10
ring counter
Outputs:
11
*created 8 sequences
12
Asynchronous counters
Idea to get more sequences
Ripple counter, state changes are not controllered by a
common clock pulse
Other FF
control by output
Only 1st FF
control by CLK
Synchronous counters
Flip-flops are clocked simultaneously with a common
clock pulse
15
Before
After
0
16
17
0 1
18
Have sequence of
*Please refer to Floyd p476 or Roth p335 for explanation.
19
20
2) State Table
Need to know!
or this
Excitation inputs
State table of FF
22
3) Logic Equations
TA =1
K-maps
4) Logic Circuit
23
2) State Table
Need to know!
or this
State table of FF
Excitation inputs
24
3) Logic Equations
K-maps
4) Logic Circuit
25
1) State diagram
2) State Table
TC TB
TA
State table of FF
Excitation signal
26
3) Logic Equations
K-maps
4) Logic Circuit
27
1) State diagram
2) State Table
State table of FF
28
3) Logic Equations
K-maps
4) Logic Circuit
Please try to draw this yourself!!!
29
1) State diagram
2) State Table
State table of FF
30
3) Logic Equations
K-maps
4) Logic Circuit
Please try to draw this yourself!!!
Now you should able to design a counter that count
any sequence using any D, T, SR or J-K flip flops.
31
Self-starting Counters
Example:
What would
happen if we start
with 001, 101 or
110?
32
After
34
If eventually no enter
to design sequence:
NEED to
Remap the K-maps
35