www.fairchildsemi.com 2
74AC161 • 74ACT161
Functional Description
The AC/ACT161 count in modulo-16 binary sequence.
From state 15 (HHHH) they increment to state 0 (LLLL).
The clock inputs of all flip-flops are driven in parallel
through a clock buffer. Thus all changes o f the Q outputs
(except due to Master Reset of the AC/ACT161) occur as a
result of, and synchron ous with, the LOW-to-HIGH transi-
tion of the CP input signal. The circu its have four funda-
mental modes of operation, in order of precedence:
asynchronous reset , parallel load, coun t-up and hold. Five
control inputs—Master Reset, Parallel Enable (PE
), Count
Enable Parallel (C EP) and Count Enable Trickle (CET)—
determine the mode of operation, as shown in the Mode
Select Table. A LOW signal on MR
overrides all other
inputs and asynchronousl y fo rces al l outp uts LOW. A LOW
signal on PE
overrides counting and allows information on
the Parallel Data (P
n
) inputs to be loaded in to the f lip-flo ps
on the next rising edge of CP. With PE
and MR HIGH, CEP
and CET permit c o un ti n g wh en b oth ar e H IGH . Co nv ers e l y,
a LOW signal on either CEP or CET inhibits counting.
The AC/ACT161 use D-type edge-triggere d flip-flops and
changing the PE
, CEP, and CET inputs when the CP is in
either state does not cause errors, provided that the recom-
mended setup and hold times, with respect to the rising
edge of CP, are observe d.
The Terminal Count (TC) output is HIGH when CET is
HIGH and counter is in state 15. To implement synchro-
nous multistage counters, the TC outputs can be used with
the CEP and CET inputs in two different ways.
Figure 1 shows the connect ions for simple ripple carry, in
which the clock period must be longer than the CP to TC
delay of the first stage, plus the cumulative CET to TC
delays of the intermediate stages, plus the CET to CP
setup time of the last stage. This total delay plus setup time
sets the upper limi t on clock frequency. For faster clock
rates, the carry lo okahead connectio ns shown in Figure 2
are recommended. In t hi s sche me th e ri p ple de l ay thr oug h
the intermediate s tages commences with the same clock
that causes the first stage to tick over fr om max to min in
the Up mode, or min to max in the Down mode, to start its
final cycle. Since this final c ycle requ ires 16 clo cks to com -
plete, there is plenty of time for the ripple to progress
through the intermediate stages. The critical timing that lim-
its the clock period is th e CP to TC
delay of the first stage
plus the CEP
to CP setup time of the last stage. The TC
output is subject to d ecoding spikes due to internal race
conditions and is th erefore n ot recomm ended fo r use as a
clock or asynchronous reset for flip-flops, registers or
counters.
Logic Equations: Count Enable = CEP • CET • PE
TC = Q
0
• Q
1
• Q
2
• Q
3
• CET
Mode Select Table
H = HIGH Voltage Level
L = LOW Voltage Level
X = Immaterial
State Diagram
FIGURE 1. Multistage Counter with Ripple Carry
FIGURE 2. Multistage Counter with Lookahead Carry
PE
CET CEP
Action on the Rising
Clock Edge (
)
X X X Reset (Clear)
L X X Load (P
n
→Q
n
)
H H H Count (Increment)
H L X No Change (Hold)
H X L No Change (Hold)