The DP83950B Repeater Interface Controller ‘‘RIC’’ may be
used to implement an IEEE 802.3 multiport repeater unit. It
fully satisfies the IEEE 802.3 repeater specification including
the functions defined by the repeater, segment partition and
jabber lockup protection state machines.
The RIC has an on-chip phase-locked-loop (PLL) for Manchester data decoding, a Manchester encoder and an Elasticity Buffer for preamble regeneration.
Each RIC can connect to 13 cable segments via its network
interface ports. One port is fully AUI compatible and is able
to connect to an external MAU using the maximum length of
AUI cable. The other 12 ports have integrated 10BASE-T
transceivers. These transceiver functions may be bypassed
so that the RIC may be used with external transceivers, for
example DP8392 coaxial transceivers. In addition, large repeater units, containing several hundred ports may be constructed by cascading RICs together over an Inter-RIC bus.
The RIC is configurable for specific applications. It provides
port status information for LED array displays and a simple
interface for system processors. The RIC posseses multifunction counter and status flag arrays to facilitate network
statistics gathering. A serial interface, known as the Management Interface is available for the collection of data in
Managed Hub applications.
Features
Y
Compliant with the IEEE 802.3 Repeater Specification
Y
13 network connections (ports) per chip
Y
Selectable on-chip twisted-pair transceivers
Y
Cascadable for large hub applications
Y
Compatible with AUI compliant transceivers
Y
On-chip Elasticity Buffer, Manchester encoder and decoder
Y
Separate partition state machines for each port
Y
Provides port status information for LED displays including: receive, collision, partition and link status
Y
Power-up configuration options:
Repeater and Partition Specifications, Transceiver Interface, Status Display, Processor Operations
Y
Simple processor interface for repeater management
and port disable
Y
On-chip Event Counters and Event Flag Arrays
Y
Serial Management Interface to combine packet and
repeater status information together
Y
CMOS process for low power dissipation
Y
Single 5V supply
Table of Contents
1.0 SYSTEM DIAGRAM
2.0 CONNECTION DIAGRAM
3.0 PIN DESCRIPTIONS
4.0 BLOCK DIAGRAM
5.0 FUNCTIONAL DESCRIPTION
6.0 HUB MANAGEMENT SUPPORT
7.0 PORT LOGIC FUNCTIONS
8.0 RIC REGISTER DESCRIPTIONS
9.0 AC AND DC SPECIFICATIONS
10.0 AC TIMING TEST CONDITIONS
11.0 PHYSICAL DIMENSIONS
1.0 System Diagram
Simple RIC Hub
TL/F/11096– 1
TRI-STATEÉis a registered trademark of National Semiconductor Corporation.
TM
RIC
and SONICTMare trademarks of National Semiconductor Corporation.
C
1995 National Semiconductor CorporationRRD-B30M16/Printed in U. S. A.
RA0–RA4TTIREGISTER ADDRESS INPUTS: These five pins are used to select a register to be read or
STR0CODISPLAY UPDATE STROBE 0
STR1CODISPLAY UPDATE STROBE 1
D0–D7TTB, Z DATA BUS
BUFENCOBUFFER ENABLE: This output controls the TRI-STATEÉoperation of the bus transceiver
RDYCODATA READY STROBE: The falling edge of this signal during a read cycle indicates that data
ELICOEVENT LOGGING INTERRUPT: A low level on the ELI output indicates the RIC’s hub
RTICOREAL TIME INTERRUPT: A low level on the RTI output indicates the RIC’s real time (packet
CDECTTICOUNTER DECREMENT: A low level on the CDEC input strobe decrements all of the RIC’s
WRTTIWRITE STROBE: Strobe from the CPU used to write an internal register defined by the
RDTTIREAD STROBE: Strobe from the CPU used to read an internal register defined by the RA0 –
MLOADTTIDEVICE RESET AND MODE LOAD: When this input is low all of the RIC’s state machines,
I/ODescription
written. The state of these inputs are ignored when the read, write and mode load input strobes
are high. (Even under these conditions these inputs must not be allowed to float at an
undefined logic state).
Maximum Display Mode: This signal controls the latching of display data for network ports 1
to 7 into the off chip display latches.
Minimum Display Mode: This signal controls the latching of display data for the RIC into the
off chip display latch.
During processor access cycles (read or write is asserted) this signal is inactive (high).
Maximum Display Mode: This signal controls the latching of display data for network ports 8
to 13 into the off chip display latches.
Minimum Display Mode: No operation
During processor access cycles (read or write is asserted) this signal is inactive (high).
Display Update Cycles: These pins become outputs providing display data and port address
information. Address information only available in Maximum Display mode.
Processor Access Cycles: Data input or output is performed via these pins. The read, write
and mode load inputs control the direction of the signals.
Note: The data pins remain in their display update function, i.e., asserted as outputs unless either the read or
write strobe is asserted.
which provides the interface between the RIC’s data pins and the processor’s data bus.
Note: The buffer enable output indicates the function of the data pins. When it is high they are performing
display update cycles, when it is low a processor access or mode load cycle is occurring.
is stable and valid for sampling. In write cycles the falling edge of RDY
data has been latched by the RIC. Therefore data must have been available and stable for this
operation to be successful.
management logic requires CPU attention. The interrupt is cleared by accessing the Port Event
Recording register or Event Counter that produced it. All interrupt sources may be masked.
specific) interrupt logic requires CPU attention. The interrupt is cleared by reading the Real
Time Interrupt Status register. All interrupt sources may be masked.
Port Event Counters by one. This input is internally synchronized and if necessary the
operation of the signal is delayed if there is a simultaneous internally generated counting
operation.
RA0–RA4 inputs.
RA4 inputs.
counters and network ports are reset and held inactive. On the rising edge of MLOAD
levels present on the D0–7 pins and RA0 –RA4 inputs are latched into the RIC’s configuration
registers. The rising edge of MLOAD
also signals the beginning of the display test operation.
denotes that the write
the logic
19
3.0 Pin Descriptions (Continued)
PinPinDriver
No.NameType
INTER-RIC BUS PINS
ACKITTIACKNOWLEDGE INPUT: Input to the network ports’ arbitration chain.
ACKOTTOACKNOWLEDGE OUTPUT: Output from the network ports’ arbitration chain.
IRDTTB, Z INTER-RIC DATA: When asserted as an output this signal provides a serial data stream in NRZ
IRETTB, Z INTER-RIC ENABLE: When asserted as an output this signal provides an activity framing enable
IRCTTB, Z INTER-RIC CLOCK: When asserted as an output this signal provides a clock signal for the serial
COLNTTB, Z COLLISION ON PORT N: This denotes that a collision is occurring on the port receiving the
PKENCOPACKET ENABLE: This output acts as an active high enable for an external bus transceiver (if
CLKINTTI40 MHz CLOCKINPUT: This input is used to generate the RIC’s timing reference for the state
ACTNDODOACTIVITY ON PORT NDRIVE: This output is active when the RIC is receiving data or collision
ACTNSTTIACTIVITY ON PORT NSENSE: This input senses when this or another RIC in a multi-RIC
ANYXNDODOACTIVITY ON ANY PORT EXCLUDING PORT NDRIVE: This output is active when a RIC is
ANYXNSTTIACTIVITY ON ANY PORT EXCLUDING PORT NSENSE: This input senses when this RIC or
I/ODescription
format. The signal is asserted by a RIC when it is receiving data from one of its network
segments. The default condition of this signal is to be an input. In this state it may be driven by
other devices on the Inter-RIC bus.
for the serial data stream. The signal is asserted by a RIC when it is receiving data from one of
its network segments. The default condition of this signal is to be an input. In this state it may be
driven by other devices on the Inter-RIC bus.
data stream. Data (IRD) is changed on the falling edge of the clock. The signal is asserted by a
RIC when it is receiving data from one of its network segments. The default condition of this
signal is to be an input. When an input IRD is sampled on the rising edge of the clock. In this
state it may be driven by other devices on the Inter-RIC bus.
data packet. The default condition of this signal is to be an input. In this state it may be driven by
other devices on the Inter-RIC bus.
required) for the IRE, IRC IRD and COLN signals. When high the bus transceiver should be
transmitting on to the bus, i.e., this RIC is driving the IRD, IRE, IRC and COLN bus lines. When
low the bus transceiver should receive from the bus.
machines, and phase lock loop decoder.
information from one of its network segments.
system is receiving data or collision information.
experiencing a transmit collision or multiple ports have active collisions on their network
segments.
other RICs in a multi-RIC system are experiencing transmit collisions or multiple ports have
active collisions on their network segments.
20
3.0 Pin Descriptions (Continued)
PinPinDriver
No.NameType
MANAGEMENT BUS PINS
MRXCTTO, Z MANAGEMENT RECEIVE CLOCK: When asserted this signal provides a clock signal for the
MCRSTTB, Z MANAGEMENT CARRIERSENSE: When asserted this signal provides an activity framing
MRXDTTO, Z MANAGEMENT RECEIVE DATA: When asserted this signal provides a serial data stream in NRZ
MENCOMANAGEMENT BUS OUTPUT ENABLE: This output acts as an active high enable for an
PCOMPTTIPACKET COMPRESS: This input is used to activate the RIC’s packet compress logic. A low level
POWER AND GROUND PINS
V
CC
GNDNegative Supply
EXTERNAL DECODER PINS
RXMTTORECEIVE DATA MANCHESTER FORMAT: This output makes the data, in Manchester format,
MRXD serial data stream. The MRXD signal is changed on the falling edge of this clock. The
signal is asserted when a RIC is receiving data from one of its network segements. Otherwise the
signal is inactive.
enable for the serial output data stream (MRXD). The signal is asserted when a RIC is receiving
data from one of its network segments. Otherwise the signal is an input.
format. The data stream is made up of the data packet and RIC status information. The signal is
asserted when a RIC is receiving data from one of its network segments. Otherwise the signal is
inactive.
external bus transceiver (if required) for the MRXC, MCRS and MRXD signals. When high the bus
transceiver should be transmitting on to the bus.
on this signal when MCRS is active will cause that packet to be compressed. If PCOMP
low all packets are compressed, if PCOMP
Positive Supply
received by port N available for test purposes. If not used for testing this pin should be left open.
is tied high packet compression is inhibited.
is tied
21
4.0 Block Diagram
TL/F/11096– 6
FIGURE 5.1
22
5.0 Functional Description
The I.E.E.E. repeater specification details a number of functions a repeater system must perform. These requirements
allied with a need for the implementation to be multiport
strongly favors the choice of a modular design style. In such
a design, functionality is split between those tasks common
to all data channels and those exclusive to each individual
channel. The RIC follows this approach, certain functional
blocks are replicated for each network attachment, (also
known as a repeater port), and others are shared. The following section briefly describes the functional blocks in the
RIC.
5.1 OVERVIEW OF RIC FUNCTIONS
Segment Specific Block: Network Port
As shown in the Block Diagram, the segment specific blocks
consist of:
1. One or more physical layer interfaces.
2. A logic block required for performing repeater operations
upon that particular segment. This is known as the ‘‘port’’
logic since it is the access ‘‘port’’ the segment has to the
rest of the network.
This function is repeated 13 times in the RIC (one for each
port) and is shown on the right side of the Block Diagram,
Figure 5.1
The physical layer interfaces provided depends upon the
port under examination. Port 1 has an AUI compliant interface for use with AUI compatible transceiver boxes and cable. Ports 2 to 13 may be configured for use with one of two
interfaces: twisted pair or an external transceiver. The former utilizes the RIC’s on-chip 10BASE-T transceivers, the
latter allows connection to external transceivers. When using the external transceiver mode the interface is AUI compatible. Although AUI compatible transceivers are supported the interface is not designed for use with an interface
cable, thus the transceivers are necessarily internal to the
repeater equipment.
Inside the port logic there are 3 distinct functions:
1. The port state machine ‘‘PSM’’ is required to perform
2. The port partition logic implements the segment partition-
3. The port status register reflects the current status of the
Shared Functional Blocks:
Repeater Core Logic
The shared functional blocks consist of the Repeater Main
State Machine (MSM) and Timers, a 32 bit Elasticity Buffer,
PLL Decoder, and Receive and Transmit Multiplexors.
These blocks perform the majority of the operations needed
to fulfill the requirements of the IEEE repeater specification.
When a packet is received by a port it is sent via the Receive Multiplexor to the PLL Decoder. Notification of the
.
data and collision repetition as described by the repeater
specification, for example, it determines whether this port
should be receiving from or transmitting to its network
segment.
ing algorithm. This algorithm is defined by the IEEE specification and is used to protect the network from malfunctioning segements.
port. It may be accessed by a system processor to obtain
this status or to perform certain port configuration operations, such as port disable.
data and collision status is sent to the main state machine
via the receive multiplexor and collision activity status signals. This enables the main state machine to determine the
source of the data to be repeated and the type of data to be
transmitted. The transmit data may be either the received
packet’s data field or a preamble/jam pattern consisting of
a 1010 . . . bit pattern.
Associated with the main state machine are a series of timers. These ensure various IEEE specification times (referred
to as the TW1 to TW6 times) are fulfilled.
A repeater unit is required to meet the same signal jitter
performance as any receiving node attached to a network
segment. Consequently, a phase locked loop Manchester
decoder is required so that the packet may be decoded, and
the jitter accumulated over the receiving segment recovered. The decode logic outputs data in NRZ format with an
associated clock and enable. In this form the packet is in a
convenient format for transfer to other devices, such as network controllers and other RICs, via the Inter-RIC bus (described later). The data may then be re-encoded into Manchester data and transmitted.
Reception and transmission via physical layer transceiver
units causes a loss of bits in the preamble field of a data
packet. The repeater specification requires this loss to be
compensated for. To accomplish this an elasticity buffer is
employed to temporarily store bits in the data field of the
packet.
The sequence of operation is as follows:
Soon after the network segment receiving the data packet
has been identified, the RIC begins to transmit the packet
preamble pattern (1010 . . . ) onto the other network segments. While the preamble is being transmitted the Elasticity Buffer monitors the decoded received clock and data signals (this is done via the Inter-RIC bus as described later).
When the start of frame delimiter ‘‘SFD’’ is detected the
received data stream is written into the elasticity buffer. Removal of data from the buffer for retransmission is not allowed until a valid length preamble pattern has been transmitted.
Inter-RIC Bus Interface
Using the RIC in a repeater system allows the design to be
constructed with many more network attachments than can
be supported by a single chip. The split of functions already
described allows data packets and collision status to be
transferred between multiple RICs, and at the same time the
multiple RICs still behave as a single logical repeater. Since
all RICs in a repeater system are identical and capable of
performing any of the repetition operations, the failure of
one RIC will not cause the failure of the entire system. This
is an important issue in large multiport repeaters.
RICs communicate via a specialized interface known as the
Inter-RIC bus. This allows the data packet to be transferred
from the receiving RIC to the other RICs in the system.
These RICs then transmit the data stream to their segments. Just as important as data transfer is the notification
of collisions occurring across the network. The Inter-RIC
bus has a set of status lines capable of conveying collision
information between RICs to ensure their main state machines operate in the appropriate manner.
23
5.0 Functional Description (Continued)
LED Interface and Hub Management Function
Repeater systems usually possess optical displays indicating network activity and the status of specific repeater operations. The RIC’s display update block provides the system
designer with a wide variety of indicators. The display updates are completely autonomous and merely require SSI
logic devices to drive the display devices, usually made up
of light emitting diodes, LEDs. The status display is very
flexible allowing the user to choose those indicators appropriate for the specification of the equipment.
The RIC has been designed with special awareness for system designers implementing large repeaters possessing
hub management capabilities. Hub management uses the
unique position of repeaters in a network to gather statistics
about the network segments they are attached to. The RIC
provides hub management statistical data in 3 steps. Important events are gathered by the management block from
logic blocks throughout the chip. These events may then be
stored in on-chip latches or counted in on-chip counters according to user supplied latching and counting masks.
The fundamental task of a hub management system implementation is to associate the current packet and any management status information with the network segment, i.e.,
repeater port where the packet was received. The ideal system would place this combined data packet and status field
in system memory for examination by hub management
software. The ultimate function of the RIC’s hub management support logic is to provide this function.
To accomplish this the RIC utilizes a dedicated hub management interface. This is similar to the Inter-RIC bus since
it allows the data packet to be recovered from the receiving
RIC. Unlike the Inter-RIC bus the intended recipient is not
another RIC but National Semiconductor’s DP83932
TM
‘‘SONIC
allows a management status field to be appended at the
end of the data packet. This can be done without affecting
the operation of the repeater system.
Processor Interface
The RIC’s processor interface allows connection to a system processor. Data transfer occurs via an octal bi-directional data bus. The RIC has a number of on-chip registers
indicating the status of the hub management functions, chip
configuration and port status. These may be accessed by
providing the chosen address at the Register Address
(RA4–RA0) input pins.
Display update cycles and processor accesses occur utilizing the same data bus. An on-chip arbiter in the processor/
display block schedules and controls the accesses and ensures the correct information is written into the display latches. During the display update cycles the RIC behaves as a
master of its data bus. This is the default state of the data
bus. Consequently, a TRI-STATE buffer must be placed between the RIC and the system processor’s data bus. This
’’ Network controller. The use of a dedicated bus
ensures bus contention is avoided during simultaneous display update cycles and processor accesses of other devices on the system bus. When the processor accesses a RIC
register, the RIC enables the data buffer and selects the
operation, either input or output, of the data pins.
5.2 DESCRIPTION OF REPEATER OPERATIONS
In order to implement a multi-chip repeater system which
behaves as though it were a single logical repeater, special
consideration must be paid to the data path used in packet
repetition. For example, where in the path are specific operations such as Manchester decoding and elasticity buffering
performed. Also the system’s state machines which utilize
available network activity signals, must be able to accommodate the various packet repetition and collision scenarios
detailed in the repeater specification.
The RIC contains two types of inter-acting state machines.
These are:
1. Port State Machines (PSMs). Every network attachment
has its own PSM.
2. Main State Machine (MSM). This state machine controls
the shared functional blocks as shown in the block diagram
Figure 5.1.
Repeater Port and Main State Machines
These two state machines are described in the following
sections. Reference is made to expressions used in the
IEEE Repeater specification. For the precise definition of
these terms please refer to the specification. To avoid confusion with the RIC’s implementation, where references are
made to repeater states or terms as described in the IEEE
specification, these items are written in
state diagram is shown in
diagram is shown in
FIGURE 5.2. Inter-RIC Bus State Diagram
Figure 5-3
Figure 5-2
.
italics.
, the Inter-RIC bus state
The IEEE
TL/F/11096– 7
24
Loading...
+ 56 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.