EasyManua.ls Logo

S3 Incorporated Trio64V+ - Scenic;Mx2 Compressed Transfer (Ready)

Default Icon
320 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Trio64V+
Integrated
Graphics/Video
Accelerator
S3
Incorporated
dress phase. The Tri064V+ then waits until the
Scenic/MX2 raises CREQJCRDYand provides reg-
ister data. This is depicted in Figure 11-6.
To prevent data starvation and deal
with
request
contention, the
following
protocol is followed.
•
No transaction can be initiated
if
the bus
is active
• There is one dead cycle on the bus fol-
lowing
all transactions
• One device
may
not initiate a transac-
tion until the second cycle
following
the
completion
of
a transaction initiated by
the other device
• Neither device may initiate a transaction
until the third cycle
following
the com-
pletion
of
a transaction initiated
by
itself
• If
CREQJCRDY
and
VREQJVRDY
are both
driven
low
on the same cycle (request
contention),
CREQJCRDY
(the
Scenic/MX2) wins.
11.1.2
Scenic/MX2
Compressed Data
Transfer
The Tri064V+ has
an
output
FIFO
for
handling the
transfer
of
compressed video data
from
the Host
to
the Scenic/MX2 (see Figure 11-1). The Host
must
first
check the
number
of
empty
slots
(MMFF04_3-0), then send no more than this
many
doublewords
(32
bits)
of
compressed data
to
the
FIFO.
An eight doubleword address range
(FF40H
-
FF5CH)
is provided
for
this
FIFO.
Writes
to any
ofthese
addresses are directed to the
FIFO.
MMFFOO_17-16
are programmed to specify
the
number
of
doublewords
of
data
to
burst
to
the
Scenic/MX2. A
write
to the
output
FIFO
then
initiates
a
compressed
data
write
to
the
Scenic/MX2. This is depicted in Figure 11-7
for
a
burst count
of
2
(MMFFOO_17-16
= 01b)
for
the
case where the Scenic/MX2 is ready to receive
the data. The address and first
doubleword
are
transferred
exactly
as
for
a
register/memory
write. Following doublewords in the burst are
each separated
by
one dead cycle. The address
has no meaning except
for
the upper three bits,
which are forced
to
11
Ob
by
hardware
to
specify
a compressed data transfer. Note
that
burst
writes
that
end because the
FIFO
is
empty
(as
opposed
to
the
maximum
burst
count
being
reached)
hold
VREQJVRDY
low
for
one
more
cy-
cle
than is shown in Figure
11-7.
The Scenic/MX2 cannot accept a burst larger
than
eight doublewords.
If
MMFFOO_17-16
are pro-
grammed to 11b (burst all) and eight double-
words
are loaded
into
the
FIFO,
software
must
ensure
that
the
FIFO
is
empty
before loading
more data into the
FIFO.
A
compressed
data
transfer
when
the
Scenic/MX2 is
not
ready to receive data is
almost
the same
as
a register
write
for
the same circum-
stances (see Figure 11-4). The
only
difference is
that after the Scenic/MX2 returns its
CRDY
signal,
~R~
~L
_____________________________
~r
LD[7:0)
----~~
.....
~x:::~J
Figure 11-7. Scenic/MX2 Compressed Transfer (Ready)
11-4
LOCAL
PERIPHERAL
BUS

Table of Contents