Vous êtes sur la page 1sur 10

APPLICATIONS OF

RING COUNTER AND


COUNTER DECODER

.
COUNTER with DECODER
It can be used in the place of ring counter..ie.,it can
also generate timing signals
The timing signals when enabled by clock pulses will
provide multiphase clock pulses
eg: To AND with CP the output will generate CP at
one fourth frequency that of master clock.
RING COUNTER applications
Used for generating
timing signals for
control unit in
computers operating in
parallel mode

Used as a stepper motor


controller
HARDWIRE CONTROL UNIT

Sequence register
One flip-flop per and decoder
state method method
4 TYPES
Micro program
PLA control control
ONE FLIPFLOP PER STATE
METHOD
Uses Only flipflop per state and others are cleared
A single bit is made to propagate from one flipflop to
the other under the control of decision logic
If the control ckt does not need external inputs for its
sequencing, the ckt reduces to a shift register with a
single bit shifted from one position to next. For this
reason, this method is also called RING COUNTER
CONTROLLER
SEQUENCE REGISTER AND DECODER
This method uses a register to sequence the control
states the register is decoded to provide one output per
each state
If the control ckt does not need external inputs , the
sequence register reduces to counter that continously
sequences. For this reason, this method is called as
COUNTER DECODER METHOD
I.R RING COUNTER
T T T T T T CLK
OP-
5 4 3 2 1 0
CODE
LDE

STE
ADD
CONTROL
decoder SUB MATRIX

MBA
JMP
JN

HALT NEG.FLAG

CONTROL SIGNALS
WORKING:
The ring counter provides a sequence of six
consecutive active signals
The instruction decoder takes its input from the op-
code field and activates only one of 8 output lines
Each line corresponds to one of the instructions in the
computer instruction set
The control matrix receives input from instruction
decoder and ring counter and provides the proper
sequence of control signals
Eg: LM=To + T3 *LDA + T3*STA

INSTRUCTION SET
 IP = T2 
    W = T5*STA 
    LP = T3*JMP + T3*NF*JN 
    LD = T4*STA 
    LA = T5*LDA + T3*ADD + T3*SUB 
    EA = T4*STA + T3*MBA 
    EP = T0 
    S = T3*SUB 
    A = T3*ADD 
    LI = T2 
    LM = T0 + T3*LDA + T3*STA 
    ED = T2 + T5*LDA 
    R = T1 + T4*LDA 
    EU = T3*ADD+T3*SUB 
    EI = T3*LDA + T3*STA + T3*JMP + T3*NF*JN 
    LB = T3*MBA

Vous aimerez peut-être aussi