AMD
P R E L I M I N A R Y
144
Am79C965
INTEGER
portion
of
the
÷
operation.
Note: If either Linear Burst Write
is enabled, the value has to be
greater than or equal to 4.
Read/write accessible only when
the STOP bit is set.
CSR82: Bus Activity Timer
Bit
Name
Description
31-16
RES
Reserved locations. Written as
zeros and read as undefined.
15-0 DMABAT
Bus Activity Timer Register. If the
TIMER bit in CSR4 is set, this
register contains the maximum
allowable time that PCnet-32
controller will take up on the sys-
tem bus during FIFO data trans-
fers for a single DMA cycle. The
Bus Activity Timer Register does
not limit the number of transfers
during Descriptor transfers.
The DMABAT value is inter-
preted as an unsigned number
with a resolution of 0.1
s. For in-
stance, a value of 51
s would be
programmed with a value of 510.
If the TIMER bit in CSR4 is set,
DMABAT is enabled and must be
initialized
by
the
user.
The
DMABAT register is undefined
until written. When the ENTST bit
in CSR4 is set, all writes to this
register will automatically per-
form a decrement cycle.
If the user has NOT enabled the
Linear Burst function and wishes
the PCnet-32 controller to limit
bus activity to MAX_TIME
s,
then the Burst Timer should be
programmed to a value of:
MAX_TIME- [(11 + 4w) x (BCLK
period)],
where w = wait states.
If the user has enabled the Linear
Burst function and wishes the
PCnet-32 controller to limit bus
activity to MAX_TIME
s, then
the Burst Timer should be pro-
grammed to a value of:
MAX_TIME- [((3+lbs) x w + 10 +
lbs) x (BCLK period)],
where w = wait states and lbs =
linear burst size in number of
transfers per sequence.
This is because the PCnet-32
controller may use as much as
one “l(fā)inear burst size” plus three
transfers in order to complete the
linear burst before releasing the
bus.
As an example, if the linear burst
size is four transfers, and the
number of wait states for the sys-
tem memory is two, and the
BCLK period is 30 ns and the
MAX time allowed on the bus is
3
s, then the Burst Timer should
be programmed for:
MAX_TIME- [((3+lbs) x w + 10 +
lbs) x (BCLK period)],
3 ms - [(3 + 4) x 2 +10 + 4) x (30
ns)] = 3 ms - (28 x 30 ns) = 3 - 0.84
m
s = 2.16 ms.
Then, if the PCnet-32 controller’s
Bus ActivityTimer times out after
2.16
s when the PCnet- 32 con-
troller has completed all but the
last three transfers of a linear
burst, the PCnet-32 controller
may take as much as 0.84
s to
complete the bursts and release
the bus. The bus release will oc-
cur at 2.16 + 0.84 = 3
s.
A value of zero will in the
DMABAT
register
with
the
TIMER bit in CSR4 set to ONE
will produce single linear burst
sequences per bus master pe-
riod when programmed for linear
burst mode, and will yield sets of
three transfers when not pro-
grammed for linear burst mode.
The Bus Activity Timer is set to a
value of 00h after H_RESET or
S_RESET and is unaffected by
STOP.
Read/write accessible only when
STOP bit is set.
CSR84: DMA Address Lower
Bit
Name
Description
31-16
RES
Reserved locations. Written as
zeros and read as undefined.
15-0
DMABA
DMA Address Register.
This register contains the lower
16 bits of the address of system
memory for the current DMA cy-
cle. The Bus Interface Unit con-
trols the Address Register by
issuing increment commands to
increment the memory address
for sequential operations. The
DMABA register is undefined