English
Language : 

NS32CG16-10 Datasheet, PDF (42/82 Pages) National Semiconductor (TI) – High-Performance Printer / Display Processor
3 0 Functional Description (Continued)
At this time the signals TSO (Timing State Output) DBE
(Data Buffer Enable) and either RD (Read Strobe) or WR
(Write Strobe) will also be activated
The T3 state provides for access time requirements and it
occurs at least once in a bus cycle At the end of T2 on the
rising edge of CTTL the CWAIT and WAIT1–2 signals are
sampled to determine whether the bus cycle will be extend-
ed See Section 3 4 5 3
If the CPU is performing a read cycle the data bus (AD0–
AD15) is sampled at the beginning of T4 on the rising edge
of CTTL Data must however be held a little longer to meet
the data hold time requirements The RD signal is guaran-
teed not to go inactive before this time so its rising edge
can be safely used to disable the device providing the input
data
The T4 state finishes the bus cycle At the beginning of T4
the RD or WR and TSO signals go inactive and on the
falling edge of CTTL DBE goes inactive having provided for
necessary data hold times Data during Write cycles re-
mains valid from the CPU throughout T4 Note that the Bus
Status lines (ST0 –ST3) change at the beginning of T4 an-
ticipating the following bus cycle (if any)
3 4 5 3 Cycle Extension
To allow sufficient access time for any speed of memory or
peripheral device the NS32CG16 provides for extension of
a bus cycle Any type of bus cycle except a Slave Processor
cycle and a special bus cycle can be extended
In Figures 3-18 and 3-19 note that during T3 all bus control
signals from the CPU are flat Therefore a bus cycle can be
cleanly extended by causing the T3 state to be repeated
This is the purpose of the WAIT1–2 and CWAIT input sig-
nals
At the end of state T2 on the rising edge of CTTL WAIT1–
2 and CWAIT are sampled
If any of these signals are active the bus cycle will be ex-
tended by at least one clock cycle Thus one or more addi-
tional T3 state (also called wait state) will be inserted after
the next T-State Any combination of the above signals can
be activated at one time However the WAIT1 – 2 inputs are
only sampled by the CPU at the end of state T2 They are
ignored at all other times
The WAIT1 – 2 inputs are binary weighted and can be used
to insert up to 3 wait states according to the following table
WAIT2
HIGH
HIGH
LOW
LOW
WAIT1
HIGH
LOW
HIGH
LOW
Number of
Wait States
0
1
2
3
CWAIT causes wait states to be inserted continuously as
long as it is sampled active It is normally used when the
number of wait states to be inserted in the CPU bus cycle is
not known in advance
The following sequence shows the CPU response to the
WAIT1 – 2 and CWAIT inputs
1 Start bus cycle
2 Sample WAIT1 – 2 and CWAIT at the end of state T2
3 If the WAIT1 – 2 inputs are both inactive then go to step
6
4 Insert the number of wait states selected by
WAIT1 –2
5 Sample CWAIT again
6 If CWAIT is not active then go to step 8
7 Insert one wait state and then go to step 5
8 Complete bus cycle
Figure 3-20 shows a bus cycle extended by three wait
states two of which are due to WAIT2 and one is due to
CWAIT
42