SWITCHING ELEMENT FOR SELF-ROUTING MULTISTAGE PACKET-SWITCHING INTERCONNECTION NETWORKS

Abstract: The switching element for self-routing multistage packet-­ switching interconnection networks comprises: an input unit, composed of as many sections (IMA, IMB) as the element inputs are, each section comprising a FIFO memory (FIFA, FIFB) for packet buffering; a switch (SW) associated with a control unit (SCU) which, for each packet to be forwarded, sets up the connection requested for that packet between one input and one or more outputs of the element (ECP), on the ground of a routing tag associated with each packet and comprising a first and a second portion relative to normal routing and to broadcasting in the different stages of the network (RC), and solves possible routing conflicts between packets simultaneously arriving at different inputs; and an output unit, composed of as many sections (RU0, RU1) as the element outputs are and performing the whole of the functions necessary for the correct packet forwarding towards a destination. The control unit (SCU) of the switch (SW) is arranged to handle broad­ casting of a packet independently of all other elements (ECP) in the same stage, so as to allow broadcasting also to a number of destina­ tions different from a power of 2 (for an element with two inputs and two outputs) and cooperates with the memory (FIF) storing the packet to be broadcast in such a way that broadcasting does not give rise to internal blocking in the network (RC). Said contorl unit (SCU) moreover solves routing conflicts so as to set an upper bound to packet permanence time within the network.

Description: The present invention refers to packet-switching interconnection networks and more particularly concerns a packet-switching element for a self-routing multistage interconnection network. It is known that a wide group of multistage packet-switching interconnection networks includes networks comprising a plurality of identical elements connected so that any network output may be reached from any input. Examples of such networks are the so called omega, delta, Benes ... networks. In case of self-routing networks, said elements are to: analyze the tag identifying a packet destination and consequently route the packet towards the appropriate output; solve possible routing conflicts; buffer packets which cannot be immediately forwarded because of routing conflicts or unavailability of the subsequent network stage or of the destination device. The latter function will be generally performed so as to set an upper bound to packet permanence time in the network: this increases network efficiency. In some applications, for instance within parallel processing structures implementing distributed algorithms or in telecommunications networks, other functions appear desirable, such as the capability of broadcasting a same message to a plurality of destinations, so that connection of one element input with a plurality of outputs must be possible. A network consisting of elements having also that further capability is disclosed by H. J. Siegel and R. J. McMillen in the article "The multistage cube: a versatile interconnection network", IEEE Computer, December 1981, pages 65 - 76. That network consists of elements with 2 inputs and 2 outputs, comprising each a switch with a control unit that, on the ground of the information contained in the routing tag, sets up the appropriate connections of one input with one or many outputs. In the latter case, the connection may be set up either with two outputs whose addresses are in a given relationship, or with a greater number of outputs, provided that such a number is a power of 2. This implies that, in each network stage, all elements traversed by a message must have the same configuration. This limits the network efficiency, as a number of destination devices might receive no information or information which is not of interest and is then to be eliminated. Moreover the article does not indicate how internal blocking of the network can be avoided in case of information broadcasting or how an upper bound is set to the permanence time in the network. From PROCEEDINGS OF IEEE 5TH ANNUAL CONFERENCE "Computers and Communications Integration Design, Analysis, Management" , 8-10 April 1986 pages 667-675, Miami (US); J.S. Turner: "Design of a Broadcast Packet Network", a modular packet switching network including a switch module (Fig. 5) is known in which information coming from a source can be broadcast to any number of users and in which the information is associated with a control code for error correction. The structure of a switch module is rather complex, in as far as the switch module (and in particular the switch fabric) has three self-routing networks each comprising a plurality of switching elements, besides other blocks associated with each link between the copy network and the distribution notwork. No detail of the structure of said individual elements is given. Further, the broadcasting requests are handled by the switch module in the whole and not by the individual elements of one of the networks composing the fabric. The document clearly states that the switch module provides the basic switching capability. As to the error check, it is not described in detail and, even assuming that it exploits a cyclic redundancy code, the indication that the switch module is the basic component of a packet switch suggests that also this function is performed by the whole module and not by an elementary switch. Moreover, no indication is given in the document about the existence of an algorithm for evaluating, in each element involved, the possibility of accepting the broadcasting request, only a routing algorithm being disclosed. These problems are solved by the switching element according to the invention, which allows broadcasting to be effected without originating permanent internal blocking of the network and so as to reach any number of destinations (even a number different from a power of the element output number), and which comprises means for solving routing conflicts in such a way that an upper limit is set to the packet permanence time in the network. According to the invention, there is provided a packet-switching element for self-routing multistage interconnection networks allowing broadcasting of the packets forwarded through the network, as defined in claim 1. Broadcasting of a packet through a plurality of consecutive readings of same is the feature by which internal blocking of the network is avoided. For a better understanding reference is now made to the accompanying drawings, in which: Fig. 1 is a schematic representation of a parallel processing structure employing an interconnection network consisting of packet-switching elements according to the invention; Fig. 2 is a block diagram of a packet-switching element; Fig. 3 is a diagram illustrating the message broadcasting algorithm; Fig. 4 is a diagram of the operation of a logic network of the input unit; Fig. 5 is a detailed scheme of logic network of the output unit of the element; Fig. 6 is an operation diagram of the control unit of the logic network of Fig. 5; Fig. 7 is a constructional scheme of one of the FIFO memories; Figs. 8 and 9 are operation diagrams of two logic networks of FIFO memory of Fig. 7; Fig. 10 is a block diagram of the switch control unit; Fig. 11 is a block diagram of the routing tag processing circuit in the switch control unit; Figs. 12 to 15 are detailed schemes of some circuits of Fig. 11. Fig. 1 shows by way of example the application of the invention in a parallel processing structure comprising a plurality of processing units E1, E2...En which mutually exchange variable length messages through a self-routing multistage packet-switching network RC, consisting of a plurality of identical elements ECP which are the subject matter of the invention. Such elements will be supposed to have two inputs and two outputs. As said, each element is to route towards one element in a subsequent stage or towards one network output (or towards two elements or outputs, in case of broadcasting) the packets received, to solve routing conflicts and to temporarily store packets that cannot be forwarded immediately. Moreover elements ECP are to allow connection of one input with either one output or a plurality of outputs (broadcasting) of network RC. As to broadcasting, each element ECP may operate independently of all other elements in the same stage, so that the number of users reached by a message can be different from a power of 2. The messages forwarded through the network will consist of a number of packets which, in the most general case, comprise each: a tag consisting of two bit groups of which one (normal transmission tag) contains the actual routing information and the other (broadcast transmission tag) broadcasting information; a word indicating the packet length; a variable number of data words; a check work (cyclic redundancy code) for checking the proper network operation. As to the tag, a network RC will be disclosed where each nit in both groups relates to a network stage, logic value 0 or 1 of a normal transmission tag bit indicates the element output channel on which the message is to be forwarded, and value 1 of a broadcast transmission tag bit indicates broadcasting request. The two bit groups are simultaneously present. Bits of equal positions in the two groups concern a same stage. In Fig. 2, switching element ECP comprises: two input buses IDA, IDB and two output buses UD0, UD1 with such a number of wires as to allow parallel transmission of all bits in a packet word; actual switch SW with its control unit SCU; an input unit consisting of two identical sections (one for each of the two inputs IDA, IDB), and an output unit also consisting of two identical section RU0, RU1, associated with outputs UD0, UD1 respectively; internal data buses BDA, BDB, connecting the two input sections with switch SW, and DB0, DB1 connecting switch SW with output sections RU0, RU1. In the following description, final letters A, B of the reference symbols characterize devices and signals relating to either input, and final digits 0, 1 denote elements associated with either output. Where no risk of confusion exists, that final character of the reference symbols will be omitted. Each input section comprises a logic network IMA (and IMB, respectively) and a buffer FIFA (FIFB). Logic networks IM control writing into the respective buffer, until filling thereof, of the data arriving at ECP through buses IDA, IDB, and manage the handshake protocol with the upstream devices (e. g. an element ECP of a preceding network stage). Buffers FIF are first-in, first-out (FIFO) memories temporarily storing packets which cannot be immediately forwarded to the subsequent stage; moreover, under the control of logic SCU, such buffers allow broadcasting of a message, through two consecutive message readings. This way of performing broadcasting prevents permanent network blocking when variable length messages are handled in the network, as supposed. The structure of a parallel packet switch like SW is well known in the art and does not require a detailed description; however an example can be found in "Introduction to VLSI systems", by C. Mead, L. Conway, Addison Wesley Publishing Company, page 158. Control unit SCU of switch SW is to: analyze routing requests contained in normal routing tag; set up accordingly the connection between inputs BDA, BDB and outputs DB0 DB1 of switch SW (one input with one ot the outputs, each input with a respective output, one input with both outputs in two subsequent steps); solve routing conflicts so as to establish an upper bound to the permanence time of a packet in the network; manage the message broadcasting algorithm in a manner independent of all other elements in the stage. As to conflict solution, when a conflict occurs, the identity of the message being delayed is stored and, at the subsequent conflict concerning the previously delayed message, the output channel is made available for it. Thus any message can lose only one conflict (in the exemplary embodiment of a 2 x 2 element), and this limits not only the overall transit delay through the network but also the delay variance for the different packets. The broadcasting algorithm is based on a principle allowing a message to be broadcast to any number of destinations (even different from a power of 2) whose positions depend on the positions and the number of the stages where broadcasting is to occur. In a given network stage, the broadcasting request is accepted if a first parameter, related with the number of destinations the message is to be broadcast to, is greater than or equal to a second parameter, related with the position in the network of the stage the element belongs to (and more particularly with the position of said stage among those where broadcasting is to occur), said second parameter indicating the maximum number of stage outputs which may potentially be seized for message broadcasting. More particularly, operation in network stage j is as follows. Let it be: BRD = b(n)...b(j)...b(1) the broadcast transmission tag ; BUM, BU(M-1)...BU1 the m bits at logic level 1 in BRD; TAG the normal transmission tag; TUM, TU(M-1)...TU1 the bits that, in TAG, correspond with bits BUM...BU1 of BRD. Obviously, bits TU (i) of TAG relating to the stages where broadcasting is to occur are not significant for routing, as the message is to be routed over both outputs: after forcing bit TUM high (logic 1), if it is not yet high, such bits are utilized to form a binary number Tc= 1, TU(M-1)...TU1 which forms the first parameter. The original value of bit TUM is used to route the message after evaluation of broadcasting possibility, as it will be disclosed hereinafter. If stage j is the k-th stage where broadcasting is requested (1 ≦ k ≦ m), the second parameter is 2 k . As said, broadcasting is effected only if Tc - 2 k ≧ 0. The value of that difference is used to build a modified normal transmission tag which is sent over one of the two output channels (namely, the one identified by the complement of bit TUM) whereas the original normal transmission tag is sent over the other channel. If the difference value is negative, a normal transmission is effected over the output channel identified by the complement of bit TUM leaving the normal transmission tag unchanged. As a result of the above algorithm, considering the set of 2 m units E (fig. 1) whose addresses coincide in the n - m bits of BRD which are 0, according to the invention it is possible to broadcast a message to the first or the last Tc + 1 units in that set (the units with the least or the greatest addresses, respectively) depending on the value of bit TUM. That algorithm is implemented for a given message independently of any other message dealt with in the same network stage. An exemplary application of the above algorithm is shown in Fig. 3 for a 4-stage network, in case of a message in which tag portions TAG and BRD (shown at T, B respectively) are 1000 and 1101, respectively. Hence the bits in Tc are 100 and broadcasting concerns five outputs. It can be immediately appreciated that tag portions TAG at the outputs from the elements in which broadcasting is carried out and the addresses of the five network outputs meet the conditions above. Coming back to Fig. 2, ouput unit RU0 (RU1) performs all functions relating to packet forwarding to the destination device(s). Besides setting up the connection with it (them) and hence managing the handshake protocol, the output unit also is to identify the length of the packet to be transmitted and generate and/or check the cyclic redundancy code. As far as the latter is concerned, in a preferred embodiment of the invention said code is generated in the first stage of network RC (Fig. 1), is checked in the intermediate stages and is checked and eliminated in the last stage. To allow that procedure, the output unit will receive signals denoting whether it belongs to the first network stage, or to an intermediate stage or to the last stage. That code may already be present in the packets incoming to the network: in this case all stages will act as intermediate stages and will carry out only the check. In applications where the redundancy code needs not to be used, such information will be made available to the output unit which is then made free from a number of operations. Each section of the output unit is here schematized by: logic network OM (OM0, OM1) which is to control the output unit and to dialogue with the other devices of element ECP; block RL which acts as output register of element ECP; counter CN, that loads the word coding the packet length and counts, under the control of logic network OM, the number of transmitted words; circuit CRC for generating and/or checking the cyclic redundancy code: that circuit essentially comprises a register and a combinatory network of EX-OR gates, which implements the particular polynomial chosen for the code; if data are transmitted in parallel (e.g. with an 8-bit parallelism), advantageously also the code is computed in parallel. A possible embodiment is disclosed in "Error Detecting Logic For Digital Computers", by F. F. Sellers, M. Y. Sao, L. W. Bearnson, McGraw-Hill Book Company, page 258. The structure of blocks FIF, SCU, RU, OM is disclosed in greater details with reference to Figs. 5 to 15; the meaning of the various signals shown in Fig. 2 will become apparent from the description of said detailed Figures, where also the timing signals for the different blocks are shown. Only the state diagram is given for logic network IM: the circuital design of a network operating according to such a diagram is not a problem for the skilled in the art. The operation of logic network IM of the input unit is now disclosed with reference to Fig. 4. Network IM receives the following signals: REQIN, which is emitted by logic network OM (Fig. 2) of an output unit section RU of an upstream stage or by a unit E (Fig. 1) to indicate the existence of a data word to be sent to the switching element IM is part of; FPI, which is emitted by memory FIF (Fig. 2) to indicate that the memory is full; and emits the following signals: ACKIN, which is sent to the device which has issued signal REQIN to confirm availability for data reception; LOAD, sent to memory FIF to control data writing into the memory. In the diagram description, it is assumed that said signals are active when at logic value 1. In correspondence with the various states or state transition, logic values of the different input signals are given in the same order as the signals are listed above. As usual, symbol "X" denotes the "don't care" condition for the signal value. The same representation modalities are followed for the other state diagrams. Logic IM is initially in an idle state A1 where it remains, whatever the value of REQIN, if the memory is full (X, 1) or if no request arrives (0, X). If the memory is not full, IM leaves state A1 if forwarding of a data word is requested, and enters an active state B1 generating signals LOAD and ACKIN. IM goes back to state A1 when data loading is over, what is indicated by REQIN becoming again 0. Signal ACKIN will remain active as long as IM is in state B1, as it is also to "freeze" the data present at the input of memory FIF for the whole time necessary to writing into the memory. Fig. 5 shows in greater detail the structure of a section RU of the output unit. Blocks CRC, CN and RL are the same as shown in Fig. 2. The remaining circuits form block OM of Fig. 2 and include: a sequential control logic network OMC; a first group of flip-flops and gates (FF2, FF3, FF4, AND1) for synchronizing the output unit with the switch control unit and managing hand-shake with the latter for the packet word transfer; the specific functions of the elements of that group will become apparent hereinafter; a second group of flip-flops and gates (FF5, FF6, FF8, AND2, NOR1, MX1) associated with counter CN and block CRC to take into account the possibility of different packet word lengths, the presence of absence of the check word and the position within the network of the stage element ECP is part of, for the sake of counting the number of words to be transmitted and forwarding SCU (Fig. 2) the possible error signalling; the functions of the elements of this group will appear from the description of the operation of the control logic network; a third group of flip-flops and gates (FF7, OR1) for data output synchronization. A further multiplexer MX2 is provided to forward over output bus UD either the data present on bus DB or the check word generated by CRC. No reference symbol has allotted to the various inverters necessary to take into account he logic level required by certain flip-flop inputs. To simplify the drawing, the general reset signal and the flip-flop inputs/outputs which are not of interest for the operation are not shown. Where a quantitative time indication is necessary, reference will be made to a clock signal having a period of 50 ns. Logic network OMC, whose combinatory portion, due to the complexity of the operations carried out, will be made by a programmable logic array, will be described through the state diagram of Fig. 6. As to the dialogue between RU and switch control unit SCU, its management is allotted to circuits (namely the first group of flip-flops and logic gates) external to OMC and SCU in order to avoid excessive burdening of the structure of said units. The dialogue protocol is based upon a command (START) of message transmission starting, generated by SCU, and an end-of-message signal (FCSCU) generated by OMC. Flip-flop FF2 causes signal FCSCU to remain high for only one period of clock signal CK; through FF3 signal FCSCU is also converted into a signal ABSTART, which through flip-flop FF4 and gate AND1 enables transfer of signal START to OMC, thus making signal START impulsive. Logic network OMC receives the following signals: FSTG, LSTG, denoting that ECP belongs to the first or the last network stage, respectively; these signals are also combined by gate NOR1 to indicate that the stage is an intermediate stage (INTSTG) while their logic product, effected by gate AND2, is a signal (NOCRC) indicating that the messages in the particular application do not contian the redundancy word; START, already mentioned; FC, which is an end-of-count signal generated by CN and utilized by OMC to detect that all the words in a mesage have been transmitted. FC is fed to OMC through multiplexer MX1 controlled by signal INTSTG. FC is the actual carry-out signal of CN for the elements in the first or the last network stage or for applications which do not use the check word, wheras in the case of an intermediate network stage FC is the carry-out of CN delayed by one cycle period in flip-flop FF6; in effect in the latter case the message present on bus DB comprises one word more (the cyclic redundancy code) which is missing in the other cases; FNV, which is fed through switch SW by buffer FIF (Fig. 2) of the input unit section connection with that section of the output unit, and which indicates that the buffer itself is not empty; ACKOUT, acknowledging data receipt by the downstream device (this signal corresponds to signal ACKIN issued by IM, Fig. 2); SECBYTE, indicating the presence of a second byte in the packet length word; and emits the following signals: LOADCT, which is sent to CN to cause loading of the message length word and is issued when, depending upon internal timing signals of RU, logic network OMC recognizes the presence of that word on bus DB; signal LOADCT also clears flip-flop FF6 and presets FF3, and it is converted into signal SECBYTE through a T-type flip-flop FF8; DECR, which is sent to CN to decrement by 1 its contents after transmission of each word of the message; this signal constitutes also the clock signal for FF6; FCSCU, already mentioned, which is generated by OMC after reception of FC; UNLOAD, which, after reception of a word, is sent through SW to buffer FIF with which RU is connected, to start reading of the subsequent word; REQOUT, informing a downstream device that there is a message to be transmitted (the signal corresponds to signal REQIN entering IM, Fig. 2); CLCRC, sent to CRC to reset it contents; such a signal is also the clock signal for flip-flop FF5 (reset by NOCRC) emitting signal ERRCRC indicating unsuccessful check by CRC; OUTCRC, switching multiplexer MX2 so as to forward to UD, at the end of a message, the word generated by CRC in case of elements ECP belonging to the first network stage. The state diagram of Fig. 6 is now described. Upon system activation, logic network OMC is made to enter its initial (idle) stage A2 by a general reset signal (not shown), and remains in this stage until the arrival of signal START keeping signal CLCRC active. Upon the arrival of START signal, logic network OMC passes to stage B2 if signal ACKOUT is 0; this indicates the availability of the subsequent device to receive a new data word, in this case the first word of a message. Signals UNLOAD and REQOUT are emitted and signal CLCRC is kept active in this transition. Signal REQOUT is kept active as long as logic OMC remains in stage B2 and, beside signalling the presence of data to be sent downstream, it holds in output register RL the word present at that instant on bus DB, to ensure its stability as long as required by the input/output protocol. Signal UNLOAD is on the contrary kept active for a single clock signal period and causes the reading in the suitable memory FIF (Fig.2) of the subsequent word to be transmitted, if that word is already available. Thanks to the simultaneous generation of those two signals, reading of a new word in memory FIF takes place simultaneously with the dialogue with the downstream device for sending it the preceding word. This optimizes the working cycle. Logic OMC remains in stage B2 as long as signal ACKOUT is 0; when ACKOUT becomes 1, network OMC passes to stage C2 (wait for FNV), resetting signals REQOUT and CLCRC. In state C2 the reset of signal ACKOUT and the arrival of signal FNV indicating that memory FIF is not empty are waited for: these are the two conditions allowing the transmission of the subsequent word, which is the message length. If such conditions are met, OMC resumes state B2 if signal SECBYTE is 0, and passes to stage H2 (wait for ACKOUT) if SECBYTE is 1: whatever the transition, signals UNLOAD, REQOUT asnd LOADCT are emitted. The latter causes loading in CN (Fig.5) of the value of the message length. From that instant on, being signal CLCRC=0, signal UNLOAD acts also on circuit CRC generating and/or checking the cyclic redundancy code, causing the storage of the partial result of the computation of such code. In state H2, OMC waits for ACKOUT becoming active and keeps REQOUT active. When ACKOUT arrives, four different operations are possible depending on the values of signals FSTG, LSTG and FC. If FC is not 1 when ACKOUT becomes 1, the message is not yet at an end, and there are other words to transmit; OMC passes to state G2 of transmission of the subsequent word and emits command DECR towards CN, which will therefore always indicate the serial number of the subsequent word to transmit: in this way OMC can detect as early as possible the "end of message" condition and communicate it to SCU (fig.2) so that SCU can exploit for its operations also the time during which transmission of the last word of a message by the output unit takes place. In stage G2, OMC waits for condition ACKOUT=1, FNV=1, as in stage C2, and begins the transmission of a new word resuming stage H2. During this transition, only signals REQOUT and UNLOAD are generated to proceed with the normal transmission cycle if FC=0 (the subsequent word to transmit is not the last) or if element ECP belongs to the last network stage; if on the contrary FC=1 and ECP does not belong to the last network stage, or if the redundandy code is not provided for, OMC generates also signal FCSCU to inform SCU (fig.2) that the message transmission ends with the current word. If FC is 1 when ACKOUT becomes 1, the next state of OMC depends on FSTG and LSTG. More particularly: a) element ECP belongs to the first network stage (FSTG=1, LSTG=0): OMC passes to state L2 (CRC generation) activating command OUTCRC which sets multiplexer MX2 so as to transfer the redundancy code onto output bus UD, since said code is to be generated and queued to the other words of the message only in the first network stage. OMC remains in this stage until the reset of ACKOUT, then it begins code transmission, activates the relevant signal REQOUT and passes to stage M2 (wait for ACKOUT CRC), where the acknowledgment signal relating to the redundancy code is waited for from downstream devices: as soon as ACKOUT becomes 1, message transmission is ended and OMC resumes its initial state A2, activating signal CLCRC in order to be ready for the transmission of a new message; b) element ECP belongs to the last stage of the network (FSTG=0, LSTG=1): OMC passes to stage J2 (CRC elimination) without generating commands. In this state the presence in memory FIF (Fig.2) of the redundancy code is checked and, in the affirmative, that code is eliminated by generating a command UNLOAD towards memory FIF without transferring the datum onto output bus UD; at the same time the transmission end (FCSCU=1) is signalled to SCU. Signals UNLOAD, FCSCU are generated during the return to initial state A2, together with CLCRC; c) element ECP belongs to an internal network stage (FSTG=0, LSTG=0) or the network does not use the redundandy code (FSTG=1, LSTG=1): OMC recovers its initial stage A2, activating signal CLCRC. With reference to Fig.7, block FIF functionally comprises: a memory matrix MF (which by way of example is supposed to have a capacity of 64 8-bit words), with reading and writing pointers PL, PS; a logic network LFS generating signal FPI indicating that memory MF is full; a logic network LFC which basically is: to manage the operation of the reading pointer so as to avoid both idle times and reading of non-significant data; to signal logic network OMC (Fig. 5) of the concerned output section the presence of a valid datum on bus BD, and to solve possible access conflicts to the same cell of MF by an input and an output section of the element. Matrix MF, which is to be accessed in pipeline from two different paths to allow simultaneous reading and writing operations on different cells, is advantageously a two-port memory, with separate input / output buses (bus ID, BD respectively) and explicit reading command (READ) obtained either from signal UNLOAD or from a signal CREAD emitted by a control unit FCU of LFC with modalities which will be seen hereinafter. The management of matrix MF as a FIFO is obtained by the circular-buffer addressing technique realized by pointers PL, PS. Said pointers comprise a counter CT which, under the hypothesis that MF stores 64 words, is a 6-bit counter, a decoupling reigster RD and a decoder DE1 for decoding the 6 bits of the count to select the row concerned by the demanded operation. Said elements are shown only for reading pointer PL. PL comprises also a second counter CTD, which is used in alternance with CT for broadcast transmission, and a multiplexer MX3 to connect either counter to RD. The presence of a twofold reading pointer is the architecttural solution allowing broadcasting of a message by sending it in sequence to both output gates. The first transmission of the whole message (controlled by CTD) and its retransmission (controlled by CT) follow each other in sequence and, from the theoretical point of view, they can be considered as a sequence of two normal (non-broadcast) transmissions. It is to be noted that no particular configuration of switch SW is demanded by that particular implementation of broadcast transmission; besides, simultaneously with the management of a broadcast transmission relevant to one of the two input channels, another compatible transmission, it too possibly a broadcast transmission, can take place. Decoupling register RD is to allow the counter and the decoder of each pointer to operate in pipeline, so as to allow the contemporary emission of memory reading/writing command and counter increment signal. Reading/writing will thus be carried out on cell N of MF while the counter is already switching to N+1, thus preparing the address of the next cell to be acceded. In the reading pointer, register RD allows also superposition of counter and decoder switching delays and is indispensable in order to ensure a certain minimum time to decoding operations. In fact data request signal UNLOAD would require, as operation sequence, first the counter increment and then the new datum reading: were said operations carried out in subsequent times, too short time would be left for decoding the counter output signal before the reading operation. This problem does not exist for the writing, since loading signal LOAD would require the inverse sequence (writing of a new datum, counter increment) which does not impose time requirements on the address decoding different from those already imposed by the desired reading / writing frequency (for instance, an operation every 100 ns, with the exemplary value of the clock signal considered here). By examining in greater details the pointer structure, counter CT is incremented by a signal INCRD which consists of either signal UNLOAD or a signal INCT emitted by FCU. A multiplexer MX4, controlled by a signal SELB, this too generated by FCU, supplies CT with either signal. Signal INCT increments CT independently of the presence of signal UNLOAD coming from logic network OM (Fig.2). This is necessary when a datum is written into the empty FIFO memory: in that case both the reading in MF and the corresponding increment of counter CT are to be controlled by signals directly generated by LCF (CREAD and INCT respectively), because under these conditions the operation cannot be controlled by signal UNLOAD, which is not generated when signal FNV indicating "non-empty memory" is 0. Counter CTD is incremented by the same signal INCRD as CT and it loads the contents of the latter upon command of a signal DEFOIS, emitted by control unit SCU of switch SW (Fig.2), when a broadcast transmission is desired. To this aim signal DEFOIS is converted into a pulse of suitable duration by the circuit composed of flip-flops FF9 and FF10 (the latter being clocked by CK) and gate AND3, enabled by CK . The same signal DEFOIS forms the select for MX3 and is delayed in a further flip-flop FF11, clocked by CK, generating at its complement output a signal DEFOISD which is supplied to CT to disable its counting during a broadcast transmission. The address emitted by CT or CTD is loaded in RD upon command of signal CK. The devices of writing pointer PS operate in a way perfectly analogous to that examined for reading pointer in case of non-broadcast transmission; counter increment command is in this case signal LOAD emitted by IM (Fig.2). The contents of counters CT and CTD are respectively supplied to two comparators CU, CUD, being part of logic network LFS. Said comparators receive also the contents of the counters of writing pointer PS, and emit a signal which is 1 when the values present at both inputs are equal. The comparator outputs are connected to the two inputs of a multiplexer MX5, transferring to the output the result of the comparision made by the comparator connected to the counter active at that moment (CT for normal transmission or retransmission of a message to be broadcast, CTD for the first transmission of a message to be broadcast). The select signal for positioning MX5 on the input connected to CUD is signal DEFOIS transferred to MX5 via the true output of FF11. The complemented output signal of MX5 is a signal EQUC which is transferred to logic network FCU which uses it for generating signal FNV of non-empty FIFO memory (valid datum) to be sent to unit SCU (Fig.2) and, through SW, to the concerned logic network OM. Said signal FNV is present at the output of a flip-flop FF13. The output signal of CU (signal EQU) is also sent to unit FSU of LFS which, on the basis of such a signal and of signal LOAD, generates signal FPI. The operation of FSU will be described hereinbelow, with reference to Fig.8, under the form of stage diagram; circuit implementation does not present any problem to the skilled in the art. As shown in said Fig.8, FSU is a 2-state logic network. It remains in its first state (A3, idle) until the arrival of the signal LOAD, whatever the logic value of EQU. Upon reception of the signal LOAD from IM, FSU passes to its second state (B3, EQU check) to check, at the subsequent clock signal pulse, the value of EQU; if EQU is 0, FSU returns to its initial state; if on the contrary EQU has become 1, signal FP1 is emitted and is kept active as long as EQU value remains the same. It is worth noting that signal EQU designed to generate the "full memory" signal FPI is always obtained as a result of the comparison between writing pointer counter and counter CT (Fig.7): during the first transmission of a message to be broadcast, counter CT is "frozen" and determines the limit address for writing in MF. In fact, if the value indicated by CT is exceeded, data will be cancelled which have been already transmitted and yet are to be used again for the second transmission. Consequently, the length of a message to be broadcast cannot exceed the capacity of MF, but this is not a severe limitation. Coming back to Fig.7, block LFC comprises control unit FCU and a set of logic circuits interfacing LFC with the other elements of FIF or with the outside. Unit FCU receives the following signals: DEFPLA, pulse signal indicating broadcast transmisison; LOAD, UNLOAD, EQUC, already examined; and emits the following signals: SELB, already examined; SELC, which undates signal FNV of valid datum; CREAD, generating the reading command for MF, when such reading is controlled by LFC, and controlling the updating of FNV by SELC; INCT, already examined. Signal DEFPLA is obtained from signal DEFOIS with modalities similar to those by which the loading command for CTD is obtained from DEFOIS. Signal CREAD is fed to one of the two inputs of a gate OR2 which receives also signal UNLOAD; the output of OR2 is connected to an input of a gate AND4, enabled in the absence of SELC (as indicated by inverter (INV2), in order to generate signal READ and through a timing element or latch L6 and a gate AND5 enabled by CK , controls the updating of FNV. The drawing also shows further timing elements or latches L1...L5, determining the suitable time phases for signals INCRD, UNLOAD, READ, EQUC, EQU. L6 properly times the clock signal for FF13. The operation of FCU will be now described with reference to the diagram of Fig. 9. Unit FCU is first in a state A4, corresponding to the condition of empty memory MF. Under this condition the addresses generated by both pointers PL, PS obviously coincide and a non significant datum is present on the output bus BD of memory matrix MF; that is why signal FNV (valid datum signal) is 0. FCU remains in that state till it detects a loading in MF by the input section (LOAD signal coming from IM, Fig.2, becoming 1): under this condition FCU passes to state B4 (first datum in the memory) emitting signals SELB and CREAD. Signal SELB acts on multiplexer MX4 so that the reading pointer increment is controlled by FCU. Since SELC=0 (and consequently SELC =1), signal CREAD can be transferred to L3 through AND4 to control the reading of the datum just loaded into MF, which operation will be carried out in the subsequent cycle. The same signal CREAD, through L6 and AND5, causes signal SELC to be transferred to FF13 output as a signal of valid datum FNV. At the subsequent cycle of CK, FCU passes from stage B4 to state C4 (last datum): in effect, owing to the hypotheses made, two data to be loaded in MF can never arrive in adjacent cycles of CK. In transition B4→ C4, control signal SELB is kept present to slave memory reading to LFC, and INCT is emitted to increment counter CT and cause it to point the next cell to be read in MT, which cell, in this case, does not yet contain any significant datum. Also signal SELC is emitted and consequently the next signal UNLOAD coming from OM and supplied to FF13 through L2, OR2, L6 and AND5 resets FNV. FCU remains in state C4 as long as a single valid datum is present in MF; as soon as the signal LOAD arrives from IM, or the signal UNLOAD arrives from OM, FCU enters a new state. If signal UNLOAD arrives first, MF becomes empty again and FCU resumes state A4; if signal LOAD arrives first, MF contains more than one datum and FCU passes to state D4. If the signal LOAD and the signal UNLOAD arrive at the same time, this means that the datum present at the output of MF (the only datum present in the memory matrix) has been already used by the output unit which now requires the next datum, and yet this one is presently being written into MF by IM. This is the case of attempt of pipeline operation on the same memory cell. Such a conflict is solved thanks to the fact that signal SELC, active as long as FCU remains in stage C4, inhibits through INV2 and AND4 the actual reading of the memory matrix while resetting FNV. As a result of the reading operation OM receives from BD a non-significant datum associated with a signal FNV=0. FCU recovers state B4 and activates signal CREAD, which during the subsequent cycle will command a reading operation in MF: consequently the new datum is transferred onto the output bus and the presence of a valid datum is signalled. At the subsequent step FCU will return to C4 repeating the already-described cycle. State D4 corresponds to a condition in which several data are present in MF. This is a state in which FCU is basically inactive. Since MF now contains at least two data, there is no longer possibility of conflict between the pointers and the operations on MF can be carried out in a parallel and non-synchronized way by both IM and OM. In order to detect when MF stores again a single datum, what demands a new active intervention of FCU, FCU passes to stage E4 (reading of the last but one datum) whenever it detects the presence of a reading without a simultaneous writing (UNLOAD=1, LOAD=0). In E4 FCU takes into consideration the signal EQU obtained as a result of the comparision between the addresses generated by the two pointers. If EQU becomes 1 in the cycle subsequent to the UNLOAD event, then MF contains only a last valid datum, while the reading pointer already addresses an empty cell: FCU recovers stage C4. Otherwise, FCU resumes state D4 without carrying out any operation. In any state of FCU, the passage to 1 of DEFPLA, indicating the broadcast transmission, causes the passage to state D4. In fact for the message retransmission, FCU is to operate as if MF contained more than one datum, independently of the actual extent of filling up of the memory reached at the end of the first transmission: in fact from the logic point of view MF contains at least all the data of the message to be retransmitted. Reference will now be made to Fig.10 representing control unit SCU of switch SW. For sake of clarity, in that Figure BD′, BD″ denote the input and output sections of internal data channel BD of Fig.2. Block SCU basically consists of: a finite-state automaton (or control logic) SCUBRD, whose input/output signals will be specified hereinafter and the operation listing is annexed as Appendix 1; a device MANET processing the routing tags: in case of broadcast transmission request in its stage, MANET operates on the tag bits the computing algorithm previously described to determine the possibility or impossibility to carry out that transmission and, in the affirmative, modifies the tag itself; the structure of MANET will be described hereinbelow, with reference to Figures 12 to 15; two registers RTMOD, RT, storing the tag modified by MANET and the original one present on bus BD′, respectively; a multiplexer MX6 having three inputs connected to BD′, RTMOD and RT, respectively, and an output connected to BD″; MX6 is controlled by a pair of bis S1, S0 the first of which indicates whether data or the routing tag are to be transferred onto BD″, while the second, in case of tag forwarding, indicates from which of the two registers the tag is to be extracted; a first flip-flop FF14 storing the routing conflict result; a second flip-flop FF15 storing the condition of double transmission of a broadcast message; a further pair of flip-flops FF16, FF17, of which FF16 emits bit S1, while FF17, upon command of signal UNLOAD, causes S1 to switch after tag transmission. Logic SCUBRD and flip-flop FF14 are command to both channels; the other elements are on the contrary associated to each switch input channel, only one being represented in the Figure for simplicity sake. Besides, in the Figure the bit which is of interest for SCUBRD in each of the two tag portions is denoted by the reference symbol already used for the whole tag portion. Logic SCUBRD receives the following signals: TAG(A, B): bit of the normal transmission tag indicating on which output channel the message coming from input channel A or B, respectively, is to be routed at that stage, by way of example it is supposed that values 0 and 1 of TAG correspond respectively to routing on channels 0 and 1. Since transmission is effected in parallel bit TAG is present on a wire of BD′ different from stage to stage: in any stage j, the proper wire is selected through a multiplexer (not shown) controlled by a signal coding stage number j; BRD(A, B): bit of the broadcast transmission tag indicating, when 1, the broadcast transmission request in that stage from one of the input channels; bit BRD is extracted from bus BD′ in the same way as TAG; FNV(A, B): valid datum signal for one of the input channels; FCSCU(0, 1): signal indicating transmission end on output channel 0 or 1, respectively; DEFOIS(A, B): signal indicating the necessity of repeating the transmission to broadcast the message present on one of the input channels; FFPR: priority signal generated by FF14 which is used to solve routing conflicts and whose logic value indicates the channel the message delayed at the preceding conflict came from; TUM(A, B): bit of the normal transmission tag corresponding to bit BUM(A,B) in the broadcast transmission tag: bit TUM is extracted from the tag by MANET and supplied to SCUBRD to decide the routing upon a broadcast transmission request; MINUS(A, B): signal supplied by MANET and indicating the negative result of the subtraction Tc-2 k effected in order to decide whether or not broadcast transmission from the relevant input channel is to be carried out. The output signals of control logic SCUBRD are: SWSET: control signal for switch SW; SWSET=0 means e.g. straight connection through the switch (inputs A, B connected with outputs 0, 1, respectively; see Fig. 2); SWSET=1 means exchange connection (inputs A, B connected with outputs 1, 0, respectively); START(0, 1): signal activating one of the output units; TOGGLE: signal switching flip-flop FF14; it is set whenever SCUBRD delays the transmission of a message owing to a routing conflict; TOBR(A, B): signal indicating the beginning of a broadcast transmission phase; such a signal is converted into signal DEFOIS by flip-flop FF15 and into bit S1 by flip-flop FF16; ENREG(A, B): signal enabling the writing into the two registers RTMOD, RT of the tag for the corresponding input channel; ABMOD(A, B): signal forming control bit S0 of MX6. The operating principles of SCUBRD will be now shortly illustrated in order to point out the most typical features. The detailed algorithm description of the operation of SCUBRD is given as Appendix 1: that description is a version in text form of the state diagram which is not illustrated because, owing to the very high number of states, transitions between states and conditions originating such transitions, said diagram would be impossible to understand. The starting state of the operations of SCUBRD is idle state A5 (WAIT). It is reached as a consequence of the element initialization and whenever the element itself has no message to transmit. Logic SCUBRD analyzes in this state the transmission requests (normal or broadcast transmission) which can be presented by the element input units. In the absence of requests, SCUBRD remains in state WAIT; if there are one or more routing requests, SCUBRD operates differently depending on the type of request. For simplicity of description normal and broadcast transmissions are considered separately, even if actually the two transmission types can coexist. When logic SCUBRD recognizes a normal transmission request, indicated by signal FNVA or FNVB being 1, it analyzes the routing bit (TAGA or TAGB) concerning the stage it belongs to. Obviously, if the request arrives from only one channel, only bit TAG relevant to that channel is significant. SCUBRD enters one out of states B5, C5, D5 or E5 depending on the channel the request comes from and the demanded switch position, setting signal SWSET to the proper value and activating signal START relevant to the desired output channel. If both signals FNVA, FNVB are 1, bits TAGA, TAGB are to be compared to ascertain whether the two transmissions are compatible, i.e. whether the two messages are to be forwarded on different channels. If the two bits TAGA, TAGB are different, the two transmissions are compatible and SCUBRD passes to state F5 or to state G5, depending on the requested switch position, and starts the operations on both output channels. If the two transmissions are incompatible, SCUBRD passes to one of the four states B5, C5, D5, or E5, as in the case of single request, depending on which message is allotted the priority by flip-flop FF14 and which output port is to be engaged by said message. During said transition, corresponding to transmitting one message while delaying the other, signal TOGGLE is activated which causes storage in FF14 of the identity of the channel the delayed message came from, so that a subsequent conflict, if any, is solved in its favour. The choice of the message to be delayed at the first conflict will be generally random and depends on the state taken by flip-flop FF14 during the initialization phase. In states B5, C5, D5, E5, F5, G5, the operating principle of SCUBRD is the same, but the operations are started by the reception of signals FCSCU0 or FCSCU1 (from the logic networks OM0; OM1 controlling output channels 0 and 1, respectively) which indicate that the preceding message has been completely transmitted on the relevant channel. The SCUBRD examines signals TAG and FNV relevant to input unit section no longer concerned in the transmission and establishes a new input/output connection, activating the necessary START signals, setting by SWSET the switch and effecting the transition towards the convenient state, or it recovers idle state WAIT. It is to be appreciated that, when SCUBRD is in one of the states characterized by a single active input-output connection (states B5, C5, D5, E5), it constantly checks, analyzing the relevant signals TAG and FNV, if a new routing request occurs on the presently inactive input channel. If that new request is compatible with the connection already existing, it is immediately satisfied and SCUBRD enters a double-transmission state (F5 or G5). Is the new request in conflict with the existing connection, the message is delayed and the identity of the channel it comes from is stored in FF14 to give priority to said message when the request is analysed again. In case of broadcast transmission request, which is denoted by bit BRD relevant to the stage being 1, the operations carried out by SCUBRD are more complex, since two phases are provided: 1) check of the admissibility of the broadcast transmission request, based on the previously described algorithm, whose computations are carried out by MANET; 2) control of broadcast transmission as a sequence of two normal transmissions, as already explained in connection with the description of FIFO memories. That being stated, if the request is identified in the idle state, SCUBRD passes to one of two states of check of the request validity (BRFROMA or BRFROMB) according to the value of bit TUM. Such a bit in fact identifies the output channel on which the message is to be transmitted in any case, i.e. even though the broadcasting request is not admissible for the element ECP considered. During the transition from one state to the other, the loading of the two registers RT and RTMOD is enabled through signal ENREG(A, B). RTMOD stores the result of the subtraction of parameter 2 k from number Tc, whose bits are scattered inside the routing tag as said before. In the states of check of request validity, signal MINUS coming from MANET is considered. If MINUS is 1 (Tc-2 k < 0), then broadcasting is not possible and SCUBRD passes to the state corresponding to normal transmission on the channel indicated by complemented bit TUM. If MINUS is 0, then the transmission is to be handled as the first step of a broadcast transmission and SCUBRD reenters the same state by activating the flag of "broadcast transmission started" for the given input channel (TOBRA or TOBRB at 1 for input A or input B, respectively) and positioning MX6, for tag transmission, on the input connected to register RT (signal ABMOD=0). The fact that the broadcast transmission request for a given input channel still requires the second transmission phase is stored in flip-flop FF15. Whenever a transmission ends, SCUBRD checks the state of such a flip-flop (inputs DEFOIS(A/B), where DEFOIS=1 indicates that the second transmission phase is still to occur) and acts consequently, by positioning MX6 so as to transmit as tag the modified tag and by switching signal SWSET so that the transmission takes place on the other output channel. If in the idle state of SCUBRD (WAIT), the broadcast transmission request simultaneously appears on both input channels, a priority choice is made based on the value of flip-flop FF14. Yet this one is not switched in order the alternate priority mechanism valid for normal transmission is not affected: this corresponds to allotting a random priority to the messages, in case of routing conflicts between messages to be broadcast. The operation of SCUBRD in case the broadcast transmission request occurs while a normal transmission is being effected (SCUBRD in states B5, C5, D5, E5) is the following: the end of the pending transmission (signalled by FCSCU0 or FCSCU1, as the case may be) is waited for and then the possibility of effecting the broadcast transmission is analyzed by the same procedure disclosed for state WAIT. This is possible for all the cases with the exception of a new broadcast transmission request appearing during the second phase of a precedent broadcast transmission (case in which the requests identified by code PRIMOBR(A,B) coexist with the requests identified by code SECONBR(B,A) under the conditions specified in the part CASE of the above states, see Appendix 1). In this case first the phase of second transmission is ended and afterwards the new broadcast transmission request is served. In all the other cases logic SCUBRD passes to state BRFROM(A/B) and then it serves the broadcast transmission request. If the broadcast transmission request appears in state F5 or G5, i.e. in one of the states corresponding to two simultaneous normal transmissions, logic SCUBRD enters one out of states B5, C5, D5, E5, namely the one allowing the transmission still in progress to end regularly. That state will be the one in which signal SWSET keeps the same value and signal START relevant to the output port still active is kept 1. Fig. 11 shows the structure of block MANET. It comprises a priority encoder PE, two bit extractors EB1, EB2, a bit recombining device RB, a logic-arithmetic unit ALU, a multiplexer MX7 with n inputs (n = bit number in each of the tag portions, e.g. 4) and one output, a register FFT stroing bit TUM to be sent to logic SCUBRD, and an n-output decoder DE2. Priority encoder PE analyzes broadcast transmission tag BRD and generates a binary number coding the position occupied in BRD by the most significant bit with logic value 1 (bit BUM). The coded value is sent to MX7 as a control signal to select the corresponding bit TUM of the normal transmisson tag and to send said bit to register FFT, where it is kept available for logic SCUBRD; the same coded value is sent by PE to decoder DE2, which emits a bit pattern de in which only one bit has a predetermined logic value. The position of said bit in the pattern identifies the position of bit BUM. For reasons depending on the structure described here for the recombining device, the logic value of the identificative bit is supposed to be 0. Bit extractor EB1 is to extract from normal transmission tag TAG bits TUM, TU(M-1) ... TU(1), and to force bit TUM to 1 and shift it to the right (towards the less significant positions) together with bits TU(M-1)...TU1, to form number Tc. Besides, EB1 re-emits the bits of TAG which will be used in RB. Forcing TUM to 1 is necessary to allow correct operation of unit ALU. The structure of EB1 will be examined in detail with reference to Fig.12. Bit extractor EB2 receives the bits of the broadcast transmission tag and the signal coding number j of the stage and generates number k examined while describing broadcast algorithm. Block ALU executes subtraction Tc - 2 k and emits a new bit pattern NTc, representing the subtraction result, and signal MINUS which is supplied to logic SCUBRD which, as said, uses it to decide whether to begin or not a broadcast transmission cycle. Bit recombining device RB receives the bits of normal transmission tag TAG, bits NTc and the bits emitted by DE2 and, if necessary, substitutes the bits of NTc for those of Tc, letting bit TUM unchanged. The bits emitted by DE2 are the information necessary to let bit TUM to be transmitted unchanged. With reference to Fig. 12, bit extractor EB1, here disclosed by way of example for the case in which TAG and BRD comprise 4 bits each, comprises a triangular matrix MDE of switching circuits DEC, preceded by agroup POA of OR-AND-OR gates. Said group is to identify the position occupied by bit TUM and to set such a bit to 1 for the construction of number Tc. To this aim bits t(3)...t(0) of TAG are supplied each to an input of a respective OR gate POR3...POR0: gate POR3 receives at a second input bit b(3) of BRD, while gates POR2...POR0 receive a respective bit b(2) ... b(0) of BRD through respective AND gate PA2..PA0, enabled through a respective inverter IV2..IV0 if none of the more significant bits b is 1: the latter information is supplied by cascaded OR gates POR32 and POR21. Matrix MDE of circuits DEC is controlled by bits b(i), extracts from bits t(i) the bits designed to form number Tc, and emits them compacted towards the least significant bits. A matrix similar to MDE forms extractor EB2. Here the gate group is not necessary, as forcing the most significant bit to 1 is not required. Each element DEC has two data inputs (Ide, Pin), two data outputs (Ude, Pou) and a control input (Ice), at which it receives the suitable bit of BRD, which is the same for all circuits in a column. Data input Ide is connected to output Udb of the preceding circuit (with reference to the direction input-output of EB1) in the same row of MDE or to the output of a respective OR gate POR3..POR0, in case of the first circuit in a row; data input Pin is connected to output Pou of the circuit in the preceding row of the same column, or to logic value 0 (ground) in case of the first row. As shown in Fig. 13, circuits DEC consist of two multiplexers MX8, MX9 with two inputs and one output, both controlled by the same bit b(i). For instance when bit b(i) is 1, input 1 of MX8, MX9 is connected to the output and vice versa. The outputs of MX8, MX9 form respectively outputs Ude, Pou of the circuit; their select inputs S are both connected to Ice, and the data inputs are connected to Pin and Ide, yet in an inverted way. For instance Pin is connected to input 0 of MX8 and input 1 of MX9, and vice versa for Ide. Thus, for a given value of the select bit the two multiplexers connect different inputs to their outputs. The operation of circuit DEC can be deduced from Fig. 13: depending on the value of control input Ice, where the suitable bit of BRD is present, the circuit performs either a downward shift or a propagation along the same row. More particularly, if Ice = 0 the signal present on input Ide propagates to output Pou and the logic 0 present on input Pin propagates to output Ude; if Ice = 1, input Ide propagates to output Ude and input Pin propagates to output Pou, the latter being not used. It is then immediate to notice that matrix MDE performs a downward shift whenever a bit b(i) is 0, so that the bits of Tc are actually compacted at its output. With reference to Fig.14, recombining device RB comprises, still considering the case of 4 bits for each tag portion: a triangular matrix MDR with 4 rows and 4 columns of switching circuits RIC which carry out, on bits ct(i) of NTc, a dual operation with respect to that performed by elements DEC of MDE on the bits of TAG; a bank of three elements TA1, TA2, TA3 implementing the TALLY operation on the three possible subpatterns of bit in BRD, a first subpattern containing the least significant bit and the other two being obtained by adding at the left the bit or respectively the two bits of immediately higher weight. The TALLY function, as known, counts the number of bits at 1 present in a bit pattern, and expresses said number in a completely decoded way. The structure of a circuit carrying out such a function is described e.g. in the already-cited book by Mead and Conway, pages 78 ff. The outputs of said blocks TA, duly combined one by one with the bits of BRD in AND gates, are sent as control signals to elements RIC of MDR. Only the AND gate associated with TA1 is shown and is denoted ABT. The outputs of TA are indicated by tt(11)...tt(33): the first number indicates the size of the subpattern on which the TALLY function has been applied and is coincident with the row index of matrix MDR, while the second number indicates the number of bits at 1 found out in the subpattern analyzed and is coincident with the column index of matrix MDR. The output indicating that all bits are 0 (which ought to be supplied to elements RIC of the first column of MDR) is not used, since said information is unnecessary to correctly locate bit ct(0): this one can simply move upwards along the first matrix column and then propagate along the proper row in block RIC controlled by the first bit at 1 in BRD; a bank of 4 multiplexers MXU3...MXU0 with two inputs and one output; each multiplexer MXU(i) has an input connected to the output of a row of MDR, receives at the other input bit t(i) and, on the basis of the value of the logic AND between bit b(i) and the corresponding output de(i) of DE2 (Fig.11), emits as new bit of TAG either the signal present at the output of the relevant row of matrix MDR or old bit t(i). Each circuit RIC has two data inputs Idr, Sin, two outputs Udr, Sou and a control input Icr. Data input Idr is connected with output Udr of the preceding block (with reference to the direction input-output of RB) in the same row of MDE or to ground, in case of the first column. Data input Sin is connected to output Sou of the circuit placed in the row below in the same column, or it receives one of the bits ct of NTc. The control signals of individual elements RIC are obtained, as said, as logic AND between bits b(i) of BRD and the results of TALLY functions, except for the first column, whose circuits are directly controlled by bits b(i). Each element RIC consists (Fig. 15) of two multiplexers MX10, MX11 with two inputs and one output. The outputs of MX10, MX11 form outputs Udr, Sou of the element; the inputs of both multiplexers are connected to Idr and Sin, also in this case with a complementary connection: more particularly if the bit present at control input is 0 the connection between Sin and Sou and between Idr and Udr is set up, while if the control bit is 1 there is the connection between Idr and Sou and between Sin and Udr. By this arrangement the least significant bit ct(0) of NTc propagates towards MXU0 if b(0) is 1; otherwise, it is shifted upwards along the first column of the matrix up to the row corresponding to the first bit b at 1, and then it follows a horizontal trajectory in the matrix up to the input of output multiplexer MXU of that row. The second bit ct(1) propagates horizontally if b(1) and tt(11) are 1 (and hence if also b(0) was 1); otherwise it is shifted upwards up to the row corresponding to the second bit b at 1 and then it propagates horizontally, and so on for the following bits of NTc, until there are no longer bits at 1 in BRD. It is evident under these conditions the function of the output signals of the blocks of TA, which signals indicate each how many preceding bits in BRD are 1. In multiplexers MXU bits ct(i) supplied by MDR replace the bits of TAG corresponding to bits b(i) at 1, with the only exception of the one corresponding to TUM. In fact, supposing that bit de(i) corresponding to BUM is 0, the control bit of the multiplexer in the corresponding row in RB is 0 and hence TUM is let through unchanged. The same holds for all the rows for which bit b is at 0. It is clear that what described has been given only by way of non-limiting example and that, by modifications which are within the normal ability of the skilled in art, the invention can be applied to networks of different type.

Claims: A packet-switching element with two inputs and two outputs for self-routing multistage interconnection networks allowing broadcasting of the packets forwarded through the network, comprising: an input unit (IMA, IMB) composed of as many sections as the inputs of the element (ECP) are, each section comprising a FIFO memory (FIFA, FIFB) for packet buffering prior to packet forwarding towards the output; a switch (SW) associated with a control unit (SCU), which, for each packet to be forwarded, sets up the connection requested for that packet between one input (IDA, IDB) and one or more outputs (UD0, UD1) of the element (ECP), on the ground of information contained in a routing tag associated with each packet and comprising a first and a second portion (TAG, BRD) relative to normal routing and to broadcasting in the different network stages, respectively, and solves possible routing conflicts between packets simultaneously arriving at different inputs; an output unit (RU0, RU1), composed of as many sections as the element outputs are and performing the whole of the functions necessary for the correct packet forwarding towards a destination; characterized in that it further comprises: means (SCUBRD, MANET) belonging to the control unit (SCU) of the switch (SW) which means, upon detection of a broadcasting request, are arranged for: evaluating the possibility of accepting that request by comparing a first parameter (Tc), related with the number of destinations to which a packet is to be broadcast, and a second parameter, related with the position of the stage to which the element belongs among all stages where broadcasting is requested and indicating the maximum number of network outputs which may potentially be seized for broadcasting of a particular message; accepting the broadcasting request if the first parameter is greater than or equal to the second one; generating, if the request is accepted, a signal (DEFOISA, DEFOISB) for communicating this condition to the memory (FIFA, FIFB) storing the packet to be broadcast, and generating also at least one modified routing tag to be sent over one of the element outputs concerned by the broadcasting, the broadcasting request being processed, in an element within a stage, independently of the processing of other broadcasting requests in other elements in the same stage; means (CTD, CT), belonging to the memory (FIFA, FIFB) of each input unit section, for carrying out the actual broadcasting of a packet, in the presence of said signal (DEFOISA, DEFOISB) generated by the control unit (SCU) of the switch (SW), through a plurality of consecutive readings of the same packet; wherein: said control unit (SCU) of the switch (SW) comprises a control logic network (SCUBRD) and a tag processing device (MANET), associated with each input of the switch (SW) and arranged to effect a subtraction between said two parameters, to generate a signal (MINUS) indicating whether or not said subtraction has given a negative result, and to build up said modified tag; said processing device (MANET) comprising: a first bit extractor (EB1), which receives the bits forming the two tag portions (TAG, BRD) and builds up said first parameter (Tc); a second bit extractor (EB2), which receives the bits of the second tag portion (BRD) and a first bit pattern (j) indicating the serial number of the network stage it belongs to and generates a second bit pattern representing the serial number (k) of such a stage in the stage sequence where broadcasting is requested; an arithmetic-logic unit (ALU) receiving said first parameter (Tc) and the second bit pattern (k), calculating the second parameter (2 k ), effecting the subtraction between the two parameters and emitting on a first output the result of the subtraction itself (NTc) and on a second output said signal (MINUS) indicating the possible negative result of the subtraction; a bit recombining device (RB) receiving the bits of both tag portions (TAG, BRD) and the result (NTc) of the subtraction, building said modified tag by using said result (NTc) and emitting the modified tag; wherein said control logic network (SCUBRD): sets up the connections between inputs and outputs of the switch (SW) by utilizing the routing tag, the signal (MINUS) indicating the possible negative result of the subtraction and the most significant bit (TUM) among those used for forming the first parameter; supplies the switch (SW), in a time phase intended for tag transmission, with either the original or the modified tag; stores the condition of broadcast transmission of a packet, in case the corresponding request is accepted; and controls packet forwarding to the destination(s) by the output section(s) (RU0, RU1) concerned; and wherein the means that in the memories (FIFA, FIFB) of the input unit (IMA, IMB) allow a plurality of consecutive readings of a same packet for broadcast transmission comprise a pair of reading address counters (CTD, CT), incremented by the same advance signal (INCRD), the first counter (CTD) loading the count of the second counter (CT) in correspondence with the arrival of signal (DEFOIS) emitted by the switch control unit (SCU) to indicate that the reading to be carried out is the first of the broadcast transmission, while the second counter remains disabled as long as such a signal is present, the outputs of the two counters being connected to the two inputs of a multiplexer (MX3) letting through, as reading address, the count of the first counter (CTD) or of the second (CT) in the presence or absence, respectively, of said signal (DEFOIS) emitted by the control unit (SCU) of the switch (SW). An element according to claim 1, characterized in that, said tag processing device (MANET) further comprises: a priority encoder (PE) receiving the bits forming the second tag portion (BRD) and supplying a third bit pattern coding the position of the most significant bit (BUM) among those which, in said second tag portion (BRD), have a first logic value indicating the broadcasting request; a decoder (DE2), connected to the output of the priority encoder (PE), generating a fourth bit pattern (de) where a single bit has a predetermined logic value and indicates, by its position, the position of said most significant bit (BUM) among those having said first logic value in the second tag portion (BRD); a first multiplexer (MX7), controlled by said third bit pattern and selecting, out of the bits of the first tag portion (TAG), said most significant bit (TUM) among those intended to build up said first parameter (Tc); a register (FFT), arranged to store and keep available for said control logic network (SCUBRD) the bit selected by said first multiplexer (MX7); An element according to claims 1 or 2, characterized in that said control unit (SCU) of the switch (SW) further comprises: a first and a second register (RTMOD, RT), they too associated with each input of the switch (SW) and storing the modified and the original tag, respectively; and a second multiplexer (MX6) for associating either the modified tag or the original one with a packet switched. An element according to any of claims 1 to 3, characterized in that said first parameter (Tc) is a binary number obtained by extracting from said first tag portion (TAG) the bits relevant to the stages wherein broadcasting is requested, by compacting such bits towards the least significant positions, and by forcing the most significant bit (TUM) to 1, and said second parameter is given by 2 k , k being the serial number of the stage the element belongs to in the sequence of stages wherein broadcasting is requested. An element according to claim 4, characterized in that said modified tag is obtained by replacing, in the first tag portion, the bits used for building up said first parameter, with the exception of the most significant bit, by the bits of the result of the subtraction between the first and the second parameter. An element according to any of claims 1 to 5, characterized in that said first and second bit extractors (EB1, EB2) comprise a triangular matrix (MDE) of first switching circuits (DEC), the matrix rows of the first bit extractor (EB1) being associated each with one bit (t(i)) of the first tag portion (TAG) and the matrix rows of the second bit extractor (EB2) being associated with one bit of said first bit pattern (j), the matrix columns of both extractors (EB1, EB2) being associated each with one bit (b(i)) of the second tag portion (BRD), each circuit (DEC) having a first input (Ide) and a first output (Ude) which become connected to forward towards the bit extractor output the bit of the first tag portion (TAG) or respectively of said first pattern, associated with the row the circuit belongs to, when the bit of the second tag portion (BRD) associated with the column the circuit belongs to has said first logic value, and a second input (Pin) and a second output (Pou) between which the complementary logic value to the first is made to propagate in the opposite case. An element according to claim 6, characterized in that each of said first switching circuits (DEC) comprises: a third multiplexer (MX8) which has a first and a second input connected to the first and the second circuit input (Ide, Pin), respectively, and an output connected to the first circuit output (Ude), receives as control signal a bit of said second tag portion (BRD) and establishes the connection between its first input and the output when said control bit has the first logic value; a fourth multiplexer (MX9) which has a first and a second input connected to the second and the first circuit input (Pin, Ide), respectively, and an output connected to the second circuit output (Pou), receives as control signal the same bit of said second tag portion (BRD) as the third multiplexer (MX8) and establishes the connection between its first input and the output when said control bit has a complementary logic value to the first logic value. An element according to claim 6 or 7, characterized in that said first bit extractor (EB1) further comprises a group of logic gates (POA) identifying the position of said most significant bit (TUM) among those designed to build up said first parameter (Tc) and forcing the logic value thereof to 1, the outputs of said gate group being connected to the first circuit of a respective row of the matrix (MDE) of the first switching circuits (DEC). An element according to any of claims 1 to 8, characterized in that said bit recombining device (RB) comprises: a bank of counting circuits (TA1...TA3), whose number is equal to the number of bits of said second tag portion (BRD) diminished by one unit, each circuit (TA1...TA3) counting the bits which have the first logic value in a respective group of bits comprising at least one bit of the second tag portion (BRD), and emitting an output signal indicating in a decoded way the counting result, a first group consisting of the least significant bit of said second tag portion (BRD), while each subsequent group is obtained by progressively adding a more significant bit, up to a last group consisting of all the bits of the second tag portion, with the exception of the most signifiant one; a triangular matrix (MDR) of second switching circuits (RIC), whose rows are associated each with a bit of the first and second tag portions (TAG, BRD) and the columns are associated with a bit of the result (NTc) of the subtraction between the first and second parameter, each second switching circuit (RIC) having a first input (Sin) and a first output (Sou) which become connected to cause said subtraction result bit to propagate along the column the circuit belongs to, when a control signal, consisting in the bit of the second tag portion (BRD) associated with the row the circuit is part of (for circuits in the first matrix column) or in the logic product between such a bit and an output signal of said counting circuits (TA1...TA3) (for circuits in the other matrix columns) has a complementary logic value to said first logic value, each second switching circuit (RIC) further having a second input (Idr) and a second output (Udr) which, when said control signal has said first logic value, are connected respectively to the first output (Sou) and to the first input (Sin) to let the logic value corresponding to ground propagate along the matrix column and said subtraction result bit to propagate along the row of the matrix (MDR); a bank of multiplexers (MXU0...MXU3) which are associated each with a row of the matrix (MDR) of the second switching circuits (RIC), have two inputs which receive respectively the signal present at the output of the associated row of the matrix (MDR) of the second switching circuits (RIC) and a bit of the first tag portion (TAG), and receive as control signal the logic product between corresponding bits of the second tag portion and of said fourth pattern, each multiplexer transferring to the output the signal (ct(i)) supplied by the respective matrix row if the bit of the second tag portion indicates a broadcasting request and is not the most significant one, and transferring to the output a bit(t(i)) of the first tag portion under all the other conditions. An element according to claim 9, characterized in that each of said second switching circuits (RIC) comprises: a fifth multiplexer (MX10) which has a first and a second input connected to the first and second circuit input (Sin, Idr), respectively, and an output connected to the second circuit output (Udr), and establishes the connection between its first input and the output, when said control signal has the first logic value; a sixth multiplexer (MX11) which has a first and a second input connected to the second and first circuit input (Idr, Sin) respectively, and an output connected to the first output (Sou) of the circuit, and establishes the connection between its second input and the output, when said control signal has a logic value complementary to the first one. An element according to any of claims 1 to 10, characterized in that said control unit (SCU) of the switch (SW) further comprises a memory device (FF14) which, in case of a routing conflict, stores the identity of the input of the element (ECP) on which a packet delayed because of the conflict was present, in order for prevent such a packet from being delayed also at a subsequent conflict concerning it. An element according to claim 3 or to any of claims 4 to 11 if referred to claim 3, characterized in that it further comprises, in each section (RU0, RU1) of the output unit, means (CRC) which, for each packet to be forwarded through the network, in the first network stage, generate a check word for checking the transmission regularity and transmit it after packet word transmission; in the subsequent stages check the correctness of said check word, and in the last stage check the correctness of said check word and eliminate it before the packet transmission, and means (FF6) which, for the stages in which check word correctness is checked, are apt to delay by a time period equal to one word transmission period a signal indicating the end of packet forwarding on the element output. An element according to claim 12, characterized in that said check word is a cyclic redundancy code computed in parallel.

Inventors: BALBONI, GIAN PAOLO, GIANDONATO, GIUSEPPE, MELEN, RICCARDO, VERCELLONE, VINICIO
Applicants: CSELT CENTRO STUDI E LABORATORI TELECOMUNICAZIONI S.P.A.
Application year: 1987
Main classification: H04L12
IPC codes: H04L12