MC54/74HCT161A MC54/74HCT163A |
|
|
|
|
T0 |
14 |
Q0 |
|
Q0 |
||
|
R |
|
|
|
C |
|
|
|
C |
|
|
|
Load |
|
|
3 |
Load |
Q0 |
|
|
|
|
|
P0 |
P0 |
|
|
|
T1 |
13 |
Q1 |
|
R |
Q1 |
|
|
C |
|
|
|
C |
|
|
|
Load |
|
|
4 |
Load |
Q1 |
|
|
|
|
|
P1 |
P1 |
|
|
|
T2 |
12 |
Q2 |
|
R |
Q2 |
|
|
C |
|
|
|
C |
|
|
|
Load |
|
|
5 |
Load |
Q2 |
|
|
|
|
|
P2 |
P2 |
|
|
|
T3 |
11 |
Q3 |
|
Q3 |
||
|
R |
|
|
|
C |
|
|
|
C |
|
|
|
Load |
|
|
6 |
Load |
|
|
|
|
|
|
P3 |
P3 |
|
|
|
|
15 |
Ripple |
|
|
|
Carry Out |
7 |
|
|
|
Enable P |
|
|
|
10 |
|
|
|
Enable T |
|
|
|
Reset 1
Load 9
2
Clock
R
Load
Load
C
C
The flip±flops shown in the circuit diagrams are Toggle± Enable flip±flops. A Toggle±Enable flip±flop is a combination of a D flip±flop and a T flip±flop. When loading data from Preset inputs P0, P1, P2 and P3, the Load signal is used to disable the Toggle input (Tn) of the flip±flop. The logic level at the Pn input is then clocked to the Q output of the flip±flop on the next rising edge of the clock.
A logic zero on the Reset device input forces the internal clock (C) high and resets the Q output of the flip±flop low.
Figure 8. 4±Bit Binary Counter with Asynchronous Reset (MC54/74HCT161A)
MOTOROLA |
6 |
Reset (HCT161A)
Reset (HCT163A)
Load
P0
Preset P1
Data
Inputs
P2
P3
Clock (HCT161A)
Clock (HCT163A)
Enable P
Count
Enables
Enable T
Q0
Q1
Outputs
Q2
Q3
Ripple Carry Out
MC54/74HCT161A MC54/74HCT163A
(Asynchronous)
(Synchronous)
12 |
13 |
14 |
15 |
0 |
1 |
2 |
|
|
|
|
Count |
|
Inhibit |
Reset Load
Figure 9. Timing Diagram
7 |
MOTOROLA |
MC54/74HCT161A MC54/74HCT163A |
|
|
|
|
T0 |
14 |
Q0 |
|
Q0 |
||
|
R |
|
|
|
C |
|
|
|
C |
|
|
|
Load |
|
|
3 |
Load |
Q0 |
|
|
|
|
|
P0 |
P0 |
|
|
|
T1 |
13 |
Q1 |
|
R |
Q1 |
|
|
C |
|
|
|
C |
|
|
|
Load |
|
|
4 |
Load |
Q1 |
|
|
|
|
|
P1 |
P1 |
|
|
|
T2 |
12 |
Q2 |
|
R |
Q2 |
|
|
C |
|
|
|
C |
|
|
|
Load |
|
|
5 |
Load |
Q2 |
|
|
|
|
|
P2 |
P2 |
|
|
|
T3 |
11 |
Q3 |
|
Q3 |
||
|
R |
|
|
|
C |
|
|
|
C |
|
|
|
Load |
|
|
6 |
Load |
|
|
|
|
|
|
P3 |
P3 |
|
|
|
|
15 |
Ripple |
|
|
|
Carry Out |
7 |
|
|
|
Enable P |
|
|
|
10 |
|
|
|
Enable T |
|
|
|
Reset 1
Load 9
2
Clock
R
Load
Load
C
C
The flip±flops shown in the circuit diagrams are Toggle± Enable flip±flops. A Toggle±Enable flip±flop is a combination of a D flip±flop and a T flip±flop. When loading data from Preset inputs P0, P1, P2 and P3, the Load signal is used to disable the Toggle input (Tn) of the flip±flop. The logic level at the Pn input is then clocked to the Q output of the flip±flop on the next rising edge of the clock.
A logic zero on the Reset device input forces the internal clock (C) high and resets the Q output of the flip±flop low.
Figure 10. 4±Bit Binary Counter with Synchronous Reset (MC54/74HCT163A)
MOTOROLA |
8 |
|
|
|
|
|
MC54/74HCT161A MC54/74HCT163A |
|||
|
|
TYPICAL APPLICATIONS CASCADING |
|
|
||||
Load |
|
|
|
|
|
|
|
|
|
|
Inputs |
|
Inputs |
|
Inputs |
|
|
H=Count |
Load Q0Q1 Q2Q3 |
Load |
Q0Q1 Q2Q3 |
Load |
Q0Q1 Q2Q3 |
|
||
Enable P |
|
Enable P |
|
Enable P |
|
|
||
L=Disable |
|
|
|
|
||||
|
Ripple |
|
Ripple |
|
Ripple |
To More |
||
H=Count |
Enable T |
Enable T |
Enable T |
|||||
Carry |
Carry |
Carry |
Significant |
|||||
L=Disable |
||||||||
|
Out |
|
Out |
|
Out |
Stages |
||
|
Clock |
Clock |
Clock |
|||||
|
|
|
|
|
||||
Reset Q0Q1 Q2Q3 |
Reset Q0Q1 Q2Q3 |
Reset Q0Q1 Q2Q3 |
Reset |
|
|
Outputs |
Outputs |
Outputs |
Clock |
|
|
NOTE: When used in these cascaded configurations the clock fmax guaranteed limits may not apply. Actual performance will depend on number of stages. This limitation is due to set±up times between Enable (port) and clock.
Figure 11. N±Bit Synchronous Counters
Inputs |
|
Inputs |
|
Inputs |
|
|
|
|
|
Load
Enable P
Enable T |
|
|
|
|
|
|
|
|
Load Q0Q1 Q2Q3 |
Load Q0Q1 Q2Q3 |
Load Q0Q1 Q2Q3 |
|
|||
|
Enable P |
Ripple |
Enable P |
Ripple |
Enable P |
Ripple |
|
|
Enable T |
Enable T |
Enable T |
To More |
|||
|
Carry |
Carry |
Carry |
Significant |
|||
Clock |
Clock |
Out |
Clock |
Out |
Clock |
Out |
Stages |
|
|
|
|
||||
|
Reset |
Q0Q1 Q2Q3 |
Reset |
Q0Q1 Q2Q3 |
Reset |
Q0Q1 Q2Q3 |
|
Reset |
|
|
|
|
|
|
|
|
|
Outputs |
|
Outputs |
|
Outputs |
|
Figure 12. Nibble Ripple Counter
9 |
MOTOROLA |
MC54/74HCT161A MC54/74HCT163A
TYPICAL APPLICATIONS VARYING THE MODULUS
HCT163A |
|
|
HCT163A |
|
|
Other |
Q0 |
|
Other |
Q0 |
|
Inputs |
Q1 |
Optional Buffer |
Inputs |
Q1 |
Optional Buffer |
|
for Noise Rejection |
|
for Noise Rejection |
||
|
Q2 |
Output |
|
Q2 |
Output |
|
Q3 |
|
|
Q3 |
|
Reset |
|
|
Reset |
|
|
Figure 13. Modulo±5 Counter Figure 14. Modulo±11 Counter
The HCT163A facilitates designing counters of any modulus with minimal external logic. The output is glitch± free due to the synchronous Reset.
MOTOROLA |
10 |