am79c940 Advanced Micro Devices, am79c940 Datasheet - Page 33

no-image

am79c940

Manufacturer Part Number
am79c940
Description
Media Access Controller For Ethernet Mace
Manufacturer
Advanced Micro Devices
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
am79c940AJC
Manufacturer:
AMD
Quantity:
1 831
Part Number:
am79c940BJC
Manufacturer:
AMD
Quantity:
8 831
Part Number:
am79c940BJCT
Manufacturer:
AMD
Quantity:
20 000
Part Number:
am79c940BJI
Manufacturer:
AMD
Quantity:
1 000
Part Number:
am79c940BKC
Quantity:
6 255
Part Number:
am79c940BKC
Manufacturer:
AMD
Quantity:
1 000
Part Number:
am79c940BKC
Manufacturer:
AMD
Quantity:
20 000
Part Number:
am79c940BNI
Manufacturer:
AMD
Quantity:
20 000
Part Number:
am79c940BVC
Manufacturer:
AMD
Quantity:
8 831
Part Number:
am79c940BVC
Manufacturer:
AMD
Quantity:
1 000
Part Number:
am79c940BVC
Manufacturer:
AMD
Quantity:
20 000
Part Number:
am79c940BVI
Manufacturer:
AMD
Quantity:
1 831
The first assertion of RDTREQ for a packet will occur af-
ter the longer of the following two conditions is met:
ets and packets experiencing collision within the slot
time will be rejected).
12 bytes. The additional 12 bytes are necessary to en-
sure that any permutation of byte/word read access is
Receive FIFO—Burst Operation:
The RCVFIFO also provides a burst mode capability,
programmed by the RCVBRST bit in the FIFO Configu-
ration Control register, to modify the operation of
RDTREQ.The assertion of RDTREQ will occur accord-
ing to the programming of the RCVFW bits. RDTREQ
will be de-asserted when the RCVFIFO can only provide
a single read cycle (one word read). This allows the ex-
ternal device to burst data from the RCVFIFO once
RDTREQ is asserted, and stop when RDTREQ is
deasserted.
Receive FIFO—Low Latency Receive Operation:
The LOW Latency Receive mode can be programmed
using the Low Latency Receive bit (LLRCV in the Re-
ceive Frame Control register). This effectively causes
the assertion of RDTREQ to be directly coupled to the
low watermark of 12 bytes in the RCVFIFO. Once the
12-byte threshold is reached (plus some internal syn-
chronization delay of less than 1 byte), RDTREQ will be
asserted, and will remain active until the RCVFIFO can
support only one read cycle (one word of data), as in the
burst operation described earlier.
The intended use for the Low Latency Receive mode is
to allow fast forwarding of a received packet in a bridge
application. In this case, the receiving process is made
aware of the receive packet after only 9.6 s, instead of
waiting up to 60.8 s (76-bytes) necessary for the initial
assertion of RDTREQ. An Ethernet-to-Ethernet bridge
employing the MACE device (on all the Ethernet con-
nections) with the XMTSP of all MACE controller
XMTFIFOs set to the minimum (4-bytes), forwarding of
a receive packet can be achieved within a sub 20 s de-
lay including processing overhead.
RCVFW
[1–0]
00
01
10
11
64-bytes have been received (to assure runt pack-
The RCVFW threshold is reached plus an additional
Bytes Required for
First Assertion of
RDTREQ
XX
64
64
76
Receive FIFO Watermarks, RDTREQ Assertion and Latency
After First Assertion
Bytes of Latency
of RDTREQ
XX
64
64
52
Am79C940
guaranteed. They are required for all threshold values,
but in the case of the 16 and 32-byte thresholds, the re-
quirement that the slot time criteria is met dominates.
Any subsequent assertion of RDTREQ necessary to
complete the transfer of the packet will occur after the
RCVFW threshold is reached plus an additional 12
bytes. The table below also outlines the latency pro-
vided by the MACE device when the RDTREQ is
asserted.
Note however that this mode places significant burden
on the host processor. The receiving MACE device will
no longer delete runt packets. A runt packet will have the
Receive Frame Status appended to the receive data
which the host must read as normal. The MACE device
will not attempt to delete runt packets from the
RCVFIFO in the Low Latency Receive mode. Collision
fragments will also be passed to the host if they are de-
tected after the 12-byte threshold has been reached. If a
collision occurs, the Receive Frame Status (RCVFS)
will be appended to the data successfully received in the
RCVFIFO up to the point the collision was detected. No
additional receive data will be written to the RCVFIFO.
Note that the RCVFS will not become available until af-
ter the receive activity ceases. The collision indication
(CLSN) in the Receive Status (RCVSTS) will be set, and
the Receive Message Byte Count (RCVCNT) will be the
correct count of the total duration of activity, including
the period that collision was detected. The detection of
normal (slot time) collisions versus late collisions can
only be made by counting the number of bytes that were
successfully received prior to the termination of the
packet data.
In all cases where the reception ends prematurely (runt
or collision), the data that was successfully received
prior to the termination of reception must be read from
the RCVFIFO before the RCVFS bytes are available.
Media Access Control (MAC)
The Media Access Control engine is the heart of the
MACE device, incorporating the essential protocol re-
quirements for operation of a compliant Ethernet/802.3
node, and providing the interface between the FIFO
Subsequent Assertion
Bytes Required for
of RDTREQ
XX
28
44
76
Bytes of Latency After
Subsequent Assertion
of RDTREQ
100
XX
84
52
AMD
33

Related parts for am79c940