DP83916VF National Semiconductor, DP83916VF Datasheet - Page 8

no-image

DP83916VF

Manufacturer Part Number
DP83916VF
Description
IC CTRLR ORIENT NETWK IN 132PQFP
Manufacturer
National Semiconductor
Series
SONIC™r
Datasheet

Specifications of DP83916VF

Controller Type
Network Interface Controller (NIC)
Interface
Bus
Mounting Type
Surface Mount
Package / Case
132-MQFP, 132-PQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Current - Supply
-
Voltage - Supply
-
Operating Temperature
-
Other names
*DP83916VF

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DP83916VF
Manufacturer:
National
Quantity:
226
Part Number:
DP83916VF
Manufacturer:
NS/国半
Quantity:
20 000
1 0 Functional Description
1 4 FIFO AND CONTROL LOGIC
The SONIC-16 incorporates two independent 32-byte
FIFOs for transferring data to from the system interface and
from to the network The FIFOs providing temporary stor-
age of data free the host system from the real-time de-
mands on the network
The way in which the FIFOS are emptied and filled is con-
trolled by the FIFO threshold values and the Block Mode
Select bits (BMS section 4 3 2) The threshold values deter-
mine how full or empty the FIFOs can be before the SONIC-
16 will request the bus to get more data from memory or
buffer more data to memory When block mode is set the
number of bytes transferred is set by the threshold value
For example if the threshold for the receive FIFO is 4
words then the SONIC-16 will always transfer 4 words from
the receive FIFO to memory If empty fill mode is set how-
ever the number of bytes transferred is the number required
to fill the transmit FIFO or empty the receive FIFO More
specific information about how the threshold affects recep-
tion and transmission of packets is discussed in sections
1 4 1 and 1 4 2 below
1 4 1 Receive FIFO
To accommodate the different transfer rates the receive
FIFO (Figure 1-5 ) serves as a buffer between the 8-bit net-
work (deserializer) interface and the 16-bit system interface
The FIFO is arranged as a 4-byte wide by 8 deep memory
array (8 long words or 32 bytes) controlled by three sec-
tions of logic During reception the Byte Ordering logic di-
rects the byte stream from the deserializer into the FIFO
using one of four write pointers Depending on the selected
byte-ordering mode data is written either least significant
byte first or most significant byte first to accommodate little
or big endian byte-ordering formats respectively
As data enters the FIFO the Threshold Logic monitors the
number of bytes written in from the deserializer The pro-
grammable threshold (RFT1 0 in the Data Configuration
Register) determines the number of words (or long words)
written into the FIFO from the MAC unit before a DMA re-
quest for system memory occurs When the threshold is
reached the Threshold Logic enables the Buffer Manage-
ment Engine to read a programmed number of 16-bit words
(depending upon the selected word width) from the FIFO
and transfers them to the system interface (the system
memory) using DMA The threshold is reached when the
number of bytes in the receive FIFO is greater than the
value of the threshold For example if the threshold is 4
words (8 bytes) then the Threshold Logic will not cause the
Buffer Management Engine to write to memory until there
are more than 8 bytes in the FIFO
The Buffer Management Engine reads either the upper or
lower half (16 bits) of the FIFO If after the transfer is com-
plete the number of bytes in the FIFO is less then the
threshold then the SONIC-16 is done This is always the
case when the SONIC-16 is in empty fill mode If however
for some reason (e g latency on the bus) the number of
bytes in the FIFO is still greater than the threshold value
the Threshold Logic will cause the Buffer Management En-
gine to do a DMA request to write to memory again This
later case is usually only possible when the SONIC-16 is in
block mode
When in block mode each time the SONIC-16 requests the
bus only a number of bytes equal to the threshold value will
(Continued)
8
be transferred The Threshold Logic continues to monitor
the number of bytes written in from the deserializer and en-
ables the Buffer Management Engine every time the thresh-
old has been reached This process continues until the end
of the packet
Once the end of the packet has been reached the serializer
will fill out the last word if the last byte did not end on a word
boundary The fill byte will be 0FFh Immediately after the
last byte (or fill byte) in the FIFO the received packets
status will be written into the FIFO The entire packet in-
cluding any fill bytes and the received packet status will be
buffered to memory When a packet is buffered to memory
by the Buffer Management Engine it is always taken from
the FIFO in words and buffered to memory on word bounda-
ries Data from a packet cannot be buffered on odd byte
boundaries (see Section 3 3) For more information on the
receive packet buffering process see Section 3 4
1 4 2 Transmit FIFO
Similar to the Receive FIFO the Transmit FIFO (Figure 1-6 )
serves as a buffer between the 16-bit system interface and
the network (serializer) interface The Transmit FIFO is also
arranged as a 4 byte by 8 deep memory array (8 long words
or 32 bytes) controlled by three sections of logic Before
transmission can begin the Buffer Management Engine
fetches a programmed number of 16-bit words from memo-
ry and transfers them to the FIFO The Buffer Management
Engine writes either the upper or lower half (16 bits) into the
FIFO
The Threshold logic monitors the number of bytes as they
are written into the FIFO When the threshold has been
reached the Transmit Byte Ordering state machine begins
reading bytes from the FIFO to produce a continuous byte
stream for the serializer The threshold is met when the
number of bytes in the FIFO is greater than the value of the
threshold For example if the transmit threshold is 4 words
(8 bytes) the Transmit Byte Ordering state machine will not
begin reading bytes from the FIFO until there are 9 or more
bytes in the buffer The Buffer Management Engine contin-
ues replenishing the FIFO until the end of the packet It
does this by making multiple DMA requests to the system
interface Whenever the number of bytes in the FIFO is
equal to or less than the threshold value the Buffer Man-
agement Engine will do a DMA request If block mode is set
then after each request has been granted by the system
the Buffer Management Engine will transfer a number of
bytes equal to the threshold value into the FIFO If empty fill
mode is set the FIFO will be completely filled in one DMA
request
Since data may be organized in big or little endian byte or-
dering format the Transmit Byte Ordering state machine
uses one of four read pointers to locate the proper byte
within the 4 byte wide FIFO It also determines the valid
number of bytes in the FIFO For packets which begin or
end at odd bytes in the FIFO the Buffer Management En-
gine writes extraneous bytes into the FIFO The Transmit
Byte Ordering state machine detects these bytes and only
transfers the valid bytes to the serializer The Buffer Man-
agement Engine can read data from memory on any byte
boundary (see Section 3 3) See Section 3 5 for more infor-
mation on transmit buffering

Related parts for DP83916VF