2-2-9. Ready Control Circuit (Figure
2-19,
2-20 and
2-21)
ThIs-clrcutHs irTcfuded-;n---se47''51 ,
-and-"'Controls-the-t1mif'lg~-tne
READY
signal
to
be
sent
to
the
CPU.
The
READY signal
is
used
to have the CPU continue the bus cycles until an actually accessing
lID
device
or
memory becomes ready to be written/read data.
When
the
READY
signal
is
HIGH, the
CPU
senses that the
110
device or memory is not ready
to
be accessed, and it repeats the
TC
cycles. When
the
READY signal becomes LOW, the CPU
terminates its bus cycle. The
'REAi5'Y
signal
is
synthesized from the
SRDY, SRDYEN, ARDY and ARDYEN signals at the internal circuit
of the CG. The
SRDY
(Synchronous READY) signal is sampled by
the
CG
at a falling edge of the phase 1 clock
of
the
TC
cycle,
provided
that
the
SRDYEN
signal
is
LOW.
The
ARDY
(Asynchronous
READY) signal is sampled at the beginning
of
each TC cycle,
provided that the ARDYEN signal is
LOW.
__
In this computer, the SRDY signal is connected to the
OWS
(Zero
Wait Cycle) signal sent from the
1/0 device on the option slot, if the
110
device does not require a wait cycle. Therefore, if the
OWS
signa I
is
LOW,
the
CPU does not insert wait cycles.
The
AROY signal is controlled directly by the lOCH ROY signal sent
from the memory
or
I/O device on the option slot.
In
conjunction
with the ENDCYCLE signal, the
AROY signal controls the TC cycle
(wait cycle) when the CPU performs the following operation:
~
6MHz/SMHz
9.6MHz
operation
8bit
I/O
4wait
if
5wait
OM"
16bi!
I/O
1wait lwait
Shit
Memory
4wait
~
5wait
16bit
Memory
(O-IFFFFF)
lwait
lwait
16bit
Memory
(200000-FFFFFF)
lwait 2wait
8105-
ROM
lwait
lwait
lSbit Memory
(80000 -9FFFF)
1wait 2wait
(IOOOOO-IFFFFF)
The ARDYEN signal is used
to
concatenate even and odd addresses
when the CPU performs a word access to an
8~bit
memory
or
I/O
device. (Refer
to
Section
2~2~6~3).
Therefore, when the data
conversion operation is performed, additional waits are inserted
to
the wait cycles listed above.
__
_
Figure
2~19
shows the ready control circuit. The IOCS16 signal shown
in the figure is sent from the option slot to the
SC4751, and becomes
LOW when the 1/0 device is a
16~bit
device. In other words, when
this signal is
LOW,
the ENDCYCLE signal becomes LOW after
one
wait cycle passes, resets the
flip~flop
A
in
the
GA
1,
and
makes the
ARDY
signal
LOW.
The FSYS16 is an ORed signal
of
the MEMCS16 signal sent from
the option slot and the chip select signal sent from the
ROM and
RAM decode
logic in SC4751. When the FSYS16 signal is HIGH,
it indicates that addressed memory is 16·bit. The RAS signal is
obtained
by
NORing the MEMR and MEMW signals. The RES/OWS
signal is available by NORing the
OWS
signal from the option slot
and
RESET signal from the CG.
The ready control circuit also inserts a wait cycle
to
the DMAC when
in
the
DMA
operation, using the DMAROY Signal at the flip·flop C
and D in the
SC4751 Figure 2·19 shows the timing chart
of
a word
access
to
the
16~bit
memory
or
I/O device, and Figure 2·21 shows
the timing chart of the DMARDY signal in DMA operation.
-
PC-7200
~
""",-=a.J-
:::::::~-
""""
-.
-
lOCH"'"
-
;o.c
-
~"'''~
,""1""0'
"
r-'
"
"'
,_o-
m
p--r"
PROCLK
SYSCLK
JOR/IOW
RDIWR
SC47s1·Q1
ENDCYCLE
-
-
l ,.,,",
"'
,
l;.
I
l!III;rr
I
-,::L>
~
-l-
~
,00,,"
'---
~
,""
""'n
>
t;n~~-"".~
""""
.""'"
Figure
2~19.
Ready control circuit
Ts
Tc
Tc
I
Ts
SC4751·ARDY
READY
Figure
2~20.
Timing chart
of
word access
SYSCLK
81
DMACLK
XIOR
(IOR/:"DM"'A"M"'E"'Mo'R)-----.....J
L
FFc·a
FFC·Q
________
~~L
__________
_
L-J
FFD·C[
DMARDY
Figure 2·21. Timing chart
of
DMARDY
signal
2·2-10. DMA (Figure 2-22 and 2-23)
Two
DMACs are utilized to provide fast, efficient transfer
of
data
from
the
I/O devices to memory,
or
vice versa, without intervention
by
the
CPU. (The CPU is held in the hold cycle while the
DMA
operation is performed.) The
DMACs
are linked in a master/slave
relationship, with the master
and
the
slave, by connecting the hold
request (HRQ) terminal
of
the slave
DMAC
with
the
service request
input
(DREQ4) terminal
of
the master DMAC, and the hold
acknowledge input (HLDA) terminal
of
the
slave with the
DMA
acknowledge (DACK4) terminal
of
the
master
DMAC.
(See Figure
2·22). The master DMAC controls
DMA
channels 4 through 7,
and
the slave DMAC controls OMA channels 0
through
3. Channel 4 is
used
to
connect the slave
DMAC
in cascade.
The
master
DMAC
is
used
to
perform a
word·by~word
data transfer,
and
the
slave
DMAC
is related
to
a byte·by-byte data transfer.
Table
2·9
lists the
DMA
channel assignments.
2
-'5