WO1999033231A1 - Asynchronous transfer mode switch - Google Patents

Asynchronous transfer mode switch Download PDF

Info

Publication number
WO1999033231A1
WO1999033231A1 PCT/SE1998/002326 SE9802326W WO9933231A1 WO 1999033231 A1 WO1999033231 A1 WO 1999033231A1 SE 9802326 W SE9802326 W SE 9802326W WO 9933231 A1 WO9933231 A1 WO 9933231A1
Authority
WO
WIPO (PCT)
Prior art keywords
cell
pollstate
switch
cells
cross point
Prior art date
Application number
PCT/SE1998/002326
Other languages
French (fr)
Inventor
Lars-Göran Petersen
Hans Magnus Broberg
Original Assignee
Telefonaktiebolaget Lm Ericsson (Publ)
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Telefonaktiebolaget Lm Ericsson (Publ) filed Critical Telefonaktiebolaget Lm Ericsson (Publ)
Priority to EP98964606A priority Critical patent/EP1040625B1/en
Priority to AU19898/99A priority patent/AU757055B2/en
Priority to KR1020007006828A priority patent/KR20010033361A/en
Priority to CA002315202A priority patent/CA2315202A1/en
Priority to JP2000526017A priority patent/JP2001527328A/en
Publication of WO1999033231A1 publication Critical patent/WO1999033231A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/50Circuit switching systems, i.e. systems in which the path is physically permanent during the communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/104Asynchronous transfer mode [ATM] switching fabrics
    • H04L49/105ATM switching elements
    • H04L49/106ATM switching elements using space switching, e.g. crossbar or matrix
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/15Interconnection of switching modules
    • H04L49/1553Interconnection of ATM switching modules, e.g. ATM switching fabrics
    • H04L49/1576Crossbar or matrix
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/253Routing or path finding in a switch fabric using establishment or release of connections between ports
    • H04L49/255Control mechanisms for ATM switching fabrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/60Software-defined switches
    • H04L49/608ATM switches adapted to switch variable length packets, e.g. IP packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5638Services, e.g. multimedia, GOS, QOS
    • H04L2012/5646Cell characteristics, e.g. loss, delay, jitter, sequence integrity
    • H04L2012/5652Cell construction, e.g. including header, packetisation, depacketisation, assembly, reassembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5672Multiplexing, e.g. coding, scrambling
    • H04L2012/5674Synchronisation, timing recovery or alignment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5678Traffic aspects, e.g. arbitration, load balancing, smoothing, buffer management
    • H04L2012/5679Arbitration or scheduling

Definitions

  • This invention pertains to switches, such as telecommunications switches, through which ATM cells are routed.
  • B-ISDN Broadband Integrated Service Digital Network
  • ATM Asynchronous Transfer Mode
  • ATM is a packet-oriented transfer mode which uses asynchronous time division multiplexing techniques. Packets are called cells and traditionally have a fixed size.
  • a traditional ATM cell comprises 53 octets, five of which form a header and forty eight of which constitute a "payload" or information portion of the cell.
  • the header of the ATM cell includes two quantities which are used to identify a connection in an ATM network over which the cell is to travel, particularly the VPI (Virtual Path Identifier) and VCI (Virtual Channel Identifier).
  • VPI Virtual Path Identifier
  • VCI Virtual Channel Identifier
  • the virtual is a principal path defined between two switching nodes of the network; the virtual channel is one specific connection on the respective principal path.
  • an ATM network is connected to terminal equipment, e.g., ATM network users.
  • terminal equipment e.g., ATM network users.
  • the switching nodes having ports which are connected together by physical transmission paths or links.
  • ATM cells forming a message may travel through several switching nodes.
  • a switching node has a plurality of ports, each of which can be connected by via a link circuit and a link to another node.
  • the link circuit performs packaging of the cells according to the particular protocol in use on the link.
  • a cell incoming to a switching node may enter the switching node at a first port and exit from a second port via a link circuit onto a link connected to another node.
  • Each link can carry cells for plural connections, a connection being e.g., a transmission between a calling subscriber or party and a called subscriber or party.
  • the switching nodes each typically have several functional parts, a primary of which is a switch core.
  • the switch core essentially functions like a cross- connect between ports of the switch. Paths internal to the switch core are selectively controlled so that particular ports of the switch are connected together to allow a message ultimately to travel from an ingress side of the switch to an egress side of the switch, and ultimately from the originating terminal equipment to the destination terminal equipment.
  • United States Patent 5,467,347 to Petersen discloses an ATM switch in which various types of ATM cells, all of essentially uniform length, are transmitted between a switch core and ports of the switch.
  • the types of cells include traffic cells, operation and maintenance cells, and idle cells. Although all types of cells have essentially the same length, not all cells are necessarily full, thus causing some loss in transmission efficiency.
  • the traffic cells are fed from originating switch ports to buffers at cross points of the switch matrix, and then are unloaded from the buffers to destination or target switch ports.
  • the traffic cells sent from the originating switch ports to the switch have a relay address field in which each bit corresponds to a target switch port.
  • Traffic cells unloaded from the switch core and sent to the target switch ports each have a relay poll field which indicate which target switch ports are occupied and which are free.
  • each traffic cell is encumbered with information reflecting status of switch ports.
  • An asynchronous transfer mode (ATM) switch has plural switch ports connected by respective bidirectional links to a switch core.
  • the switch core includes a memory array unit which comprises two buffer matrices of cross point units. Connected to each switch port is a corresponding row column unit, each row column unit managing the writing of service cells to one row of cross point units and the reading of service cells from one column of cross point units.
  • the bidirectional links between each switch port and its corresponding row column unit of the switch core carry both service cells and control cells.
  • the service cells also known as traffic cells or information cells, obtained at an incoming or originating switch port, are routed through the switch core to an outgoing or destination switch port.
  • the control cells do not contain switched information, but instead are dedicated for carrying information used for management and operation of the switching system.
  • the ATM switching system of the present invention allows cells of differing sizes to be carried on the bidirectional links between its switch core and its switch ports.
  • the service cells have a differing cell size than the control cells, and the cell size of the service cells need not necessarily be uniform.
  • Service cells can be of differing cell size such that two successive service cells need not have the same length or same size of payload.
  • the service cells transmitted on the bidirectional length include a cell size field, the cell size field indicating the cell size of the each service cell in which it is included.
  • service cells can be of any of the following cell sizes (in bytes): 8, 16, 24, 32, 40, 48, and 56.
  • control cells utilized in the exemplary embodiment each are four bytes in length. Differing types of control cells (e.g., LCC-cells and LSC-cells) are provided, with each control cell type having a differing format.
  • the LCC control cells are known as link connection control cells; the LSC control cells are known as link synchronization control cells.
  • Both the switch port and its corresponding row column unit in the switch core have synchronization state machines which exchange LSC control cells.
  • the LSC control cells include information for synchronizing operation of the two state machines.
  • the LSC control cells have a format which includes a field indicative of one of a plurality of synchronization states of the machine which generated the LSC control cell.
  • Each row column unit includes a set of control registers as part of its cross point status unit.
  • the set of control registers is distinct from the buffers of the cross point unit through which service cells are switched.
  • Each switch port can control, at least in part, its associated row column unit of the switch core by writing and reading non- service information, e.g., control information, to and from the set of control registers.
  • control registers are known as "bitmapped" registers since each bit of such control register is associated to one of the plural switch ports connected to the switch core.
  • bitmapped control registers are the pollstate status registers and the pollstate release registers.
  • a given row column unit has the bits of its pollstate status register set to indicate whether cross point buffers in its same row of the core matrix axe "occupied” or "free".
  • the pollstate release register of the row column unit has bits set to indicate whether the buffers in the row managed thereby have transitioned from "occupied” to "free” or whether the buffers have not transitioned.
  • control registers are employed, e.g., to establish various operating parameters of the switching system.
  • Such parameters can include, for example, certain sequences of operation (e.g., poll enable, scan enable), certain timing information (e.g., pollrate, scanrate), and certain override information (e.g., scanblock).
  • the link connection control cells include cells of two formats ⁇ a bitmapped format (for the bitmapped registers) and a "coded" format (used for input/output operations for some bitmapped as well as non-bitmapped registers).
  • "Coded" LCC cells include both an address of the particular control register to which/from which data is to be written, as well as the non-service data that is to be stored/obtained from that particular control register.
  • the service cells and the control cells have a commonly formatted field, known as the physical route identifier (PRI).
  • PRI physical route identifier
  • a cell is recognized as being a service cell when any of a first set of pre-established values are stored in the PRI field.
  • a cell is recognized as being a service cell when the value of the PRI field corresponds to a value indicative of one of the plural switch ports.
  • At least some of the control cells are recognizable, on the other hand, because the value in its PRI field corresponds to an identity or numbering of the control register which is affected by the control cell (e.g., the control register which is written to or read from using the control cell).
  • Each switch port of the switch must be apprised at various junctures of the status of the various cross point units of the switch core, i.e., whether those various cross point units are "occupied” or "free".
  • the cross point units involved for each switch port are those to which it sends service cells (e.g., those in a same row as the port) and the cross point units from which it retrieves cells (e.g., those in a column managed by the port).
  • bitmapped pollstate registers which are utilized for preparing corresponding pollstate control cells are employed.
  • the pollstate status register has its bitmap updated to reflect occupied/free transitions of cross point units to which service cells are sent by the switch port.
  • the row column unit When a first row column unit sends a cell to a particular cross point unit (XPU), the row column unit not only sets an appropriate bit in its pollstate status register, but also causes a bit to be set in a scanstate register of another row column unit which handles readout of cells from that particular cross point unit (XPU). As soon as the row column unit which handles readout detects is permitted to readout the cell, it resets its scanstate register as well as the pollstate status register of the first row column unit. The resetting of the pollstate status register of the first row column unit causes the setting of a bit of a pollstate release register of the first row column unit to indicate a transition from an "occupied" to a "free" status.
  • the change in status in the pollstate release register of the first row column unit causes issuance of a pollstate release cell from the first row column unit toward the switch port.
  • pollstate information is sent regularly to the switch port or is automatically included in service cells
  • the present invention employs a particular scenario for generation of pollstate cells essentially dedicated to transmission of the pollstate information.
  • the pollstate information is transmitted in pollstate control cells, the pollstate control cells being generated and transmitted either (1) in response to a particular control cell evocative of the pollstate information, or (2) upon a change of absence/presence (e.g., free/occupied status) of a cross point unit.
  • an originating switch port desires to know the status of the cross point units to which it can send cells into the switch core
  • the originating switch port transmits a pollstate status retrieve control cell to the switch core.
  • the switch core prepares and sends the pollstate status control cell to the requesting (originating) switch port.
  • a pollstate release control cell is prepared and transmitted to the switchport, advising of vacancy of the unloaded cross point unit.
  • a switch port can determine which cross point units in the switch core are available for receiving further service cells.
  • control cells are employed in order to establish various operating parameters of the switch. These operating parameters are established with respect to each switch port as the switch port transmits the control cells to the associated row column unit.
  • Such control cells typically have contained therein a parameter or data which is stored in the corresponding control register and consulted by the switch core in connection with sequencing or other operation of the switch core.
  • a poll enable control cell LCC is employed for storing in a poll enable register a value indicative of which of a plurality of selectable polling modes the associated row column unit is to operate.
  • Various of these polling modes require a predetermined minimum frequency of transmission of service cells relative to the number of pollstate cells transmitted on a link.
  • the ATM switch of the present invention implements an interactive exchange of control cells in order to sequence operation of the switch core.
  • the operations particularly dependent upon control cell generation include transmission of service cells from the switch core; transmission of pollstate cells from the switch core; retrieval of contents of certain control registers maintained by the switch core; and synchronization procedures.
  • Fig. 1 is a schematic view of an ATM switching system according to an embodiment of the invention.
  • Fig. 2 is a diagrammatic view of portions of a cross point unit (XPU) included in a switch core of the ATM switching system of Fig. 1.
  • XPU cross point unit
  • Fig. 3 is a diagrammatic view illustrating cell flow between a switch core and a switch port board (SPB) of the ATM switching system of Fig. 1.
  • SPB switch port board
  • Fig. 4A is a diagrammatic view illustrating a format for a service cell utilized in the ATM switching system of Fig. 1.
  • Fig. 4B is a diagrammatic view illustrating a general format for a control cell utilized in the ATM switching system of Fig. 1.
  • Fig. 4B(1) is a diagrammatic view illustrating the format of a bitmapped- formatted link connection control (LCC) cell.
  • LCC link connection control
  • Fig. 4B(2) is a diagrammatic view illustrating the format of a coded link connection control (LCC) cell.
  • LCC coded link connection control
  • Fig. 4B(3) is a diagrammatic view illustrating the format of a Link State Control (LSC) cell.
  • Fig. 5 is a schematic view of a row column unit (RCU) included in the ATM switching system of Fig. 1.
  • Fig. 5 A is a schematic view of a line interface unit (LIU) included in the ATM switching system of Fig. 1.
  • LIU line interface unit
  • Fig. 5B is a schematic view of a cell synchronizer unit (CSU) included in the ATM switching system of Fig. 1.
  • CSU cell synchronizer unit
  • Fig. 5C is a schematic view of a cell analyzer unit (CAU) included in the
  • Fig. 5D is a schematic view of a cell write unit (CWU) included in the ATM switching system of Fig. 1.
  • CWU cell write unit
  • Fig. 5E is a schematic view of a operation & maintenance unit (OMU) included in the ATM switching system of Fig. 1.
  • OMU operation & maintenance unit
  • Fig. 5F is a schematic view of a cell read unit (CRU) included in the ATM switching system of Fig. 1.
  • CRU cell read unit
  • Fig. 5G is a schematic view of a cell generator unit (CGU) included in the ATM switching system of Fig. 1.
  • CGU cell generator unit
  • Fig. 5H(1) and Fig. 5H(2) are schematic views of differing implementations a cross point status unit of the ATM switching system of Fig. 1.
  • Fig. 51 is a schematic view of a system clock unit (SCU) included in the ATM switching system of Fig. 1.
  • SCU system clock unit
  • Fig. 6 is a schematic view showing connection of portions of a CSB bus to elements of row column units (RCUs) of Fig. 1.
  • Fig. 6A - Fig. 6E are schematic views showing a sequence of events in routing ⁇ f a service cell through a core of the ATM switching system of Fig. 1.
  • Fig. 7 is a flowchart showing basic steps involved in an initialization procedure for the ATM switching system of Fig. 1.
  • Fig. 8 is a diagrammatic view of a state machine included in a cell synchronizer unit (CSU) for the ATM switching system of Fig. 1.
  • CSU cell synchronizer unit
  • Fig. 9 is a timing diagram depicting operation of the state machine of Fig. 8.
  • Fig. 10 is a diagrammatic view showing cell transmission in the ATM switching system of Fig. 1.
  • Fig. 11 is a diagrammatic view showing an association between bits in a pollrate register and cross point units.
  • Fig. 12 is a diagrammatic view showing a scenario of pollrate register setting.
  • Fig. 13 is a diagrammatic view showing an association between bits in a scanrate register and cross point units.
  • Fig. 14 is a diagrammatic view showing a scenario of scanrate register setting.
  • Fig. 15 is a diagrammatic view showing polling options for the timing of sending of an indication of a queue changing from "occupied" to "free” status".
  • Fig. 16 is a diagrammatic view showing scan options for the timing of sending of an indication of a queue changing from "empty" to "cell available” status".
  • Fig. 17 is a flowchart showing basic steps in a scanning process.
  • Fig. 18 is a diagrammatic view showing error checking operations for a service cell.
  • Fig. 19 is a schematic view showing system clock distribution in the ATM switching system of Fig. 1.
  • Fig. 1 shows an ATM switching system 20 which includes switch core or fabric
  • switch port boards In the example of the illustrated embodiment, sixteen switch port boards (SPBs) 24 0 - 24 15 are connectable to switch core 22. Elements on each switch port board 24 which comprise switching system 20 are, in the illustrated embodiment, known as the "switchport" and are implemented in a switch port integrated circuit (SPIC) 26, SPICs 26 0 - 26 15 being shown in Fig. 1.
  • SPIC switch port integrated circuit
  • switch port boards (SPBs) 24 can each have a plurality of devices other than a SPIC mounted thereon, for which reason switch port boards (SPBs) 24 are also referred to as "device boards".
  • SPBs switch port boards
  • One or more of these devices may be connected to telecommunications transmission lines for the receiving of one or more types of communications signals such as telephony, data, video, etc.
  • devices on a switch port board (SPB) may generate control signals or the like which are useful for configuring or controling other devices, e.g., other devices on another switch port board (SPB).
  • switching system 20 is to route ATM cells, containing such communication signals or control signals, through switch core 22.
  • switch core 22 if not already in ATM cells, the incoming signals received at or the signals generated by the device(s) situated on one of the switch port boards (SPBs) 24 are mapped into ATM cells.
  • the cells are applied to switch core 22, and are routed through switch core 22 so that the cells emerge from switch core 22 for application to another switch port board (SPB) 24.
  • voice signals from a calling party in a telephone conversation to a called party may be received at switch port board (SPB) 24 0 (which, for sake of the example, is ultimately connected to the calling party) , routed through switch core 22, and applied to switch port board (SPB) 24 15 for transmission to the called party (who, in the present example, is connected ultimately to switch port board (SPB) 24 15 ).
  • SPB switch port board
  • ATM cells are transported between each switch port board (SPB) 24 and switch core 22.
  • cell transfer occurs over two links connecting each switch port board (SPB) 24 and switch core 22.
  • Cells sent from a switch port board (SPB) 24 toward switch core 22 are transmitted on a port-to-core link 27, while cells emanating from core 22 toward a switch port board (SPB) 24 are applied on a core-to-port link 28.
  • the sixteen port-to-core links 27 and sixteen core-to-port links 28 are subscripted in accordance with the particular switch port board served thereby.
  • a port-to-core link 27 and its corresponding core-to-port link 28 collectively constitute a "bidirectional link".
  • Switch core or fabric 22 includes a memory array unit (MAU) 30 and a plurality of row column units (RCUs) 40.
  • Memory array unit (MAU) 30 comprises cross point units (XPUs) 32 conceptualized as arranged in an array of rows and columns.
  • Each of the plurality of cross point units (XPUs) 32 is designated with a subscript indicative of location/addressing, with XPU 32 0 ,o being in row 0, column 0; XPU 32o, ⁇ being in row 0 column 1; XPU 32 0 , ⁇ being in row 0 column 1; and so forth up to XPU 32 15)15 which is in row 15, column 15.
  • a row column unit (RCU) 40 is provided in correspondence for each switch port board (SPB) 24, i.e. for each row of memory array unit (MAU) 30. Since sixteen such switch port boards are illustrated in the example of Fig. 1, sixteen row column units (RCUs) 40 0 - 40 15 are also shown.
  • Each row column unit (RCU) 40 is connected by a write bus to input terminals of all cross point units (XPUs) 32 in the same row, and by a read bus 44 to output terminals of all cross point units (XPUs) 32 in a given column.
  • RCU 40 0 is connected by write bus 42 0 to input terminals of cross point units (XPUs) 32 0,0 through 32 0 ,i 5 and by read bus 44 0 to output terminals of cross point units (XPUs) 32 0 ,o through 32 15 0 .
  • RCU 40 15 is connected by write bus 42 0 to input terminals of cross point units (XPUs) 32 15 , 0 through 32 15>15 , and by read bus 44 15 to output terminals of cross point units (XPUs) 32 0 , 15 through 32 15jl5 .
  • row column units (RCUs) 40 are also connected by a system clock bus (SCB) 46 and a cross point status bus (CSB) 48.
  • SCB system clock bus
  • CSB cross point status bus
  • each cross point unit (XPU) 32 actually comprises two buffers at a cross point.
  • One of these buffers is referenced as buffer O or buffer CBQ 0 ; the other of these buffers is known as buffer l or buffer CBQ> .
  • Each of these two buffers at each cross point unit (XPU) 32 is fifty six bytes long.
  • the buffers CBQ 0 and CBQ. are connected in parallel with one another.
  • Each buffer CBQ 0 and CBQ has an input gate employed for admission of a cell received on the corresponding write bus 42 and an output gate employed for discharging a cell onto a corresponding read bus 44.
  • the buffers CBQ 0 of all cross point units (XPUs) 32 in memory array unit (MAU) 30 are collectively referred to as "matrix 0", while the buffers CBQi of all cross point units (XPUs) 32 in memory array unit (MAU) 30 are collectively referred to as "matrix 1".
  • Cross point status unit (XSU) 50 comprises a plurality of control registers, including three particular registers which contain status information and core operation information. These control registers are distinct from buffers of switch core 22, e.g., buffers CBQ 0 and CBQ l5 through which user data is switched in payloads of service cells (as hereinafter described).
  • the three control registers involved in loading and unloading of the switch core 22 include both pollstate registers and scanstate registers.
  • the pollstate registers include both pollstate status registers and pollstate release registers.
  • the pollstate status registers are updated to have stored therein indications of whether buffers in the cross point units (XPUs) 32 on the row managed by the row column unit (RCU) 40 are "free” or "occupied”.
  • the pollstate release registers are updated to indicate whether the buffers in the cross point units (XPUs) 32 on the column managed by the row column unit (RCU) 40 and read by read bus 44 have transitioned from "occupied" to "free” or remain unchanged.
  • the pollstate status registers and pollstate release registers are collectively referred to as "pollstate registers”.
  • Pollstate registers are updated using cross point status bus (CSB) 48 in the manner hereinafter described.
  • Fig. 6 shows portions of cross point status bus (CSB) 48 and some of the connections thereof to two representative row column units (RCUs) 40, particularly to RCU 40 0 and RCU 40 15 .
  • Fig. 6 shows the cross point status unit (XSU) 50 of each row column unit (RCU) 40 as comprising the three control registers here of interest.
  • the three such control registers include the pollstate status registers 50-2; the scanstate registers 50-4; and the pollstate release registers 50-8.
  • Fig. 6 shows portions of cross point status bus (CSB) 48 and some of the connections thereof to two representative row column units (RCUs) 40, particularly to RCU 40 0 and RCU 40 15 .
  • XSU cross point status unit
  • the three such control registers include the pollstate status registers 50-2; the scanstate registers 50-4; and the pollstate release registers 50-8.
  • each of these control registers has sixteen bits corresponding to the sixteen cross point unit (XPU) 32 controlled by the row column unit (RCU) 40 in which these control registers reside, i.e., the sixteen cross point unit (XPU) 32 aligned in a row with the row column unit (RCU) 40.
  • cross point status bus (CSB) 48 has leads for outputting the status of the bits of the pollstate status registers 50-2.
  • reference numeral 48- 1 0 depicts leads of cross point status bus (CSB) 48 which output the status of bits of pollstate status registers 50-2 0 .
  • the status of the last bit in pollstate status register 50-2 0 is communicated to the first bit of scanstate register 50-4 15 , since row column unit (RCU) 40 15 controls readout of the cross point unit (XPU) 32 in the last column of memory array unit (MAU) 30.
  • reference numeral 48-2 15 shows leads in cross point status bus (CSB) 48 from the pollstate status registers 50-2 of the differing sixteen row column units (RCUs) 40 for setting the respective sixteen bits of scanstate registers 50-4 15 .
  • the leads indicated by reference numeral 48-3 15 are employed to communicate the setting of bits in pollstate status register 50-2 15 to the various other scanstate registers 50-4.
  • the leads indicated by reference numeral 48-4 0 are used to communicate setting of corresponding bits in the pollstate status registers 50-2 of other row column units (RCUs) 40 to the scanstate registers 50-4 0 of row column unit (RCU) 40 0 .
  • the cross point status bus (CSB) 48 also has leads for resetting bits in the pollstate status registers 50-2 when cells are read out of cross point unit (XPU) 32. For example, when a cell is read out of cross point unit (XPU) 32 0;1 5, one of the leads in the group indicated by reference numeral 48-5 15 connects to the first bit of scanstate register 50-4 15 to carry a reset signal to the last bit of pollstate status register 50-2 0 . Reset signals incoming to pollstate status register 50-2 0 are carried on the leads depicted by reference numeral 48-6 0 .
  • reading out of cells from the cross point units (XPUs) 32 of the first row cause reset signals to be sent from scanstate registers 50-4 0 on the leads depicted by reference numeral 48-7 0 .
  • Reference numeral 48-8j 5 shows leads for resetting the bits in pollstate status register 50-2 15 of row column unit (RCU) 40. 5 .
  • cross point status bus (CSB) 48 includes sixteen matrix indication leads as well as the bit setting and bit resetting leads illustrated in Fig. 6 and discussed above.
  • ATM cells are transmitted between the various switch port boards (SPBs) 24 and switch core 22.
  • ATM switching system 20 of the present invention utilizes differing length cells.
  • Fig. 3 shows cell transfer between a representative one of the switch port boards and switch core 22, particularly switch port board (SPB) 24 0 connected by port-to-core link 27 0 and core-to-port link 28 0 to switch core 22.
  • SPB switch port board
  • Each of port-to-core link 27 0 and core-to-port link 28 0 carries a plurality of cells types, including service cells and control cells.
  • Service cells also known as traffic cells or user information, contain or include (in a payload portion thereof) user data such as the telephony, data, video, etc., which is to be routed through switch core 22 for application to another switch port board (SPB) 24.
  • SPB switch port board
  • the control cells depicted in Fig. 3 as LCC-cell and LSC-cell, are utilized for control and management of ATM switching system 20.
  • service cells can be of differing length such that two successive service cells need not have the same length or size of payload.
  • the control cells have differing size from the service cells.
  • control cells e.g., LCC-cells and LSC-cells
  • each control cell type having a differing format.
  • Fig. 3 shows connection of only one switch port board (SPB) 24 0 to switch core 22, it should be understood that links between switch core 22 and other switch port boards (SPBs) 24 likewise carry both service cells and control cells.
  • SPB switch port board
  • the service cells carries user data for the units connected to switch core 22. All service cells are routed through switch core 22 from one switch port board (SPB) 24 to one or more other switch port boards (SPBs) 24.
  • SPB switch port board
  • SPBs switch port boards
  • the size of the service cells can vary.
  • example valid sizes are 8, 16, 24, 32, 40, 48 and 56 bytes including a two byte header (the first two bytes of the cell).
  • the maximum cell size is fifty six bytes.
  • the service cell has a two byte header (first two bytes of the service cell) and a payload.
  • the two byte header is used by switch core 22 to route user data to a desired or proper destination (switch port board), and the rest of the cell (i.e., the payload) is user data that is transparent through and to switch core 22.
  • switch port board a desired or proper destination
  • the rest of the cell i.e., the payload
  • the PRI field of a received service cell contains a value indicative of the particular buffer or cross point unit (XPU) where the cell data should be stored (on the same row as the receiving cross point unit (XPU) 32). For example, if a cell received from switch port board (SPB) 24 0 has a value of "5" in its PRI field, then the cell is to be stored in
  • a PRI value in the range of from 0-19 indicates a service cell.
  • the PRI field value is replaced with a value corresponding to the switch port board at which the cell originated. For example, if a cell were to be transmitted from switch port board (SPB) 24 0 through switch core 22 to switch port board (SPB) 24 15 , before leaving switch port board (SPB) 24 0 en route to switch core 22 the cell would have its PRI value changed from "15" to "0".
  • each cross point unit (XPU) 32 has two queues or buffers: CBQo and CBQj.
  • the purpose of the CBQ field is to direct the service cell into one of these two queues or buffers at a particular crosspoint.
  • the CBQ field indicates in which of these buffers the cell should be stored.
  • a CBQ value of zero indicates that the cell should be put in buffer CBQ 0 ;
  • a CBQ value of one indicates that the cell should be loaded into buffer CBQi .
  • CBQ values of two and three are not valid and cells having such invalid values are discarded.
  • the FBP is a first byte parity bit which covers the first byte of the header of the service cell.
  • the SBP is a second byte parity bit which covers the second byte of the header of the service cell. For both the first byte and the second byte of the service cell header the parity is odd including the parity bit.
  • the TTI (Traffic Type Indication code) field is 3 bits. For received service cells these three bits specify the traffic type for the service cell and if the cell is concatenated. Traffic type, or "cast” type, indicates whether the cell is a "unicast” (one destination), "multicast” (several destinations) or "broadcast” addressed cell (a broadcast cell is sent to all 16 ports). A “concatentated” cell indicates that current cell is followed by a new cell directed to the same switch port board (e.g., the same te ⁇ ninating entity). Table 1 shows the significance of potential values zero through seven for the TTI field. The TTI bits are translated in switch core 22. Such translation is dependent on received TTI value and buffer status in switch core 22 (for associated CBQ and row). Table 2 shows received TTI values and translated/transmitted TTI values.
  • the TTI field in the transmitted cell contains an indication whether all the buffers on this row and actual CBQ-value of the associated receiving side are free.
  • the buffers are not free if at least one buffer is occupied.
  • SCS Service Cell Size code
  • Potential sizes for service cells in the illustrated embodiment are shown in Table 3. Potential service cell sequence 8, 16, 24, 32, 40, 48, and 56 bytes (inclusive of header).
  • the field NU (Not Used) is not used and is transparent through switch core 22.
  • the payload is the "user data" that is transferred transparently through switch core 22. As evident from the SCS field (see Fig. 4A) and Table 3, the size of the payload can vary from six to fifty four bytes.
  • Control cells are terminated and originated in the row column units (RCUs) 40. All control cells are four (4) bytes long. As shown in Fig. 4B, all control cells have the PRI (Physical Route Identifier) field, the FBP (first byte parity), and the SBP (second bit parity) fields discussed above for service cells. In addition, control cells have a one bit LWP field, which is a last word parity field. The LWP covers the last word (third and fourth byte). The parity for the last word is odd, including the parity bit.
  • PRI Physical Route Identifier
  • FBP first byte parity
  • SBP second bit parity
  • Possible PRI values for control cells are in the range from twenty to thirty one.
  • a valid control cell has one of the following as the value of its PRI field: 25, 26, 28, 30, and 31.
  • these PRI values are indicative of cell format and, in some instances, of an "address" of a particular control register in the cross point unit (XPU) 32 involved in a register read or write operation.
  • Control cells are used for remote control and supervision of the row column units (RCUs) 40 and for synchronization of connection with switch port boards (SPBs) 24.
  • RCUs row column units
  • SPBs switch port boards
  • LCC Link Connection Control
  • LSC Link State Control
  • LCC-cells are employed primarily to control and operate switch core 22 remotely from the switch port boards (SPBs) 24.
  • LCC-cells are used for read of and writing to control registers inside the row column units (RCUs) 40.
  • LCC- cells also carry, from switch core 22 to the affected switch port board (SPB) 24, information concerning the release of buffer(s) in the cross point units (XPUs) 32, i.e., when a buffer transitions from occupied to free.
  • the particular format of a LCC cell is indicated by its PRI value.
  • PRI values of 25, 26, 28 and 30 indicate a bitmapped- formatted LCC cell;
  • a PRI value of 31 indicates a coded format LCC cell (or, alternatively, a LSC-cell).
  • Fig. 4B(1) shows the format of a bitmapped-formatted link connection control (LCC) cell.
  • the bitmapped format conveys operation data in a fast manner between the connected switch port board (SPB) 24 and the control/status registers inside the row column units (RCU) 40 of switch core 22. Up to sixteen bits can be loaded or unloaded in one cell transfer.
  • the sixteen bits that can be loaded or unloaded in one cell transfer are stored in the BCD (Buffer Control Data) field.
  • BCD Buffer Control Data
  • Each of the sixteen bits in the BCD field holds data that is to be written to or read from the "addressed" control register, i.e., the control register having the value specified by the PRI field.
  • BCD-N holds the value related to buffer of the specified row or column. 2.2.1.1.2 CBQ, Crosspoint Buffer Queue.
  • the CBQ field serves the same purpose as for the service cell, e.g., points to one of the queues CBQ 0 or CBQi in the cross point unit (XPU) 32. Valid values are zero and one; cells with other values are discarded.
  • Bits marked RE in Fig. 4B(1) are reserved; bits marked NU in Fig. 4B(1) are not used. Both RE and NU bits are thus transparent to switch core 22.
  • the coded format of the LCC cell allows the switch port board (SPB) 24 to address all control registers inside the corresponding (same subscripted) row column unit (RCU) unit 40. One byte at a time can be loaded/unloaded with a LCC cell having a coded format.
  • the format of the coded LCC-cell is shown in Fig. 4B(2).
  • a value of thirty one (31) in the PRI identifies a cell to be either an LSC-cell or LCC-cell.
  • An additional bit in the cell, the LSI bit distinguishes between LSC-cells and LCC-cells.
  • an LSI value of zero (0) indicates a LCC cell in the coded format
  • a LSI value of one (1) indicates a LSC cell.
  • the Link State Control (LSC) cells are used to synchronize the connection between row column units (RCUs) 40 of switch core 22 and the corresponding (i.e., similarly subscripted) connected switch port board (SPB) 24.
  • the LSC-cell format promotes a fast and reliable synchronization of the cell flow, i.e. finds the start of the cell and maintains the cell flow in each direction and supports cell rate decoupling in the direction towards switch core 22.
  • the use of the LSC-cell is a cooperation between the switch port board (SPB) 24 and the switch core 22.
  • the LSC cell involves both directions of transmission (e.g., switch-to-core link 27 and core-to-switch link 28).
  • the use and actions of the LSC-cell are hereinafter described in more detailed with reference to Fig. 8 and Fig. 9 and corresponding sync state machines at both sides of the links 27 and 28.
  • the format of the Link State Control (LSC) cells is shown in Fig. 4B(3).
  • the Synctag field is a pattern of 4 bytes used to identify the LSC cells.
  • the Synctag field can have one of two valid values (in hexadecimal, starting with byte 0).
  • the first valid Synctag field value is
  • the SSC (Sync State Code) field comprises two bits which define the state of the appropriate sync state machine.
  • the SSC field defines the state of the sync state machine in the switch port board (SPB) 24.
  • the SSC field defines the state of the sync state machine in switch core 22.
  • the SSC field can have the following valid values: 0 (which indicates that the side sending the LSC-cell is out of the PRESYNC-state); and 3 (which indicates that the side sending the LSC-cell is in PRESYNC-state).
  • the switch port integrated circuit (SPIC) 26 of each switch port board (SPB) 24 has a crosspoint status register 26R for each matrix of the switch.
  • crosspoint status register 26R for a particular switch port integrated circuit (SPIC) 26 there is a bit position corresponding to each cross point unit (XPU) 32 in row alignment with the switch port board (SPB) 24 for the switch port integrated circuit (SPIC) 26.
  • XPU cross point unit
  • SPB switch port integrated circuit
  • switch port board (SPB) 24 writes a cell to an XPU 32
  • the switch port integrated circuit (SPIC) 26 sets the bit in crosspoint status register 26R corresponding to the particular XPU 32 to which the cell was written.
  • the switch port board (SPB) 24 thereafter cannot send another cell to that particular XPU 32 until that XPU's bit is reset in crosspoint status register 26R.
  • a bit in crosspoint status register 26R is reset when the switch port integrated circuit (SPIC) 26 receives a pollstate release cell with the corresponding bit having a one value.
  • the crosspoint status register 26R faciliates a handshaking between the switch port board (SPB) 24 and switch core 22.
  • a crosspoint status register 26R is provided at each switch port integrated circuit (SPIC) 26 for each matrix.
  • RCU Row Column Unit
  • All cells incoming to switch core 22 from a switch port board (SPB) 24 on one of the links 27 are directed to a corresponding row column unit (RCU) 40 (see Fig. 1).
  • RCU row column unit
  • switch port integrated circuit (SPIC) 26 when switch port integrated circuit (SPIC) 26 sends a cell to its corresponding row column unit (RCU) 40, the switch port integrated circuit (SPIC) 26 sets a bit in its crosspoint status register 26R. The bit set corresponds to the column position of the particular cross point unit (XPU) 32 to which the cell is destined.
  • switch port integrated circuit (SPIC) 26 0 desires to send a service cell to switch port integrated circuit (SPIC) 26. 5 . Therefore, the service cell sent from switch port integrated circuit (SPIC) 26 0 to switch core 22 is routed by row column unit (RCU) 40 0 to cross point unit (XPU) 32 0)15 .
  • the arrow labeled 6-1 in Fig. 6A represents switch port integrated circuit (SPIC) 26 0 sending a service cell (destined for switch port integrated circuit (SPIC) 26. 5 ) to row column unit (RCU) 40 0 .
  • SPIC switch port integrated circuit
  • the switch port integrated circuit (SPIC) 26 sets the last bit of its crosspoint status register 26R (since the service cell is destined to the last XPU in the row, i.e., cross point unit (XPU) 32 0 , ⁇ s).
  • Service cells are analyzed by row column unit (RCU) 40, and then pass on through row column unit (RCU) 40 to the addressed one of the cross point units (XPUs) 32 in the same row of memory array unit (MAU) 30.
  • the service cell is temporarily stored in an appropriate addressed one of the buffers CBQ] or CBQ 2 of the XPU 32.
  • the row column unit (RCU) 40 updates its cross point status unit (XSU) 50, particularly its appropriate pollstate status register, to indicate that the particular buffer in which the cell was stored is "occupied".
  • the "occupied" state means that there is a cell to unload; the "free" state indicates that the buffer can be loaded.
  • bit 15 of pollstate status register 50-2 0 is set in coordination with the writing of the service cell into cross point unit (XPU) 32 0 ,i 5 (as indicated by the arrow labeled 6-2).
  • the setting of bit 15 in pollstate status register 50- 2 0 indicates that cross point unit (XPU) 32 0, i 5 is occupied.
  • the cross point status unit (XSU) 50 of row column unit (RCU) 40 0 sends a set signal to bit 0 in scanstate register 50-4 ! 5 over cross point status bus (CSB) 48 [see Fig. 6] as indicated by the broken line bearing reference numeral 6-3 in Fig. 6B.
  • the scanstate register bit will either be set when the first word is written into the XPU or the last word (as predefined by the setting of bit 0 in a scanrate register hereinafter described).
  • Each row column unit (RCU) 40 scans its own scanstate register 50-4 located in its cross point status unit (XSU) 50.
  • the row column unit (RCU) 40 knows that it can read a cell from the corresponding cross point unit (XPU) 32.
  • the row column unit (RCU) 40 starts to read a cell from such cross point unit (XPU) 32
  • the corresponding bit in the scanstate register 50-4 is reset.
  • the corresponding pollstate status register 50-2 located in the row column unit (RCU) 40 that wrote the cell to the cross point unit (XPU) 32 is reset.
  • line 6-4 depicts the reading of the service cell from cross point unit (XPU) 32 0 , ⁇ 5 into row column unit (RCU) 40 15 , which causes the resetting of the 1 st bit in scanstate register 50-4 15 .
  • Cross point status unit (XSU) 50i 5 of row column unit (RCU) 40 15 sends a reset signal on cross point status bus (CSB) 48 [see Fig. 6] as indicated by line 6-5.
  • a signal issued from 50-4 ! 5 causes row column unit (RCU) 40 is to apply the service cell obtained from cross point unit (XPU) 32 0, ⁇ s to switch port integrated circuit (SPIC) 26 ⁇ 5 , as indicated by the line labeled with reference numeral 6-6 in Fig. 6C.
  • SPIC switch port integrated circuit
  • the cross point status unit (XSU) 50 of a row column unit (RCU) 40 detects the change in a bit of its pollstate status register 50-2 from an occupied to free status (e.g., from 1 to 0)
  • the cross point status unit (XSU) 50 issues a pollstate release LCC cell (see section 2.2.1) at a first possible point in time.
  • the row column unit (RCU) 40 has an internal pollstate release register 50-8 that captures the state transition in the corresponding pollstate status register 50-2.
  • the pollstate release register 50-8 corresponding bit position is set. In the situation shown in Fig.
  • cross point status unit (XSU) 50 0 sets the last bit of 50- 8 0 .
  • Cross point status unit (XSU) 50 checks whether any bit position in pollstate release register 50-8 0 is set. If any bit is set (such as the last bit as indicated in Fig. 6D), a request toissue a pollstate release LCC cell is made. When the pollstate release LCC cell is issued to switch port integrated circuit (SPIC) 26 0 (as indicated by line 6-6 in Fig. 6D), the pollstate release register 50-8 0 is read and cleared.
  • SPIC switch port integrated circuit
  • FIG. 6E shows clearance of pollstate release register 50-8 0 , as well as clearing of the last bit in crosspoint status register 26Ro upon receipt of the pollstate release LCC cell (received at switch port integrated circuit (SPIC) 26 0 as indicated by line 6-6 in Fig. 6D).
  • SPIC switch port integrated circuit
  • each row column unit (RCU) 40 checks the states of the cross point units (XPUs) 32 connected to the column of MAU 30 (e.g., to a read bus 44) for which it is responsible, and updates the appropriate pollstate release registers included in the cross point unit (XPU) 32.
  • a cross point unit (XPU) 32 containing a cell is unloaded through the buffer output gate to the column bus (e.g., read bus 44) as an outgoing cell.
  • the cross point status unit (XSU) 50 is updated to indicate that the buffer in the cross point unit (XPU) 32 from which the cell was unloaded is now "free".
  • the unloaded cell is transferred through the receiving row column unit (RCU) 40 to a receiving switch port board (SPB) 24. In this manner, all cross point units (XPUs) 32 containing a cell are unloaded one by one.
  • the receiving row column unit (RCU) 40 If it turns out that reading of a cell from switch core 22 in the manner aforedescribed occurs at rate which is slower than required by the receiving switch port board (SPB) 24, the receiving row column unit (RCU) 40 generates a control cell in lieu of an expected service cell. If the switch switch port board (SPB) 24 tries to send a cell to cross point unit (XPU) 32 for which the corresponding bit in the crosspoint status register 26R is set, the cell will be discarded in the row column unit (RCU) 40 before it enters the write bus.
  • SPB switch switch port board
  • Each row column unit (RCU) 40 also contains a system clock unit (SCU) 52.
  • SCU system clock unit
  • System clock unit (SCU) 52 contains logic for the system clock distribution and is connected to system clock bus (SCB) 46.
  • SCB system clock bus
  • Row column unit (RCU) 40 passes a system clock to a gate in the cross point units (XPUs) 32.
  • the gate state of each cross point unit (XPU) 32 is set in a semi-permanent condition.
  • the gate state is set from the column, thus avoiding contention.
  • the write buses 42 and read buses 44 provide logical interconnection between the cross point units (XPUs) 32 and the corresponding row column units (RCUs) 40. Busses 42 and 44 provide information such as buffer fill states, read and write buffer control and data.
  • RCU 40 row column unit 40
  • basic functions of row column unit (RCU) 40 include loading and unloading of service cells from cross point units (XPUs) 32, aligning and synchronizing cell flow between switch core 22 and the corresponding switch port board (SPB) 24 (including cell rate decoupling), and providing switch port board (SPB) 24 with status information regarding the cross point units (XPUs) 32 so that a cross point unit (XPU) 32 will not be written over.
  • SPB switch port board
  • each row column unit (RCU) 40 includes a line interface unit (LIU) 53; a cell synchronizer unit (CSU) 54; a cell analyzer unit (CAU) 55; a cell write unit (CWU) 56; an operation & maintenance unit (OMU) 57; a cell generator unit (CGU) 58; and, a cell read unit (CRU) 59.
  • LIU line interface unit
  • CSU cell synchronizer unit
  • CAU cell analyzer unit
  • CWU cell write unit
  • OMU operation & maintenance unit
  • CGU cell generator unit
  • CRU cell read unit
  • Line interface unit (LIU) 53 includes a LVDS/GLVDS interface that converts differential signals to digital levels. As shown in Fig. 5A, each row column unit (RCU) 40 has a set of power connections comprising the Vcc and ground, and in addition a bias voltage for the GLVDS. As also shown in Fig. 5 A, line interface unit (LIU) 53 of row column unit (RCU) 40 has five differential amplifier pairs 53-1 through 53-5, as well as three power pins for the Vcc, ground, and bias, and an additional two pins for providing Vcc and ground to memory array unit (MAU) 30.
  • MAU memory array unit
  • Differential pairs 53-1 and 53-2 are utilized to handle signals DCLK and D-
  • Differential pair 53-1 which receives DCLK, outputs a serial clock signal serclk.
  • the output of differential pair 53-2 is coupled to a bit synchronization function 53-6, which produces a serial data input signal on line s-data-in.
  • the serial clock signal serclk and the serial data input signal on line s-data-in are applied to cell synchronizer unit (CSU) 54 as hereinafter shown in Fig. 5B.
  • CSU cell synchronizer unit
  • Differential pair 53-3 is utilized to output signal D-SCSP included in core-to- port link 28. Differential pair 53-3 outputs the signal D-SCSP using a serial output data signals received on line s-data-out. As seen hereinafter with respect to Fig. 5B, the serial output data signal on line s-data-out emanates from cell synchronizer unit (CSU) 54.
  • CSU cell synchronizer unit
  • System clock bus (SCB) 46 includes, for each row column unit (RCU) 40, lines for clocking signals on lines sysclk-in and sysclk-out. As described hereinafter with reference to system clock unit (SCU) 52 and Fig. 51, the clocking signal on line sysclk- in is utilized to generate the clocking signal on line sysclk-out.
  • a signal SCLK is used to generate signal sysclk-in.
  • the signal SCLK comes from the system clock generated and distributed through the SPIC (on one of the switch port boards).
  • the system clock is typically derived from an external link in the network (e.g., a Tl link). The rate of the system clock is, in most cases, a multiple of 8 KHz.
  • CSU Cell Synchronizer Unit
  • Cell synchronizer unit (CSU) 54 makes serial to parallel conversion, as well as halfword and cell alignment. Such conversion is accomplished using a specific cell sync pattern in the incoming direction. In the outgoing direction, parallel to serial conversion is made into a bit stream.
  • Cell synchronizer unit (CSU) 54 comprises a serial to parallel converter 54-1 which receives the serial bit stream on line s-data-in from line interface unit (LIU) 53 and produces a 16 bit parallel signal on bus p-data-in.
  • the 16 bit parallel signal generated by serial to parallel converter 54-1 is also applied to a BIP-8 tester and generator 54-2 and to a sync tag detector or cell aligner 54-3.
  • Cell synchronizer unit (CSU) 54 also comprises a parallel to serial converter 54-
  • cell synchronizer unit (CSU) 54 includes a clock divider 54-5 which receives the serial clock signal on line serclk outputted from differential pair 53-1 of line interface unit (LIU) 53 (see Fig. 5A) and divides the incoming serial clock signal serclk by a factor of sixteen to produce a parallel clock signal pclk.
  • Parallel clock signal pclk is applied to many elements of row column unit (RCU) 40.
  • Clock divider 54-5 and serial to parallel converter 54-1 work with both edges of the serial clock signal on line serclk.
  • Sync tag detector 54-3 includes a state machine and a comparator that searches for a sync cell (LSC cell). As discussed in more detail hereinafter in conjunction with Fig. 8 and Fig.
  • sync tag detector 54-3 has three states: PRESYNC, SYNCO, and SYNC1.
  • sync tag detector 54- 3 Upon detection of an LSC cell, sync tag detector 54- 3 outputs a signal on line "sync-cell" for application to cell generator unit (CGU) 58 as hereinafter described with respect to Fig. 5G.
  • CGU cell generator unit
  • BIP-8 tester and generator 54-2 checks the link between switch port board (SPB) 24 and switch core 22 on a long term basis in order to dete ⁇ nine line quality. Each bit in the byte is exclusively or compared (XOR) to a preserved parity of corresponding bits in earlier bytes. The result is checked against a control cell which contains an expected result. An opposite function applies in the p-data-out direction.
  • cell analyzer unit (CAU) 55 receives the 16 bit signal on bus p-data-in from cell synchronizer unit (CSU) 54.
  • CSU cell synchronizer unit
  • the cell is either (1) a service cell that is transported to cell write unit (CWU) 56, or (2) a control cell that is handed over to operation & maintenance unit (OMU) 57 [see Fig. 5].
  • CWU cell write unit
  • OMU operation & maintenance unit
  • Cell analyzer unit (CAU) 55 includes a PRI-decode unit 55-1 which checks cell type by examining the PRI field of the cell (see, e.g., Fig. 4A and Fig. 4B). As indicated previously, service cells have valid PRI values of 1 - 19, while control cells have PRI values of 20 - 31. Once determined, the cell type is stored in cell type register 55-2 during the duration of processing of the cell, and is applied to other units of row column unit (RCU) 40 on line "cell type". Although not expressly shown as such in the drawings, the signal on line "cell type” indicates to cell write unit (CWU) 56 and to operation & maintenance unit (OMU) 57 the type of the cell, so that these units do not have to repeat the cell type analysis.
  • CWU cell write unit
  • OMU operation & maintenance unit
  • the cell type signal as generated by cell analyzer unit (CAU) 55 indicates to cell write unit (CWU) 56 and operation & maintenance unit (OMU) 57 whether those units should be engaged.
  • Cell write unit (CWU) 56 is engaged if the cell is a service cell; operation & maintenance unit (OMU) 57 is engaged if the cell is an LCC cell. If the cell is an LSC cell, either cell write unit (CWU) 56 or operation & maintenance unit (OMU) 57 is engaged.
  • Cell analyzer unit (CAU) 55 also includes an integrity checker 55-3. Integrity checker 55-3 checks for parity errors in control cells in the first byte, second byte, and last sixteen bits (see fields FBP, SBP, and LWP in Fig. 4B).
  • All service cells are checked for parity errors in the first byte, and also in the second byte if the cell is of variable cell format. If an error is detected in any type of cell, a fault signal is generated. Such parity error leads to immediate resynchronization, and the cause of such parity error is stored.
  • a cell with a parity fault in the first or second byte is inhibited and not transported to cell write unit (CWU) 56.
  • CWU cell write unit
  • XSU cross point status unit
  • SPB switch port board
  • Cell analyzer unit (CAU) 55 further includes PRI-swap unit 55-4.
  • the PRI-swap unit 55-4 changes the destination value in the PRI field to the source value, as previously described.
  • the destination value of the PRI field is saved for use by cell write unit (CWU) 56, and applied thereto on line dest-PRI.
  • the service cell itself is transmitted on sixteen bit bus "write data" to cell write unit (CWU) 56.
  • Cell write unit (CWU) 56 stores the service cell in an addressed one of the cross point units (XPUs) 32.
  • Cell write unit (CWU) 56 shown in Fig. 5D, includes cell size logic unit 56-1; write address counter 56-2; crosspoint select unit 56-3; and buffer select unit 56-4.
  • the service cell is received on the sixteen bit bus "write data" from cell analyzer unit (CAU) 55 and applied to all units of cell write unit (CWU) 56.
  • the destination PRI value obtained on line dest-PRI from cell analyzer unit (CAU) 55, which essentially indicates to which switch port board (SPB) 24 the cell was transmitted, is applied to crosspoint select unit 56-3.
  • crosspoint select unit 56-3 both selects and enables, for the duration of handling of the service cell, the particular cross point unit(s) (XPU) 32 to which the service cell is to be written.
  • buffer select unit 56-4 selects one of the buffers CBQ 0 or CBQi [see Fig. 2] of the particular cross point unit(s) (XPU) 32 to which the service cell is to be written, and applies a buffer enable signal to the selected buffer and generates a priority signal .
  • write address counter 56-2 generates a write address for the first sixteen bit word of an incoming service cell, and applies the same on a bus "write address".
  • write address counter 56-2 For each subsequent 16 bit word of the service cell, write address counter 56-2 generates a further address until all words of the cell have been written to the addressed cross point unit (XPU) 32. Write address counter 56-2 generates the further addresses for each word of the service cell in accordance with the cell size as determined by cell size logic 56-1. Cell size logic 56-1 knows the size of the service cell based on the field SCS [see Fig. 4A]. Write address counter 56-2 starts at zero and counts to the cell size.
  • Write address counter 56-2 also sends out start write and end write signals that are utilized by cross point status unit (XSU) 50 to set the "occupied" state of the cross point units (XPUs) 32 [see Fig. 5H(1) and Fig. 5H(2)]. Such signal is also applied via cross point status bus (CSB) 48 to the scanstate register 50-4 of the other row column unit (RCU) 40 which manages the affected cross point unit (XPU) 32 for unloading purposes [see Fig. 6].
  • CSB cross point status bus
  • Crosspoint select unit 56-3 includes both an enable register and a multicast register.
  • the enable register is loaded at the start of the cell either from the decoded PRI-value or from the multicast register.
  • the multicast register must be pre-loaded with addresses to the target cross point units (XPUs) 32 by means of a control cell prior to receipt of the affected service cell.
  • the multicast register is needed only if switch core 22 supports point-to-multipoint connections.
  • Operation & Maintenance unit (OMU) 57 basically serves to terminate control cells and to select a target one of the registers in cross point status unit (XSU) 50.
  • operation & maintenance unit (OMU) 57 comprises bitmap target code register 57-1; target code register 57-2; traffic mode register 57-3; article number PRI-code unit 57-4; zero fill bank unit 57-5; bitmap decode unit 57-6; and target decode unit 56-7.
  • the sixteen bit bus p-data-in is applied from cell synchronizer unit (CSU) 54 to bitmap target code register 57-1; target code register 57-2; and traffic mode register 57-3.
  • One of three potential actions is taken with respect to a cell transmitted to operation & maintenance unit (OMU) 57.
  • OMU operation & maintenance unit
  • a first action idle cells are thrown away.
  • sync cells e.g., LSC cells
  • a second action sync cells (e.g., LSC cells) are thrown away (however, if the "cell sync status" bit in the LSC cell is set, the LSC cell must be stored and a returning LSC cell sent).
  • a LCC control cell is processed (whether of bitmap format or coded format).
  • control cells are forwarded in parallel to bitmap target code register 57-1 and target code register 57-2.
  • bitmap target code register 57-1 determines such and forwards the cell to bitmap decode unit 57-6 where the cell is decoded.
  • the selected content of the cell is then loaded (on line "bitmap load") into a target one of the bitmapped control registers [see Table 5 and Section 4.6.1].
  • Target code register 57-2 serves the function of enabling target decode unit 57-7 to determine to which target control register the bitmap formatted cell should be directed.
  • target decode unit 57-7 outputs a signal on line "register select". The target one of the registers is ascertained from the value in the PRI field of the bitmapped LCC control cell.
  • a LCC control cell that is of the coded format can contain the address to a target control register and data to be stored in or retrieved from the target control register [see Table 6]. Such registers are generally described, e.g. in Section 4.6.2.
  • the code in the target register field can also hold a direct command, which in this context refers, e.g., to the clear commands of Table 6.
  • a direct command is a command which is carried out immediately and not stored in any register. Examples of direct commands are clear commands and retrieve_pollstate commands.
  • the clear commands essentially clear the pollstate status registers 50-2 and the scanstate registers 50-in the XSU [see Fig. 5H(2)].
  • the retrieve jpollstate commands force the switch port to issue a pollstate status LCC in return.
  • the target register field with the load and unload markers are stored in the target register until the target register is written over.
  • the load and unload markers are dynamic and cleared once they are executed.
  • the unload marker, indicating retrieval of data from a target register is executed first when a control cell can be sent towards the switch port board (SPB) 24.
  • SPB switch port board
  • Zero fill bank unit 57-5 is utilized to provide a zero fill for retrieve operations involving target registers in cross point status unit (XSU) 50. In an alternate embodiment involving more gates, the zero fill is conducted at the target register itself.
  • Cross point status unit (XSU) 50 includes numerous control registers, including registers which use bitmapped link connection control (LCC) cells [see Table 5] and registers which use coded link connection control (LCC) cells [see Table 6] .
  • cross point status unit (XSU) 50 has registers which hold information about the current fill status for each cross point unit (XPU) 32 connected to the row column unit (RCU) 40 and the write bus 42 to which the RCU is connected.
  • registers As shown in Table 5, there are three types of registers which are updated by sending bitmapped LCC cells to switch core 22. These three types of registers are the multicast register, the scanblock registers, and the pollstate registers.
  • the registers shown in Table 5 as using bitmapped LCC cells are 16 bits wide (since a bitmapped LCC cells carries 16 bits [see Fig. 4B(1)].
  • the entire register can be updated by sending one bitmapped LCC cell to cross point status unit (XSU) 50.
  • Unload of the registers of Table 5 can be done by coded LCC cell, as described in section 4.6.2.
  • a value of "X" indicates a do not care value. Cells are discarded if they have an incorrect CBQ value.
  • the 16 bit multicast register of a row column unit (RCU) 40 holds the bitmap that is used when the service cell has the indication "multicast".
  • Each bit in the bitmap corresponds to a port of switch core 22, i.e., to one of the switch port boards (SPBs) 24.
  • SPBs switch port boards
  • bit zero (0) corresponds to port 0 (switch port board (SPB) 24 0 ) and so on up to bit 15 that corresponds to port 15 (switch port board (SPB) 24 ⁇ 5 ).
  • bit set to one implies that the cell is to be loaded into the correspondent buffer, if free, as part of the multicast.
  • a bit in the multicast register set to zero (“0") indicates that the corresponding buffer is not to be included in a multicast.
  • One register position is used for the two queues CBQ 0 and CBQi, so that the value of CBQ for this register has no significance.
  • each row column unit (RCU) 40 there are two 16 bit scanblock registers 59-6 (see Fig. 5F) which are used to mask out buffers from the scanning process.
  • One of the scanblock registers 59-6 serves as a bitmap for the CBQo buffers managed by a row column unit (RCU) 40; the other of the scanblock registers serves as a bitmap for the CBQi buffers for the CBQ 0 buffers managed by a row column unit (RCU) 40.
  • a scanblock register 59-6 may be set to preclude the scan of a certain CBQo/CBQi buffer, the load of that buffer is still active, i.e., a cell can be loaded into a buffer with the scanblock bit set. The cell remains in the buffer until the bit is cleared. When the bit is reset the buffer is linked into the scanning process again and the cell is transmitted out from the switch port at the proper time instant.
  • the pollstate status registers and pollstate release registers of Table 5 are collectively referred to as the "pollstate registers". For each row column unit (RCU) 40 there is a pollstate status register 50-2 and a pollstate release register for each matrix in switch core 22 (see also Fig. 6). For a given row column unit (RCU) 40, therefore, there are two pollstate status registers and two pollstate release registers.
  • a first pollstate status register includes a bitmapped indication of "occupied” or “free” for each buffer CBQ 0 (in core matrix 0) in cross point units (XPUs) 32 which are connected to the RCU by a write line 42
  • a second pollstate status register includes a bitmapped indication of "occupied” or “free” for each buffer CBQi (in core matrix 0) in cross point units (XPUs) 32 which are connected to the RCU by the write line 42.
  • a first pollstate release register includes a bitmapped indication of whether a transition from "occupied” to "free” has occurred in a buffer CBQ 0 (in core matrix 0) in cross point units (XPUs) 32 which are connected to the RCU by a read line 44
  • a second pollstate release register includes a similar bitmapped indication with respect to each buffer CBQi (in core matrix 0) in cross point units (XPUs) 32 which are connected to the RCU by the read line 44. Cells affecting the pollstate registers are transmitted as described hereinafter in section 9.0.
  • each row column unit (RCU) 40 there are two 16 bit pollstate status registers which hold an indication of whether 16 buffers on the same row are free or occupied.
  • Each row column unit (RCU) 40 has a pollstate status register for the 16 CBQo buffers it manages and a separate pollstate status register for the 16 CBQi buffers it manages.
  • Pollstate status register bit zero (0) corresponds to the first cross point unit (XPU) 32 managed by the row column unit (RCU) 40 and so on up to bit 15 that corresponds to the last cross point unit (XPU) 32 managed by the row column unit (RCU) 40.
  • each pollstate status register a bit set to zero indicates that the queue (one of CBQo or CBQi, as specified) of the corresponding cross point unit (XPU) 32 is free, while a bit set to one ("1") indicates that the buffer is occupied.
  • the contents of the bitmapped pollstate status register is sent as a response to a "retrieve pollstate command" issued from switch port board (SPB) 24.
  • the "retrieve pollstate command” is sent to switch core 22 with a coded LCC cell having an ADR field value of 25. Bits not used in the bitmapped LCC for the pollstate status register are set equal to 0 and REserved bits are equal to 1.
  • a pollstate release LCC cell is typically sent out from row column unit (RCU) 40, and particularly from cell generator unit (CGU) 58, whenever one of the buffers in the column managed by the row column unit (RCU) 40 undergoes a change from "occupied” to "free", as indicated by a corresponding transition in the pollstate release register 50-8. If both registers (CBQ 0 and CBQi) for a cross point unit (XPU) 32 have been changed, a cell showing content of the pollstate status register corresponding to CBQo is sent out first since it has higher priority. All changes during the ongoing "pollstate release" cell are captured and result in another "pollstate release” cell.
  • CGU cell generator unit
  • each pollstate release register In each pollstate release register, a bit set to one indicates that the status of the pollstate release register has changed from occupied to free while a bit set to zero indicates that the current status remains (which could be either occupied or free). Bits not used in the bitmapped LCC for the pollstate release register are set equal to 0 and REserved bits are equal to 1.
  • each SPIC 26 has a register 26R (see Fig. 1 and Fig. 6) which has one bit position for each cross point unit XPU 32 it controls. Whenever a SPIC 26 writes a cell to a cross point unit XPU 32, SPIC 26 sets a corresponding bit in register 26R.
  • the position of the thusly written bit in register 26R corresponds to the bit positions given in the bit mapped LCC cell (see Table 5 and Fig. 4B-1). As long as a bit is set for a XPU 32 in register 26R, SPIC 26 cannot send a new cell to that XPU 32. Only after the bit for the corresponding XPU 32 is reset in register 26R can another cell be sent to XPU 32. The bit in register 26R is reset when SPIC 26 receives a cell showing that, in the pollstate release register, the bit for the XPU 32 in question has been set to one (e.g., indicating a transition from an occupied to a free state). Thus, a handshaking occurs between the SPIC 26 and switch core 22.
  • the SPIC 26 can prompt for current crosspoint status. This prompting for current crosspoint status should be done if, e.g., the SPIC 26 detects by a time-out that a position in its register 26R never gets reset. The SPIC 26 can then (or at regular intervals) issue a retrieve pollstate command. Switch core 22 replies by sending a pollstate status LCC cell (see Table 5) to SPIC 26.
  • cross point status unit (XSU) 50 which hold information about the current fill status for each of the buffers of each cross point unit (XPU) 32, e.g., the pollstate status registers and the pollstate release registers, are updated through cross point status bus (CSB) 48 [see Fig. 6].
  • the information in the registers of cross point unit (XPU) 32 essentially serves two purposes. The first purpose is to identify (using the pollstate status registers) the cross point units (XPUs) 32 that are occupied and therefore can be unloaded. The second purpose is to identify (using the pollstate release registers) the cross point units (XPUs) 32 that have transitioned from an "occupied" to "free” status so that new cells can be sent thereto.
  • Each row column unit (RCU) 40 performs a scanning process for its associated column, as described in section 10.0 hereof.
  • SPIC 26 can control the duration of the scan process in its associated RCU 40 by setting the scan enable counter (see section 4.6.2.4).
  • the scanning process is described in Fig. 18, and is part of the overall flow of operations shown in Fig. 10.
  • Fig. 5H(2) shows an implementation comprising pollstate register 50-2; pollrate register 50-3; scanstate register 50-4; and scanrate register 50-5.
  • the portion of Fig. 5H(2) depicted above line DH-L is provided for each buffer CBQ 0 and CBQi in each cross point unit (XPU) 32 attached to the write bus 42 which is connected to the particular cross point status unit (XSU) 50.
  • the portion of Fig. 5H(2) depicted below above line DH-L is provided for each buffer CBQ 0 and CBQi in each cross point unit (XPU) 32 attached to the read bus 44 which is connected to the particular cross point
  • the parallel input data on line p-data-in obtained from cell synchronizer unit (CSU) 54 is applied to the input terminals of both pollrate register 50- 3 and scanrate register 50-5.
  • the parallel input data on line p-data-in is applied to pollrate register 50-3 to indicate which of two polling options is to be implemented.
  • the parallel input data on line p-data-in is applied to scanrate register 50-5 to indicate which of two scan options is to be implemented.
  • a signal at terminal Q of pollrate register 50-3 is applied as an output select signal to switch 50-6 in accordance with which of two polling options is selected.
  • a signal at terminal Q of scanrate register 50-5 is applied as an output select signal to switch 50-7 in accordance with which of two scan options is selected.
  • Pollstate register 50-2 has a set terminal S, a reset terminal R, and an output terminal Q.
  • Set terminal S of pollstate register 50-2 receives a signal on line "start- write” from cell write unit (CWU) 56 [see Fig. 5D].
  • switch 50-6 applies either one of the signals on lines “start-read” and “end-read” to reset terminal R of pollstate register 50-2.
  • the signals on lines “start- read” and “end-read” are obtained from cell read unit (CRU) 59, as hereinafter described with reference to Fig. 5F.
  • the Q terminal of pollstate register 50-2 applies a signal on line "poll data"
  • the state of pollstate register 50-2 of Fig. 5H(2) is applied by the signal "poll data" to the appropriate bit of the pollstate status register 50-2.
  • the structure shown above line DH-L in Fig. 5H(2) is included in cross point status unit (XSU) 50 0 of row column unit (RCU) 40 0 and pertains particularly to cross point unit (XPU) 32 0, ⁇
  • XSU cross point status unit
  • RCU row column unit
  • XPU cross point unit
  • XPU cross point unit
  • is loaded with a service cell as indicated by the setting of pollstate register 50-2
  • the signal on line poll data sets bit BCD 1 (byte 6, bit 2) of the bitmapped pollstate_status register [see Fig. 4B(1) and Table 5].
  • the scanstate register 50-4 likewise has a set terminal S, a reset terminal R, and an output terminal Q.
  • Reset terminal R of scanstate register receives a signal on line "start-read” from cell read unit (CRU) 59 [see Fig. 5F].
  • switch 50-7 applies either one of the signals on lines “start- write” and “end-write” to set terminal S of scanstate register 50-4.
  • the signals on lines “start-write” and "end-write” are obtained from cell write unit (CWU) 56, as described with reference to Fig. 5D.
  • the Q terminal of scanstate register 50-4 applies a signal on line “scan data” which is applied to cell read unit (CRU) 59 as hereinafter described with reference to Fig. 5F.
  • the state of scanstate register 50-4 of Fig. 5H(2) is applied by the signal "scan data" to the appropriate bit of the pollstate release register (see Fig. 6).
  • the structure shown below line DH-L in Fig. 5H(2) is included in cross point status unit (XSU) 50. of row column unit (RCU) 40 0 and pertains particularly to cross point unit (XPU) 32o , ⁇ , when a service cell is unloaded from cross point unit (XPU) 32 0 , ⁇ (as indicated by the setting of scanstate register 50-4) the signal on line scan data sets bit BCD 1 (byte 6, bit 2) of the bitmapped pollstate release register [see Fig. 4B(1) and Table 5].
  • Fig. 5H(1) shows another and more simplified implementation wherein the pollstate and scanstate registers functions are essentially both performed by a crosspoint status function register 50-1 included in cross point status unit (XSU) 50.
  • XSU cross point status unit
  • a set terminal of register 50-1 is connected to line "start- write” to which a signal is applied from write address counter 56-2 of cell write unit (CWU) 56 [see Fig. 5D].
  • a reset terminal of register 50-1 is connected to line "end-read” to which a signal is applied from read address counter 59-1 of cell read unit (CRU) 59.
  • the Q terminal of register 50-1 is connected to lines "poll-data” and "scan-data", the second of which is included in cross point status bus (CSB) 48.
  • the line “scan-data” is applied to cell read unit (CRU) 59, as hereinafter described with respect to Fig. 5F.
  • the poll enable register contains the mode code used by row column unit (RCU) 40 for a cell sending process.
  • the mode code is further explained with reference to cell transmission [see section 9.0 and Fig. 10].
  • Only the two least significant bits of the poll enable register are used.
  • the value of the two least significant bits of the poll enable register corresponds to the mode (e.g., either mode 0, 1, 2, or 3).
  • a value of 0 in the poll enable register refers to mode 0 (e.g., send only LSC cells).
  • No internal register can be read in mode 0.
  • An attempt to read a register will be pending and executed as soon as the poll enable is changed to modes 1, 2 or 3.
  • An attempt to write to a register is possible when the value stored in the poll enable register is zero.
  • LCC Parity Mode Register The least significant bit of the LCC parity mode register is used to control the parity mode. The following codes apply: “0" means that normal parity is generated; “1” means that inverted parity FBP, SBP and LWP are generated in the transmitted LCC-cells.
  • the cell integrity register holds an error indication caused by various detected faults in switch core 22.
  • the integrity check operation is described, e.g. in Section X0.
  • a detected fault sets the corresponding bit of the register.
  • the bits are cleared at unload of the register.
  • Bit 0 when set, indicates a FBP, SBP, or LWP error detected at the receiving side of switch core 22.
  • Bit 1 when set, indicates an unsupported PRI value in a received cell or changed CBQ value in a concatenated stream or exceeded crosspoint buffer size or write over attempt in crosspoint buffer (unicast and multicast, not broadcast).
  • Bit 2 is not used.
  • bit 3 indicates an FBP or SBP error at unload of service cells from the buffer.
  • Bits 4-7 are not used.
  • the scan enable register which forms part of call size logic 59-2 (see Fig. 5F), controls the start and stop of the scan process.
  • the scan enable register is an eight bit counter that can be preset to any value from 0 to 255. The counter decrements by one for every eight (8th) byte of service cell that is transmitted out to the corresponding port. When the counter reaches zero, the scan process stops. If the counter is preset to 255, the count down is disabled and the scan process is enabled all the time until a new value (less than 255 and greater than 0) is loaded into the register.
  • the system clock register 52-2 controls the multiplexer for the system clock output of each port. Values 0-15 set the port number of the system clock source. In the system clock register , bits 0-3 contain the port number of the clock source; bits 4-7 are not used. The system clock register is set equal to zero at "read" from switch core 22.
  • the own PRI register is a read-only register of 4 bits. The value at read is equal to actual port number. In the own PRI register, bit 0-3 contains the own port number; bits 4-7 are set equal to zero.
  • the revision number register is an eight bit read-only register which holds information concerning a revision number of switch core 22.
  • the first revision of switch core 22 is one (1).
  • bits 0-7 contain the revision number starting with one.
  • the switch port boards (SPBs) 24 (“switchports") that are sending service cells to each other, via switch core 22, can have different speeds. To achieve maximum throughput of service cells through switch core 22, it is necessary that the "free" indication of a buffer of a cross point unit (XPU) 32 be made at the start or at the end of the unload of a service cell. The selection is made dependent on the speed difference between the switch port boards (SPBs) 24.
  • each row column unit (RCU) 40 in switch core 22 there are two 16 bit registers (one per CBQ, i.e., one for buffer CBQ 0 and one for buffer CBQi) previously described as the pollstate status registers 50-2.
  • a pollrate register 50-3 is shown in Fig. 5H(2).
  • the buffers, on one row, are indicated as "free” or "occupied” in their corresponding pollstate status registers 50-2.
  • the contents of the pollstate status registers 50-2 are transmitted by the bitmap LCC cells sent from row column unit (RCU) 40 to switch port board (SPB) 24 in response to a retrieve pollstate command.
  • the occupied/free indication in the pollstate status register 50-2 for the buffer is always set to "occupied” when the first byte of the cell enters the buffer.
  • the indication is set to "free” either at the beginning or end of the unload of the cell. Whether the indication is set to free at the beginning or end of the unload of the cell is determined by the setting of the corresponding bit in the pollrate register. A setting of "zero” (“0") causes the "free” indication to be provided at unload of the last word from the buffer, while a setting of the corresponding bit in the pollrate register to "1" causes a "free” indication to be provided at unload of the first word from the buffer.
  • Fig. 11 shows, for a particular row column unit (RCU) 40 x , an association of bits in the pollrate register and the cross point units (XPUs) 32 managed by that row column unit (RCU) 40.
  • the particular row column unit (RCU) 40 x shown in Fig. 11 manages column x of memory array unit (MAU) 30
  • MAU memory array unit
  • the two switchports X and Y can now send service cells to each other.
  • the speed of switchport X is assumed to be much higher than the speed of switchport Y, and the correspondent bits of the pollrate register are set accordingly.
  • a "free" indication of the buffer that holds service cells from X to Y is set at unload last word from the buffer.
  • the "free” indication of the buffer that holds service cells from Y is set at unload of the first word from the buffer.
  • the scanrate register defines when a cell, in the associated buffer, is indicated as
  • Fig. 13 shows an association between scanrate register bits and cross point units (XPUs) 32.
  • XPU cross point unit
  • RCU row column unit
  • This register bit is common for the two CBQ values (totally 16 bits).
  • the indication of "cell available" for the buffer can be made at the beginning or end of the load of the cell. Whether the indication of "cell available" for the buffer can be made at the beginning or end of the load of the cell depends on the setting of the bit in the scanrate register which corresponds to the buffer.
  • a scanrate bit setting of zero indicates that the "cell available” indication is to be provided at load of the last word into the buffer
  • a scanrate bit setting of one indicates that the "cell available” indication is to be provided at load of the first word into the buffer. Reset of the indication is always done at the unload of the first byte of the cell.
  • the following scenario describes how the scanrate register should be set when two switchports, X and Y, are to be set up to send service cells to each other.
  • the bitrate of opposite switchport is unknown. Therefore the "cell available" indication is set at load of the last word into the buffer.
  • the "cell available” indication when a switchport sends service cells to itself is made at load of the first byte into the buffer, as the bitrate in this case always is the same.
  • the scanrate register is initiated, via LCC cells.
  • the two switchports can now send service cells to each other.
  • the speed of switchport X is assumed to be much higher than the speed of switchport Y and the correspondent bits of the scanrate register are set accordingly.
  • the "cell available" indication of the service cells from X to Y are made at load of the first word into the buffer.
  • the "free” indication of the service cells from Y to X are made at load of the last word into the buffer.
  • a clear command having databit(O) set to "1" clears the pollstate register of the correspondent CBQ value, and thus serves as a CLEARjpollstate command.
  • a clear command having databit(l) set to "1” clears the pollstate release (scanstate) register of the correspondent CBQ value, and thus serves as a CLEAR scanstate command. If there is no port connected to a row, and the pollstate bit of the crosspoint on this row is set, the pollstate bit will remain high and a clear scanstate will generate a cell from this crosspoint. The pollstate bit remains high as there is no clock to this port and a cell will be generated for every new "clear scanstate".
  • a clear command having databit(2) set to "1" clears the snapshot register of the correspondent CBQ value, and thus serves as a CLEAR snapshot command.
  • a clear command having databit(3) set to "1" clears the scanblock register of the correspondent CBQ value, and thus serves as a CLEAR scanblock comand.
  • a clear command having databit(4) set to "1" clears the multicast register of the correspondent CBQ value, and thus serves as a CLEAR multicast command.
  • Scanblock Register A read of the scanblock register is made by sending a coded LCC cell with an
  • ADR field value of 28 to switch core 22 The RPC- field and the CBQ field values of the LCC cell give correspondent data of scanblock register.
  • Multicast Register A read of the multicast register is made by sending a coded LCC cell with an
  • the RPC-field values of the LCC cell give correspondent data of multicast register.
  • Service cells are supplied to SPIC 26 from switch core 22 in accordance with the scanstate process. Therefore, SPIC 26 can only stop service cells from arriving either by blocking all affected crosspoints (XPUs) on its column or by setting the scan enable counter to zero. Thus, the scanstate process (see Fig. 18) searches the XPUs 32
  • Cell read unit (CRU) 59 obtains the outgoing cell from the appropriate one of the cross point units (XPUs) 32 attached to read bus 44, after which after which cell generator unit (CGU) 58 begins the process of applying the outgoing service cell to the outgoing cell stream on link 28.
  • CGU cell generator unit
  • cell read unit (CRU) 59 comprises read address counter 59-
  • cell size logic unit 59-2 cell size logic unit 59-2; a select unit 59-3; a set of snapshot registers 59-4; a set of scan data gates 59-5; and, a set of scanblock registers 59-6.
  • the cross point status unit (XSU) 50 applies a signal on line "scan data" to gate 59-5 of cell read unit (CRU) 59.
  • CRU cell read unit
  • Fig. 5H(2) the arrangement of Fig. 5H(2) is replicated for each cross point unit (XPU) 32 managed by cross point status unit (XSU) 50, and accordingly that there is a separate line “scan data” for each such cross point unit (XPU) 32.
  • the scan signal on line "scan data” is passed through gate 59-5 if so allowed by a corresponding register in the set of scanblock registers 59-6.
  • the gated scan signal is then applied in parallel to a corresponding one of the snapshot registers 59-4 and to select unit 59-3.
  • Select unit 59-3 noting the particular cross point unit (XPU) 32 to which the gated scan signal pertains, sends appropriate signals so that the service cell can be fetched from that cross point unit (XPU) 32.
  • select unit 59-3 applies a signal on line "buffer enable" of read bus 44; sends a signal on line “read control” so that read address counter 59-1 can determine which particular cross point unit (XPU) 32 should be addressed in view of the particular scan data line utilized; and sends a buffer select signal on a line "priority" of read bus 44 so that a selected one of the buffers CBQ 0 and CBQi at the addressed cross point unit (XPU) 32 is properly designated.
  • select unit 59-3 sends a signal on line "service cell” to cell generator unit (CGU) 58 [see Fig. 5G] to indicate that a service cell is becoming available.
  • CGU cell generator unit
  • Read address counter 59-1 uses the signal on line “read control” to determine an address of the cross point unit (XPU) 32 corresponding to the gated scan signal received at select unit 59-3. The address is applied on line “read address” of read bus 44. At the beginning of the reading, read address counter 59-1 sets a signal on line “start-read” for application to cross point status unit (XSU) 50 [see Fig. 5H(2)].
  • cell read unit (CRU) 59 Bytes of the service cell are acquired by cell read unit (CRU) 59 on line "read data" of read bus 44.
  • cell size logic unit 59-2 determines the length of the cell (i.e., from field SCS [see Fig. 4A]).
  • Cell size logic unit 59-2 allows read address counter 59-1 to repetitively increment the address applied on line "read address” until all bytes of the cell, as determined by cell size logic unit 59-2, are obtained. Then, cell size logic unit 59-2 causes read address counter 59-1 to issue a signal on line "end-read” for application to cross point status unit (XSU) 50 [see Fig. 5H(2)].
  • CRU Cell read unit
  • (XPU) 32 causes the pollstate status register 50-2 for the unloaded buffer to be reset to a "free" condition.
  • one or the other of the signals on line “end-read” or line “start-read”, in dependence upon the value of the pollrate register, is utilized to reset the pollstate status register 50-2 [see Fig. 5H(2)].
  • Cell generator unit (CGU) 58 determines which cell to send to switch port board (SPB) 24 at a next cell interval. The cell sent out by cell generator unit (CGU) 58 is applied via bus p-data-out to system clock unit (SCU) 52 (see Fig. 5B).
  • SCU system clock unit
  • cell generator unit (CGU) 58 includes a next cell control unit 58-1, the poll enable register (shown as register 58-2P), the scan enable register (shown as register 58-2S); parity generator 58-3; control cell fill bank 58-4; and PRI- integrity check unit 58-5.
  • Next cell control unit 58-1 determines which type of cell next to send to switch port board (SPB) 24 at a next cell interval, and in order to make the decision receives the signals on the lines sync-cell, service-cell, and OAM cell as well as signals indicative of the content of the poll enable register 58-2P and scan enable register 58-2S.
  • SPB switch port board
  • Cell generator unit (CGU) 58 uses the signals input thereto in order to confrol a cell transmission procedure described e.g., in section 9.0 and Fig. 10.
  • next cell control unit 58-1 outputs a signal on line "control-cell-unload” to control cell fill bank 58-4, and on line “read-control” to parity generator 58-3.
  • Control cell fill bank receives a signal on line "OAM-cell data" from target code register 57-2 (see Fig. 5E).
  • PRI-integrity check unit 58-5 receives a service cell from cell read unit (CRU) 59 on line "read-data”, performs an integrity check, and passes the service cell to parity and parity generator 58-3 prior to transmittal to cell synchronizer unit (CSU) 54, line interface unit (LIU) 53, and switch port board (SPB) 24.
  • CSU cell synchronizer unit
  • LIU line interface unit
  • SPB switch port board
  • cells are sent out from cell generator unit (CGU) 58 in accordance with the following priority rules (in descending priority order) : 1.
  • a link state control (LSC) cell if a hunt state appears or a LSC cell prompt occurs.
  • LSC cells are utilized to maintain alignment on the link between SPIC 26 and the corresponding RCU 40, i.e., to discern cell borders.
  • the RCU 40 is unable to find cell structures, and instead sends LSC cells with a code indicating that the RCU 40 is out of synchronization and needs to receive LSC cells until RCU 40 stops sending LSC cells.
  • the SPIC 26 may be out of synchronization and sends a corresponding request to RCU 40, so that RCU 40 issues continuous LSC cells (although not with a code indicating that RCU 40 is out of synchronization).
  • An OAM-cell according to an earlier request or prompted polling schedules also known as a pending LCC cell prompted by SPIC 26.
  • CGU Cell generator unit
  • OAM-cell on hold if LSC cell prompt occurs
  • the LSC cell and idle cell are generated in control cell fill bank 58-4 as well as the common part of the OAM-cells.
  • PRI-integrity check unit 58-5 tests whether the value in the PRI field of the cell matches its own PRI using the Own PRI register as shown in Table 6.
  • PRI- integrity check unit 58-5 can also make a parity check. Parity generator 58-3 adds or alters the required parity for all cell types.
  • the system clock unit (SCU) 52 generally shown in Fig. 5 as comprising row column unit (RCU) 40,is shown in more detail in Fig. 51.
  • a mux 52-1 selects one of the signals sysclk-in, i.e., from the appropriate row column unit (RCU) 40, to be applied as signal sysclk-out to line interface unit 53 (see Fig. 5 A).
  • the selection by mux 52-1 is controlled by system clock register 52-2.
  • System clock register 52-2 can be set by a LCC cell of coded format.
  • a slew rate register 52-3 can be provided and set so that the transition speed (volts/nano-seconds) from low to high can be controlled on the SCLK- OUT and D-SCSP signals (see Fig. 5A), with four rates being settable.
  • Fig. 7 is a flowchart showing basic steps involved in an initialization procedure for the ATM switching system of Fig. 1.
  • each switch port board (SPB) 24 send at least five link state control cells (LSC cells) with coded format to its corresponding row column unit (RCU) 40 [see Fig. 5].
  • LSC cells link state control cells
  • RCU row column unit
  • fewer LSC cells e.g., three LSC cells
  • SYNC SYNC
  • the coded LCC cell issued at step 7-2 is used to set the poll enable register [see Table 6] at zero.
  • the poll enable register is discussed e.g., in section 4.6.2.1.
  • Steps 7-3 through 7-7 are executed with respect to each cross point unit (XPU) 32 for each each row column unit (RCU) 40 in switching system 20.
  • a clear command LCC cell is sent to each of matrix 0 and matrix 1.
  • This clear command LCC cell resets positions in pollstate register 50-2 and scanstate register 50-4 (see Fig. 5H(2)) which are associated with the XPUs that the RCU 40 owns.
  • step 7-4 two coded LCC cells are sent to initialize the scanrate register high byte and the scan rate register low byte [see Table 6].
  • the scanrate register is discussed e.g., in section 4.6.2.9.
  • the first LCC cell of step 7-4 initializes the scan rate register low byte;
  • the second LCC cell of step 7-4 initializes the scan rate register high byte .
  • the scanrate high byte is utilized for the CBQ 0 buffer of a cross point unit (XPU) 32 (in matrix 0 of memory array unit (MAU) 30) ;
  • the scanrate low byte is utilized for the CBQi buffer of a cross point unit (XPU) 32 (in matrix 1 of memory array unit (MAU) 30).
  • the bytes are set to indicate an unknown rate (unless the rates are, in fact, known).
  • step 7-5 two coded LCC cells are sent to initialize the poll rate register high byte and the poll rate register low byte [see Table 6].
  • the pollrate register is described e.g., in section 4.6.2.8.
  • the bytes are set to indicate an unknown rate (unless the rates are, in fact, known).
  • the fields of the coded LCC cell for the first cell of step 7-5 are set to the following values [see Fig.
  • a coded LCC cell is sent to enable the scan enable register [see Table 6].
  • the scan enable register is described e.g., in section 4.6.2.4.
  • a coded LCC cell is sent to set the poll enable register [see Table 6] to mode 1.
  • the significance of mode 1 is explained in connection with Fig. 10.
  • Step 7-8 requires waiting for a time period comparable to the duration of thirty- two maximum length (e.g., 56 byte) service cells. During this wait period, any cells generated are ignored.
  • the wait period of step 7-8 allows any sporadic service cells or control cells to be flushed out of switching system 20. Sporadic service cells may occur if the pollstate registers of other row column units (RCUs) 40 indicate that there is a cell available for reading, which may happen at power up or if other row column units (RCUs) 40 do not have a switch port board (SPB) 24 connected. Such sporadic service cells can be flushed out after the link is synchronized and the poll enable mode is set to mode 1, 2, or 3.
  • SPB switch port board
  • each switch port board (SPB) 24 is connected to switch core 22 a bidirectional link, particularly links 27 and 28.
  • a sync-tag detector or cell aligner On each side of the link there is a sync-tag detector or cell aligner.
  • RCU row column unit
  • CSU cell synchronizer unit
  • the task of the sync-tag detector is to detect LSC-cells.
  • cells of various sizes are transferred between switch port board (SPB) 24 and switch core 22 as a bit stream in each direction. Other than its internal content, no explicit information about the cell start is on links 27, 28.
  • Both sides ⁇ switch core 22 and switch port board (SPB) 24 ⁇ are therefore required to make cell alignment in order to synchronize links 27 and 28. Synchronization is achieved by the insertion of LSC-cells [see Fig. 4B(3)] as required.
  • the LSC-cells transmitted from switch port board (SPB) 24 to switch core 22 are analyzed at sync-tag detector 54-3; LSC cells transmitted from switch core 22 to switch port board (SPB) 24 are analyzed at a corresponding and analogously operated sync tag detector in switch port board (SPB) 24.
  • the sync tag detector does not affect non-LSC cells.
  • sync tag detector 54-3 both comprise a state machine which operates in accordance with the state diagram shown in Fig. 8.
  • each side of the link ⁇ switch core 22 and switch port board (SPB) 24 ⁇ must be able to advise of its state by using LSC cells.
  • the operation of sync tag detector is hereinafter discussed generically, it being understood that such operation can describe both sync tag detector 54-3 and the sync tag detector in switch port board (SPB) 24.
  • the incoming LSC-cells are compared by the sync tag detector to the predefined pattern for LSC-cells (see Fig. 4B(2) and section 2.2.2.1].
  • the SSC field indicates whether the sync tag detector which generated the LSC cell is in its PRESYNC state (as indicated by an SSC value of 11) or is in one of its synchronization states, e.g., SYNCO or SYNC1 (as indicated by an SSC value of "SYNC", i.e., 00).
  • SYNC as indicated by an SSC value of 11
  • sync tag detector stays in a PRESYNC state until three consecutive error-free LSC-cells are received, and then enters one of its two SYNC states (SYNCO or SYNC1).
  • SYNC SYNC states
  • Each service cell contains information about its size, particularly in field SCS
  • the size information is used to maintain the cell synchronization.
  • Certain cell faults such as those detected by integrity check unit 55-3 [see Fig. 5C], put the sync tag detector into the PRESYNC state. If an LSC-cell with a PRESYNC value in its SSC field is received during SYNC1 state, the state machine enters state SYNCO. In state SYNCO, LSC-cells with SYNC values in field SSC are sent all the time until any cell (except a LSC cell with a PRESYNC value in field SSC) is received.
  • TRANSITION RULE 1 In the PRESYNC state, the following actions are taken:
  • TRANSITION RULE 2 In the SYNCO state, the following actions are taken:
  • TRANSITION RULE 3 In SYNCl state, the following actions are taken:
  • switch core 22 When leaving the SYNCl state, switch core 22 completes an ongoing cell transfer; (3) Go to SYNCO state when an error-free LSC cell with SSC value of
  • Fig. 9 shows possible state transitions in sync tag detector 54-3 for an example synchronization and resynchronization scenario.
  • the SSC value of an LSC e.g., the state of the sync tag detector which issued the LSC cell
  • SYNC generically refers to synchronization, e.g., either SYNCO or SYNCl.
  • switch core 22 receives LSC cells with SSC values of PRESYNC, and LSC cells SSC value PRESYNC are also sent out from switch core 22 to switch port board (SPB) 24.
  • switch port board (SPB) 24 After three consecutive received LSC cells, sync tag detector 54-3 goes into SYNCO state and sends out an LSC value with an SSC value of SYNC.
  • the switch port board (SPB) 24 goes to SYNCl state after reception of three LSC cells (see e.g., Transition Rule 1, Action 3). Then, after receipt of an LSC cell with SSC value of SYNC, state SYNCl is entered and a further LSC cell with SSC value of SYNC is sent out. Now both switch core 22 and switch port board (SPB) 24 are in the SYNCl state, with the result that service cells can be interchanged over the links 27, 28.
  • sync tag detector 54-3 in switch core 22 After synchronization is established, should sync tag detector 54-3 in switch core 22 receive a LSC cell with SSC value of PRESYNC, sync tag detector 54-3 reverts to state SYNCO and replies with a LSC cell having SSC value of SYNC. If consecutive LSC cells with PRESYNC are received at sync tag detector 54-3, sync tag detector 54-3 reverts to state SYNCO and replies with a consecutive stream of LSC cells. If a fault is detected in received service cells, switch core 22 goes into PRESYNC state and starts to send LSC cells with SSC values of PRESYNC to switch port board (SPB) 24. These LSC cells will cause switch port board (SPB) 24 to send LSC cells with SSC values of PRESYNC. After three consecutive such LSC cells, sync tag detector 54-3 again goes into state SYNCl and the service cells can start to flow.
  • SPB switch port board
  • the cell stream shown in Fig. 3 is constantly maintained between the switch port board (SPB) 24 and switch core 22. Continuity is achieved by cell rate decoupling.
  • switch core 22 specifically cell generator unit (CGU) 58 [see Fig. 5G] sends LSC cells (with the SSC field set to the current synchronization state of switch port board (SPB) 24 and switch core 22) when there are no service cells or LCC cells to send on link 28.
  • CGU cell generator unit
  • switch port board (SPB) 24 sends LSC cells with the SSC field set to current synchronization state when there are no service cells or LCC cells to send on link 27.
  • Control cells both LSC cells and LCC cells, unlike service cells, are terminated in row column unit (RCU) 40.
  • Received LSC cells used primarily for synchronization purposes in the manner described e.g., in section 6.0, affect row column unit (RCU) 40, and particularly the state machine of sync tag detector 54-3, in the manner described above [see, e.g., Fig. 8 and Fig. 9].
  • LCC cells whether coded [see Fig. 4B(1)] or bitmapped [see Fig. 4B(2)] , are used to control and operate one row column unit (RCU) 40 in switch core 22 from the switch port board (SPB) 24 connected thereto.
  • each switch port board (SPB) 24 confrols its own row column unit (RCU) 40.
  • LCC cells are employed to update control registers inside row column unit (RCU) 40, particularly registers in cross point status unit (XSU) 50 as shown in Table 6.
  • the received LCC cell contains data for this purpose. Up to 16 bits data in a register can be updated by one bitmapped LCC cell [see section 2.2.1.1].
  • a coded LCC cell 8 bits are written to or read from a register in row column unit (RCU) 40.
  • Other LCC cells contain commands to be carried out by row column unit (RCU) 40.
  • Table 7 shows various fields (PRI, ADR, Write, Read [see Fig. 4B(2)] of a LCC cell received at a row column unit (RCU) 40 and actions taken with respect thereto, including actions taken by row column unit (RCU) 40 including issuance of any responsive LCC cell.
  • RCU row column unit
  • Table 7 shows various fields (PRI, ADR, Write, Read [see Fig. 4B(2)] of a LCC cell received at a row column unit (RCU) 40 and actions taken with respect thereto, including actions taken by row column unit (RCU) 40 including issuance of any responsive LCC cell.
  • a LCC cell received at row column unit (RCU) 40 serves the following purposes:
  • the received LCC cell includes data and address for the register.
  • the received LCC cell includes the address for the register to be updated, as well as the updating data which is to be stored in the addressed register.
  • the RCU responds with a LCC cell which confirms that the data that has been written into the register.
  • the received LCC cell includes the command code.
  • RCU 40 are allowed. However, only one pending coded LCC cell for reading a register of a row column unit (RCU) 40 is allowed. A write into a register of a row column unit (RCU) 40 using a coded LCC cell is not allowed during a pending read except for a "retrieve_pollstate_command" (see Table 6).
  • the retrieve_pollstate_command can be sent from the switch port board (SPB) 24 at any time and the row column unit (RCU) 40 responds with the pollstate-status (assuming that the RCU is in sync).
  • SPB switch port board
  • Table 7 shows possible LCC cell flows, i.e., a reception of an LCC cell at an row column unit (RCU) 40 and the responded LCC cell issued by the RCU to switch port board (SPB) 24.
  • all cell flows are initiated by the switch port board (SPB) 24 connected to its associated row column unit (RCU) 40, except for the last LCC cell (pollstate) that is initiated by the internal logic in switch core 22 and which occurs when one of the buffers is freed by unload of a cell.
  • Service cells are routed through switch core 22 from one port to another port, i.e., from one of the switch port boards (SPB) 24 to another switch port board (SPB) 24. Also copying of the service cell to several or all other ports is possible. Copying of a service cell to several ports is known as “multicast”' copying of a service cell to all ports is known as “broadcast”. "Multicast"' and “broadcast” are discussed elsewhere herein, e.g., in section 8.0 below.
  • the header of a service cell contains, in the PRI field [see Fig. 4A] the number of the destination port for the cell. For example, if switch port board (SPB) 24 ! 5 is the destination port, then the PRI field of the cell as received at row column unit (RCU) 40 will be "15". However, before the cell is stored in the appropriate one of the cross point units (XPUs) 32 (e.g., cross point unit (XPU) 32 i5 in the example just postulated), the PRI value originally stored in the cell as received by row column unit (RCU) 40 is replaced by a value corresponding to the port number of the switch port board (SPB) 24 which issued the service cell.
  • XPUs cross point unit
  • the PRI value of the service cell is changed to "0" by row column unit (RCU) 40 prior to transmission to XPU 32 0, i 5 .
  • the PRI changing is accomplished by PRI-swap unit 55-4 of cell analyzer unit (CAU) 55 [see Fig. 5C].
  • CAU cell analyzer unit
  • the header of the service cell also contains the two bits CBQ which pinpoint into which one of the two buffers CBQ 0 and CBQi of the PRI-addressed cross point unit (XPU) 32 the service cell shall be loaded.
  • the second byte in the header of the service cell contains a traffic type indicator (TTI) [see Fig. 4A].
  • the cell is copied into several cross point units (XPUs) 32.
  • the cross point units (XPUs) 32 which are to receive the multicast service cell are defined by a 16 bit register inside row column unit (RCU) 40, particularly the multicast register shown in Table 6 [see section 4.6.2.13].
  • RCU row column unit
  • Each bit in the multicast register corresponds to one of the cross point units (XPUs) 32 0 through 32i 5 on the row served by the cell-receiving row column unit (RCU) 40.
  • An active bit in the multicast register indicates that the corresponding XPU 32 of the row is to be be loaded with the cell.
  • the multicast register has to be loaded before the service cell arrives.
  • TTI traffic type indicator
  • SPB switch port boards
  • the service cell will be copied to the cross point units (XPUs) 32 which have free buffers (either CBQ 0 or CBQi). If the multicast register requires a load for an XPU 32 with an occupied buffer, then an error will be indicated by cell integrity register 55-3 [see Fig. 5C].
  • Cross point units (XPUs) 32 with free buffers CBQo or CBQi will still be loaded. Essentially the same procedure is used during broadcast, i.e., free buffers are loaded independently of other buffers. However, no error indication caused by occupied buffers is provided during broadcast.
  • the cells emanting from switch core 22 include both control cells and service cells.
  • Next cell confrol unit 58-1 [see Fig. 5G] receives requests on lines sync-cell, control-cell, and service-cell when requested to accept the respective cells indicated by the names of the respective lines.
  • Next cell control unit 58-1 sets internal requests for cell output in accordance with the signals recovered on these lines, and processes these requests as indicated in Fig. 10. Once a request for a specified type of cell is satisfied, the request is "cleared".
  • parity bits are determined and added.
  • the parity bits for a service cell are checked at unload from the cross point unit (XPU) 32 by PRI-integrity check unit 58-5 (see Fig. 5G). Cells with incorrect parity are discarded and an indication is made in the cell integrity register.
  • FIG. 10 illustrates the cell sending process from switch core 22. Which of the different options or modes (1, 2 and 3) is in effect is determined by the contents of the poll enable register [see Table 6 and section 4.6.2.1].
  • Modes 2 and 3 of Fig. 10 primarily differ from mode 1 by affording a certain priority to generation of service cells.
  • modes 2 and 3 employ a particular byte counter employed in (referenced especially at step 10-18) which assures that service cells have priority over pollstate LCC-cells for a certain amount of time.
  • the amount of such "time” can be set to the transmission time of 32 or 64 bytes of service cell in modes 2 and 3, respectively.
  • Fig. 10 shows each of three modes of cell transmission, including transmission mode 1, fransmission mode 2, and transmission mode 3.
  • Transmission mode 0 merely involves sending a LSC cell at step 10-0 for synchronization purposes. Actions performed in the remaining transmission modes are discussed below. While Fig. 10 shows a general scheme of operation, it should be understood that some exceptions are permitted at rare occasion, i.e. power-up, bit error etc.
  • pollstate release LCC-cells indicate cross point units (XPUs) 32 which have released or "free" buffers.
  • Pollstate release LCC cells are sent whenever there is a change in status of a buffer (either CBQ 0 or CBQi) from occupied to free. If buffers of different priority have changed status, two poll state LCC-cells are sent: the first for queue CBQ 0 and the second for queue CBQi.
  • the scan enable register also known as cell size logic 59-2 (see section 4.6.2.4 and Fig. 5F).
  • the signal read data is used to determine cell size and also to control the reading from the crosspoint so that the entire service cell can be read out.
  • the read data signal is used to decrement the scan enable counter.
  • This scan enable counter is decremented by one as every eighth byte of the service cell is sent. When the value of this eighth byte service cell counter equals zero, the service cell is finished. After that read control inhibits the reading of the next service cell. After the scan enable register has been loaded to a new (non-zero) value, the next service cell in line will be unloaded. In other words, the scan process is started again by writing a value (1-255) to the scan enable register [see Table 6]. When the value of eighth byte service cell counter counter is preset to 255, all decrementation is disabled and the scan process continues all the time.
  • Cell Transmission Mode 1 follows a priority scheme as to which type of cell is to be transmitted.
  • the cell sending priority reflected by Fig. 10, is as follows, starting with the highest priority:
  • Step 10-1 If requested to do so upon receipt of a LSC-cell send request on line sync- cell (step 10-1), a LSC cell is sent out according to the link synchromzation process (see, e.g., section 6.0), and the LSC-cell send request of next cell control unit 58-1 is cleared (step 10-2).
  • step 10-3 If requested to do so on line control-cell upon receipt at step 10-3 of a LCC- cell requesting reading from registers (depicted in Table 6) of cross point status unit (XSU) 50, the requested coded LCC cell is sent out and the request is cleared (step 10- 4). Step 10-4 is not triggered by pollstate release LCC cells.
  • a bitmapped LCC cell with pollstate status is issued.
  • the contents of the bitmapped LCC-cell are derived from the pollstate status register [see section 4.6.1.3]. Further, the pollstate change for such buffer is cleared.
  • a pollstate status request for the CBQ 0 buffers is given higher priority than a pollstate status request for the CBQi buffers.
  • a bitmap pollstate release LCC cell is sent.
  • One pollstate release register has a bitmap of the buffers in matrix 0 (e.g. the CBQo buffers), another pollstate release register has a bitmap of the buffers in matrix 1 (e.g., the CBQi buffers) [see section 4.6.1.3 and Table 5].
  • the buffers CBQ 0 are given a higher priority than the buffers CBQj.
  • the bitmap LCC cell released at step 10-7 carries information regarding all buffers of the respective priority (CBQo and CBQi) that have been released since the last "pollstate release" command.
  • Step 10-9 of Fig. 10 shows that a scan process or operation is conducted if none of the actions of steps 10-2, 10-4, 10-6, or 10-8 are taken.
  • the scan process is described, e.g., in section 10.0 hereof.
  • a step 10-10 a determination is made whether the four aforementioned priority rules for cell generator unit (CGU) 58 [see section 4.8] require that a service cell be fed from switch core 22. If the determination at step 10-10 is affirmative, at step 10-11 a service cell is sent.
  • CGU cell generator unit
  • step 10-0 a LSC cell is sent by cell generator unit (CGU) 58.
  • CGU cell generator unit
  • Cell transmission Mode 2 limits the number of bitmap LCC cells containing pollstate information that can be sent and allows more service cells to be sent instead. If there are service cells to be sent, then a pollstate information cell is only allowed to be sent if a minimum of 32 bytes of service cells have been transmitted since the previous pollstate information cell was sent.
  • Steps 10-12 through 10-17 performed for mode 2 fransmission are analogous to steps 10-1 through 10-6 performed for mode 1.
  • a check is made whether a poll enable counter has expired.
  • the poll enable counter is in cell size logic unit 58-2 [see Fig. 5H].
  • the poll enable counter referenced at step 10-18 prevents a pollstate release LCC cell from being issued too often if service cells can be delivered consecutively (i.e., back-to-back). For example, if service cells eight bytes long can be delivered back-to-back from a cross point unit (XPU) 32 on a column, the rate of service cell payout would be slowed if pollstate release LCC cells were interspersed between such service cells. If a mode 32 were set, the pollstate release LCC cells could not be issued more frequently than every thirty-two bytes of consecutive service cells. This means that there would be at least four eight byte-long service cells before the pollstate release LCC cell is issued.
  • the poll enable counter is decremented for each byte of service cells in accordance with a signal from cell size logic unit 59-2. Once the pollstate release LCC cell is issued, the poll enable counter is reset.
  • the pollenable counter is internal to row column unit (RCU) 40 and is not controlled by switch port integrated circuit (SPIC) 26.
  • SPIC switch port integrated circuit
  • the poll enable counter is incremented by the value of one for every byte of transmitted service cell.
  • the final value of this counter is either 32 or 64 (dependent on whether the value of the poll enable register is 2 or 3, respectively).
  • Unprompted pollstate LCC cells are only sent when this byte counter reaches its final value or if there are no service cells to be sent.
  • Step 10-28 in which a service cell is sent, also involves incrementing the poll enable counter (referenced at step 10-18) in accordance with the cell length.
  • step 10-19 If the poll enable counter for service cells referenced at step 10-18 has not expired, a scan process is conducted (step 10-19). Then, at step 10-20, it is determined whether a service cell has been requested ( in like manner with step 10-10). If a service cell has been requested, at step 10-21 a service cell is supplied and the byte counter referenced at step 10-18 is incremented in accordance with the cell length. If a service cell has not been requested, at step 10-22 it is determined whether the pollstate of any buffers has changed to a free state. If the determination is negative, an LSC cell is sent (step 10-23). Otherwise, at step 10-24, a pollstate release LCC cell is sent in similar manner as step 10-8.
  • This mode is the same as mode 2 except that pollstate information cells can only be sent after a minimum of 64 bytes of service cells have been transmitted since the previous pollstate information cell was sent.
  • Scanning is a process in which switch core 22 determines when cells can be gated out of buffers CBQ 0 and CBQi of cross point units (XPUs) 32.
  • synchronization (LSC) cells are sent from switch core 22 in accordance with Fig. 9 (see section 6.0).
  • LCC cells are sent from switch core 22 primarily as a response from a LCC cell issued by switch port board (SPB) 24.
  • SPB switch port board
  • Switch core 22 also issues LCC pollstate cells which advise switch port board (SPB) 24 of the availability of service cells from the various cross point units (XPUs) 32.
  • One type of pollstate cell also are known as pollstate release cells in view of the fact that their content is based on the content of a corresponding pollstate release register (e.g., see pollstate release register 50-8 in Fig. 6). Pollstate cells thus provide switch port board (SPB) 24 with an indication of whether the buffers on the same row are in a "free" or "occupied” state.
  • a pollstate release LCC cell is sent in accordance with the cell transmission scheme depicted and described above with reference to Fig. 10 and section 9.0.
  • a buffer is "free” as soon as there is a possibility to start the load of a new cell into the buffer.
  • the buffer is marked "occupied” when a cell is loaded into the buffer.
  • a "free" indication of the buffer is made in accordance with either of two polling options. These two polling options are illustrated in Fig. 15.
  • the first polling option is that the "free” indication of the buffer be made at the beginning of the unload of the cell from the buffer (see point PI in Fig. 15).
  • the second polling option is that the "free” indication of the buffer be made at the end of the unload of the cell from the buffer (see point P2 in Fig. 15). Whether the first or second polling option is implemented depends on the value loaded into the pollrate register (see sections 4.6.1.3 and 4.6.2.8).
  • the first polling option is typically implemented when the sending switchport rate is less than or equal to the receiving switchport rate, or the rate difference is less than four percent.
  • the second polling option is typically implemented when the sending switchport rate is greater than or equal to the receiving switchport rate, or the rate difference is unknown.
  • Each row column unit (RCU) 40 scans the buffers on its assigned column of memory array unit (MAU) 30 (see Fig. 1). Buffers (e.g., CBQ 0 and CBQi of cross point units (XPUs) 32) with the state "cell available" are unloaded using service cells that are transmitted out from switch core 22, and the sending buffer is marked "empty”.
  • Buffers e.g., CBQ 0 and CBQi of cross point units (XPUs) 32
  • a "cell available” is indicated as soon as there is a possibility to start the unload of a cell from the buffer.
  • the buffer is marked empty when the first word of the cell is unloaded from the buffer.
  • "cell- available” indication of the buffer is made in accordance with either of two scan options which are illustrated in Fig. 16.
  • the "cell-available" indication of the buffer is made at the beginning of the load of the cell as indicated by point Q 1 in Fig. 16.
  • the "cell-available” indication of the buffer is made at the beginning of the load of the cell as indicated by point Q2 in Fig. 16. Whether the first scan option or the second scan option is employed depends on the value loaded into the scanrate register (see sections 4.6.1.3 and 4.6.2.9). As in Fig.
  • the first scan option is typically implemented when the sending switchport rate is less than or equal to the receiving switchport rate, or the rate difference is less than four percent.
  • the second scan option is typically implemented when the sending switchport rate is greater than or equal to the receiving switchport rate, or the rate difference is unknown.
  • CBQo and CBQi on each column in memory array unit (MAU) 30.
  • CBQ 0 has higher priority than CBQi.
  • CBQo and CBQithere are two snapshot registers, one per queue.
  • the snapshot registers are loaded with actual buffer status.
  • the buffer status is masked by the content of the correspondent scanblock register.
  • the actual bufferstatus is held by the scanstate register (see, e.g., scanstate register 50-4 in Fig. 6).
  • the state "cell available/empty" for each buffer is copied to the snapshot register.
  • After load of the snapshot register all bits corresponding to CBQo are processed and the bits are cleared at the unload of the buffer.
  • the buffers are processed in sequence, i.e.
  • Fig. 17 basically shows the scanning process (indicated by symbol 17-0).
  • a determination is made whether the snapshot register for queue CBQ 0 is empty. If the snapshot register for queue CBQo is empty, at step 17-2 the snapshot register for queue CBQ 0 is loaded with the status of queue CBQ 0 (masked by scanblock 0). Then, at step 17-3, a check is made whether the snapshot register for queue CBQ 0 is empty.
  • step 17-4 a determination is made whether the snapshot register for queue CBQi is empty. If the snapshot register for queue CBQi is empty, at step 17-5 the snapshot register for queue CBQi is loaded with the status of queue CBQi (masked by scanblock 1). Then, at step 17-6, a check is made whether the snapshot register for queue CBQi is empty. If the snapshot register for queue CBQi is empty, a service cell send request is not issued (step 17-7).
  • step 17-8 the next buffer is unloaded in turn in queue CBQ 0 and the snapshot register bit for queue CBQ 0 is cleared.
  • step 17-9 the next buffer is unloaded in turn in queue CBQjand the snapshot register bit for queue CBQi is cleared.
  • step 17-10 a check is made at step 17-10 whether the scan enable counter is zero. If the scan enable counter is zero, a service cell send request is not issued (step 17-7). Otherwise, as indicated by step 17-11, a service cell send request is issued.
  • Integrity Check The integrity checks essentially maintain cell synchronization and preclude corrupted cells from being further processed or forwarded. At the reception of all cells from switch port board (SPB) 24, parity checks are made on the first and second bytes using the FBP and SBP fields [see e.g., Fig.CA and Fig. 4B . Last word parity (LWP) is also checked for the control cells [see Fig. 4B].
  • SPB switch port board
  • the first byte is manipulated before the cell is stored in the buffer(s) in view of the change in the value of the PRI field that occurs prior to sending the cell to the cross point unit (XPU) 32 [see the discussion of PRI-swap unit 55-4 and Fig. 5C].
  • a new FBP is determined and added to the service cell before it is stored in the appropriate one of the cross point units (XPUs) 32.
  • the parities (FBP and SBP) are checked when the cell is unloaded from the buffer of the cross point unit (XPU) 32.
  • the parity bit for the second byte (field SBP) is calculated and added, since the second byte is changed by the TTI translation.
  • Fig. 18 shows diagrammatically the parity checking on service cells.
  • SPB switch port board
  • the parity check is performed as indicated at S-1 using the fields FBP and SBP, as described above. If an error is detected in the service cell, a cell discard process (CDP) is invoked (S-2).
  • Step S-3 shows the swap of the PRI performed by cell analyzer unit (CAU) 55 [see Fig. 5C] and the recalculation of a new FBP.
  • Step S-4 reflects storage of the service cell in an appropriate one of the cross point units (XPUs) 32 of memory array unit (MAU) 30.
  • XPUs cross point units
  • MAU memory array unit
  • Step S-7 depicts the TTI translation and computation of new SBP, which is followed as indicated at S-8 by transmission of the cell from row column unit (RCU) 40 to the destination switch port board (SPB) 24.
  • Last word parity (LWP) is also added for the control cells.
  • Table 8 shows faults and action for control cells
  • Table 9 and Table 10 show faults and actions for service cells.
  • Table 9 is also for the first cell in a concatenated stream
  • Table 10 is for the following and last cell in the concatenated stream..
  • the LSP defines the actions that should be taken when faults indicating loss of cell synchronization occurs.
  • the LSP states following actions: (1) discard ongoing cell from any further processing; (2) force the sync state machine into presync state.
  • the CDP includes handling of both service cells and confrol cells.
  • the CDP defines that the received cell, service cell or confrol cell, is discarded from further processing.
  • the CDP defines that the service cell unloaded from the crosspoint buffer shall be discarded and an LSC cell are inserted instead.
  • the crosspoint buffer is set to state "free".
  • concatenated cells For concatenated cells, at the receiving side, when CDP is caused by exceeding buffer size, the whole remaining concatenated cell stream is discarded. If CDP is invoked by other errors, such as changed PRI/TTI/CBQ or non-service cell in the concatenated cell stream, the cell with the error is discarded. Remaining concatenated cells, in the stream, are regarded as a new concatenated cellstream (i.e., this can be loaded into the buffer or discarded dependent on if buffer is available or not).
  • CDP defines that the service cell unloaded from the crosspoint buffer shall be discarded and an LSC cell are inserted instead. All following concatenated cells in the buffer are discarded from further processing and the buffer is set to "free” if the load of a "new" cell has not started yet.
  • the Abort Insert Process defines that an abort signal is inserted in the addressed crosspoint buffer at the defined CBQ instead of the first two bytes of the service cell causing the process to be invoked.
  • the abort signal is 16 bits long and the signal is hex FE1C, starting with the first byte.
  • CIR X means that the fault is indicated by setting bit x of Cell Integrity Register. The bit is cleared after a read of the register.
  • All ports have two connections for system clock. One input and one output.
  • the source for the output is an input from any other port.
  • Actual source (port number) is programmable and different sources can be set for different ports.
  • the speed of transmission of the cells out of row column unit (RCU) 40 is determined by the same clock that is used for receiving cells. This clock is delivered by the remote unit connected to this port.
  • the incoming system clock on all ports are distributed to all other RCU'S.
  • the switch is controlled by the system clock register in RCU.
  • the output from the switch is connected to the system clock output of the port. See Fig. 19.
  • the system clock output on any port is fransparent from the system clock input of any other port.
  • the present invention can be utilized in conjunction with the ATM systems disclosed in the following simultaneously-filed United States patent applications, all of which are incorporated herein by reference:
  • Table 2 Traffic Type Indicator, coding in transmitted service cells.
  • Table 5 Registers accessed by bitmap format LCC-cells.

Abstract

An asynchronous transfer mode (ATM) switch (20) has plural switch ports (24) connected by respective bidirectional links (27, 28) to a switch core (22). Connected to each switch port is a corresponding row column unit (40), each row column unit managing the writing of service cells to one row of cross point units (32) and the reading of service cells from one column of cross point units. The bidirectional links between each switch port and its corresponding row column unit of the switch core carry both service cells and control cells. An interactive exchange of control cells is implemented to sequence operation of the switch core. The operations particularly dependent upon control cell generation include transmission of service cells from the switch core; transmission of pollstate control cells from the switch core; retrieval of contents of certain control registers maintained by the switch core; and synchronization procedures. Pollstate information, indicative of 'occupied'/'free' status of selected ones of the cross point units, is transmitted in pollstate control cells. The pollstate control cells are generated and transmitted either (1) in response to a particular control cell evocative of the pollstate information, or (2) upon a change of absence/presence (e.g., free/occupied status) of a predetermined number of the affected cross point units.

Description

ASYNCHRONOUS TRANSFER MODE SWITCH
BACKGROUND
1. Field of the Invention
This invention pertains to switches, such as telecommunications switches, through which ATM cells are routed.
2. Related Art and Other Considerations
The increasing interest for high band services such as multimedia applications, video on demand, video telephone, and teleconferencing has motivated development of the Broadband Integrated Service Digital Network (B-ISDN). B-ISDN is based on a technology know as Asynchronous Transfer Mode (ATM), and offers considerable extension of telecommunications capabilities.
ATM is a packet-oriented transfer mode which uses asynchronous time division multiplexing techniques. Packets are called cells and traditionally have a fixed size. A traditional ATM cell comprises 53 octets, five of which form a header and forty eight of which constitute a "payload" or information portion of the cell. The header of the ATM cell includes two quantities which are used to identify a connection in an ATM network over which the cell is to travel, particularly the VPI (Virtual Path Identifier) and VCI (Virtual Channel Identifier). In general, the virtual is a principal path defined between two switching nodes of the network; the virtual channel is one specific connection on the respective principal path.
At its termination points, an ATM network is connected to terminal equipment, e.g., ATM network users. Typically between ATM network termination points there are plural switching nodes, the switching nodes having ports which are connected together by physical transmission paths or links. Thus, in traveling from an originating terminal equipment to a destination terminal equipment, ATM cells forming a message may travel through several switching nodes.
A switching node has a plurality of ports, each of which can be connected by via a link circuit and a link to another node. The link circuit performs packaging of the cells according to the particular protocol in use on the link. A cell incoming to a switching node may enter the switching node at a first port and exit from a second port via a link circuit onto a link connected to another node. Each link can carry cells for plural connections, a connection being e.g., a transmission between a calling subscriber or party and a called subscriber or party.
The switching nodes each typically have several functional parts, a primary of which is a switch core. The switch core essentially functions like a cross- connect between ports of the switch. Paths internal to the switch core are selectively controlled so that particular ports of the switch are connected together to allow a message ultimately to travel from an ingress side of the switch to an egress side of the switch, and ultimately from the originating terminal equipment to the destination terminal equipment.
United States Patent 5,467,347 to Petersen discloses an ATM switch in which various types of ATM cells, all of essentially uniform length, are transmitted between a switch core and ports of the switch. The types of cells include traffic cells, operation and maintenance cells, and idle cells. Although all types of cells have essentially the same length, not all cells are necessarily full, thus causing some loss in transmission efficiency. The traffic cells are fed from originating switch ports to buffers at cross points of the switch matrix, and then are unloaded from the buffers to destination or target switch ports. The traffic cells sent from the originating switch ports to the switch have a relay address field in which each bit corresponds to a target switch port. Traffic cells unloaded from the switch core and sent to the target switch ports each have a relay poll field which indicate which target switch ports are occupied and which are free. Thus, each traffic cell is encumbered with information reflecting status of switch ports. What is needed, therefore, and an object of the present invention, is an efficient ATM switching system which judiciously formats and utilizes ATM cells of differing types.
SUMMARY
An asynchronous transfer mode (ATM) switch has plural switch ports connected by respective bidirectional links to a switch core. The switch core includes a memory array unit which comprises two buffer matrices of cross point units. Connected to each switch port is a corresponding row column unit, each row column unit managing the writing of service cells to one row of cross point units and the reading of service cells from one column of cross point units.
The bidirectional links between each switch port and its corresponding row column unit of the switch core carry both service cells and control cells. The service cells, also known as traffic cells or information cells, obtained at an incoming or originating switch port, are routed through the switch core to an outgoing or destination switch port. The control cells do not contain switched information, but instead are dedicated for carrying information used for management and operation of the switching system.
The ATM switching system of the present invention allows cells of differing sizes to be carried on the bidirectional links between its switch core and its switch ports. For example, the service cells have a differing cell size than the control cells, and the cell size of the service cells need not necessarily be uniform.
Service cells can be of differing cell size such that two successive service cells need not have the same length or same size of payload. The service cells transmitted on the bidirectional length include a cell size field, the cell size field indicating the cell size of the each service cell in which it is included. In an example embodiment, service cells can be of any of the following cell sizes (in bytes): 8, 16, 24, 32, 40, 48, and 56.
By contrast, control cells utilized in the exemplary embodiment each are four bytes in length. Differing types of control cells (e.g., LCC-cells and LSC-cells) are provided, with each control cell type having a differing format. The LCC control cells are known as link connection control cells; the LSC control cells are known as link synchronization control cells.
Both the switch port and its corresponding row column unit in the switch core have synchronization state machines which exchange LSC control cells. The LSC control cells include information for synchronizing operation of the two state machines. In particular, the LSC control cells have a format which includes a field indicative of one of a plurality of synchronization states of the machine which generated the LSC control cell. By employing short, synchronization-dedicated LSC control cells in a pre- established protocol, synchronization of switch port and switch core are economically and quickly achieved and maintained.
Each row column unit includes a set of control registers as part of its cross point status unit. The set of control registers is distinct from the buffers of the cross point unit through which service cells are switched. Each switch port can control, at least in part, its associated row column unit of the switch core by writing and reading non- service information, e.g., control information, to and from the set of control registers.
Some of the control registers are known as "bitmapped" registers since each bit of such control register is associated to one of the plural switch ports connected to the switch core. Among the bitmapped control registers are the pollstate status registers and the pollstate release registers. A given row column unit has the bits of its pollstate status register set to indicate whether cross point buffers in its same row of the core matrix axe "occupied" or "free". The pollstate release register of the row column unit has bits set to indicate whether the buffers in the row managed thereby have transitioned from "occupied" to "free" or whether the buffers have not transitioned.
Various ones of the control registers are employed, e.g., to establish various operating parameters of the switching system. Such parameters can include, for example, certain sequences of operation (e.g., poll enable, scan enable), certain timing information (e.g., pollrate, scanrate), and certain override information (e.g., scanblock).
The link connection control cells (LCC) include cells of two formats ~ a bitmapped format (for the bitmapped registers) and a "coded" format (used for input/output operations for some bitmapped as well as non-bitmapped registers). "Coded" LCC cells include both an address of the particular control register to which/from which data is to be written, as well as the non-service data that is to be stored/obtained from that particular control register.
Although of differing cell sizes, the service cells and the control cells have a commonly formatted field, known as the physical route identifier (PRI). A cell is recognized as being a service cell when any of a first set of pre-established values are stored in the PRI field. In the example embodiment, a cell is recognized as being a service cell when the value of the PRI field corresponds to a value indicative of one of the plural switch ports. At least some of the control cells are recognizable, on the other hand, because the value in its PRI field corresponds to an identity or numbering of the control register which is affected by the control cell (e.g., the control register which is written to or read from using the control cell).
Each switch port of the switch must be apprised at various junctures of the status of the various cross point units of the switch core, i.e., whether those various cross point units are "occupied" or "free". Particularly the cross point units involved for each switch port are those to which it sends service cells (e.g., those in a same row as the port) and the cross point units from which it retrieves cells (e.g., those in a column managed by the port). To this end, bitmapped pollstate registers which are utilized for preparing corresponding pollstate control cells are employed. The pollstate status register has its bitmap updated to reflect occupied/free transitions of cross point units to which service cells are sent by the switch port. When a first row column unit sends a cell to a particular cross point unit (XPU), the row column unit not only sets an appropriate bit in its pollstate status register, but also causes a bit to be set in a scanstate register of another row column unit which handles readout of cells from that particular cross point unit (XPU). As soon as the row column unit which handles readout detects is permitted to readout the cell, it resets its scanstate register as well as the pollstate status register of the first row column unit. The resetting of the pollstate status register of the first row column unit causes the setting of a bit of a pollstate release register of the first row column unit to indicate a transition from an "occupied" to a "free" status. The change in status in the pollstate release register of the first row column unit causes issuance of a pollstate release cell from the first row column unit toward the switch port. Whereas, in the prior art, pollstate information is sent regularly to the switch port or is automatically included in service cells, the present invention employs a particular scenario for generation of pollstate cells essentially dedicated to transmission of the pollstate information. Specifically, in the present invention, the pollstate information is transmitted in pollstate control cells, the pollstate control cells being generated and transmitted either (1) in response to a particular control cell evocative of the pollstate information, or (2) upon a change of absence/presence (e.g., free/occupied status) of a cross point unit.
For example, when an originating switch port desires to know the status of the cross point units to which it can send cells into the switch core, the originating switch port transmits a pollstate status retrieve control cell to the switch core. In response to the pollstate status retrieve control cell, at an appropriate juncture the switch core prepares and sends the pollstate status control cell to the requesting (originating) switch port. When a service cell is unloaded from a cross point unit, a pollstate release control cell is prepared and transmitted to the switchport, advising of vacancy of the unloaded cross point unit. Using the pollstate information supplied by both the pollstate status control cells and the pollstate release control cells, a switch port can determine which cross point units in the switch core are available for receiving further service cells.
Others of the control cells are employed in order to establish various operating parameters of the switch. These operating parameters are established with respect to each switch port as the switch port transmits the control cells to the associated row column unit. Such control cells typically have contained therein a parameter or data which is stored in the corresponding control register and consulted by the switch core in connection with sequencing or other operation of the switch core. For example, a poll enable control cell (LCC) is employed for storing in a poll enable register a value indicative of which of a plurality of selectable polling modes the associated row column unit is to operate. Various of these polling modes require a predetermined minimum frequency of transmission of service cells relative to the number of pollstate cells transmitted on a link.
Thus, the ATM switch of the present invention implements an interactive exchange of control cells in order to sequence operation of the switch core. The operations particularly dependent upon control cell generation include transmission of service cells from the switch core; transmission of pollstate cells from the switch core; retrieval of contents of certain control registers maintained by the switch core; and synchronization procedures.
BRIEF DESCRIPTION OF THE DRAWINGS
The foregoing and other objects, features, and advantages of the invention will be apparent from the following more particular description of preferred embodiments as illustrated in the accompanying drawings in which reference characters refer to the same parts throughout the various views. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention.
Fig. 1 is a schematic view of an ATM switching system according to an embodiment of the invention.
Fig. 2 is a diagrammatic view of portions of a cross point unit (XPU) included in a switch core of the ATM switching system of Fig. 1.
Fig. 3 is a diagrammatic view illustrating cell flow between a switch core and a switch port board (SPB) of the ATM switching system of Fig. 1.
Fig. 4A is a diagrammatic view illustrating a format for a service cell utilized in the ATM switching system of Fig. 1.
Fig. 4B is a diagrammatic view illustrating a general format for a control cell utilized in the ATM switching system of Fig. 1.
Fig. 4B(1) is a diagrammatic view illustrating the format of a bitmapped- formatted link connection control (LCC) cell.
Fig. 4B(2) is a diagrammatic view illustrating the format of a coded link connection control (LCC) cell.
Fig. 4B(3) is a diagrammatic view illustrating the format of a Link State Control (LSC) cell. Fig. 5 is a schematic view of a row column unit (RCU) included in the ATM switching system of Fig. 1.
Fig. 5 A is a schematic view of a line interface unit (LIU) included in the ATM switching system of Fig. 1.
Fig. 5B is a schematic view of a cell synchronizer unit (CSU) included in the ATM switching system of Fig. 1.
Fig. 5C is a schematic view of a cell analyzer unit (CAU) included in the
ATM switching system of Fig. 1.
Fig. 5D is a schematic view of a cell write unit (CWU) included in the ATM switching system of Fig. 1.
Fig. 5E is a schematic view of a operation & maintenance unit (OMU) included in the ATM switching system of Fig. 1.
Fig. 5F is a schematic view of a cell read unit (CRU) included in the ATM switching system of Fig. 1.
Fig. 5G is a schematic view of a cell generator unit (CGU) included in the ATM switching system of Fig. 1.
Fig. 5H(1) and Fig. 5H(2) are schematic views of differing implementations a cross point status unit of the ATM switching system of Fig. 1.
Fig. 51 is a schematic view of a system clock unit (SCU) included in the ATM switching system of Fig. 1.
Fig. 6 is a schematic view showing connection of portions of a CSB bus to elements of row column units (RCUs) of Fig. 1.
Fig. 6A - Fig. 6E are schematic views showing a sequence of events in routing αf a service cell through a core of the ATM switching system of Fig. 1. Fig. 7 is a flowchart showing basic steps involved in an initialization procedure for the ATM switching system of Fig. 1.
Fig. 8 is a diagrammatic view of a state machine included in a cell synchronizer unit (CSU) for the ATM switching system of Fig. 1.
Fig. 9 is a timing diagram depicting operation of the state machine of Fig. 8.
Fig. 10 is a diagrammatic view showing cell transmission in the ATM switching system of Fig. 1.
Fig. 11 is a diagrammatic view showing an association between bits in a pollrate register and cross point units.
Fig. 12 is a diagrammatic view showing a scenario of pollrate register setting.
Fig. 13 is a diagrammatic view showing an association between bits in a scanrate register and cross point units.
Fig. 14 is a diagrammatic view showing a scenario of scanrate register setting.
Fig. 15 is a diagrammatic view showing polling options for the timing of sending of an indication of a queue changing from "occupied" to "free" status".
Fig. 16 is a diagrammatic view showing scan options for the timing of sending of an indication of a queue changing from "empty" to "cell available" status".
Fig. 17 is a flowchart showing basic steps in a scanning process.
Fig. 18 is a diagrammatic view showing error checking operations for a service cell. Fig. 19 is a schematic view showing system clock distribution in the ATM switching system of Fig. 1.
DETAILED DESCRIPTION OF THE DRAWINGS In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular architectures, interfaces, techniques, etc. in order to provide a thorough understanding of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well known devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
1.0 OVERVIEW Fig. 1 shows an ATM switching system 20 which includes switch core or fabric
22, as well as elements residing on a plurality of switch port boards (SPBs) 24. In the example of the illustrated embodiment, sixteen switch port boards (SPBs) 240 - 2415 are connectable to switch core 22. Elements on each switch port board 24 which comprise switching system 20 are, in the illustrated embodiment, known as the "switchport" and are implemented in a switch port integrated circuit (SPIC) 26, SPICs 260- 2615 being shown in Fig. 1.
As explained hereinafter, switch port boards (SPBs) 24 can each have a plurality of devices other than a SPIC mounted thereon, for which reason switch port boards (SPBs) 24 are also referred to as "device boards". One or more of these devices may be connected to telecommunications transmission lines for the receiving of one or more types of communications signals such as telephony, data, video, etc. Alternatively, devices on a switch port board (SPB) may generate control signals or the like which are useful for configuring or controling other devices, e.g., other devices on another switch port board (SPB).
One purpose of switching system 20 is to route ATM cells, containing such communication signals or control signals, through switch core 22. In this regard, if not already in ATM cells, the incoming signals received at or the signals generated by the device(s) situated on one of the switch port boards (SPBs) 24 are mapped into ATM cells. The cells are applied to switch core 22, and are routed through switch core 22 so that the cells emerge from switch core 22 for application to another switch port board (SPB) 24. For example, voice signals from a calling party in a telephone conversation to a called party may be received at switch port board (SPB) 240 (which, for sake of the example, is ultimately connected to the calling party) , routed through switch core 22, and applied to switch port board (SPB) 2415 for transmission to the called party (who, in the present example, is connected ultimately to switch port board (SPB) 2415).
Thus, ATM cells are transported between each switch port board (SPB) 24 and switch core 22. In the example of Fig. 1, cell transfer occurs over two links connecting each switch port board (SPB) 24 and switch core 22. Cells sent from a switch port board (SPB) 24 toward switch core 22 are transmitted on a port-to-core link 27, while cells emanating from core 22 toward a switch port board (SPB) 24 are applied on a core-to-port link 28. The sixteen port-to-core links 27 and sixteen core-to-port links 28 are subscripted in accordance with the particular switch port board served thereby. A port-to-core link 27 and its corresponding core-to-port link 28 collectively constitute a "bidirectional link".
Switch core or fabric 22 includes a memory array unit (MAU) 30 and a plurality of row column units (RCUs) 40. Memory array unit (MAU) 30 comprises cross point units (XPUs) 32 conceptualized as arranged in an array of rows and columns. Each of the plurality of cross point units (XPUs) 32 is designated with a subscript indicative of location/addressing, with XPU 320,o being in row 0, column 0; XPU 32o,ι being in row 0 column 1; XPU 320,ι being in row 0 column 1; and so forth up to XPU 3215)15 which is in row 15, column 15.
A row column unit (RCU) 40 is provided in correspondence for each switch port board (SPB) 24, i.e. for each row of memory array unit (MAU) 30. Since sixteen such switch port boards are illustrated in the example of Fig. 1, sixteen row column units (RCUs) 400 - 4015 are also shown. Each row column unit (RCU) 40 is connected by a write bus to input terminals of all cross point units (XPUs) 32 in the same row, and by a read bus 44 to output terminals of all cross point units (XPUs) 32 in a given column. For example, RCU 400 is connected by write bus 420 to input terminals of cross point units (XPUs) 320,0 through 320,i5 and by read bus 440 to output terminals of cross point units (XPUs) 320,o through 3215 0. Similarly, RCU 4015 is connected by write bus 420 to input terminals of cross point units (XPUs) 3215,0 through 3215>15, and by read bus 4415 to output terminals of cross point units (XPUs) 320,15 through 3215jl5. In addition to write buses 42 and read buses 44, row column units (RCUs) 40 are also connected by a system clock bus (SCB) 46 and a cross point status bus (CSB) 48.
As shown in Fig. 2, each cross point unit (XPU) 32 actually comprises two buffers at a cross point. One of these buffers is referenced as buffer O or buffer CBQ0; the other of these buffers is known as buffer l or buffer CBQ> . Each of these two buffers at each cross point unit (XPU) 32 is fifty six bytes long. At each cross point unit (XPU) 32 the buffers CBQ0 and CBQ. are connected in parallel with one another. Each buffer CBQ0 and CBQ has an input gate employed for admission of a cell received on the corresponding write bus 42 and an output gate employed for discharging a cell onto a corresponding read bus 44. At some junctures herein, the buffers CBQ0 of all cross point units (XPUs) 32 in memory array unit (MAU) 30 are collectively referred to as "matrix 0", while the buffers CBQi of all cross point units (XPUs) 32 in memory array unit (MAU) 30 are collectively referred to as "matrix 1".
1.1 CONTROL REGISTERS Each row column unit (RCU) 40 has a cross point status unit (XSU) 50. Cross point status unit (XSU) 50 comprises a plurality of control registers, including three particular registers which contain status information and core operation information. These control registers are distinct from buffers of switch core 22, e.g., buffers CBQ0 and CBQl5 through which user data is switched in payloads of service cells (as hereinafter described). The three control registers involved in loading and unloading of the switch core 22 include both pollstate registers and scanstate registers. The pollstate registers include both pollstate status registers and pollstate release registers. The pollstate status registers are updated to have stored therein indications of whether buffers in the cross point units (XPUs) 32 on the row managed by the row column unit (RCU) 40 are "free" or "occupied". The pollstate release registers are updated to indicate whether the buffers in the cross point units (XPUs) 32 on the column managed by the row column unit (RCU) 40 and read by read bus 44 have transitioned from "occupied" to "free" or remain unchanged. Thus, the pollstate status registers and pollstate release registers are collectively referred to as "pollstate registers". Pollstate registers are updated using cross point status bus (CSB) 48 in the manner hereinafter described.
Fig. 6 shows portions of cross point status bus (CSB) 48 and some of the connections thereof to two representative row column units (RCUs) 40, particularly to RCU 400 and RCU 4015. Although a more detailed discussion of the row column units (RCUs) 40 is below provided in section 3.0, Fig. 6 shows the cross point status unit (XSU) 50 of each row column unit (RCU) 40 as comprising the three control registers here of interest. The three such control registers include the pollstate status registers 50-2; the scanstate registers 50-4; and the pollstate release registers 50-8. As shown in Fig. 6, each of these control registers has sixteen bits corresponding to the sixteen cross point unit (XPU) 32 controlled by the row column unit (RCU) 40 in which these control registers reside, i.e., the sixteen cross point unit (XPU) 32 aligned in a row with the row column unit (RCU) 40.
1.2 THE CSB BUS
With respect to each row column unit (RCU) 40, cross point status bus (CSB) 48 has leads for outputting the status of the bits of the pollstate status registers 50-2. For example, in Fig. 6 reference numeral 48- 10 depicts leads of cross point status bus (CSB) 48 which output the status of bits of pollstate status registers 50-20. For example, the status of the last bit in pollstate status register 50-20 is communicated to the first bit of scanstate register 50-415, since row column unit (RCU) 4015 controls readout of the cross point unit (XPU) 32 in the last column of memory array unit (MAU) 30. In this respect, reference numeral 48-215 shows leads in cross point status bus (CSB) 48 from the pollstate status registers 50-2 of the differing sixteen row column units (RCUs) 40 for setting the respective sixteen bits of scanstate registers 50-415. Similarly, the leads indicated by reference numeral 48-315 are employed to communicate the setting of bits in pollstate status register 50-215 to the various other scanstate registers 50-4. The leads indicated by reference numeral 48-40 are used to communicate setting of corresponding bits in the pollstate status registers 50-2 of other row column units (RCUs) 40 to the scanstate registers 50-40 of row column unit (RCU) 400.
The cross point status bus (CSB) 48 also has leads for resetting bits in the pollstate status registers 50-2 when cells are read out of cross point unit (XPU) 32. For example, when a cell is read out of cross point unit (XPU) 320;15, one of the leads in the group indicated by reference numeral 48-515 connects to the first bit of scanstate register 50-415 to carry a reset signal to the last bit of pollstate status register 50-20. Reset signals incoming to pollstate status register 50-20 are carried on the leads depicted by reference numeral 48-60. Similarly, reading out of cells from the cross point units (XPUs) 32 of the first row cause reset signals to be sent from scanstate registers 50-40 on the leads depicted by reference numeral 48-70. Reference numeral 48-8j5 shows leads for resetting the bits in pollstate status register 50-215 of row column unit (RCU) 40.5.
It will subsequently be appreciated that two sets of control registers (e.g., pollstate status register 50-2; scanstate register 50-4; and pollstate release registers 50- 8) are provided for each row column unit (RCU) 40. One set of the control registers is for the buffers CBQo in matrix 0; the other set of the control registers is for the buffers CBQ in matrix 1. In order to specify for which set of control registers a bit setting or bit resetting signal is being sent on cross point status bus (CSB) 48, the cross point status bus (CSB) 48 also includes a matrix indication lead for each row column unit (RCU) 40. Therefore, cross point status bus (CSB) 48 includes sixteen matrix indication leads as well as the bit setting and bit resetting leads illustrated in Fig. 6 and discussed above.
2.0 CELL TYPES
As mentioned above, ATM cells are transmitted between the various switch port boards (SPBs) 24 and switch core 22. ATM switching system 20 of the present invention utilizes differing length cells. Fig. 3 shows cell transfer between a representative one of the switch port boards and switch core 22, particularly switch port board (SPB) 240 connected by port-to-core link 270 and core-to-port link 280 to switch core 22.
Each of port-to-core link 270 and core-to-port link 280 carries a plurality of cells types, including service cells and control cells. Service cells, also known as traffic cells or user information, contain or include (in a payload portion thereof) user data such as the telephony, data, video, etc., which is to be routed through switch core 22 for application to another switch port board (SPB) 24. The control cells, depicted in Fig. 3 as LCC-cell and LSC-cell, are utilized for control and management of ATM switching system 20. As explained hereinafter with reference to Fig. 4A, service cells can be of differing length such that two successive service cells need not have the same length or size of payload. Moreover, the control cells have differing size from the service cells. Further, the present invention provides differing types of control cells (e.g., LCC-cells and LSC-cells), with each control cell type having a differing format. Although Fig. 3 shows connection of only one switch port board (SPB) 240 to switch core 22, it should be understood that links between switch core 22 and other switch port boards (SPBs) 24 likewise carry both service cells and control cells.
2.1 Service Cell
The service cells carries user data for the units connected to switch core 22. All service cells are routed through switch core 22 from one switch port board (SPB) 24 to one or more other switch port boards (SPBs) 24. The size of the service cells can vary.
In the illustrated embodiment, example valid sizes are 8, 16, 24, 32, 40, 48 and 56 bytes including a two byte header (the first two bytes of the cell). In the illustrated embodiment, the maximum cell size is fifty six bytes.
As shown in Fig. 4A, the service cell has a two byte header (first two bytes of the service cell) and a payload. The two byte header is used by switch core 22 to route user data to a desired or proper destination (switch port board), and the rest of the cell (i.e., the payload) is user data that is transparent through and to switch core 22. Certain fields of the service cell are discussed below.
2.1.1 PRI, Cell type and Physical Route Identifier In a cell received on a port-to-core link 27 from a switch port board (SPB) 24, the PRI field of a received service cell contains a value indicative of the particular buffer or cross point unit (XPU) where the cell data should be stored (on the same row as the receiving cross point unit (XPU) 32). For example, if a cell received from switch port board (SPB) 240 has a value of "5" in its PRI field, then the cell is to be stored in
In the illustrated embodiment, a PRI value in the range of from 0-19 indicates a service cell. However, since only sixteen XPUs 32 are provided per row of the memory array unit 30 (see Fig. 1), only PRI values of 0-15 are valid. Service cells with PRI values outside of this range are discarded. However, the size of unsupported service cells (PRI = 16-19) are checked in order to find cell boundaries. As explained subsequently, PRI values of greater than 20 are utilized for different purposes in control cells.
As explained hereinafter, just before a cell is transmitted from a switch port board (SPB) 24 into switch core 22, the PRI field value is replaced with a value corresponding to the switch port board at which the cell originated. For example, if a cell were to be transmitted from switch port board (SPB) 240 through switch core 22 to switch port board (SPB) 2415, before leaving switch port board (SPB) 240 en route to switch core 22 the cell would have its PRI value changed from "15" to "0".
2.1.2 CBQ Crosspoint Buffer Queue code
As shown in Fig. 2, each cross point unit (XPU) 32 has two queues or buffers: CBQo and CBQj. The purpose of the CBQ field is to direct the service cell into one of these two queues or buffers at a particular crosspoint. The CBQ field indicates in which of these buffers the cell should be stored. A CBQ value of zero indicates that the cell should be put in buffer CBQ0; a CBQ value of one indicates that the cell should be loaded into buffer CBQi . CBQ values of two and three are not valid and cells having such invalid values are discarded.
2.1.3 FBP and SBP Parity Bits
The FBP is a first byte parity bit which covers the first byte of the header of the service cell. The SBP is a second byte parity bit which covers the second byte of the header of the service cell. For both the first byte and the second byte of the service cell header the parity is odd including the parity bit.
2.1.4 TTI Field
The TTI (Traffic Type Indication code) field is 3 bits. For received service cells these three bits specify the traffic type for the service cell and if the cell is concatenated. Traffic type, or "cast" type, indicates whether the cell is a "unicast" (one destination), "multicast" (several destinations) or "broadcast" addressed cell (a broadcast cell is sent to all 16 ports). A "concatentated" cell indicates that current cell is followed by a new cell directed to the same switch port board (e.g., the same teπninating entity). Table 1 shows the significance of potential values zero through seven for the TTI field. The TTI bits are translated in switch core 22. Such translation is dependent on received TTI value and buffer status in switch core 22 (for associated CBQ and row). Table 2 shows received TTI values and translated/transmitted TTI values.
Thus, the TTI field in the transmitted cell contains an indication whether all the buffers on this row and actual CBQ-value of the associated receiving side are free. The buffers are not free if at least one buffer is occupied.
2.1.5 SCS Field The SCS (Service Cell Size code) field has 3 bits. These 3 bits specify the size of the service cell. Potential sizes for service cells in the illustrated embodiment are shown in Table 3. Potential service cell sequence 8, 16, 24, 32, 40, 48, and 56 bytes (inclusive of header).
2.1.6 NU Field
The field NU (Not Used) is not used and is transparent through switch core 22.
2.1.7 Cell Payload
The payload is the "user data" that is transferred transparently through switch core 22. As evident from the SCS field (see Fig. 4A) and Table 3, the size of the payload can vary from six to fifty four bytes.
2.2 Control Cells
Control cells are terminated and originated in the row column units (RCUs) 40. All control cells are four (4) bytes long. As shown in Fig. 4B, all control cells have the PRI (Physical Route Identifier) field, the FBP (first byte parity), and the SBP (second bit parity) fields discussed above for service cells. In addition, control cells have a one bit LWP field, which is a last word parity field. The LWP covers the last word (third and fourth byte). The parity for the last word is odd, including the parity bit.
Possible PRI values for control cells are in the range from twenty to thirty one. In the illustrated embodiment, a valid control cell has one of the following as the value of its PRI field: 25, 26, 28, 30, and 31. As described further herein, these PRI values are indicative of cell format and, in some instances, of an "address" of a particular control register in the cross point unit (XPU) 32 involved in a register read or write operation.
Control cells are used for remote control and supervision of the row column units (RCUs) 40 and for synchronization of connection with switch port boards (SPBs) 24. There are two types of contiol cells: Link Connection Control (LCC) cells and Link State Control (LSC) cells.
2.2.1 Link Connection Control (LCC) Cells LCC-cells are employed primarily to control and operate switch core 22 remotely from the switch port boards (SPBs) 24. In this regard, LCC-cells are used for read of and writing to control registers inside the row column units (RCUs) 40. LCC- cells also carry, from switch core 22 to the affected switch port board (SPB) 24, information concerning the release of buffer(s) in the cross point units (XPUs) 32, i.e., when a buffer transitions from occupied to free. There are two formats of the LCC cell: the bitmapped format and the coded format. The particular format of a LCC cell is indicated by its PRI value. PRI values of 25, 26, 28 and 30 indicate a bitmapped- formatted LCC cell; a PRI value of 31 indicates a coded format LCC cell (or, alternatively, a LSC-cell).
2.2.1.1 Bitmapped Format LCC Cell
Fig. 4B(1) shows the format of a bitmapped-formatted link connection control (LCC) cell. The bitmapped format conveys operation data in a fast manner between the connected switch port board (SPB) 24 and the control/status registers inside the row column units (RCU) 40 of switch core 22. Up to sixteen bits can be loaded or unloaded in one cell transfer.
2.2.1.1.1 BCD Field
The sixteen bits that can be loaded or unloaded in one cell transfer are stored in the BCD (Buffer Control Data) field. Each of the sixteen bits in the BCD field holds data that is to be written to or read from the "addressed" control register, i.e., the control register having the value specified by the PRI field. When the BCD field is used as a bitmap, BCD-N holds the value related to buffer of the specified row or column. 2.2.1.1.2 CBQ, Crosspoint Buffer Queue.
The CBQ field serves the same purpose as for the service cell, e.g., points to one of the queues CBQ0 or CBQi in the cross point unit (XPU) 32. Valid values are zero and one; cells with other values are discarded.
2.2.1.1.3 RE field and NU field
Bits marked RE in Fig. 4B(1) are reserved; bits marked NU in Fig. 4B(1) are not used. Both RE and NU bits are thus transparent to switch core 22.
2.2.1.2 Coded Format LCC Cell
The coded format of the LCC cell allows the switch port board (SPB) 24 to address all control registers inside the corresponding (same subscripted) row column unit (RCU) unit 40. One byte at a time can be loaded/unloaded with a LCC cell having a coded format. The format of the coded LCC-cell is shown in Fig. 4B(2).
A value of thirty one (31) in the PRI identifies a cell to be either an LSC-cell or LCC-cell. An additional bit in the cell, the LSI bit, distinguishes between LSC-cells and LCC-cells. In particular, an LSI value of zero (0) indicates a LCC cell in the coded format, whereas a LSI value of one (1) indicates a LSC cell.
The remaining bits in the coded LCC-cell are interpreted according to Table 4. In Table 4, it is to be noted that all combinations of write and read towards switch core 22 is possible. Moreover, a cell with write/read equals to 1/1 will give a write-then- read.
2.2.2 Link State Control (LSC) cells.
The Link State Control (LSC) cells are used to synchronize the connection between row column units (RCUs) 40 of switch core 22 and the corresponding (i.e., similarly subscripted) connected switch port board (SPB) 24. The LSC-cell format promotes a fast and reliable synchronization of the cell flow, i.e. finds the start of the cell and maintains the cell flow in each direction and supports cell rate decoupling in the direction towards switch core 22.
The use of the LSC-cell is a cooperation between the switch port board (SPB) 24 and the switch core 22. The LSC cell involves both directions of transmission (e.g., switch-to-core link 27 and core-to-switch link 28). The use and actions of the LSC-cell are hereinafter described in more detailed with reference to Fig. 8 and Fig. 9 and corresponding sync state machines at both sides of the links 27 and 28. The format of the Link State Control (LSC) cells is shown in Fig. 4B(3).
2.2.2.1 Synctag Field
The Synctag field is a pattern of 4 bytes used to identify the LSC cells. The Synctag field can have one of two valid values (in hexadecimal, starting with byte 0). The first valid Synctag field value is FE, 1 F, 00, 7F, which means that the LSC cell indicates a PRESYNC state (SSC = 1 1). The first valid Synctag field value is
FE,1C,00,7F, which means that the LSC cell indicates a SYNC state (SSC = 00). The start of a cell is on the positive edge of the bitclock. Parity bits (FBP, SBP and LWP), state code, and PRI are included in these 4 Synctag field bytes.
2.2.2.2 SSC Field
The SSC (Sync State Code) field comprises two bits which define the state of the appropriate sync state machine. When the LSC cell is emanating from the switch port board (SPB) 24, the SSC field defines the state of the sync state machine in the switch port board (SPB) 24. When the LSC cell is emanating from switch core 22, the SSC field defines the state of the sync state machine in switch core 22.
The SSC field can have the following valid values: 0 (which indicates that the side sending the LSC-cell is out of the PRESYNC-state); and 3 (which indicates that the side sending the LSC-cell is in PRESYNC-state).
The process for sending LSC-cells with appropriate states is described in section 6.0 and illustrated in Fig. 8 and Fig. 9.
3.0 Switch Port Board (SPB) The switch port integrated circuit (SPIC) 26 of each switch port board (SPB) 24 has a crosspoint status register 26R for each matrix of the switch. In crosspoint status register 26R for a particular switch port integrated circuit (SPIC) 26, there is a bit position corresponding to each cross point unit (XPU) 32 in row alignment with the switch port board (SPB) 24 for the switch port integrated circuit (SPIC) 26. For example, for crosspoint status register 26RQ there is a bit position for each of XPUs 320,o through 320,ιs; for crosspoint status register 26R15 there is a bit position for each of XPUs 3215 0 through 3215 15. As explained hereinafter, whenever a switch port board (SPB) 24 writes a cell to an XPU 32, the switch port integrated circuit (SPIC) 26 sets the bit in crosspoint status register 26R corresponding to the particular XPU 32 to which the cell was written. The switch port board (SPB) 24 thereafter cannot send another cell to that particular XPU 32 until that XPU's bit is reset in crosspoint status register 26R. As also explained hereinafter, a bit in crosspoint status register 26R is reset when the switch port integrated circuit (SPIC) 26 receives a pollstate release cell with the corresponding bit having a one value. Thus, the crosspoint status register 26R faciliates a handshaking between the switch port board (SPB) 24 and switch core 22.
It should be understood from the foregoing discussion of matrices, e.g., matrix 0 and matrix 1, that a crosspoint status register 26R is provided at each switch port integrated circuit (SPIC) 26 for each matrix.
4.0 Row Column Unit (RCU)
All cells incoming to switch core 22 from a switch port board (SPB) 24 on one of the links 27 are directed to a corresponding row column unit (RCU) 40 (see Fig. 1). An overview of the handling of service cells by the switch core 22, and particularly with reference to the control registers of row column units (RCUs) 40, is illustrated by the sequential frames depicted in Fig. 6A - Fig. 6E. Further details of various aspects of the handling of service cells is provided e.g., in section 4.6.1.3 hereof.
As above described, when switch port integrated circuit (SPIC) 26 sends a cell to its corresponding row column unit (RCU) 40, the switch port integrated circuit (SPIC) 26 sets a bit in its crosspoint status register 26R. The bit set corresponds to the column position of the particular cross point unit (XPU) 32 to which the cell is destined. In the frames depicted in Fig. 6A - Fig. 6E, switch port integrated circuit (SPIC) 260 desires to send a service cell to switch port integrated circuit (SPIC) 26.5. Therefore, the service cell sent from switch port integrated circuit (SPIC) 260 to switch core 22 is routed by row column unit (RCU) 400 to cross point unit (XPU) 320)15. Accordingly, the arrow labeled 6-1 in Fig. 6A represents switch port integrated circuit (SPIC) 260 sending a service cell (destined for switch port integrated circuit (SPIC) 26.5) to row column unit (RCU) 400. Upon sending such service cell to row column unit (RCU) 400, as shown in Fig. 6A the switch port integrated circuit (SPIC) 26 sets the last bit of its crosspoint status register 26R (since the service cell is destined to the last XPU in the row, i.e., cross point unit (XPU) 320,ιs).
Service cells are analyzed by row column unit (RCU) 40, and then pass on through row column unit (RCU) 40 to the addressed one of the cross point units (XPUs) 32 in the same row of memory array unit (MAU) 30. The service cell is temporarily stored in an appropriate addressed one of the buffers CBQ] or CBQ2 of the XPU 32. As the cell is stored in a cross point unit (XPU) 32, the row column unit (RCU) 40 updates its cross point status unit (XSU) 50, particularly its appropriate pollstate status register, to indicate that the particular buffer in which the cell was stored is "occupied". In this regard, the "occupied" state means that there is a cell to unload; the "free" state indicates that the buffer can be loaded.
In the example shown in Fig. 6B, in coordination with the writing of the service cell into cross point unit (XPU) 320,i5 (as indicated by the arrow labeled 6-2), bit 15 of pollstate status register 50-20 is set. The setting of bit 15 in pollstate status register 50- 20 indicates that cross point unit (XPU) 320,i5 is occupied. In addition, the cross point status unit (XSU) 50 of row column unit (RCU) 400 sends a set signal to bit 0 in scanstate register 50-4! 5 over cross point status bus (CSB) 48 [see Fig. 6] as indicated by the broken line bearing reference numeral 6-3 in Fig. 6B. As explained hereinafter, the pending on the rate between the two switch port integrated circuits (SPICs) 260 and 26 is, the scanstate register bit will either be set when the first word is written into the XPU or the last word (as predefined by the setting of bit 0 in a scanrate register hereinafter described).
Each row column unit (RCU) 40 scans its own scanstate register 50-4 located in its cross point status unit (XSU) 50. When a position in the scanstate register 50-4 is set, the row column unit (RCU) 40 knows that it can read a cell from the corresponding cross point unit (XPU) 32. When the row column unit (RCU) 40 starts to read a cell from such cross point unit (XPU) 32, the corresponding bit in the scanstate register 50-4 is reset. Also, the corresponding pollstate status register 50-2 located in the row column unit (RCU) 40 that wrote the cell to the cross point unit (XPU) 32 is reset. In the scenario depicted in Fig. 6C, therefore, line 6-4 depicts the reading of the service cell from cross point unit (XPU) 3205 into row column unit (RCU) 4015, which causes the resetting of the 1st bit in scanstate register 50-415. Cross point status unit (XSU) 50i5 of row column unit (RCU) 4015 sends a reset signal on cross point status bus (CSB) 48 [see Fig. 6] as indicated by line 6-5. A signal issued from 50-4! 5 causes row column unit (RCU) 40 is to apply the service cell obtained from cross point unit (XPU) 320,ιs to switch port integrated circuit (SPIC) 26ι5, as indicated by the line labeled with reference numeral 6-6 in Fig. 6C. The reading of a cell from cross point unit (XPU) 32 and application thereof to a switch port integrated circuit (SPIC) 26 is described in more detail in section 4.7 hereof.
When an cross point status unit (XSU) 50 of a row column unit (RCU) 40 detects the change in a bit of its pollstate status register 50-2 from an occupied to free status (e.g., from 1 to 0), the cross point status unit (XSU) 50 issues a pollstate release LCC cell (see section 2.2.1) at a first possible point in time. In this regard, the row column unit (RCU) 40 has an internal pollstate release register 50-8 that captures the state transition in the corresponding pollstate status register 50-2. Basically, when the reset signal for the bit in question appears on the cross point status bus (CSB) 48, the pollstate release register 50-8 corresponding bit position is set. In the situation shown in Fig. 6D, after the reset signal indicated by line 6-5 of Fig. 6C resets the last bit of pollstate status register 50-20, cross point status unit (XSU) 500 sets the last bit of 50- 80. Cross point status unit (XSU) 50 checks whether any bit position in pollstate release register 50-80 is set. If any bit is set (such as the last bit as indicated in Fig. 6D), a request toissue a pollstate release LCC cell is made. When the pollstate release LCC cell is issued to switch port integrated circuit (SPIC) 260 (as indicated by line 6-6 in Fig. 6D), the pollstate release register 50-80 is read and cleared. Fig. 6E shows clearance of pollstate release register 50-80, as well as clearing of the last bit in crosspoint status register 26Ro upon receipt of the pollstate release LCC cell (received at switch port integrated circuit (SPIC) 260 as indicated by line 6-6 in Fig. 6D). At this juncture, a new cell can be written by switch port integrated circuit (SPIC) 260 into the same cross point unit (XPU) 32, i.e., cross point unit (XPU) 320,ι5.
Thus, in the scanning process, each row column unit (RCU) 40 checks the states of the cross point units (XPUs) 32 connected to the column of MAU 30 (e.g., to a read bus 44) for which it is responsible, and updates the appropriate pollstate release registers included in the cross point unit (XPU) 32. A cross point unit (XPU) 32 containing a cell is unloaded through the buffer output gate to the column bus (e.g., read bus 44) as an outgoing cell. When a gate of a cross point unit (XPU) 32 is opened, only one cell is discharged. The cross point status unit (XSU) 50 is updated to indicate that the buffer in the cross point unit (XPU) 32 from which the cell was unloaded is now "free". The unloaded cell is transferred through the receiving row column unit (RCU) 40 to a receiving switch port board (SPB) 24. In this manner, all cross point units (XPUs) 32 containing a cell are unloaded one by one.
If it turns out that reading of a cell from switch core 22 in the manner aforedescribed occurs at rate which is slower than required by the receiving switch port board (SPB) 24, the receiving row column unit (RCU) 40 generates a control cell in lieu of an expected service cell. If the switch switch port board (SPB) 24 tries to send a cell to cross point unit (XPU) 32 for which the corresponding bit in the crosspoint status register 26R is set, the cell will be discarded in the row column unit (RCU) 40 before it enters the write bus.
Each row column unit (RCU) 40 also contains a system clock unit (SCU) 52.
System clock unit (SCU) 52 contains logic for the system clock distribution and is connected to system clock bus (SCB) 46.
Row column unit (RCU) 40 passes a system clock to a gate in the cross point units (XPUs) 32. The gate state of each cross point unit (XPU) 32, whether open or closed, is set in a semi-permanent condition. The gate state is set from the column, thus avoiding contention.
The write buses 42 and read buses 44 provide logical interconnection between the cross point units (XPUs) 32 and the corresponding row column units (RCUs) 40. Busses 42 and 44 provide information such as buffer fill states, read and write buffer control and data.
Thus, basic functions of row column unit (RCU) 40 include loading and unloading of service cells from cross point units (XPUs) 32, aligning and synchronizing cell flow between switch core 22 and the corresponding switch port board (SPB) 24 (including cell rate decoupling), and providing switch port board (SPB) 24 with status information regarding the cross point units (XPUs) 32 so that a cross point unit (XPU) 32 will not be written over. In addition, there are also a number of maintenance functions performed by row column unit (RCU) 40 which are controlled from switch port board (SPB) 24.
Fig. 5 shows basic components included in each row column unit (RCU) 40. In addition to the cross point status unit (XSU) 50 and system clock unit (SCU) 52 already mentioned, each row column unit (RCU) 40 includes a line interface unit (LIU) 53; a cell synchronizer unit (CSU) 54; a cell analyzer unit (CAU) 55; a cell write unit (CWU) 56; an operation & maintenance unit (OMU) 57; a cell generator unit (CGU) 58; and, a cell read unit (CRU) 59.
4.1 Line interface unit (LIU)
Line interface unit (LIU) 53 includes a LVDS/GLVDS interface that converts differential signals to digital levels. As shown in Fig. 5A, each row column unit (RCU) 40 has a set of power connections comprising the Vcc and ground, and in addition a bias voltage for the GLVDS. As also shown in Fig. 5 A, line interface unit (LIU) 53 of row column unit (RCU) 40 has five differential amplifier pairs 53-1 through 53-5, as well as three power pins for the Vcc, ground, and bias, and an additional two pins for providing Vcc and ground to memory array unit (MAU) 30.
Differential pairs 53-1 and 53-2 are utilized to handle signals DCLK and D-
SPSC, respectively, included in port-to-core link 27. Differential pair 53-1, which receives DCLK, outputs a serial clock signal serclk. The output of differential pair 53-2 is coupled to a bit synchronization function 53-6, which produces a serial data input signal on line s-data-in. The serial clock signal serclk and the serial data input signal on line s-data-in are applied to cell synchronizer unit (CSU) 54 as hereinafter shown in Fig. 5B.
Differential pair 53-3 is utilized to output signal D-SCSP included in core-to- port link 28. Differential pair 53-3 outputs the signal D-SCSP using a serial output data signals received on line s-data-out. As seen hereinafter with respect to Fig. 5B, the serial output data signal on line s-data-out emanates from cell synchronizer unit (CSU) 54.
System clock bus (SCB) 46 includes, for each row column unit (RCU) 40, lines for clocking signals on lines sysclk-in and sysclk-out. As described hereinafter with reference to system clock unit (SCU) 52 and Fig. 51, the clocking signal on line sysclk- in is utilized to generate the clocking signal on line sysclk-out. A signal SCLK is used to generate signal sysclk-in. The signal SCLK comes from the system clock generated and distributed through the SPIC (on one of the switch port boards). The system clock is typically derived from an external link in the network (e.g., a Tl link). The rate of the system clock is, in most cases, a multiple of 8 KHz.
4.2 Cell Synchronizer Unit (CSU)
Cell synchronizer unit (CSU) 54 makes serial to parallel conversion, as well as halfword and cell alignment. Such conversion is accomplished using a specific cell sync pattern in the incoming direction. In the outgoing direction, parallel to serial conversion is made into a bit stream.
Cell synchronizer unit (CSU) 54 comprises a serial to parallel converter 54-1 which receives the serial bit stream on line s-data-in from line interface unit (LIU) 53 and produces a 16 bit parallel signal on bus p-data-in. The 16 bit parallel signal generated by serial to parallel converter 54-1 is also applied to a BIP-8 tester and generator 54-2 and to a sync tag detector or cell aligner 54-3.
Cell synchronizer unit (CSU) 54 also comprises a parallel to serial converter 54-
4 which receives a 16 bit parallel signal on bus p-data-out and makes a conversion to a serial bit stream applied to line s-data-out (connected to line interface unit (LIU) 53). The 16 bit parallel signal on bus p-data-out is also applied to BIP-8 tester and generator 54-2. As described hereinafter with reference to Fig. 5G, the 16 bit parallel signal on bus p-data-out is obtained from cell generator unit (CGU) 58.
In addition, cell synchronizer unit (CSU) 54 includes a clock divider 54-5 which receives the serial clock signal on line serclk outputted from differential pair 53-1 of line interface unit (LIU) 53 (see Fig. 5A) and divides the incoming serial clock signal serclk by a factor of sixteen to produce a parallel clock signal pclk. Parallel clock signal pclk is applied to many elements of row column unit (RCU) 40. Clock divider 54-5 and serial to parallel converter 54-1 work with both edges of the serial clock signal on line serclk. Sync tag detector 54-3 includes a state machine and a comparator that searches for a sync cell (LSC cell). As discussed in more detail hereinafter in conjunction with Fig. 8 and Fig. 9, the state machine of sync tag detector 54-3 has three states: PRESYNC, SYNCO, and SYNC1. Upon detection of an LSC cell, sync tag detector 54- 3 outputs a signal on line "sync-cell" for application to cell generator unit (CGU) 58 as hereinafter described with respect to Fig. 5G.
BIP-8 tester and generator 54-2 checks the link between switch port board (SPB) 24 and switch core 22 on a long term basis in order to deteπnine line quality. Each bit in the byte is exclusively or compared (XOR) to a preserved parity of corresponding bits in earlier bytes. The result is checked against a control cell which contains an expected result. An opposite function applies in the p-data-out direction.
4.3 Cell Analyser Unit (CAU) As shown in Fig. 5C, cell analyzer unit (CAU) 55 receives the 16 bit signal on bus p-data-in from cell synchronizer unit (CSU) 54. When a cell in the incoming cell stream on bus p-data-in is received at cell analyzer unit (CAU) 55, the cell is either (1) a service cell that is transported to cell write unit (CWU) 56, or (2) a control cell that is handed over to operation & maintenance unit (OMU) 57 [see Fig. 5].
Cell analyzer unit (CAU) 55 includes a PRI-decode unit 55-1 which checks cell type by examining the PRI field of the cell (see, e.g., Fig. 4A and Fig. 4B). As indicated previously, service cells have valid PRI values of 1 - 19, while control cells have PRI values of 20 - 31. Once determined, the cell type is stored in cell type register 55-2 during the duration of processing of the cell, and is applied to other units of row column unit (RCU) 40 on line "cell type". Although not expressly shown as such in the drawings, the signal on line "cell type" indicates to cell write unit (CWU) 56 and to operation & maintenance unit (OMU) 57 the type of the cell, so that these units do not have to repeat the cell type analysis. The cell type signal as generated by cell analyzer unit (CAU) 55 indicates to cell write unit (CWU) 56 and operation & maintenance unit (OMU) 57 whether those units should be engaged. Cell write unit (CWU) 56 is engaged if the cell is a service cell; operation & maintenance unit (OMU) 57 is engaged if the cell is an LCC cell. If the cell is an LSC cell, either cell write unit (CWU) 56 or operation & maintenance unit (OMU) 57 is engaged. Cell analyzer unit (CAU) 55 also includes an integrity checker 55-3. Integrity checker 55-3 checks for parity errors in control cells in the first byte, second byte, and last sixteen bits (see fields FBP, SBP, and LWP in Fig. 4B). All service cells are checked for parity errors in the first byte, and also in the second byte if the cell is of variable cell format. If an error is detected in any type of cell, a fault signal is generated. Such parity error leads to immediate resynchronization, and the cause of such parity error is stored. A cell with a parity fault in the first or second byte is inhibited and not transported to cell write unit (CWU) 56. Moreover, the registers in cross point status unit (XSU) 50 may have been corrupted, and are updated from switch port board (SPB) 24 after resynchronization. Various cell integrity check operations are descrived in section 11.0.
Cell analyzer unit (CAU) 55 further includes PRI-swap unit 55-4. For a service cell, the PRI-swap unit 55-4 changes the destination value in the PRI field to the source value, as previously described. The destination value of the PRI field is saved for use by cell write unit (CWU) 56, and applied thereto on line dest-PRI. The service cell itself is transmitted on sixteen bit bus "write data" to cell write unit (CWU) 56.
4.4 Cell Write Unit (CWU) Cell write unit (CWU) 56 stores the service cell in an addressed one of the cross point units (XPUs) 32. Cell write unit (CWU) 56, shown in Fig. 5D, includes cell size logic unit 56-1; write address counter 56-2; crosspoint select unit 56-3; and buffer select unit 56-4. The service cell is received on the sixteen bit bus "write data" from cell analyzer unit (CAU) 55 and applied to all units of cell write unit (CWU) 56. The destination PRI value, obtained on line dest-PRI from cell analyzer unit (CAU) 55, which essentially indicates to which switch port board (SPB) 24 the cell was transmitted, is applied to crosspoint select unit 56-3.
As described below, crosspoint select unit 56-3 both selects and enables, for the duration of handling of the service cell, the particular cross point unit(s) (XPU) 32 to which the service cell is to be written. Based on the value in field CBQ of the service cell, buffer select unit 56-4 selects one of the buffers CBQ0 or CBQi [see Fig. 2] of the particular cross point unit(s) (XPU) 32 to which the service cell is to be written, and applies a buffer enable signal to the selected buffer and generates a priority signal . In accordance with the particular cross point unit (XPU) 32 and buffer thereof, write address counter 56-2 generates a write address for the first sixteen bit word of an incoming service cell, and applies the same on a bus "write address". For each subsequent 16 bit word of the service cell, write address counter 56-2 generates a further address until all words of the cell have been written to the addressed cross point unit (XPU) 32. Write address counter 56-2 generates the further addresses for each word of the service cell in accordance with the cell size as determined by cell size logic 56-1. Cell size logic 56-1 knows the size of the service cell based on the field SCS [see Fig. 4A]. Write address counter 56-2 starts at zero and counts to the cell size.
Write address counter 56-2 also sends out start write and end write signals that are utilized by cross point status unit (XSU) 50 to set the "occupied" state of the cross point units (XPUs) 32 [see Fig. 5H(1) and Fig. 5H(2)]. Such signal is also applied via cross point status bus (CSB) 48 to the scanstate register 50-4 of the other row column unit (RCU) 40 which manages the affected cross point unit (XPU) 32 for unloading purposes [see Fig. 6].
Crosspoint select unit 56-3 includes both an enable register and a multicast register. The enable register is loaded at the start of the cell either from the decoded PRI-value or from the multicast register. The multicast register must be pre-loaded with addresses to the target cross point units (XPUs) 32 by means of a control cell prior to receipt of the affected service cell. The multicast register is needed only if switch core 22 supports point-to-multipoint connections.
4.5 Operation & Maintenance Unit (OMU) Operation & maintenance unit (OMU) 57 basically serves to terminate control cells and to select a target one of the registers in cross point status unit (XSU) 50. As shown in Fig. 5E, operation & maintenance unit (OMU) 57 comprises bitmap target code register 57-1; target code register 57-2; traffic mode register 57-3; article number PRI-code unit 57-4; zero fill bank unit 57-5; bitmap decode unit 57-6; and target decode unit 56-7. The sixteen bit bus p-data-in is applied from cell synchronizer unit (CSU) 54 to bitmap target code register 57-1; target code register 57-2; and traffic mode register 57-3. One of three potential actions is taken with respect to a cell transmitted to operation & maintenance unit (OMU) 57. As a first action, idle cells are thrown away. As a second action, sync cells (e.g., LSC cells) are thrown away (however, if the "cell sync status" bit in the LSC cell is set, the LSC cell must be stored and a returning LSC cell sent). As a third action, a LCC control cell is processed (whether of bitmap format or coded format).
In the above regard, control cells are forwarded in parallel to bitmap target code register 57-1 and target code register 57-2. If the control cell is a bitmap formatted cell [see Fig. 4B(1)], bitmap target code register 57-1 determines such and forwards the cell to bitmap decode unit 57-6 where the cell is decoded. The selected content of the cell is then loaded (on line "bitmap load") into a target one of the bitmapped control registers [see Table 5 and Section 4.6.1]. Target code register 57-2 serves the function of enabling target decode unit 57-7 to determine to which target control register the bitmap formatted cell should be directed. In accordance with this determination, target decode unit 57-7 outputs a signal on line "register select". The target one of the registers is ascertained from the value in the PRI field of the bitmapped LCC control cell.
A LCC control cell that is of the coded format can contain the address to a target control register and data to be stored in or retrieved from the target control register [see Table 6]. Such registers are generally described, e.g. in Section 4.6.2. The code in the target register field can also hold a direct command, which in this context refers, e.g., to the clear commands of Table 6. A direct command is a command which is carried out immediately and not stored in any register. Examples of direct commands are clear commands and retrieve_pollstate commands. The clear commands essentially clear the pollstate status registers 50-2 and the scanstate registers 50-in the XSU [see Fig. 5H(2)]. The retrieve jpollstate commands force the switch port to issue a pollstate status LCC in return.
The target register field with the load and unload markers are stored in the target register until the target register is written over. The load and unload markers are dynamic and cleared once they are executed. The unload marker, indicating retrieval of data from a target register, is executed first when a control cell can be sent towards the switch port board (SPB) 24. Zero fill bank unit 57-5 is utilized to provide a zero fill for retrieve operations involving target registers in cross point status unit (XSU) 50. In an alternate embodiment involving more gates, the zero fill is conducted at the target register itself.
4.6 Cross Point Status Unit (XSU)
Cross point status unit (XSU) 50 includes numerous control registers, including registers which use bitmapped link connection control (LCC) cells [see Table 5] and registers which use coded link connection control (LCC) cells [see Table 6] . In addition, cross point status unit (XSU) 50 has registers which hold information about the current fill status for each cross point unit (XPU) 32 connected to the row column unit (RCU) 40 and the write bus 42 to which the RCU is connected.
4.6.1 Registers Using Bitmapped LCC Cells
As shown in Table 5, there are three types of registers which are updated by sending bitmapped LCC cells to switch core 22. These three types of registers are the multicast register, the scanblock registers, and the pollstate registers.
The registers shown in Table 5 as using bitmapped LCC cells are 16 bits wide (since a bitmapped LCC cells carries 16 bits [see Fig. 4B(1)]. The entire register can be updated by sending one bitmapped LCC cell to cross point status unit (XSU) 50. Unload of the registers of Table 5 can be done by coded LCC cell, as described in section 4.6.2. In Table 5, a value of "X" indicates a do not care value. Cells are discarded if they have an incorrect CBQ value.
4.6.1.1 Multicast Registers
The 16 bit multicast register of a row column unit (RCU) 40 holds the bitmap that is used when the service cell has the indication "multicast". Each bit in the bitmap corresponds to a port of switch core 22, i.e., to one of the switch port boards (SPBs) 24. For example, bit zero (0) corresponds to port 0 (switch port board (SPB) 240) and so on up to bit 15 that corresponds to port 15 (switch port board (SPB) 24ι5). In the bitmap of the multicast register, a bit set to one ("1") implies that the cell is to be loaded into the correspondent buffer, if free, as part of the multicast. A bit in the multicast register set to zero ("0") indicates that the corresponding buffer is not to be included in a multicast. One register position is used for the two queues CBQ0 and CBQi, so that the value of CBQ for this register has no significance. 4.6.1.2 Scanblock Registers
For the cross point status unit (XSU) 50 of each row column unit (RCU) 40 there are two 16 bit scanblock registers 59-6 (see Fig. 5F) which are used to mask out buffers from the scanning process. One of the scanblock registers 59-6 serves as a bitmap for the CBQo buffers managed by a row column unit (RCU) 40; the other of the scanblock registers serves as a bitmap for the CBQi buffers for the CBQ0 buffers managed by a row column unit (RCU) 40.
Although a scanblock register 59-6 may be set to preclude the scan of a certain CBQo/CBQi buffer, the load of that buffer is still active, i.e., a cell can be loaded into a buffer with the scanblock bit set. The cell remains in the buffer until the bit is cleared. When the bit is reset the buffer is linked into the scanning process again and the cell is transmitted out from the switch port at the proper time instant.
As with the bitmapping of the multicast register, the scanblock register bit zero
(0) corresponds to port 0 (switch port board (SPB) 240) and so on up to bit 15 that corresponds to port 15 (switch port board (SPB) 2415). Setting a bit to one in the bitmap of the scanblock register indicates that the buffer is blocked.
4.6.1.3 Pollstate Registers
The pollstate status registers and pollstate release registers of Table 5 are collectively referred to as the "pollstate registers". For each row column unit (RCU) 40 there is a pollstate status register 50-2 and a pollstate release register for each matrix in switch core 22 (see also Fig. 6). For a given row column unit (RCU) 40, therefore, there are two pollstate status registers and two pollstate release registers. A first pollstate status register includes a bitmapped indication of "occupied" or "free" for each buffer CBQ0 (in core matrix 0) in cross point units (XPUs) 32 which are connected to the RCU by a write line 42, and a second pollstate status register includes a bitmapped indication of "occupied" or "free" for each buffer CBQi (in core matrix 0) in cross point units (XPUs) 32 which are connected to the RCU by the write line 42. A first pollstate release register includes a bitmapped indication of whether a transition from "occupied" to "free" has occurred in a buffer CBQ0 (in core matrix 0) in cross point units (XPUs) 32 which are connected to the RCU by a read line 44, and a second pollstate release register includes a similar bitmapped indication with respect to each buffer CBQi (in core matrix 0) in cross point units (XPUs) 32 which are connected to the RCU by the read line 44. Cells affecting the pollstate registers are transmitted as described hereinafter in section 9.0.
Thus, for each row column unit (RCU) 40 there are two 16 bit pollstate status registers which hold an indication of whether 16 buffers on the same row are free or occupied. Each row column unit (RCU) 40 has a pollstate status register for the 16 CBQo buffers it manages and a separate pollstate status register for the 16 CBQi buffers it manages. Pollstate status register bit zero (0) corresponds to the first cross point unit (XPU) 32 managed by the row column unit (RCU) 40 and so on up to bit 15 that corresponds to the last cross point unit (XPU) 32 managed by the row column unit (RCU) 40. In each pollstate status register, a bit set to zero indicates that the queue (one of CBQo or CBQi, as specified) of the corresponding cross point unit (XPU) 32 is free, while a bit set to one ("1") indicates that the buffer is occupied. As explained in more detail hereinafter in connection with section 9.0, the contents of the bitmapped pollstate status register is sent as a response to a "retrieve pollstate command" issued from switch port board (SPB) 24. The "retrieve pollstate command" is sent to switch core 22 with a coded LCC cell having an ADR field value of 25. Bits not used in the bitmapped LCC for the pollstate status register are set equal to 0 and REserved bits are equal to 1.
A pollstate release LCC cell is typically sent out from row column unit (RCU) 40, and particularly from cell generator unit (CGU) 58, whenever one of the buffers in the column managed by the row column unit (RCU) 40 undergoes a change from "occupied" to "free", as indicated by a corresponding transition in the pollstate release register 50-8. If both registers (CBQ0 and CBQi) for a cross point unit (XPU) 32 have been changed, a cell showing content of the pollstate status register corresponding to CBQo is sent out first since it has higher priority. All changes during the ongoing "pollstate release" cell are captured and result in another "pollstate release" cell. In each pollstate release register, a bit set to one indicates that the status of the pollstate release register has changed from occupied to free while a bit set to zero indicates that the current status remains (which could be either occupied or free). Bits not used in the bitmapped LCC for the pollstate release register are set equal to 0 and REserved bits are equal to 1. As previously explained with reference to Fig. 6A - 6E, each SPIC 26 has a register 26R (see Fig. 1 and Fig. 6) which has one bit position for each cross point unit XPU 32 it controls. Whenever a SPIC 26 writes a cell to a cross point unit XPU 32, SPIC 26 sets a corresponding bit in register 26R. The position of the thusly written bit in register 26R corresponds to the bit positions given in the bit mapped LCC cell (see Table 5 and Fig. 4B-1). As long as a bit is set for a XPU 32 in register 26R, SPIC 26 cannot send a new cell to that XPU 32. Only after the bit for the corresponding XPU 32 is reset in register 26R can another cell be sent to XPU 32. The bit in register 26R is reset when SPIC 26 receives a cell showing that, in the pollstate release register, the bit for the XPU 32 in question has been set to one (e.g., indicating a transition from an occupied to a free state). Thus, a handshaking occurs between the SPIC 26 and switch core 22. This handshaking ensures that the XPU 32 is not untimely overwritten. To make certain that there is no mismatch between its register 26R and switch core 22, the SPIC 26 can prompt for current crosspoint status. This prompting for current crosspoint status should be done if, e.g., the SPIC 26 detects by a time-out that a position in its register 26R never gets reset. The SPIC 26 can then (or at regular intervals) issue a retrieve pollstate command. Switch core 22 replies by sending a pollstate status LCC cell (see Table 5) to SPIC 26.
The registers included in cross point status unit (XSU) 50 which hold information about the current fill status for each of the buffers of each cross point unit (XPU) 32, e.g., the pollstate status registers and the pollstate release registers, are updated through cross point status bus (CSB) 48 [see Fig. 6]. The information in the registers of cross point unit (XPU) 32 essentially serves two purposes. The first purpose is to identify (using the pollstate status registers) the cross point units (XPUs) 32 that are occupied and therefore can be unloaded. The second purpose is to identify (using the pollstate release registers) the cross point units (XPUs) 32 that have transitioned from an "occupied" to "free" status so that new cells can be sent thereto.
Each row column unit (RCU) 40 performs a scanning process for its associated column, as described in section 10.0 hereof. SPIC 26 can control the duration of the scan process in its associated RCU 40 by setting the scan enable counter (see section 4.6.2.4). The scanning process is described in Fig. 18, and is part of the overall flow of operations shown in Fig. 10. Fig. 5H(2) shows an implementation comprising pollstate register 50-2; pollrate register 50-3; scanstate register 50-4; and scanrate register 50-5. The portion of Fig. 5H(2) depicted above line DH-L is provided for each buffer CBQ0 and CBQi in each cross point unit (XPU) 32 attached to the write bus 42 which is connected to the particular cross point status unit (XSU) 50. The portion of Fig. 5H(2) depicted below above line DH-L is provided for each buffer CBQ0 and CBQi in each cross point unit (XPU) 32 attached to the read bus 44 which is connected to the particular cross point status unit (XSU) 50.
In Fig. 5H(2), the parallel input data on line p-data-in obtained from cell synchronizer unit (CSU) 54 is applied to the input terminals of both pollrate register 50- 3 and scanrate register 50-5. As described hereinafter with reference to section 4.6.2.8 and section 10.0, the parallel input data on line p-data-in is applied to pollrate register 50-3 to indicate which of two polling options is to be implemented. Similarly, as described hereinafter with reference to section 4.6.2.9 and section 10.0, the parallel input data on line p-data-in is applied to scanrate register 50-5 to indicate which of two scan options is to be implemented. A signal at terminal Q of pollrate register 50-3 is applied as an output select signal to switch 50-6 in accordance with which of two polling options is selected. A signal at terminal Q of scanrate register 50-5 is applied as an output select signal to switch 50-7 in accordance with which of two scan options is selected.
Pollstate register 50-2 has a set terminal S, a reset terminal R, and an output terminal Q. Set terminal S of pollstate register 50-2 receives a signal on line "start- write" from cell write unit (CWU) 56 [see Fig. 5D]. In accordance with the content of pollrate register 50-3, switch 50-6 applies either one of the signals on lines "start-read" and "end-read" to reset terminal R of pollstate register 50-2. The signals on lines "start- read" and "end-read" are obtained from cell read unit (CRU) 59, as hereinafter described with reference to Fig. 5F. In accordance with the timing dependent upon which of the lines "start-read" and "end-read" is selected, the Q terminal of pollstate register 50-2 applies a signal on line "poll data"
The state of pollstate register 50-2 of Fig. 5H(2) is applied by the signal "poll data" to the appropriate bit of the pollstate status register 50-2. For example, if the structure shown above line DH-L in Fig. 5H(2) is included in cross point status unit (XSU) 500 of row column unit (RCU) 400 and pertains particularly to cross point unit (XPU) 320,ι, when cross point unit (XPU) 320,ι is loaded with a service cell as indicated by the setting of pollstate register 50-2 the signal on line poll data sets bit BCD 1 (byte 6, bit 2) of the bitmapped pollstate_status register [see Fig. 4B(1) and Table 5].
The scanstate register 50-4 likewise has a set terminal S, a reset terminal R, and an output terminal Q. Reset terminal R of scanstate register receives a signal on line "start-read" from cell read unit (CRU) 59 [see Fig. 5F]. In accordance with the content of scanrate register 50-5, switch 50-7 applies either one of the signals on lines "start- write" and "end-write" to set terminal S of scanstate register 50-4. The signals on lines "start-write" and "end-write" are obtained from cell write unit (CWU) 56, as described with reference to Fig. 5D. In accordance with the timing dependent upon which of the lines "start-write" and "end-write" is selected, the Q terminal of scanstate register 50-4 applies a signal on line "scan data" which is applied to cell read unit (CRU) 59 as hereinafter described with reference to Fig. 5F.
The state of scanstate register 50-4 of Fig. 5H(2) is applied by the signal "scan data" to the appropriate bit of the pollstate release register (see Fig. 6). For example, if the structure shown below line DH-L in Fig. 5H(2) is included in cross point status unit (XSU) 50. of row column unit (RCU) 400 and pertains particularly to cross point unit (XPU) 32o,ι, when a service cell is unloaded from cross point unit (XPU) 320,ι (as indicated by the setting of scanstate register 50-4) the signal on line scan data sets bit BCD 1 (byte 6, bit 2) of the bitmapped pollstate release register [see Fig. 4B(1) and Table 5].
Fig. 5H(1) shows another and more simplified implementation wherein the pollstate and scanstate registers functions are essentially both performed by a crosspoint status function register 50-1 included in cross point status unit (XSU) 50. It should be understood that two such registers 50-1 exist for each cross point unit (XPU) 32 attached to read bus 44, since there are two buffers (buffers CBQO and CBQI for each such XPU). A set terminal of register 50-1 is connected to line "start- write" to which a signal is applied from write address counter 56-2 of cell write unit (CWU) 56 [see Fig. 5D]. A reset terminal of register 50-1 is connected to line "end-read" to which a signal is applied from read address counter 59-1 of cell read unit (CRU) 59. The Q terminal of register 50-1 is connected to lines "poll-data" and "scan-data", the second of which is included in cross point status bus (CSB) 48. The line "scan-data" is applied to cell read unit (CRU) 59, as hereinafter described with respect to Fig. 5F.
4.6.2 Registers Using Coded LCC Cells The command registers included in cross point status unit (XSU) 50 which use coded LCC cells are shown in Table 6. In Table 6, the subcolumns CBQ, ADR, and 4.6.2 under the "Address" column refer to the values in similarly named fields of the coded LCC cell [see Fig. 4B(2)] necessary for addressing the particular registers shown. The column marked "Write" and "Read" indicate registers that can be loaded and/or unloaded by coded LCC cell. A value of "X" in any column indicates a "do not care" condition (e.g., any value is acceptable).
4.6.2.1 Poll Enable Register
The poll enable register contains the mode code used by row column unit (RCU) 40 for a cell sending process. The mode code is further explained with reference to cell transmission [see section 9.0 and Fig. 10]. Only the two least significant bits of the poll enable register are used. The value of the two least significant bits of the poll enable register corresponds to the mode (e.g., either mode 0, 1, 2, or 3). For example, a value of 0 in the poll enable register refers to mode 0 (e.g., send only LSC cells). No internal register can be read in mode 0. An attempt to read a register will be pending and executed as soon as the poll enable is changed to modes 1, 2 or 3. An attempt to write to a register is possible when the value stored in the poll enable register is zero.
4.6.2.2 LCC Parity Mode Register The least significant bit of the LCC parity mode register is used to control the parity mode. The following codes apply: "0" means that normal parity is generated; "1" means that inverted parity FBP, SBP and LWP are generated in the transmitted LCC-cells.
4.6.2.3 Cell Integrity Register
The cell integrity register holds an error indication caused by various detected faults in switch core 22. The integrity check operation is described, e.g. in Section X0. A detected fault sets the corresponding bit of the register. The bits are cleared at unload of the register. Bit 0, when set, indicates a FBP, SBP, or LWP error detected at the receiving side of switch core 22. Bit 1, when set, indicates an unsupported PRI value in a received cell or changed CBQ value in a concatenated stream or exceeded crosspoint buffer size or write over attempt in crosspoint buffer (unicast and multicast, not broadcast). Bit 2 is not used. When set, bit 3 indicates an FBP or SBP error at unload of service cells from the buffer. Bits 4-7 are not used.
4.6.2.4 Scan Enable Register
The scan enable register, which forms part of call size logic 59-2 (see Fig. 5F), controls the start and stop of the scan process. The scan enable register is an eight bit counter that can be preset to any value from 0 to 255. The counter decrements by one for every eight (8th) byte of service cell that is transmitted out to the corresponding port. When the counter reaches zero, the scan process stops. If the counter is preset to 255, the count down is disabled and the scan process is enabled all the time until a new value (less than 255 and greater than 0) is loaded into the register.
4.6.2.5 System Clock Register
The system clock register 52-2 (see Fig. 51) controls the multiplexer for the system clock output of each port. Values 0-15 set the port number of the system clock source. In the system clock register , bits 0-3 contain the port number of the clock source; bits 4-7 are not used. The system clock register is set equal to zero at "read" from switch core 22.
4.6.2.6 Own PRI Register
The own PRI register is a read-only register of 4 bits. The value at read is equal to actual port number. In the own PRI register, bit 0-3 contains the own port number; bits 4-7 are set equal to zero.
4.6.2.7 Revision Number Register
The revision number register is an eight bit read-only register which holds information concerning a revision number of switch core 22. The first revision of switch core 22 is one (1). In the revision number register, bits 0-7 contain the revision number starting with one.
4.6.2.8 Pollrate register
The switch port boards (SPBs) 24 ("switchports") that are sending service cells to each other, via switch core 22, can have different speeds. To achieve maximum throughput of service cells through switch core 22, it is necessary that the "free" indication of a buffer of a cross point unit (XPU) 32 be made at the start or at the end of the unload of a service cell. The selection is made dependent on the speed difference between the switch port boards (SPBs) 24.
In each row column unit (RCU) 40 in switch core 22 there are two 16 bit registers (one per CBQ, i.e., one for buffer CBQ0 and one for buffer CBQi) previously described as the pollstate status registers 50-2. A pollrate register 50-3 is shown in Fig. 5H(2). The buffers, on one row, are indicated as "free" or "occupied" in their corresponding pollstate status registers 50-2. The contents of the pollstate status registers 50-2 are transmitted by the bitmap LCC cells sent from row column unit (RCU) 40 to switch port board (SPB) 24 in response to a retrieve pollstate command.
The pollrate register defines when the associated buffer shall be indicated as "free". For each row column unit (RCU) 40, there is one register bit, in the pollrate register, for each cross point unit (XPU) 32 in the column connected to the row column unit (RCU) 40. This register bit is the same for the two CBQ buffers at a cross point unit (XPU) 32. The lower eight bits are positioned at RPC = 0 and the most significant byte at RPC = 1 - Both at address 14.
The occupied/free indication in the pollstate status register 50-2 for the buffer is always set to "occupied" when the first byte of the cell enters the buffer. The indication is set to "free" either at the beginning or end of the unload of the cell. Whether the indication is set to free at the beginning or end of the unload of the cell is determined by the setting of the corresponding bit in the pollrate register. A setting of "zero" ("0") causes the "free" indication to be provided at unload of the last word from the buffer, while a setting of the corresponding bit in the pollrate register to "1" causes a "free" indication to be provided at unload of the first word from the buffer.
Fig. 11 shows, for a particular row column unit (RCU) 40x, an association of bits in the pollrate register and the cross point units (XPUs) 32 managed by that row column unit (RCU) 40. The particular row column unit (RCU) 40x shown in Fig. 11 manages column x of memory array unit (MAU) 30 The following scenario, together with Fig. 12, describes how the pollrate register should be set when two switch port boards (SPBs) 24, referenced as switchports X and Y, are to be set up to send service cells to each other. Initially, the bitrate of the opposite switchport is unknown. Therefore the "free" indication is made at unload of the last word from the buffer. The "free" indication, when a switchport is sending service cells to itself, should be made at unload of the first byte from the buffer, as the bitrate in this case always is the same. The pollrate registers are initiated, via LCC cells, for this situation.
As shown in the state below the broken horizontal line of Fig. 12, the two switchports X and Y can now send service cells to each other. In the illustration, the speed of switchport X is assumed to be much higher than the speed of switchport Y, and the correspondent bits of the pollrate register are set accordingly.
A "free" indication of the buffer that holds service cells from X to Y is set at unload last word from the buffer. The "free" indication of the buffer that holds service cells from Y is set at unload of the first word from the buffer.
4.6.2.9 Scanrate register To achieve maximum throughput of service cells through switch core 22, it is also necessary that the indication of cell available can be made at the start or at the end of the load of a service cell. The selection is made dependent on the speed difference between the switch port boards (SPBs) 24.
The scanrate register defines when a cell, in the associated buffer, is indicated as
"available". The indication is loaded into the internal snapshot register, that is used by the scan process.
Fig. 13 shows an association between scanrate register bits and cross point units (XPUs) 32. There is one register bit, in the scanrate register, for each cross point unit (XPU) 32 in the row connected to this row column unit (RCU) 40. This register bit is common for the two CBQ values (totally 16 bits). The lower eight bits are positioned at RPC = 0 and the most significant byte at RPC = 1. Both at address 15. The indication of "cell available" for the buffer can be made at the beginning or end of the load of the cell. Whether the indication of "cell available" for the buffer can be made at the beginning or end of the load of the cell depends on the setting of the bit in the scanrate register which corresponds to the buffer. In this regard, a scanrate bit setting of zero ("0") indicates that the "cell available" indication is to be provided at load of the last word into the buffer, while a scanrate bit setting of one ("1") indicates that the "cell available" indication is to be provided at load of the first word into the buffer. Reset of the indication is always done at the unload of the first byte of the cell.
The following scenario, together with Fig. 14, describes how the scanrate register should be set when two switchports, X and Y, are to be set up to send service cells to each other. Initially, the bitrate of opposite switchport is unknown. Therefore the "cell available" indication is set at load of the last word into the buffer. The "cell available" indication when a switchport sends service cells to itself is made at load of the first byte into the buffer, as the bitrate in this case always is the same. The scanrate register is initiated, via LCC cells.
In the second state of Fig. 14, the two switchports can now send service cells to each other. The speed of switchport X is assumed to be much higher than the speed of switchport Y and the correspondent bits of the scanrate register are set accordingly. The "cell available" indication of the service cells from X to Y are made at load of the first word into the buffer. The "free" indication of the service cells from Y to X are made at load of the last word into the buffer.
4.6.2.10 Clear Command
When the clear command is sent to switch core 22, a corresponding internal register of this port is cleared immediately. Different databits of the datafield in the LCC cell clears different registers in switch core 22.
The following mapping applies to the clear command:
A clear command having databit(O) set to "1" clears the pollstate register of the correspondent CBQ value, and thus serves as a CLEARjpollstate command. A clear command having databit(l) set to "1" clears the pollstate release (scanstate) register of the correspondent CBQ value, and thus serves as a CLEAR scanstate command. If there is no port connected to a row, and the pollstate bit of the crosspoint on this row is set, the pollstate bit will remain high and a clear scanstate will generate a cell from this crosspoint. The pollstate bit remains high as there is no clock to this port and a cell will be generated for every new "clear scanstate".
A clear command having databit(2) set to "1" clears the snapshot register of the correspondent CBQ value, and thus serves as a CLEAR snapshot command.
A clear command having databit(3) set to "1" clears the scanblock register of the correspondent CBQ value, and thus serves as a CLEAR scanblock comand.
A clear command having databit(4) set to "1" clears the multicast register of the correspondent CBQ value, and thus serves as a CLEAR multicast command.Recommendation:
4.6.2.11 Retrievejpollstate Command When the retrieve-pollstate command is sent to switch core 22, the internal pollstate status is retrieved. There is one command for the CBQ0 buffers in matrix 0 and another command for the CBQi buffers in matrix 1.
4.6.2.12 Scanblock Register A read of the scanblock register is made by sending a coded LCC cell with an
ADR field value of 28 to switch core 22. The RPC- field and the CBQ field values of the LCC cell give correspondent data of scanblock register.
4.6.2.13 Multicast Register A read of the multicast register is made by sending a coded LCC cell with an
ADR field value of 30 to switch core 22. The RPC-field values of the LCC cell give correspondent data of multicast register. 4.7 Cell Read Unit (CRU)
Service cells are supplied to SPIC 26 from switch core 22 in accordance with the scanstate process. Therefore, SPIC 26 can only stop service cells from arriving either by blocking all affected crosspoints (XPUs) on its column or by setting the scan enable counter to zero. Thus, the scanstate process (see Fig. 18) searches the XPUs 32
(particularly the scanstate register 50-4, see Fig. 5H(2)) and unloads any service cells that it detects from the corresponding XPU. Cell read unit (CRU) 59 obtains the outgoing cell from the appropriate one of the cross point units (XPUs) 32 attached to read bus 44, after which after which cell generator unit (CGU) 58 begins the process of applying the outgoing service cell to the outgoing cell stream on link 28.
After a cross point unit (XPU) 32 is found to have its corresponding scanstate register 50-4 with an "occupied" state, the buffer of the occupied cross point unit (XPU) 32 is unloaded. Then the state of the buffer for the unloaded cross point unit (XPU) 32 is changed in the pollstate release register 50-8 to "free". Further, the status of the pollstate status register 50-2 is also changed to a "free" status. The foregoing operation is conducted with respect to all cross point units (XPUs) 32 connected to the read bus 44 to which the row column unit (RCU) 40 is also connected.
As shown in Fig. 5F, cell read unit (CRU) 59 comprises read address counter 59-
1; cell size logic unit 59-2; a select unit 59-3; a set of snapshot registers 59-4; a set of scan data gates 59-5; and, a set of scanblock registers 59-6.
When a cross point unit (XPU) 32 is to be unloaded, the cross point status unit (XSU) 50 applies a signal on line "scan data" to gate 59-5 of cell read unit (CRU) 59. It should be recalled that the arrangement of Fig. 5H(2) is replicated for each cross point unit (XPU) 32 managed by cross point status unit (XSU) 50, and accordingly that there is a separate line "scan data" for each such cross point unit (XPU) 32. The scan signal on line "scan data" is passed through gate 59-5 if so allowed by a corresponding register in the set of scanblock registers 59-6. The gated scan signal is then applied in parallel to a corresponding one of the snapshot registers 59-4 and to select unit 59-3.
Select unit 59-3, noting the particular cross point unit (XPU) 32 to which the gated scan signal pertains, sends appropriate signals so that the service cell can be fetched from that cross point unit (XPU) 32. In particular, select unit 59-3 applies a signal on line "buffer enable" of read bus 44; sends a signal on line "read control" so that read address counter 59-1 can determine which particular cross point unit (XPU) 32 should be addressed in view of the particular scan data line utilized; and sends a buffer select signal on a line "priority" of read bus 44 so that a selected one of the buffers CBQ0 and CBQi at the addressed cross point unit (XPU) 32 is properly designated. Furthermore, select unit 59-3 sends a signal on line "service cell" to cell generator unit (CGU) 58 [see Fig. 5G] to indicate that a service cell is becoming available.
Read address counter 59-1 uses the signal on line "read control" to determine an address of the cross point unit (XPU) 32 corresponding to the gated scan signal received at select unit 59-3. The address is applied on line "read address" of read bus 44. At the beginning of the reading, read address counter 59-1 sets a signal on line "start-read" for application to cross point status unit (XSU) 50 [see Fig. 5H(2)].
Bytes of the service cell are acquired by cell read unit (CRU) 59 on line "read data" of read bus 44. As the header of each cell is received and applied to cell size logic unit 59-2, cell size logic unit 59-2 determines the length of the cell (i.e., from field SCS [see Fig. 4A]). Cell size logic unit 59-2 allows read address counter 59-1 to repetitively increment the address applied on line "read address" until all bytes of the cell, as determined by cell size logic unit 59-2, are obtained. Then, cell size logic unit 59-2 causes read address counter 59-1 to issue a signal on line "end-read" for application to cross point status unit (XSU) 50 [see Fig. 5H(2)].
Cell read unit (CRU) 59, upon unload of a cell from a buffer of a cross point unit
(XPU) 32, causes the pollstate status register 50-2 for the unloaded buffer to be reset to a "free" condition. In this regard, one or the other of the signals on line "end-read" or line "start-read", in dependence upon the value of the pollrate register, is utilized to reset the pollstate status register 50-2 [see Fig. 5H(2)].
Upon addressing by select unit 59-3 in the manner described above, the cell of the selected buffer in the addressed cross point unit (XPU) 32 is transmitted on the "read data" lines of read bus 44 both to cell read unit (CRU) 59 and to cell generator unit (CGU) 58 [see Fig. 5G]. 4.8 Cell Generator Unit (CGU)
Cell generator unit (CGU) 58 determines which cell to send to switch port board (SPB) 24 at a next cell interval. The cell sent out by cell generator unit (CGU) 58 is applied via bus p-data-out to system clock unit (SCU) 52 (see Fig. 5B).
As shown in Fig. 5G, cell generator unit (CGU) 58 includes a next cell control unit 58-1, the poll enable register (shown as register 58-2P), the scan enable register (shown as register 58-2S); parity generator 58-3; control cell fill bank 58-4; and PRI- integrity check unit 58-5. Next cell control unit 58-1 determines which type of cell next to send to switch port board (SPB) 24 at a next cell interval, and in order to make the decision receives the signals on the lines sync-cell, service-cell, and OAM cell as well as signals indicative of the content of the poll enable register 58-2P and scan enable register 58-2S. A signal on line sync-cell, output from cell synchronizer unit (CSU) 54 [see Fig. 5B], indicates that a synchronization cell (LSC cell) has been received from switch port board (SPB) 24. A signal on line OAM, received from operation & maintenance unit (OMU) 57 [see Fig. 5E], indicates that a non-synchronization control cell has been received from switch port board (SPB) 24. A signal on line service-cell, received from cell read unit (CRU) 59 [see Fig. 5F], indicates that a service cell has just been fetched and is available on line "read-data" at PRI-integrity check unit 58-5. Cell generator unit (CGU) 58 uses the signals input thereto in order to confrol a cell transmission procedure described e.g., in section 9.0 and Fig. 10.
In accordance with its cell transmission procedure, next cell control unit 58-1 outputs a signal on line "control-cell-unload" to control cell fill bank 58-4, and on line "read-control" to parity generator 58-3. Control cell fill bank receives a signal on line "OAM-cell data" from target code register 57-2 (see Fig. 5E). PRI-integrity check unit 58-5 receives a service cell from cell read unit (CRU) 59 on line "read-data", performs an integrity check, and passes the service cell to parity and parity generator 58-3 prior to transmittal to cell synchronizer unit (CSU) 54, line interface unit (LIU) 53, and switch port board (SPB) 24.
Basically, cells are sent out from cell generator unit (CGU) 58 in accordance with the following priority rules (in descending priority order) : 1. A link state control (LSC) cell if a hunt state appears or a LSC cell prompt occurs. LSC cells are utilized to maintain alignment on the link between SPIC 26 and the corresponding RCU 40, i.e., to discern cell borders. During the hunt state the RCU 40 is unable to find cell structures, and instead sends LSC cells with a code indicating that the RCU 40 is out of synchronization and needs to receive LSC cells until RCU 40 stops sending LSC cells. Alternatively, the SPIC 26 may be out of synchronization and sends a corresponding request to RCU 40, so that RCU 40 issues continuous LSC cells (although not with a code indicating that RCU 40 is out of synchronization).
2. An OAM-cell according to an earlier request or prompted polling schedules, also known as a pending LCC cell prompted by SPIC 26.
3. A service cell/control cell depending on current scan mode schedules
4. An idle cell or OAM cell with unprompted CBR (constant bit rate) poll data. Cell generator unit (CGU) 58 must be able to put the release of a requested
OAM-cell on hold if LSC cell prompt occurs The LSC cell and idle cell are generated in control cell fill bank 58-4 as well as the common part of the OAM-cells.
PRI-integrity check unit 58-5 tests whether the value in the PRI field of the cell matches its own PRI using the Own PRI register as shown in Table 6. Optionally, PRI- integrity check unit 58-5 can also make a parity check. Parity generator 58-3 adds or alters the required parity for all cell types.
4.9 System Clock Umt
The system clock unit (SCU) 52, generally shown in Fig. 5 as comprising row column unit (RCU) 40,is shown in more detail in Fig. 51. A signal sysclk-in, derived from SCLK (see Fig. 5), exists for each row column unit (RCU) 40 and is applied to system clock unit (SCU) 52. A mux 52-1 selects one of the signals sysclk-in, i.e., from the appropriate row column unit (RCU) 40, to be applied as signal sysclk-out to line interface unit 53 (see Fig. 5 A). The selection by mux 52-1 is controlled by system clock register 52-2. System clock register 52-2 can be set by a LCC cell of coded format. If desired, a slew rate register 52-3 can be provided and set so that the transition speed (volts/nano-seconds) from low to high can be controlled on the SCLK- OUT and D-SCSP signals (see Fig. 5A), with four rates being settable. 5.0 Initialization
Fig. 7 is a flowchart showing basic steps involved in an initialization procedure for the ATM switching system of Fig. 1. Upon power up of switching system 20, for synchronization purposes and as depicted by step 7-1 of Fig. 7, it is preferred that each switch port board (SPB) 24 send at least five link state control cells (LSC cells) with coded format to its corresponding row column unit (RCU) 40 [see Fig. 5]. In some instances, such as when switching system 20 is running and loses synchronization for some reason, fewer LSC cells (e.g., three LSC cells) are necessary for resynchronization of switching system 20. The last of the LSC cells transmitted in conjunction with initialization or resynchronization should have a SSC field value of "SYNC" [see Fig. 4B(3)]. Synchronization is discussed in more detail in section 6.0 below.
After synchronization is established, a series of LCC cells of coded format are sent to each row column unit (RCU) 40 from its respective switch port board (SPB) 24. Issuance of each of the coded LCC cells in the series is reflected by steps 7-2 through 7-9 of Fig. 7.
The coded LCC cell issued at step 7-2 is used to set the poll enable register [see Table 6] at zero. The poll enable register is discussed e.g., in section 4.6.2.1. To accomplished initialization of the poll enable register, the fields of the coded LCC cell for step 7-2 are set to the following values [see Fig. 4B(2)]: PRI field = 31; ADR field = 4; RPC field = 0; field CBQ = X; the data field is set to 0 (hexadecimal); the write bit is set to "1" and the read bit is set to "0".
Steps 7-3 through 7-7 are executed with respect to each cross point unit (XPU) 32 for each each row column unit (RCU) 40 in switching system 20. At step 7-3 a clear command LCC cell is sent to each of matrix 0 and matrix 1. This clear command LCC cell resets positions in pollstate register 50-2 and scanstate register 50-4 (see Fig. 5H(2)) which are associated with the XPUs that the RCU 40 owns.
At step 7-4 two coded LCC cells are sent to initialize the scanrate register high byte and the scan rate register low byte [see Table 6]. The scanrate register is discussed e.g., in section 4.6.2.9. The first LCC cell of step 7-4 initializes the scan rate register low byte; the second LCC cell of step 7-4 initializes the scan rate register high byte . The scanrate high byte is utilized for the CBQ0 buffer of a cross point unit (XPU) 32 (in matrix 0 of memory array unit (MAU) 30) ; the scanrate low byte is utilized for the CBQi buffer of a cross point unit (XPU) 32 (in matrix 1 of memory array unit (MAU) 30). The bytes are set to indicate an unknown rate (unless the rates are, in fact, known). The fields of the coded LCC cell for the first cell of step 7-4 are set to the following values [see Fig. 4B(2)]: PRI field = 31; ADR field = 15; RPC field = 0; field CBQ = X; the data field is set to 00 (hexadecimal); the write bit is set to "1" and the read bit is set to "0". The fields of the coded LCC cell for the second cell of step 7-6 are set similarly, except that the RPC field = 1.
At step 7-5 two coded LCC cells are sent to initialize the poll rate register high byte and the poll rate register low byte [see Table 6]. The pollrate register is described e.g., in section 4.6.2.8. In similar manner with the scan rate registers, the bytes are set to indicate an unknown rate (unless the rates are, in fact, known). The fields of the coded LCC cell for the first cell of step 7-5 are set to the following values [see Fig.
4B(2)]: PRI field = 31; ADR field = 14; RPC field = 0; field CBQ = X; the data field is set to 00 (hexadecimal); the write bit is set to "1" and the read bit is set to "0". The fields of the coded LCC cell for the second cell of step 7-5 are set similarly, except that the RPC field = 1.
At step 7-6 a coded LCC cell is sent to enable the scan enable register [see Table 6]. The scan enable register is described e.g., in section 4.6.2.4. The fields of the coded LCC cell of step 7-6 are set to the following values [see Fig. 4B(2)]: PRI field = 31 ; ADR field = 7; RPC field = 0; field CBQ = X; the data field is set to FF (hexadecimal); the write bit is set to "1" and the read bit is set to "0".
At step 7-7 a coded LCC cell is sent to set the poll enable register [see Table 6] to mode 1. The significance of mode 1 is explained in connection with Fig. 10. The fields of the coded LCC cell of step 7-7 are set to the following values [see Fig. 4B(2)]: PRI field = 31; ADR field = 4; RPC field = 0; field CBQ = X; the data field is set to 01 (hexadecimal); the write bit is set to "1" and the read bit is set to "0".
Step 7-8 requires waiting for a time period comparable to the duration of thirty- two maximum length (e.g., 56 byte) service cells. During this wait period, any cells generated are ignored. The wait period of step 7-8 allows any sporadic service cells or control cells to be flushed out of switching system 20. Sporadic service cells may occur if the pollstate registers of other row column units (RCUs) 40 indicate that there is a cell available for reading, which may happen at power up or if other row column units (RCUs) 40 do not have a switch port board (SPB) 24 connected. Such sporadic service cells can be flushed out after the link is synchronized and the poll enable mode is set to mode 1, 2, or 3.
6.0 Synchronization
As shown in Fig. 1, each switch port board (SPB) 24 is connected to switch core 22 a bidirectional link, particularly links 27 and 28. On each side of the link there is a sync-tag detector or cell aligner. For example, in row column unit (RCU) 40 a sync-tag detector 54-3 is provided in cell synchronizer unit (CSU) 54 [see Fig. 5B]. The task of the sync-tag detector is to detect LSC-cells. As shown in Fig. 3, cells of various sizes are transferred between switch port board (SPB) 24 and switch core 22 as a bit stream in each direction. Other than its internal content, no explicit information about the cell start is on links 27, 28. Both sides ~ switch core 22 and switch port board (SPB) 24 ~ are therefore required to make cell alignment in order to synchronize links 27 and 28. Synchronization is achieved by the insertion of LSC-cells [see Fig. 4B(3)] as required. The LSC-cells transmitted from switch port board (SPB) 24 to switch core 22 are analyzed at sync-tag detector 54-3; LSC cells transmitted from switch core 22 to switch port board (SPB) 24 are analyzed at a corresponding and analogously operated sync tag detector in switch port board (SPB) 24. The sync tag detector does not affect non-LSC cells.
The sync tag detector in switch port board (SPB) 24 and the sync tag detector
54-3 both comprise a state machine which operates in accordance with the state diagram shown in Fig. 8. In order to have rapid fast synchronization and maintain operational status of the links 27, 28, each side of the link ~ switch core 22 and switch port board (SPB) 24 ~ must be able to advise of its state by using LSC cells. The operation of sync tag detector is hereinafter discussed generically, it being understood that such operation can describe both sync tag detector 54-3 and the sync tag detector in switch port board (SPB) 24.
The incoming LSC-cells, from the opposite side of the link, are compared by the sync tag detector to the predefined pattern for LSC-cells (see Fig. 4B(2) and section 2.2.2.1]. The SSC field indicates whether the sync tag detector which generated the LSC cell is in its PRESYNC state (as indicated by an SSC value of 11) or is in one of its synchronization states, e.g., SYNCO or SYNC1 (as indicated by an SSC value of "SYNC", i.e., 00). As shown in Fig. 8, sync tag detector stays in a PRESYNC state until three consecutive error-free LSC-cells are received, and then enters one of its two SYNC states (SYNCO or SYNC1). When both sides of the link ~ switch port board (SPB) 24 and switch core 22 ~ have reached SYNC1 state, service cells and LCC cells can start to flow between switch port board (SPB) 24 and switch core 22.
Each service cell contains information about its size, particularly in field SCS
[see Fig. 4A]. The size information is used to maintain the cell synchronization. Certain cell faults, such as those detected by integrity check unit 55-3 [see Fig. 5C], put the sync tag detector into the PRESYNC state. If an LSC-cell with a PRESYNC value in its SSC field is received during SYNC1 state, the state machine enters state SYNCO. In state SYNCO, LSC-cells with SYNC values in field SSC are sent all the time until any cell (except a LSC cell with a PRESYNC value in field SSC) is received.
The following LSC-cell transitions rules explain operation of the sync state machine of Fig. 8:
TRANSITION RULE 1 : In the PRESYNC state, the following actions are taken:
(1) Send LSC-cells with SSC values of PRESYNC, and discard any non- LSC cells which are received. (2) Go to state SYNCO state when three consecutive error free LSC cells have been received and the third such LSC cell has a SSC value of PRESYNC.
(3) Go to state SYNC1 state when three consecutive error free LSC cells have been received and he third LSC cell has the state SYNC.
TRANSITION RULE 2: In the SYNCO state, the following actions are taken:
(1) Allow only LSC-cells with SSC value of SYNC to be sent and discard all non-LSC-cells. (2) Go to SYNCl state when an error free cell, except an LSC cell with SSC value of PRESYNC, is received.
(3) Go to PRESYNC state when an error exists in a received cell.
TRANSITION RULE 3: In SYNCl state, the following actions are taken:
(1) Allow service- and control-cells to be sent.
(2) When leaving the SYNCl state, switch core 22 completes an ongoing cell transfer; (3) Go to SYNCO state when an error-free LSC cell with SSC value of
PRESYNC is received;
(4) Go to PRESYNC state when error exists in a received cell.
Fig. 9 shows possible state transitions in sync tag detector 54-3 for an example synchronization and resynchronization scenario. In Fig. 9, the SSC value of an LSC, e.g., the state of the sync tag detector which issued the LSC cell, is indicated in parenthesis. A parenthetical indication of "SYNC" generically refers to synchronization, e.g., either SYNCO or SYNCl.
If it is assumed first in Fig. 9 that switch core 22 is in PRESYNC state, then switch core 22 receives LSC cells with SSC values of PRESYNC, and LSC cells SSC value PRESYNC are also sent out from switch core 22 to switch port board (SPB) 24. After three consecutive received LSC cells, sync tag detector 54-3 goes into SYNCO state and sends out an LSC value with an SSC value of SYNC. The switch port board (SPB) 24 goes to SYNCl state after reception of three LSC cells (see e.g., Transition Rule 1, Action 3). Then, after receipt of an LSC cell with SSC value of SYNC, state SYNCl is entered and a further LSC cell with SSC value of SYNC is sent out. Now both switch core 22 and switch port board (SPB) 24 are in the SYNCl state, with the result that service cells can be interchanged over the links 27, 28.
After synchronization is established, should sync tag detector 54-3 in switch core 22 receive a LSC cell with SSC value of PRESYNC, sync tag detector 54-3 reverts to state SYNCO and replies with a LSC cell having SSC value of SYNC. If consecutive LSC cells with PRESYNC are received at sync tag detector 54-3, sync tag detector 54-3 reverts to state SYNCO and replies with a consecutive stream of LSC cells. If a fault is detected in received service cells, switch core 22 goes into PRESYNC state and starts to send LSC cells with SSC values of PRESYNC to switch port board (SPB) 24. These LSC cells will cause switch port board (SPB) 24 to send LSC cells with SSC values of PRESYNC. After three consecutive such LSC cells, sync tag detector 54-3 again goes into state SYNCl and the service cells can start to flow.
The cell stream shown in Fig. 3 is constantly maintained between the switch port board (SPB) 24 and switch core 22. Continuity is achieved by cell rate decoupling. In the direction from switch core 22 to switch port board (SPB) 24, i.e., on core-to-port link 28, switch core 22 (specifically cell generator unit (CGU) 58 [see Fig. 5G] sends LSC cells (with the SSC field set to the current synchronization state of switch port board (SPB) 24 and switch core 22) when there are no service cells or LCC cells to send on link 28. In the direction from switch port board (SPB) 24 to switch core 22, i.e., on port-to-core link 27, switch port board (SPB) 24 sends LSC cells with the SSC field set to current synchronization state when there are no service cells or LCC cells to send on link 27.
7.0 Cell Reception
After synchronization of the cell stream, service cells and control cells are handled differently, as described below.
7.1 Control Cell Reception
Control cells, both LSC cells and LCC cells, unlike service cells, are terminated in row column unit (RCU) 40. Received LSC cells, used primarily for synchronization purposes in the manner described e.g., in section 6.0, affect row column unit (RCU) 40, and particularly the state machine of sync tag detector 54-3, in the manner described above [see, e.g., Fig. 8 and Fig. 9]. LCC cells, whether coded [see Fig. 4B(1)] or bitmapped [see Fig. 4B(2)] , are used to control and operate one row column unit (RCU) 40 in switch core 22 from the switch port board (SPB) 24 connected thereto. In this regard, each switch port board (SPB) 24 confrols its own row column unit (RCU) 40.
In controlling the row column unit (RCU) 40, some LCC cells are employed to update control registers inside row column unit (RCU) 40, particularly registers in cross point status unit (XSU) 50 as shown in Table 6. The received LCC cell contains data for this purpose. Up to 16 bits data in a register can be updated by one bitmapped LCC cell [see section 2.2.1.1]. In a coded LCC cell, 8 bits are written to or read from a register in row column unit (RCU) 40. Other LCC cells contain commands to be carried out by row column unit (RCU) 40.
Table 7 shows various fields (PRI, ADR, Write, Read [see Fig. 4B(2)] of a LCC cell received at a row column unit (RCU) 40 and actions taken with respect thereto, including actions taken by row column unit (RCU) 40 including issuance of any responsive LCC cell. As shown in Table 7, in general a LCC cell received at row column unit (RCU) 40 serves the following purposes:
(1) To update registers (see Table 6) inside row column unit (RCU) 40. The received LCC cell includes data and address for the register.
(2) To initiate a read of registers inside row column unit (RCU) 40. The received LCC cell includes register address, and the RCU will respond with a LCC cell which contains the actual data stored in the addressed register.
(3) To update a register inside a row column unit (RCU) 40 and initiate a read of the same register. The received LCC cell includes the address for the register to be updated, as well as the updating data which is to be stored in the addressed register. Upon being updated, the RCU responds with a LCC cell which confirms that the data that has been written into the register.
(4) To load commands into a row column unit (RCU) 40 from the connected switch port board (SPB) 24. The received LCC cell includes the command code.
Successive coded LCC cells for writing into a register of a row column unit
(RCU) 40 are allowed. However, only one pending coded LCC cell for reading a register of a row column unit (RCU) 40 is allowed. A write into a register of a row column unit (RCU) 40 using a coded LCC cell is not allowed during a pending read except for a "retrieve_pollstate_command" (see Table 6). The retrieve_pollstate_command can be sent from the switch port board (SPB) 24 at any time and the row column unit (RCU) 40 responds with the pollstate-status (assuming that the RCU is in sync). The provisions of this paragraph apply only for coded LCC cells, not for bitmapped LCC cells. Bitmapped LCC cells do not interfere with coded LCC cells.
As indicated above, Table 7 shows possible LCC cell flows, i.e., a reception of an LCC cell at an row column unit (RCU) 40 and the responded LCC cell issued by the RCU to switch port board (SPB) 24. In Table 7, all cell flows are initiated by the switch port board (SPB) 24 connected to its associated row column unit (RCU) 40, except for the last LCC cell (pollstate) that is initiated by the internal logic in switch core 22 and which occurs when one of the buffers is freed by unload of a cell.
7.2 Service Cells
Service cells are routed through switch core 22 from one port to another port, i.e., from one of the switch port boards (SPB) 24 to another switch port board (SPB) 24. Also copying of the service cell to several or all other ports is possible. Copying of a service cell to several ports is known as "multicast"' copying of a service cell to all ports is known as "broadcast". "Multicast"' and "broadcast" are discussed elsewhere herein, e.g., in section 8.0 below.
8.0 Cell Buffering
The header of a service cell contains, in the PRI field [see Fig. 4A] the number of the destination port for the cell. For example, if switch port board (SPB) 24! 5 is the destination port, then the PRI field of the cell as received at row column unit (RCU) 40 will be "15". However, before the cell is stored in the appropriate one of the cross point units (XPUs) 32 (e.g., cross point unit (XPU) 32i5 in the example just postulated), the PRI value originally stored in the cell as received by row column unit (RCU) 40 is replaced by a value corresponding to the port number of the switch port board (SPB) 24 which issued the service cell. Thus, in the example of a service cell issued from SPB 240 having a PRI value of " 15" for directing toward SPB 24ι 5, the PRI value of the service cell is changed to "0" by row column unit (RCU) 40 prior to transmission to XPU 320,i5. The PRI changing is accomplished by PRI-swap unit 55-4 of cell analyzer unit (CAU) 55 [see Fig. 5C]. As the PRI value (e.g., port number) replacement occurs in a byte of the service cell which is covered by a parity bit, also a new parity bit FBP has to be determined and substituted into the service cell [see Fig. 4A]. The header of the service cell also contains the two bits CBQ which pinpoint into which one of the two buffers CBQ0 and CBQi of the PRI-addressed cross point unit (XPU) 32 the service cell shall be loaded. In addition, the second byte in the header of the service cell contains a traffic type indicator (TTI) [see Fig. 4A].
When the traffic type indicator (TTI) indicates multicast, the cell is copied into several cross point units (XPUs) 32. In particular, the cross point units (XPUs) 32 which are to receive the multicast service cell are defined by a 16 bit register inside row column unit (RCU) 40, particularly the multicast register shown in Table 6 [see section 4.6.2.13]. There is only one multicast register inside each row column unit (RCU) 40. Each bit in the multicast register corresponds to one of the cross point units (XPUs) 320 through 32i5 on the row served by the cell-receiving row column unit (RCU) 40. An active bit in the multicast register indicates that the corresponding XPU 32 of the row is to be be loaded with the cell. Thus, the multicast register has to be loaded before the service cell arrives.
When the traffic type indicator (TTI) indicates "broadcast", the service cell is to be applied to all switch port boards (SPBs) 24. The multicast register inside row column unit (RCU) 40 is not used for broadcast.
During multicast, the service cell will be copied to the cross point units (XPUs) 32 which have free buffers (either CBQ0 or CBQi). If the multicast register requires a load for an XPU 32 with an occupied buffer, then an error will be indicated by cell integrity register 55-3 [see Fig. 5C]. Cross point units (XPUs) 32 with free buffers CBQo or CBQi will still be loaded. Essentially the same procedure is used during broadcast, i.e., free buffers are loaded independently of other buffers. However, no error indication caused by occupied buffers is provided during broadcast.
9.0 Cell Transmission On the transmit side of row column unit (RCU) 40, cells from different sources are multiplexed together and outputted by cell generator unit (CGU) 58 [see Fig. 5 and Fig. 5G] to form a continuous cell stream out of switch core 22. The speed of transmission of the cells out of row column unit (RCU) 40 is determined by the same clock that is used for receiving cells, e.g., DCLK. DCLK is delivered by the switch port board (SPB) 24 connected to this port. As shown in Fig. 5 A, the signal DCLK is ultimately divided (by divider 54-5 [see Fig. 5B]) to yield signal pclk. Each switch port board (SPB) 24 thus provides its own DCLK signal to its associated RCU 40.
The cells emanting from switch core 22 include both control cells and service cells. Next cell confrol unit 58-1 [see Fig. 5G] receives requests on lines sync-cell, control-cell, and service-cell when requested to accept the respective cells indicated by the names of the respective lines. Next cell control unit 58-1 sets internal requests for cell output in accordance with the signals recovered on these lines, and processes these requests as indicated in Fig. 10. Once a request for a specified type of cell is satisfied, the request is "cleared".
Before a control cell is sent out from row column unit (RCU) 40 to its associated switch port board (SPB) 24, parity bits are determined and added. The parity bits for a service cell are checked at unload from the cross point unit (XPU) 32 by PRI-integrity check unit 58-5 (see Fig. 5G). Cells with incorrect parity are discarded and an indication is made in the cell integrity register.
The flowchart of Fig. 10 illustrates the cell sending process from switch core 22. Which of the different options or modes (1, 2 and 3) is in effect is determined by the contents of the poll enable register [see Table 6 and section 4.6.2.1].
Modes 2 and 3 of Fig. 10 primarily differ from mode 1 by affording a certain priority to generation of service cells. In particular, modes 2 and 3 employ a particular byte counter employed in (referenced especially at step 10-18) which assures that service cells have priority over pollstate LCC-cells for a certain amount of time. The amount of such "time" can be set to the transmission time of 32 or 64 bytes of service cell in modes 2 and 3, respectively.
Fig. 10 shows each of three modes of cell transmission, including transmission mode 1, fransmission mode 2, and transmission mode 3. Transmission mode 0 merely involves sending a LSC cell at step 10-0 for synchronization purposes. Actions performed in the remaining transmission modes are discussed below. While Fig. 10 shows a general scheme of operation, it should be understood that some exceptions are permitted at rare occasion, i.e. power-up, bit error etc. In connection with Fig. 10, it should be recalled from section 4.6.1.3 that pollstate release LCC-cells indicate cross point units (XPUs) 32 which have released or "free" buffers. Pollstate release LCC cells are sent whenever there is a change in status of a buffer (either CBQ0 or CBQi) from occupied to free. If buffers of different priority have changed status, two poll state LCC-cells are sent: the first for queue CBQ0 and the second for queue CBQi.
In addition, there is an eighth byte service cell counter, i.e., the scan enable register also known as cell size logic 59-2 (see section 4.6.2.4 and Fig. 5F). The signal read data is used to determine cell size and also to control the reading from the crosspoint so that the entire service cell can be read out. In addition, the read data signal is used to decrement the scan enable counter. This scan enable counter is decremented by one as every eighth byte of the service cell is sent. When the value of this eighth byte service cell counter equals zero, the service cell is finished. After that read control inhibits the reading of the next service cell. After the scan enable register has been loaded to a new (non-zero) value, the next service cell in line will be unloaded. In other words, the scan process is started again by writing a value (1-255) to the scan enable register [see Table 6]. When the value of eighth byte service cell counter counter is preset to 255, all decrementation is disabled and the scan process continues all the time.
In Fig. 10, an ongoing cell transmission is always completed before the next cell is sent even if the next cell has a higher priority. Further, only one byte counter is used independent of the CBQ value in the service cell.
9.1 Cell Transmission Mode 1
Cell Transmission Mode 1 follows a priority scheme as to which type of cell is to be transmitted. The cell sending priority, reflected by Fig. 10, is as follows, starting with the highest priority:
(1) If requested to do so upon receipt of a LSC-cell send request on line sync- cell (step 10-1), a LSC cell is sent out according to the link synchromzation process (see, e.g., section 6.0), and the LSC-cell send request of next cell control unit 58-1 is cleared (step 10-2). (2) If requested to do so on line control-cell upon receipt at step 10-3 of a LCC- cell requesting reading from registers (depicted in Table 6) of cross point status unit (XSU) 50, the requested coded LCC cell is sent out and the request is cleared (step 10- 4). Step 10-4 is not triggered by pollstate release LCC cells.
(3) If pollstate status is prompted at step 10-5 by receipt of
"retrieve jpollstate command", at step 10-6 a bitmapped LCC cell with pollstate status is issued. The contents of the bitmapped LCC-cell are derived from the pollstate status register [see section 4.6.1.3]. Further, the pollstate change for such buffer is cleared. A pollstate status request for the CBQ0 buffers is given higher priority than a pollstate status request for the CBQi buffers.
(4) When it is detected at step 10-7 that there has been a change from "occupied" to "free" in the pollstate register, at step 10-8 a bitmap pollstate release LCC cell is sent. One pollstate release register has a bitmap of the buffers in matrix 0 (e.g. the CBQo buffers), another pollstate release register has a bitmap of the buffers in matrix 1 (e.g., the CBQi buffers) [see section 4.6.1.3 and Table 5]. At step 10-7, the buffers CBQ0 are given a higher priority than the buffers CBQj. The bitmap LCC cell released at step 10-7 carries information regarding all buffers of the respective priority (CBQo and CBQi) that have been released since the last "pollstate release" command.
Step 10-9 of Fig. 10 shows that a scan process or operation is conducted if none of the actions of steps 10-2, 10-4, 10-6, or 10-8 are taken. The scan process is described, e.g., in section 10.0 hereof.
After the scan of step 10-9, a step 10-10 a determination is made whether the four aforementioned priority rules for cell generator unit (CGU) 58 [see section 4.8] require that a service cell be fed from switch core 22. If the determination at step 10-10 is affirmative, at step 10-11 a service cell is sent.
If the determination at step 10-10 is negative, at step 10-0 a LSC cell is sent by cell generator unit (CGU) 58. In other words, if there are no other types of cells waiting to be sent, then LSC cells are transmitted according to the cell rate decoupling process. 9.2 Cell Transmission Mode 2
Cell transmission Mode 2 limits the number of bitmap LCC cells containing pollstate information that can be sent and allows more service cells to be sent instead. If there are service cells to be sent, then a pollstate information cell is only allowed to be sent if a minimum of 32 bytes of service cells have been transmitted since the previous pollstate information cell was sent.
Steps 10-12 through 10-17 performed for mode 2 fransmission are analogous to steps 10-1 through 10-6 performed for mode 1. However, at step 10-18, a check is made whether a poll enable counter has expired. The poll enable counter is in cell size logic unit 58-2 [see Fig. 5H]. The poll enable counter referenced at step 10-18 prevents a pollstate release LCC cell from being issued too often if service cells can be delivered consecutively (i.e., back-to-back). For example, if service cells eight bytes long can be delivered back-to-back from a cross point unit (XPU) 32 on a column, the rate of service cell payout would be slowed if pollstate release LCC cells were interspersed between such service cells. If a mode 32 were set, the pollstate release LCC cells could not be issued more frequently than every thirty-two bytes of consecutive service cells. This means that there would be at least four eight byte-long service cells before the pollstate release LCC cell is issued.
The poll enable counter is decremented for each byte of service cells in accordance with a signal from cell size logic unit 59-2. Once the pollstate release LCC cell is issued, the poll enable counter is reset. The pollenable counter is internal to row column unit (RCU) 40 and is not controlled by switch port integrated circuit (SPIC) 26. The switch port integrated circuit (SPIC) 26 only dictates in which particular mode the cell generation occurs.
Thus, the poll enable counter is incremented by the value of one for every byte of transmitted service cell. The final value of this counter is either 32 or 64 (dependent on whether the value of the poll enable register is 2 or 3, respectively). Unprompted pollstate LCC cells are only sent when this byte counter reaches its final value or if there are no service cells to be sent.
When the poll enable counter for service cells referenced at step 10-18 has expired, e.g. is greater or equal to 32 for mode 2, then the cell sending priority is the same as for mode 1. In particular, applicable ones of steps 10-24 through 10-29 are potentially invoked as shown in Fig. 10. Step 10-28, in which a service cell is sent, also involves incrementing the poll enable counter (referenced at step 10-18) in accordance with the cell length.
If the poll enable counter for service cells referenced at step 10-18 has not expired, a scan process is conducted (step 10-19). Then, at step 10-20, it is determined whether a service cell has been requested ( in like manner with step 10-10). If a service cell has been requested, at step 10-21 a service cell is supplied and the byte counter referenced at step 10-18 is incremented in accordance with the cell length. If a service cell has not been requested, at step 10-22 it is determined whether the pollstate of any buffers has changed to a free state. If the determination is negative, an LSC cell is sent (step 10-23). Otherwise, at step 10-24, a pollstate release LCC cell is sent in similar manner as step 10-8.
9.2 Cell Transmission Mode 3
This mode is the same as mode 2 except that pollstate information cells can only be sent after a minimum of 64 bytes of service cells have been transmitted since the previous pollstate information cell was sent.
10.0 SCANNING
Scanning is a process in which switch core 22 determines when cells can be gated out of buffers CBQ0 and CBQi of cross point units (XPUs) 32. As described previously, synchronization (LSC) cells are sent from switch core 22 in accordance with Fig. 9 (see section 6.0). LCC cells, on the other hand, are sent from switch core 22 primarily as a response from a LCC cell issued by switch port board (SPB) 24. The interchange of LCC cells is shown in Table 7 and described in sections 7.0 and 9.0.
Switch core 22 also issues LCC pollstate cells which advise switch port board (SPB) 24 of the availability of service cells from the various cross point units (XPUs) 32. One type of pollstate cell also are known as pollstate release cells in view of the fact that their content is based on the content of a corresponding pollstate release register (e.g., see pollstate release register 50-8 in Fig. 6). Pollstate cells thus provide switch port board (SPB) 24 with an indication of whether the buffers on the same row are in a "free" or "occupied" state. When a buffer (or buffers), e.g., CBQ0 or CBQi of any of the sixteen cross point units (XPUs) 32 on the row monitored by the switch port board (SPB) 24, is released (i.e., changed in state from "occupied" to "free") a pollstate release LCC cell is sent in accordance with the cell transmission scheme depicted and described above with reference to Fig. 10 and section 9.0. A buffer is "free" as soon as there is a possibility to start the load of a new cell into the buffer. The buffer is marked "occupied" when a cell is loaded into the buffer.
Dependent of the rate difference between the sending and receiving switchport (i.e., switch port boards (SPBs) 24), a "free" indication of the buffer is made in accordance with either of two polling options. These two polling options are illustrated in Fig. 15. The first polling option is that the "free" indication of the buffer be made at the beginning of the unload of the cell from the buffer (see point PI in Fig. 15). The second polling option is that the "free" indication of the buffer be made at the end of the unload of the cell from the buffer (see point P2 in Fig. 15). Whether the first or second polling option is implemented depends on the value loaded into the pollrate register (see sections 4.6.1.3 and 4.6.2.8). The first polling option is typically implemented when the sending switchport rate is less than or equal to the receiving switchport rate, or the rate difference is less than four percent. The second polling option is typically implemented when the sending switchport rate is greater than or equal to the receiving switchport rate, or the rate difference is unknown.
Each row column unit (RCU) 40 scans the buffers on its assigned column of memory array unit (MAU) 30 (see Fig. 1). Buffers (e.g., CBQ0 and CBQi of cross point units (XPUs) 32) with the state "cell available" are unloaded using service cells that are transmitted out from switch core 22, and the sending buffer is marked "empty".
A "cell available" is indicated as soon as there is a possibility to start the unload of a cell from the buffer. The buffer is marked empty when the first word of the cell is unloaded from the buffer.
Dependent of the rate different between the receiving and sending RCU, "cell- available" indication of the buffer is made in accordance with either of two scan options which are illustrated in Fig. 16. In the first scan option, the "cell-available" indication of the buffer is made at the beginning of the load of the cell as indicated by point Q 1 in Fig. 16. In the second scan option , the "cell-available" indication of the buffer is made at the beginning of the load of the cell as indicated by point Q2 in Fig. 16. Whether the first scan option or the second scan option is employed depends on the value loaded into the scanrate register (see sections 4.6.1.3 and 4.6.2.9). As in Fig. 15, the first scan option is typically implemented when the sending switchport rate is less than or equal to the receiving switchport rate, or the rate difference is less than four percent. The second scan option is typically implemented when the sending switchport rate is greater than or equal to the receiving switchport rate, or the rate difference is unknown.
As indicated above (see Fig. 2), there are two matrices of buffer queues (named
CBQo and CBQi) on each column in memory array unit (MAU) 30. CBQ0 has higher priority than CBQi. Together with the buffer queues CBQo and CBQithere are two snapshot registers, one per queue. The snapshot registers are loaded with actual buffer status. The buffer status is masked by the content of the correspondent scanblock register. The actual bufferstatus is held by the scanstate register (see, e.g., scanstate register 50-4 in Fig. 6). The state "cell available/empty" for each buffer is copied to the snapshot register. After load of the snapshot register, all bits corresponding to CBQo are processed and the bits are cleared at the unload of the buffer. The buffers are processed in sequence, i.e. buffer 0, buffer 1, etc. If all bits corresponding CBQ0 are cleared, the next time the routine is called, a new snapshot of CBQ0 is taken. The same processing as above is done until all bits of this snapshot register are cleared. If all bits of the snapshot register are zero at the new snapshot, CBQi is scanned. The scanning of queue CBQi follows the same principle.
Fig. 17 basically shows the scanning process (indicated by symbol 17-0). At step 17-1, a determination is made whether the snapshot register for queue CBQ0 is empty. If the snapshot register for queue CBQo is empty, at step 17-2 the snapshot register for queue CBQ0 is loaded with the status of queue CBQ0 (masked by scanblock 0). Then, at step 17-3, a check is made whether the snapshot register for queue CBQ0 is empty.
If the determination at step 17-3 is affirmative, at step 17-4 a determination is made whether the snapshot register for queue CBQi is empty. If the snapshot register for queue CBQi is empty, at step 17-5 the snapshot register for queue CBQi is loaded with the status of queue CBQi (masked by scanblock 1). Then, at step 17-6, a check is made whether the snapshot register for queue CBQi is empty. If the snapshot register for queue CBQi is empty, a service cell send request is not issued (step 17-7).
If it is determined, at either step 17-1 or step 17-3, that the snapshot register for queue CBQ0 is empty, at step 17-8 the next buffer is unloaded in turn in queue CBQ0 and the snapshot register bit for queue CBQ0 is cleared. Similarly, if it is determined, at either step 17-4 or step 17-6, that the snapshot register for queue CBQi is empty, at step 17-9 the next buffer is unloaded in turn in queue CBQjand the snapshot register bit for queue CBQi is cleared. Then, following either step 17-8 or step 17-9, a check is made at step 17-10 whether the scan enable counter is zero. If the scan enable counter is zero, a service cell send request is not issued (step 17-7). Otherwise, as indicated by step 17-11, a service cell send request is issued.
11. Integrity Check The integrity checks essentially maintain cell synchronization and preclude corrupted cells from being further processed or forwarded. At the reception of all cells from switch port board (SPB) 24, parity checks are made on the first and second bytes using the FBP and SBP fields [see e.g., Fig.CA and Fig. 4B . Last word parity (LWP) is also checked for the control cells [see Fig. 4B].
For a service cell that is to be buffered in switch core 22, the first byte is manipulated before the cell is stored in the buffer(s) in view of the change in the value of the PRI field that occurs prior to sending the cell to the cross point unit (XPU) 32 [see the discussion of PRI-swap unit 55-4 and Fig. 5C]. As a result of the manipulation, a new FBP is determined and added to the service cell before it is stored in the appropriate one of the cross point units (XPUs) 32. The parities (FBP and SBP) are checked when the cell is unloaded from the buffer of the cross point unit (XPU) 32.
In connection with the transmission of all cells, the parity bit for the second byte (field SBP) is calculated and added, since the second byte is changed by the TTI translation.
Fig. 18 shows diagrammatically the parity checking on service cells. Upon reception of a service cell from switch port board (SPB) 24, the parity check is performed as indicated at S-1 using the fields FBP and SBP, as described above. If an error is detected in the service cell, a cell discard process (CDP) is invoked (S-2). Step S-3 shows the swap of the PRI performed by cell analyzer unit (CAU) 55 [see Fig. 5C] and the recalculation of a new FBP. Step S-4 reflects storage of the service cell in an appropriate one of the cross point units (XPUs) 32 of memory array unit (MAU) 30. Upon unload of the cell from the cross point unit (XPU) 32, a check is performed using the FBP and SBP bits (as indicated at S-5). If an error is detected, the cell discard process is invoked as shown at S-6. Step S-7 depicts the TTI translation and computation of new SBP, which is followed as indicated at S-8 by transmission of the cell from row column unit (RCU) 40 to the destination switch port board (SPB) 24.
Last word parity (LWP) is also added for the control cells.
Table 8, Table 9, and Table 10 show the possible fault detection checks and actions (CDP Cell Discard Process, AIP = Abort Insert Process and LSP = Link Synchronization Process), that can be made at the receiving and sending sides of switch core 22. In particular, Table 8 shows faults and action for control cells, while Table 9 and Table 10 show faults and actions for service cells. Table 9 is also for the first cell in a concatenated stream, while Table 10 is for the following and last cell in the concatenated stream..
11.1 LSP, Link Synchronization Process
The LSP defines the actions that should be taken when faults indicating loss of cell synchronization occurs. The LSP states following actions: (1) discard ongoing cell from any further processing; (2) force the sync state machine into presync state.
11.2 CDP, Cell Discard Process
The CDP includes handling of both service cells and confrol cells. At the receiving side the CDP defines that the received cell, service cell or confrol cell, is discarded from further processing. At the sending side the CDP defines that the service cell unloaded from the crosspoint buffer shall be discarded and an LSC cell are inserted instead. The crosspoint buffer is set to state "free".
For concatenated cells, at the receiving side, when CDP is caused by exceeding buffer size, the whole remaining concatenated cell stream is discarded. If CDP is invoked by other errors, such as changed PRI/TTI/CBQ or non-service cell in the concatenated cell stream, the cell with the error is discarded. Remaining concatenated cells, in the stream, are regarded as a new concatenated cellstream (i.e., this can be loaded into the buffer or discarded dependent on if buffer is available or not).
At the sending side, for concatenated cells CDP defines that the service cell unloaded from the crosspoint buffer shall be discarded and an LSC cell are inserted instead. All following concatenated cells in the buffer are discarded from further processing and the buffer is set to "free" if the load of a "new" cell has not started yet.
11.3 Abort Insert Process
The Abort Insert Process (AIP) defines that an abort signal is inserted in the addressed crosspoint buffer at the defined CBQ instead of the first two bytes of the service cell causing the process to be invoked.
The abort signal is 16 bits long and the signal is hex FE1C, starting with the first byte.
11.4 Cell Integrity Register-Indicated Fault
The notation "CIRX" means that the fault is indicated by setting bitx of Cell Integrity Register. The bit is cleared after a read of the register.
12. Clock Distribution
All ports have two connections for system clock. One input and one output. The source for the output is an input from any other port. Actual source (port number) is programmable and different sources can be set for different ports. The speed of transmission of the cells out of row column unit (RCU) 40 is determined by the same clock that is used for receiving cells. This clock is delivered by the remote unit connected to this port.
The incoming system clock on all ports are distributed to all other RCU'S. Inside RCU there is a semi-static switch. The switch is controlled by the system clock register in RCU. The output from the switch is connected to the system clock output of the port. See Fig. 19. The system clock output on any port is fransparent from the system clock input of any other port. The present invention can be utilized in conjunction with the ATM systems disclosed in the following simultaneously-filed United States patent applications, all of which are incorporated herein by reference:
United States Patent Application Serial No. 08/ , (attorney docket 2380- 24), entitled "ASYNCHRONOUS TRANSFER MODE SYSTEM HANDLING DIFFERING AAL PROTOCOLS".
United States Patent Application Serial No. 08/ , (attorney docket 2380-
25), entitled "CENTRALIZED QUEUING FOR ATM NODE".
United States Patent Application Serial No. 08/ , (attorney docket 2380- 26), entitled "CELL HANDLING UNIT FOR ATM NODE" .
United States Patent Application Serial No. 08/ , (attorney docket 2380-
27), entitled "ATM TIME STAMPED QUEUrNG".
United States Patent Application Serial No. 08/ , (attorney docket 2380-
28), entitled "COORDINATED CELL DISCHARGE FROM ATM QUEUE".
United States Patent Application Serial No. 08/ , (attorney docket 2380-
30), entitled "COMBINED HEADER PARAMETER TABLE FOR ATM NODE".
United States Provisional Patent Application Serial No. __/__, (attorney docket 2380-46), entitled "METHOD, ARRANGMENT, AND APPARATUS FOR TELECOMMUNICATIONS" .
While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not to be limited to the disclosed embodiment, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. For example, the present invention is not limited by the number of cross point units (XPUs) 32 in switch core 22, or by the number of matrices within switch core 22. Moreover, whereas many aspects of the invention have been illusfrated as implemented in hardware components, such aspects can instead be accomplished using software programming techniques.
Table 1 - Traffic Type Indicator, coding in received service cells
Figure imgf000070_0001
Table 2 - Traffic Type Indicator, coding in transmitted service cells.
TTI translation.
Figure imgf000070_0002
Table 3 - Cell sizes (total number of bytes)
Figure imgf000071_0001
Table 4 - Coded LCC cell.
Figure imgf000072_0001
Table 5 - Registers accessed by bitmap format LCC-cells.
Figure imgf000073_0001
Figure imgf000074_0001
Table / - Control cell interactions
Figure imgf000075_0001
Table 8 - Checks and actions on control cells
Figure imgf000076_0001
Table 9 - Checks and Actions on service cells (also first cell in a concatenated stream)
Figure imgf000076_0002
Table 10 - Checks and actions on succeeding concatenated cells and last cell in a concatenated stream
Figure imgf000077_0001

Claims

WHAT IS CLAIMED IS:
1. A method of operating an ATM switch having plural switch ports connected to a switch core, the switch core having plural cross point buffers, the method comprising:
(1) maintaining, at the switch core, pollstate status information indicative of which of selected ones of the cross point buffers of the switch core have service cells stored therein;
(2) sending a retrieve pollstate control cell from an origination switch port to the switch core when the origination switch port desires to ascertain the pollstate status information; (3) in response to the retrieve pollstate control cell, sending the pollstate status information in a pollstate status confrol cell to the originating switch port; and
(5) using the pollstate status information obtained from the pollstate status control cell for determining to which of the selected ones of cross point buffers of the switch core service cells can be transmitted from the originating switch port , the service cells including switchable user data.
2. The method of claim 1, further comprising:
(6) transmitting a service cell from the originating switch port to a particular cross point buffer of the switch core;
(7) changing the pollstate status information relative to the particular cross point buffer in accordance with step (6).
3. The method of claim 2,further comprising:
(8) upon the transmitting of the service cell of step (6), setting a scanstate indication for a destination switch port to which the service cell is to be applied from the particular cross point buffer..
4. The method of claim 3, further comprising:
(9) upon reading out of the service cell of step (7) from the particular cross point buffer, resetting the pollstate status information relative to the particular cross point buffer.
5. The method of claim 4, further comprising:
(10) maintaining, in the switch core, pollstate release information indicative of which of the selected ones of the cross point buffers of the switch core have service cells read out therefrom; detecting a change in the pollstate release information relative to the particular cross point buffer and, upon the detecting; sending the pollstate release information to the origination switch port.
6. The method of claim 5, wherein the pollstate release information is included in a control cell sent to the switch port.
7. The method of claim 6, further comprising: maintaining a crosspoint status register at the switch port; setting an indication in the crosspoint status register when the switch port sends a service cell to the particular cross point buffer; and resetting the indication in the crosspoint status register in accordance with receipt of the pollstate release information.
8. The method of claim 1, wherein neither the retrieve pollstate control cell nor the pollstate status control cell include switchable user data
9. A method of operating an ATM switch having plural switch ports connected by corresponding plural corresponding bidirectional links to a switch core, the switch core having plural cross point buffer units, the method comprising generating a sfream of cells for application on the bidirectional link between a selected one of the plural switch ports and the switch core, the sfream of cells including service cells interspersed with control cells, the control cells not having switchable user data, the control cells including (1) a retrieve pollstate control cell; (2) a pollstate status cell indicating which cross point buffer units of the switch core can accommodate service cells from the selected switch port; and (3) a pollstate release cell indicating which cross point units of the switch core have transitioned to a vacant status.
10. The method of claim 9, wherein the pollstate status cells are sent from the switch core to the selected switch port in response to receipt at the switch core of the retrieve pollstate control cell.
11. The method of claim 9, wherein the pollstate release cell is generated upon detection of a cross point unit transitioning to a vacant status.
12. A method of operating an ATM switch in which both an origination switch port and a destination switch port are connected to a switch core, the switch core including a first set of cross point buffers for storing service cells received from the origination switch port and a second set of cross point buffers from which service cells are obtained for the destination switch port, the method comprising: transmitting a retrieve pollstate control cell from the originating switch port to the switch core; transmitting a pollstate status control cell from the switch core to the originating switch port in response to receipt of the retrieve pollstate control cell, the pollstate status control cell including an indication of status of the cross point buffers of the first set; transmitting a service cell from the originating switch port to the switch core for storage in one of the cross point buffers of the first set in accordance with the indication of the status as provided in the pollstate status control cell; reading out the service cell from the one of the cross point buffers to the destination switch port and providing an indication of vacancy of the one of the cross point buffers; and transmitting a pollstate release control cell from the switch core to the originating switch port upon the indication of vacancy of the one of the cross point buffers.
13. The method of claim 12, further comprising: setting a scanstate register maintained relative to the second set of cross point buffers to indicate the transmitting of the service cell from the originating switch port to the one of the cross point buffers, the one of the cross point buffers being common to the first set and the second set; upon the reading out of the service cell from the one of the cross point buffers, resetting the scanstate register.
14. A method of operating an ATM switch in which a switch port is connected to a switch core, the method comprising: transmitting a stream of control cells and service cells between the switch port and the switch core; including, in the stream from the switch core to the switch port, pollstate control cells indicative of the status of cross point buffers in the switch core, the pollstate control cells being included in the stream upon one of the following: (1) receipt of a pollstate status command control cell received at the switch core from the switch port; and (2) transition of status of one of the cross point buffers.
15. A method of operating an ATM switch in which a switch port is connected to a switch core, the method comprising: transmitting cells in a first direction from the switch port to the switch core and in a second direction from the switch core to the switch port; the cells transmitted in the second direction including pollstate cells, the pollstate cells including an indication of cell presence/absence for at least some cross point buffers of the switch core; generating and transmitting the pollstate cells in dependence upon at least one of: (1) receipt at the switch core of a cell evocative of the pollstate status cell; and (2) change of a cell presence/absence for a predetermined number of the cross point buffers.
16. The method of claim 15, wherein the predetermined number of cross point buffers is one.
17. The method of claim 15, wherein the pollstate cells include pollstate status cells which include an indication of cell presence/absence for cross point buffers of a row of the switch core associated with the switch port; and wherein the pollstate cells include pollstate release cells which include an indication of a transition from cell presence to cell absence for cross point buffers of the row of the switch core associated with the switch port.
18. The method of claim 15, wherein the pollstate cells are interspersed with service cells in the second direction.
19. The method of claim 15, further comprising controlling the relative frequency of transmission of the pollstate cells relative to the service cells.
20. The method of claim 15, wherein the pollstate cells are essentially dedicated for conveyance of the cell presence/absence for at least some cross point buffers of the switch core.
21. The method of claim 15, wherein the pollstate cells do not have payloads switchable through the switch core.
22. The method of claim 15, further comprising generating and transmitting a synchronization cell in the second direction, the tiansnύtting of the synchronization cell being dependent upon at least one of: (1) receipt at the switch core of a cell evocative of the synchronization cell; or (2) occurrence of an error.
23. The method of claim 15, further comprising transmitting a service cell in the second direction upon receipt at the switch core of a cell evocative of the service cell.
24. An ATM switch comprising a switch port connected to a switch core, wherein both service cells and control cells are transmitted on a bidirectional link between the switch port and the switch core, the switch core comprising cross point buffers, the switch core monitoring cell presence/absence of service cells for at least some of the cross point buffers, the control cells transmitted from the switch port to the switch core including a retrieve pollstate control cell and a service cell request control cell, and wherein transmission of service cells and pollstate status cells from the switch core to the switch port is related to receipt of a respective one of the service cell request control cells and the pollstate retrieve control cell, the pollstate status cell providing to the switch port an indication of the cell presence/absence of service cells for at least some of the cross point buffers.
25. An ATM switch wherein a plurality of cell exchange relationships are established between a switch port and a switch core with respect to corresponding differing types of control cells; wherein in a first cell exchange generation relationship, transmission of a first type of control cell from the switch port to the switch core causes the switch core to transmit a service cell to the switch port; wherein in a second cell exchange relationship, a second type of control cell from the switch port causes a second type of control cell to be transmitted to the switch port, the second type of control cell having an indication of cell presence/absence of status point buffers of the switch port.
26. The ATM switch of claim 25, wherein wherein a third cell generation relationship, a third type of control cell transmitted from the switch port requests causes transmission of a third type of control cell to the switch port, the third type of control cell including contents of a control register of the switch core.
27. The ATM switch of claim 26, wherein wherein a fourth cell generation relationship, a fourth type of control cell transmitted from the switch port requests causes transmission of a fourth type of confrol cell to the switch port, the fourth type of control cell including information utilized for synchronization of one of the switch port.
28. A method of operating an ATM switch having plural switch ports connected to a switch core, the switch core having plural cross point buffers, the method comprising:
(1) maintaining, at the switch core, pollstate status information indicative of which of selected ones of the cross point buffers of the switch core have service cells stored therein;
(2) transmitting a service cell from the originating switch port to a particular cross point buffer of the switch core;
(3) changing the pollstate status information relative to the particular cross point buffer in accordance with step (6); (4) upon reading out of the service cell of step (3) from the particular cross point buffer, resetting the pollstate status information relative to the particular cross point buffer;
(5) maintaining, in the switch core, pollstate release information indicative of which of the selected ones of the cross point buffers of the switch core have service cells read out therefrom;
(6) detecting a change in the pollstate release information relative to the particular cross point buffer and, upon the detecting;
(7) sending the pollstate release information to the origination switch port.
29. The method of claim 28, wherein the pollstate release information is included in a control cell sent to the switch port.
30. The method of claim 28, further comprising: maintaining a crosspoint status register at the switch port; setting an indication in the crosspoint status register when the switch port sends a service cell to the particular cross point buffer; and resetting the indication in the crosspoint status register in accordance with receipt of the pollstate release information.
31. The method of claim 28, wherein neither the retrieve pollstate confrol cell nor the pollstate status control cell include switchable user data
32. The method of claim 28, further comprising sending a retrieve pollstate confrol cell from an origination switch port to the switch core when the origination switch port desires to ascertain the pollstate status information; and in response to the retrieve pollstate control cell, sending the pollstate status information in a pollstate status control cell to the originating switch port.
33. The method of claim 32, further comprising using the pollstate status information obtained from the pollstate status confrol cell for determining to which of the selected ones of cross point buffers of the switch core service cells can be fransmitted from the originating switch port, the service cells including switchable user data.
34. The method of claim 28, further comprising: upon the transmitting of the service cell of step (3), setting a scanstate indication for a destination switch port to which the service cell is to be applied from the particular cross point buffer..
PCT/SE1998/002326 1997-12-19 1998-12-15 Asynchronous transfer mode switch WO1999033231A1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP98964606A EP1040625B1 (en) 1997-12-19 1998-12-15 Asynchronous transfer mode switch
AU19898/99A AU757055B2 (en) 1997-12-19 1998-12-15 Asynchronous transfer mode switch
KR1020007006828A KR20010033361A (en) 1997-12-19 1998-12-15 Asynchronous transfer mode switch
CA002315202A CA2315202A1 (en) 1997-12-19 1998-12-15 Asynchronous transfer mode switch
JP2000526017A JP2001527328A (en) 1997-12-19 1998-12-15 Asynchronous transfer mode switch

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
US7101097P 1997-12-19 1997-12-19
US60/071,010 1997-12-19
US8661998P 1998-05-22 1998-05-22
US60/086,619 1998-05-22
US09/188,265 1998-11-09
US09/188,265 US6747954B1 (en) 1997-12-19 1998-11-09 Asynchronous transfer mode switch providing pollstate status information

Publications (1)

Publication Number Publication Date
WO1999033231A1 true WO1999033231A1 (en) 1999-07-01

Family

ID=27371808

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/SE1998/002326 WO1999033231A1 (en) 1997-12-19 1998-12-15 Asynchronous transfer mode switch

Country Status (10)

Country Link
US (1) US6747954B1 (en)
EP (1) EP1040625B1 (en)
JP (1) JP2001527328A (en)
KR (1) KR20010033361A (en)
CN (1) CN1199404C (en)
AR (1) AR017910A1 (en)
AU (1) AU757055B2 (en)
CA (1) CA2315202A1 (en)
TW (1) TW406501B (en)
WO (1) WO1999033231A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001095576A1 (en) * 2000-06-06 2001-12-13 Power X Limited Switching system

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10130749A1 (en) * 2001-06-26 2003-01-02 Philips Corp Intellectual Pty Packet switching device with feedback coupling for allocation unit has port controller for storing, arranging packets in queues, generating queue state feedback information units for allocation unit
US7280549B2 (en) * 2001-07-09 2007-10-09 Micron Technology, Inc. High speed ring/bus
US7020133B2 (en) * 2002-01-03 2006-03-28 Integrated Device Technology Switch queue predictive protocol (SQPP) based packet switching method
US7145904B2 (en) * 2002-01-03 2006-12-05 Integrated Device Technology, Inc. Switch queue predictive protocol (SQPP) based packet switching technique
US7283535B2 (en) * 2002-10-28 2007-10-16 Telefonaktiebolaget Lm Ericsson (Publ) Concentrator for user AAL2 traffic carried on UBR virtual channels
CN1323531C (en) * 2003-07-02 2007-06-27 华为技术有限公司 A method for implementing multicast on transmission network of asynchronous transfer mode
US7652995B2 (en) * 2003-12-19 2010-01-26 International Business Machines Corporation Autonomic reassociation of clients in a wireless local area network
US8755480B1 (en) 2011-12-30 2014-06-17 Altera Corporation Integrated circuit (IC) clocking techniques
CN105812355B (en) * 2016-03-04 2019-04-12 北京左江科技股份有限公司 A kind of LVDS interface communication means

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5467347A (en) * 1993-01-29 1995-11-14 Telefonaktiebolaget Lm Ericsson Controlled access ATM switch
US5499239A (en) * 1995-04-14 1996-03-12 Northern Telecom Limited Large capacity modular ATM switch
EP0800324A2 (en) * 1996-04-03 1997-10-08 Kabushiki Kaisha Toshiba ATM switch and ATM switching system

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0628361B2 (en) 1984-11-27 1994-04-13 国際電信電話株式会社 Packet exchange method
US4973956A (en) 1988-12-22 1990-11-27 General Electric Company Crossbar switch with distributed memory
CA1320257C (en) 1989-04-20 1993-07-13 Ernst August Munter Method and apparatus for input-buffered asynchronous transfer mode switching
EP0405042B1 (en) 1989-06-29 1994-09-14 International Business Machines Corporation High speed digital packet switching system
CA2015514C (en) 1989-08-22 1996-08-06 Mitsuru Tsuboi Packet switching system having bus matrix switch
JP2531275B2 (en) 1989-09-29 1996-09-04 日本電気株式会社 ATM cell transfer method
JPH03182140A (en) 1989-12-11 1991-08-08 Mitsubishi Electric Corp Common buffer type exchange
US5150358A (en) 1990-08-23 1992-09-22 At&T Bell Laboratories Serving constant bit rate traffic in a broadband data switch
US5144293A (en) 1990-12-18 1992-09-01 International Business Machines Corporation Serial link communication system with cascaded switches
MX9306994A (en) * 1992-12-15 1994-06-30 Ericsson Telefon Ab L M FLOW CONTROL SYSTEM FOR PACKAGE SWITCHES.
JP3405800B2 (en) 1994-03-16 2003-05-12 富士通株式会社 ATM-based variable-length cell transfer system, ATM-based variable-length cell switch, and ATM-based variable-length cell switch
GB9408574D0 (en) 1994-04-29 1994-06-22 Newbridge Networks Corp Atm switching system
US5724348A (en) 1995-04-05 1998-03-03 International Business Machines Corporation Efficient hardware/software interface for a data switch
US5963564A (en) 1995-06-13 1999-10-05 Telefonaktiebolaget Lm Ericsson Synchronizing the transmission of data via a two-way link
US5917805A (en) * 1995-07-19 1999-06-29 Fujitsu Network Communications, Inc. Network switch utilizing centralized and partitioned memory for connection topology information storage
SE9600388L (en) * 1996-02-02 1997-08-03 Ericsson Telefon Ab L M Gear
AU717590B2 (en) * 1996-05-10 2000-03-30 Fujitsu Limited Method and apparatus for enabling flow control over multiple networks having disparate flow control capability
US5946309A (en) 1996-08-21 1999-08-31 Telefonaktiebolaget Lm Ericsson Hybrid ATM adaptation layer
JPH10126419A (en) * 1996-10-23 1998-05-15 Nec Corp Atm exchange system
JP3123447B2 (en) * 1996-11-13 2001-01-09 日本電気株式会社 Switch control circuit of ATM exchange
JP2965070B2 (en) * 1997-04-23 1999-10-18 日本電気株式会社 ATM device and port shaping method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5467347A (en) * 1993-01-29 1995-11-14 Telefonaktiebolaget Lm Ericsson Controlled access ATM switch
US5499239A (en) * 1995-04-14 1996-03-12 Northern Telecom Limited Large capacity modular ATM switch
EP0800324A2 (en) * 1996-04-03 1997-10-08 Kabushiki Kaisha Toshiba ATM switch and ATM switching system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WELLER T ET AL: "SCHEDULING NONUNIFORM TRAFFIC IN A PACKET SWITCHING SYSTEM WITH SMALL PROPAGATION DELAY", PROCEEDINGS OF THE CONFERENCE ON COMPUTER COMMUNICATIONS (INFOCOM), TORONTO, JUNE 12 - 16, 1994, vol. 3, 12 June 1994 (1994-06-12), INSTITUTE OF ELECTRICAL AND ELECTRONICS ENGINEERS, pages 1344 - 1351, XP000496599 *
YUKIHIRO DOI ET AL: "A HIGH-SPEED ATM SWITCH ARCHITECTURE FOR FTTH. - AN ATM SWITCH ARCHITECTURE WITH INPUT AND CROSS-POINT BUFFERS -", ISS '95. WORLD TELECOMMUNICATIONS CONGRESS. (INTERNATIONAL SWITCHIN SYMPOSIUM), ADVANCED SWITCHING TECHNOLOGIES FOR UNIVERSAL TELECOMMUNICATIONS AT THE BEGINNING OF THE 21ST. CENTURY BERLIN, APR. 23 - 28, 1995, vol. 1, no. SYMP. 15, 23 April 1995 (1995-04-23), VERBAND DEUTSCHER ELEKTROTECHNIKER (VDE) ET AL, pages 384 - 388, XP000495599 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001095576A1 (en) * 2000-06-06 2001-12-13 Power X Limited Switching system
US6876663B2 (en) 2000-06-06 2005-04-05 Xyratex Technology Limited Switching system

Also Published As

Publication number Publication date
CA2315202A1 (en) 1999-07-01
AR017910A1 (en) 2001-10-24
EP1040625A1 (en) 2000-10-04
AU1989899A (en) 1999-07-12
CN1199404C (en) 2005-04-27
JP2001527328A (en) 2001-12-25
KR20010033361A (en) 2001-04-25
EP1040625B1 (en) 2011-10-19
AU757055B2 (en) 2003-01-30
TW406501B (en) 2000-09-21
CN1285104A (en) 2001-02-21
US6747954B1 (en) 2004-06-08

Similar Documents

Publication Publication Date Title
US6647017B1 (en) Switching fabric arrangement with time stamp function
US5805588A (en) Circuit emulating exchange using micro cells
KR100329130B1 (en) Data transfer switches, access controlled asynchronous transfer mode (ATM) switches and information cell flow control methods
US5991295A (en) Digital switch
EP0516042B1 (en) ATM cell error processing system
US6201813B1 (en) Method and apparatus for using ATM queues for segmentation and reassembly of data frames
US6628657B1 (en) Method and system for transporting synchronous and asynchronous traffic on a bus of a telecommunications node
EP1040625B1 (en) Asynchronous transfer mode switch
EP0770315B1 (en) Communications system
US7286565B1 (en) Method and apparatus for packet reassembly in a communication switch
WO1994018770A1 (en) A method for handling redundant switching planes in packet switches and a switch for carrying out the method
AU753267B2 (en) Asynchronous transfer mode switch
US6137795A (en) Cell switching method and cell exchange system
US6175567B1 (en) Method and system for multiplexing/demultiplexing asynchronous transfer mode interprocessor communication (ATM IPC) cell in exchange
US7203198B2 (en) System and method for switching asynchronous transfer mode cells
US20030123451A1 (en) Combined use timer system for data communication
JPH1065713A (en) Method for detecting atm system cell
US7359385B2 (en) ATM switching apparatus and method
JP2756766B2 (en) Cell priority processing unit
JPH09312653A (en) Cell assembly method and its device
JPH10178436A (en) Multiplexing method

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 98813664.3

Country of ref document: CN

AK Designated states

Kind code of ref document: A1

Designated state(s): AL AM AT AU AZ BA BB BG BR BY CA CH CN CU CZ DE DK EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT UA UG UZ VN YU ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW SD SZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
WWE Wipo information: entry into national phase

Ref document number: 19898/99

Country of ref document: AU

ENP Entry into the national phase

Ref document number: 2315202

Country of ref document: CA

Ref document number: 2315202

Country of ref document: CA

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 1020007006828

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 1998964606

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1998964606

Country of ref document: EP

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

WWP Wipo information: published in national office

Ref document number: 1020007006828

Country of ref document: KR

WWG Wipo information: grant in national office

Ref document number: 19898/99

Country of ref document: AU

WWW Wipo information: withdrawn in national office

Ref document number: 1020007006828

Country of ref document: KR