WO1982003740A1 - Data processing system employing broadcast packet switching - Google Patents

Data processing system employing broadcast packet switching Download PDF

Info

Publication number
WO1982003740A1
WO1982003740A1 PCT/US1982/000452 US8200452W WO8203740A1 WO 1982003740 A1 WO1982003740 A1 WO 1982003740A1 US 8200452 W US8200452 W US 8200452W WO 8203740 A1 WO8203740 A1 WO 8203740A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
transmission line
subsystem
data
optical
Prior art date
Application number
PCT/US1982/000452
Other languages
French (fr)
Inventor
Corp Ncr
Robert Ogden Gunderson
James Edward Kocol
David Burton Schuck
Original Assignee
Ncr Co
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 Ncr Co filed Critical Ncr Co
Priority to DE1982901652 priority Critical patent/DE76322T1/en
Priority to DE8282901652T priority patent/DE3276843D1/en
Publication of WO1982003740A1 publication Critical patent/WO1982003740A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/44Star or tree networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/27Arrangements for networking
    • H04B10/272Star-type networks or tree-type networks
    • H04B10/2725Star-type networks without a headend
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/407Bus networks with decentralised control
    • H04L12/413Bus networks with decentralised control with random access, e.g. carrier-sense multiple-access with collision detection (CSMA-CD)

Definitions

  • This invention relates to data processing 5 systems of the kind including a plurality of subsystems / a plurality of pairs of first and second transmission lines and a star coupler linking said pairs of trans ⁇ mission lines whereby signals received from said first transmission line in any of said pairs are passed to 10 said second transmission line in all of said pairs of transmission lines.
  • a star coupler is meant a coupling device which can be regarded as a common point, that is a coupling device which receives signals from a plurality 15 of stations, mixes or logically OR's the signals and then passes the resulting signal back to all the sta ⁇ tions.
  • each host computer being interconnected by a pair of electrical lines to respec ⁇ tive source and detector devices which are connected to a corresponding pair of optical fiber cables.
  • the pairs ⁇ • of optical fiber cables are coupled to a transmissive
  • star coupler having a plurality of ports.
  • the maximum number of computers which can be interconnected into the system corresponds to the number of ports in the star coupler. If it is desired to further increase the number of computers in the system, then the star coupler is
  • the known system has the disadvantage of limited expandability in view of the limited number of ports provided by a given star coupler.
  • the present invention is charac ⁇ terized in that each of said pairs of transmission lines has a plurality of said subsystems connected thereto, said first transmission line being adapted to carry signals transmitted by any one of its associated plural ⁇ ity of subsystems and said second transmission line being adapted to carry signals to be received by all of its associated plurality of subsystems.
  • Fig. 1 is a simplified block diagram of a data processing system, including a star coupler and a plurality of stations, each station linked by a pair of transmission lines to the star coupler.
  • Fig. 2 is a simplified block diagram of the data processing system of Fig. 1, illustrating a plural- ity of subsystems at each station.
  • Fig. 3 is a simplified block diagram showing in greater detail a plurality of subsystems at one station in the data processing system of Figs. 1 and 2, the subsystems including processor modules, memory modules and an I/O module each coupled to the pair of transmission lines from the star coupler.
  • Fig. 4 is a circuit diagram showing the bus driver circuit and bus receiver circuit connecting each system bus interface to the system bus.
  • Fig. 5 is a block diagram of a passive optical star coupler that could be employed in the data proces- sing system of Figs. 1 and 2.
  • Fig. 6 is a simplified block diagram of an active optical star coupler that could be employed in the data processing system of Figs. 1 and 2.
  • Fig. 7 is a simplified block diagram of an electrical star coupler that could be employed in the data processing system of Figs. 1 and 2.
  • Fig. 8 is a simplified block diagram of a magnetic star coupler that could be employed in the data processing system of Figs. 1 and 2.
  • Fig. 9 is a simplified block diagram illus ⁇ trating one of the processor modules shown in Fig. 3.
  • Fig. 10 is a simplified block diagram illus ⁇ trating one of the memory modules shown in Fig. 3.
  • Fig. 11 is a simplified block diagram illus- trating the I/O module shown in Fig. 3.
  • Figs. 12A and 12B illustrate the format of messages transmitted by subsystems in the data processing system of Figs. 1 and 2.
  • Fig. 13 is a simplified block diagram of the system bus interface shown connecting each subsystem or module to the system bus in Fig. 3.
  • Fig. 14 is a block diagram illustrating in greater detail the circuitry within the system bus interface shown in Fig. 13.
  • Fig. 15 is a detailed block diagram of the message control circuit shown in the system bus inter ⁇ face of Fig. 14.
  • OMPI Fig. 16 shows waveforms illustrating the nature of the clock signals X0 and XI.
  • Figs. 17A, 17B and 17C are flow diagrams illustrating the general operation of the system bus interface of Fig. 14.
  • Figs. 18, 19 and 20 illustrate three exemplary cases in which messages are transmitted in the data processing system of Figs. 1 and 2.
  • Fig. 21 illustrates the content of the local memory in each of the subsystems.
  • Figs. 22A and 22B illustrate the format of mailbox entries in the local memory shown in Fig. 21.
  • Fig. 23 is a block diagram illustrating in greater detail the DMA and the control and status regis- ters shown in Fig. 14.
  • Fig. 24 illustrates the content of the command register shown in Fig. 23.
  • Fig. 25 illustrates the content of the status register shown in Fig. 23.
  • Fig. 26 is a detailed block diagram of the swamp circuit and the idle detection circuit shown in the system bus interface of Fig. 14.
  • Fig. 27 is a simplified block diagram illus ⁇ trating an alternate embodiment of a data processing system.
  • Fig. 28 is a simplified block diagram showing in greater detail a plurality of subsystems within one of the stations in the data processing system of Fig. 27.
  • Fig. 29 illustrates a wiring pattern for providing electrical turn around paths in the station of Fig. 28.
  • Fig. 30 is a simplified block diagram of the system bus interface shown connecting each subsystem or module to the dual-channel system bus in Fig. 28.
  • Fig. 31 is a block diagram illustrating in greater detail the circuitry within the system bus interface shown in Fig. 30.
  • Fig. 32 is a detailed block diagram of the message control circuit shown in the system bus inter ⁇ face of Fig. 31.
  • Fig. 33 is a block diagram illustrating the circuitry within the channel selection circuit shown in the system bus interface in Fig. 31.
  • Fig. 34 is a simplified block diagram of a retry circuit for use in the message control circuit of the system bus interface in Fig. 31.
  • Fig. 35 is a flow diagram illustrating the operation of the retry circuit shown in Fig. 33.
  • the data processing system 10 is comprised of a plural ⁇ ity of stations 12, each of which is linked by an asso ⁇ ciated cable 14 to a central star coupler 16.
  • Each cable 14 comprises a first transmission line 18 and a second transmission line 20.
  • the star coupler 16 receives a signal generated or transmitted at any one of the stations from the first transmission line 18 associated with that one of the stations. The star coupler then directs that signal to all of the second transmission lines 20 for transmission to all of the stations, including the station that generated the signal.
  • each of the stations 12 includes data proces ⁇ sing equipment located within a single cabinet. There ⁇ fore, if the data processing system 10 were viewed in its actual physical form, one would see a plurality of cabinets, each for housing data processing equipment, and a centrally located cabinet for housing the star
  • the data processing system 10 in its preferred form is a local network, i.e., the stations 12 are not separated by long distances. Accord ⁇ ingly, each of the cables 14 is no longer than, say, 300 feet (approximately 91 meters), with all of the stations probably located within a single building and considered, for all practical purposes, a single "computer system”.
  • the star coupler 16 in its preferred form, is an optical star coupler. Accordingly, optical signals are generated at each of the stations 12 and are carried along the first transmission lines 18 to the star coupler 16. The star coupler 16, in turn, directs those optical signals back to all of the stations 12 along the second transmission lines 20.
  • the first and second transmission lines 18 and 20.could each comprise a single optical fiber, suitably wrapped and packaged together to form the cable 14.
  • each of the stations 12 include a plurality of subsystems 24, with the subsystems 24 at each station enclosed by broken lines in the drawings to indicate their physical enclosure within a cabinet.
  • Each first transmission line 18 has an associated internal trans- mission line 18A within the cabinet or station 12
  • each second transmission line 20 has an associated internal transmission line 20A within the cabinet or station 12.
  • Each of the subsystems 24 is connected to the internal transmission lines 18A and 20A so that each subsystem transmits messages along the internal trans ⁇ mission line 18A and receives messages along- the internal transmission line 20A.
  • the transmission lines 18A and 20A are each formed by a coaxial electrical line or cable and carry electrical signals, which are converted into or from optical signals at the transmission lines 18 and 20 by an optical inter ⁇ face (not shown in Fig. 2).
  • each of the subsystems 24, as will be more fully described later, is coupled or tapped into the internal electrical trans ⁇ mission lines 18A and 20A without disrupting the connec- tion of any other subsystem to the transmission lines
  • the data processing system 10 can thus be seen as providing the advantages of a readily expandable electrical system, since subsystems within each station 12 may be added along the internal transmission lines 18A and 20A.
  • the subsys ⁇ tems 24 operate as if all the pairs of first and second internal transmission lines 18A and 20A, all the first and second transmission lines 18 and 20, and the star coupler 16 were, collectively, a single bus.
  • This ostensible single bus for purposes of describing the present invention, is hereinafter referred to as the "System Bus" .
  • Fig. 3 there is shown in greater detail the subsystems within the cabinet of one of the stations 12. As can be seen, the subsystems are shown as proces ⁇ sor modules 24A, memory modules 24B, and an I/O module 24G. Each of the processor modules 24A, memory modules 24B and I/O module 24C is connected to the internal transmission lines 18A and 20A through a system bus interface 28. Each system bus interface 28, as will be described in greater detail later in conjunction with Figs.
  • 13 through 17C includes circuitry for encoding messages transmitted on the System Bus, for adding preambles, postambles, flags and CRC bits to messages transmitted on the System Bus, for decoding messages received from the System Bus, for checking received messages for errors, for monitoring the System Bus for an idle condition before its associated subsystem 24 can transmit, for comparing any message transmitted by its associated subsystem with the messages received to determine if a message from another module is interfering with its transmitted message, and for performing DMA (direct memory access) functions so that data can be read from or written into the local memory of the asso ⁇ ciated subsystem without repeated processor commands.
  • DMA direct memory access
  • the system bus interface 28 associated with each processor module 24A, memory module 24B and I/O module 24C is connected to each of the internal trans ⁇ mission lines 18A and 20A by circuitry and T-couplers that will be described in detail later in connection with Fig. 4.
  • the internal transmission lines 18A and 20A are in turn coupled or connected to the external optical transmission lines 18 and 20 by an optical interface circuit 32 which, as seen in Fig. 3, includes an optical source 34 and an optical detector 36.
  • the internal trans ⁇ mission line 18A is connected to each of the processor, memory and I/O modules for carrying messages in one direction, which is illustrated by an arrow 40 that is pointing toward the right as viewed in Fig. 3.
  • the internal transmission line 20A is connected to each of the processor, memory and I/O modules for carrying signals in an opposite direction, which is illustrated by an arrow 42 that is pointing toward the left as viewed in Fig. 3.
  • the messages car- ried on internal transmission line 18A are in the form of electrical signals and are converted by the optical source 34 to optical signals and are passed to the
  • OMPI optical transmission line 18 which in turn carries the optical signals to the optical star coupler 16.
  • the optical star coupler 16 directs the optical signals received from any one of the optical trans- mission lines 18 to every optical transmission line 20, including the one returning to the cabinet or station 12 that generated the message.
  • the optical signals on the transmission line 20 are received at the optical detector 36 at each cabinet or station 12 and are converted into electrical signals that are passed to the internal transmission line 20A.
  • All of the processor, memory and I/O modules receive the message or signals that are passed along the internal transmis ⁇ sion line 20A, including any one of the modules that may at that very moment be transmitting the same message.
  • the internal transmission lines 18A and 20A could be connected directly to, or even formed integrally with, the external lines 18 and 20, respectively. That is, for example, the internal transmission line 18A could be an optical line and an integral end section of the external optical transmission line 18, and the internal transmission line 20A could be an optical line and an integral end section of the external optical transmis- sion line 20. In such a case, there would be no optical interface 32 and each system bus interface 28 would be connected to the internal transmission lines 18A and 20A by a suitable optical T-coupler.
  • the use of the electrical lines 18A and 20A in the system 10 as shown in Figs. 1 through 3 is preferred because they may be implemented with low- cost electrical coaxial cables and T-connectors.
  • the electrical conductors are adequately shielded within the cabinet or station 12 from radio frequency interference (RFI) and electromagnetic interference (EMI). Away from each of the stations 12, the optical transmission lines 18 and 20 are preferred since they will not be subjected to RFI and EMI by virtue of their being optical fibers.
  • RFID radio frequency interference
  • EMI electromagnetic interference
  • Fig. 4 there is illustrated the circuitry within each system bus interface 28 that physically and electrically connects the system bus interface to the internal transmission lines 18A and 20A.
  • the bus driver circuit 46 includes a Schottky TTL driver 48 that has its output connected to the transmission line 18A by way of a transistor 50.
  • the emitter of the transistor 50 is physically connected to the line 18 by a suitable conventional coaxial T-coupler 52.
  • the collector of transistor 50 is connected to a voltage source +V, and a resistor 54 is connected between the voltage source +V and the base of transistor 50.
  • signals traveling in the direction of arrow 42 from the optical detector 36 (Fig. 3) along the transmission line 20A are passed, by way of a coaxial T-coupler 56, to a bus receiver circuit that includes a TTL line receiver 58.
  • the message received by the receiver 58, after passing through the system bus interface 28, is provided to its associated module 24A, 24B or 24C.
  • OMPI 56 Accordingly, the number of processor modules 24A, memory modules 24B, or I/O modules 24C that may be added is theoretically unlimited (providing there is unlimited bus capacity) , as long as sufficient volume is provided within each cabinet for positioning the modules.
  • the data pro ⁇ cessing system 10 can be expanded as processing or memory requirements increase, it could well be that the system 10 comprises, for a user initially needing only small computer capability, a single one of the cabinets or stations 12. In such a case, as processing and memory needs increase, the user would first add addition ⁇ al subsystems 24 at a single station. Then, as needs further increase, the user would employ the star coupler 16 in order to link plural stations or cabinets. In the case where only one station or cabinet is needed initially, the return path of the System Bus to that station formed by external transmission line 18, star coupler 16, and external transmission line 20 could be replaced by a single connecting transmission line 62, seen as a broken line in Fig. 3.
  • the connecting trans ⁇ mission line 62 would comprise a coaxial electrical line and would provide an electrical path between the internal transmission line 18A and the internal transmission line 20A.
  • the connecting line 62 is in place, and if any one of the modules 24A, 24B or 24C within the station 12 of Fig. 3 transmits a message, the message is carried down line 18A, across connecting line 62, and then back along line 20A to each of the modules.
  • the optical interface 32 is, of course, not needed when the connecting line 62 is used.
  • the star coupler 16 is a passive star coupler, meaning that it does not amplify or regenerate any of the optical signals it receives. As seen in Fig. 5, the star coupler 16 includes a mixing element or rod 64
  • OMPI comprising a cylindrical glass core, with the fibers that each make up one of the external transmission lines 18 (Figs. 1, 2 and 3) having ends terminating at one end face 66 of the mixing rod.
  • the optical fibers that each make up one of the external transmission lines 20 (Figs. 1, 2 and 3) have ends terminating at an opposite end face 68 of the mixing rod 64.
  • the star coupler 16 is constructed so that the fibers of the transmission lines 18 and 20 are optically matched with the mixing rod 64 at the end faces 66 and 68.
  • a commercially available passive star coupler that performs the functions of the star coupler 16 as shown in Fig. 5 could, for example, be the sixteen-port star coupler, product No. SPX3720, sold by Spectronics Incorporated, Richardson, Texas.
  • an alternate star coupler 16A shown in Fig. 6 would be more suitable.
  • the active star coupler 16A amplifies the optical signals received from any one of the stations 12 by way of one of the transmission lines 18, and then passes the amplified optical signals back to all of the stations 12 by way of the transmission lines 20.
  • each pair of the trans ⁇ mission lines 18 and 20 that is associated with each station 12 is connected to the star coupler 16A by an optical coupler 74.
  • the signals received from any one of the transmission lines 18 is passed through the coupler 74 to an optical fiber 76.
  • the signals on each fiber 76 are in turn passed to a tapered waveguide 80, which directs the optical signals to an optical detector
  • the optical detector 82 converts the optical signals to electrical signals, which are then amplified by an electrical amplifier 84.
  • the amplified electrical signals are presented to an optical source 86, which includes suitable source driver circuitry and an optical interface, in order to provide amplified optical signals to a plurality of optical fibers 88.
  • Each of the fibers 88 is coupled to one of the transmission lines 20 at the couplers 74, in order to return the amplified optical signals to each of the stations 12.
  • a power supply 90 provides sufficient operating voltages to the optical detector 82, amplifier 84, and optical source 86.
  • star coupler 16 in the data processing 10 is an optical star coupler
  • the transmission lines 18 and 20 connecting each of the stations 12 to the star coupler are optical fibers or lines
  • Fig. 7 there is shown an electrical star coupler 16B that includes circuitry for receiving and passing electrical signals at the star coupler and that could alternatively be used in the data processing system 10.
  • pairs of external transmission lines 18* and 20' link the stations 12 and the star coupler 16B, with each of the lines 18* and 20' comprising a twisted pair of electrical conductors rather than an optical fiber as used in the previously described preferred embodiments.
  • the conductors of each transmission line 18' carry electrical signals from one of the stations 12 and are connected to the input ter ⁇ minals of a single output line receiver 90.
  • the conduc ⁇ tors of each transmission line 20' carry electrical
  • the output of each receiver 90 and the input of each driver 92 are connec- ted to a common electrical line 94. Accordingly, when a signal is received by one of the receivers 90 from any one of the transmission lines 18', the signal is pro ⁇ vided, by way of the common line 94, to each of the drivers 92.
  • the drivers 92 supply the signal from the common line 94 to each of the transmission lines 20', which then return the signal to all of the stations 12.
  • the receivers 90 may each be implemented by a Line Receiver Circuit No. 10115 and the drivers 92 may each be implemented by an OR-NOR Circuit No.
  • the star coupler 16B may also include a conventional power supply (not shown), for supplying suitable oper ⁇ ating voltages to each of the receivers 90 and drivers 92.
  • a magnetic star coupler 16C that could also be alternatively used in the data processing system 10.
  • the external transmission lines 18' and 20' can again each comprise a pair of twisted electrical conductors, with each of the trans- mission lines 18' and 20' formed into coils 96 and 98, respectively, along a core or rod 100.
  • the coils 96 are wound oppositely relative to the coils 98.
  • the rod 100 is made of a suitable ferromagnetic material, such as ferrite, so that when an electrical signal is received from any one of the transmission lines 18', a change in magnetic flux is induced in the rod 100 and a corres ⁇ ponding signal is provided to each of the transmission lines 20 1 .
  • the star coupler 16C could be located within a suitably shielded cabinet but, unlike the electrical star coupler 16B in Fig. 7, it is passive and requires no power supply. D. MODULES 24A, 24B & 24C
  • the ability to add the memory modules 24A and the processor modules 24B along the internal transmission lines 18A and 20A within each station 12 permits the system 10 to have either its memory capacity or processing capacity increased at will.
  • the processor modules 24A, memory modules 24B and I/O modules 24C are self-contained, with much of the circuitry of each fabricated on one or a few VLSI (very large-scale integration) chips.
  • Each of the modules has its own processor and a local memory storing data to be processed by its processor.
  • the data processing system 10 of Fig. 1 has no single processor that both performs normal processing tasks and also controls the operation of the memories or peripheral devices.
  • each memory module 24B has sufficient processing capability to manage the memory operations in its own module, and manage those memory operations independently of any one of the processing modules 24A.
  • each of the processor modules 24A contains a sufficient amount of memory that is not shared with any other module, so that the processor module will not need to frequently access any of the memory modules.
  • each of the I/O modules 24C requires suitable data entry and data output points, which are provided by each of the I/O modules 24C.
  • Each I/O module 24C is connected to a peripheral device and includes the necessary processing and memory capability to manage the transfer of data between the peripheral device and one of the processor modules 24A or memory modules 24B.
  • Figs. 9, 10 and 11 show in greater detail the structure of each processor module 24A, memory module 24B, and I/O module 24C, respectively.
  • the processor module 24A includes a work processor 106 and a local processor memory 108.
  • the work processor 106 and the local memory 108 are connected by an internal processor-memory (P-M) bus 110 so that, as conventional, the work processor may read software instructions from addressable memory locations in the local memory 108 and read data from or write data into the addressable memory locations in the local memory 108.
  • P-M processor-memory
  • the term "work processor” is used to refer to the processor 106 because the processor 106 performs the actual execution of software programs and steps to complete jobs or tasks provided to the data processing system 10.
  • the work processor 106 does perform some memory management operations relating to its associated local memory 108, it does not control the memory operations performed within any of the memory modules 24B, other than merely to request or provide data to the memory modules 24B.
  • the local memory 108 may be a suitable high access-speed memory, such as commonly found in processor cache memories, so that software and data in the local memory may be quickly provided when needed for use by the work processor 106.
  • the local memory 108 is also sufficiently large, in fact, larger than tra ⁇ ditional cache memories, so that data normally needed by the work processor to complete any given job or task resides largely in the local memory 108.
  • the work processor 106 Only when the processor module 24A needs a large block of data, must the work processor 106 send a request to one of the memory modules 24B or to one of the I/O modules 24C for data. As a result, the System Bus which interconnects all of the processor modules 24A and memory modules 24B is not crowded with excessive numbers of data requests. Rather, each work processor will frequently be able to find the data it needs in order to complete a task within its own local memory 108. When the work processor 106 does need a block of data that is only stored in one of the memory modules 24B or must come from a peripheral device through one of the I/O modules 24C, it broadcasts the request. The request is placed on the System Bus in the form of a message that includes the address or identification of the module that has the needed data (as well as the module that is requesting the data), so that the addressed module can receive and act on the request.
  • the memory module 24B is shown as including a memory processor 112 and a local memory 114, with the local memory 114 including a high speed memory 116 and a large-capacity bulk memory 118.
  • the memory processor 112 is connected to the high speed memory 116 and to the bulk memory 118 by an internal processor- memory (P-M) bus 120 so that, in response to requests from any one of the processor modules 24A, the memory processor 112 can access data stored in either the high speed memory 116 or the bulk memory 118.
  • P-M processor- memory
  • the high-speed memory and bulk memory are arranged in a conventional, hierarchial configuration, with the high speed memory 116 being a fast access RAM and the bulk memory 118 being, for example, a magnetic disk having a slower- access speed but a considerably larger storage capacity than the high-speed memory 116.
  • the memory processor 112 performs a number of memory management operations, one of which includes the transfer of data between the high speed memory 116 and the bulk memory 118.
  • the memory processor 112 is microprogrammed to perform many memory operations that in more traditional data processing systems would be performed by a central work processor. By performing these operations in the memory processor 112, the need for requests or commands between the processor modules 24A and the memory modules 24B is vastly reduced, thereby making the processor modules 24A and memory modules 24B less dependent on communications with each other and, in turn, making the data processing system 10 readily expandable with minimal effect on the software in accordance with which the work processors 106 are operating.
  • the types of memory operations performed by the memory processor 112 can include the following:
  • the I/O module 24C is shown in greater detail.
  • the illustrated I/O module 24C includes an I/O processor 122, a local I/O memory 124, and I/O interface circuitry 126.
  • the I/O processor 122 is connected to the local I/O memory 124 and the I/O inter ⁇ face circuitry 126 by an internal processor-memory (P-M) bus 128.
  • the I/O interface circuitry 126 is connected to a peripheral device, such as a keyboard, CRT display, printer, magnetic tape unit, or the like. Data may either be transferred into or out of the system 10 at the I/O module 24C.
  • a message having the destination address of the I/O module 24C connected to the peripheral device, is transmitted over the System Bus and is stored in the local I/O memory 124.
  • the I/O processor 122 will use the message stored in the local I/O memory 124 to generate specific commands for obtaining data, such commands passing through the I/O interface circuitry 126 to the peripheral device.
  • Data is returned by the peripheral device and is stored in the local I/O memory until the I/O processor 122 formulates a message that will include the data.
  • the message is transmitted or broadcasted on the System Bus and has the destination address of the module that requested the data.
  • the peripher ⁇ al device itself may initiate the transfer of data.
  • the peripheral device loads the local I/O memory 124 with the data and, in response, the I/O processor 122 will send a message, including the data, to a selected memory or processor module.
  • any one of the modules 24A, 24B or 24C could be connected to more than one System Bus by, for example, connecting a com ⁇ pletely independent second System Bus to the P-M bus of' the module by way of a separate second system bus inter ⁇ face (not shown).
  • any one of the modules could be connected, by way of an additional system bus interface (not shown) , to an additional single bus that could be used solely for transferring messages between that module and one other module. While not part of the present invention, such a connection might be useful when two subsystems or modules have a disproportionate need for communicating with each other and would other ⁇ wise require the use of the System Bus.
  • Figs. 12A and 12B there is shown the format of messages that are transmitted from any one of the modules or subsystems 24 along the System Bus to another one of the subsystems 24.
  • Each message is shown in the drawings as having a number of fields, with the number of bytes in each field shown in parentheses above the field.
  • the message can be one of two types:
  • a header-only message is a message sent from one subsystem to another when the message only contains control information, such as a data or service request, information relating to status, or a limited amount of data information.
  • a header and data message is a message sent from one subsystem to another which includes header control information and accompany ⁇ ing blocks of data to be stored in the local memory of the destination subsystem.
  • the header-only message has ten fields in the following order:
  • the preamble in the header-only message indi ⁇ cates to all receiving subsystems that a message is beginning.
  • the preamble only occurs after the transmit ⁇ ting subsystem detects an idle condition on the System Bus.
  • the preamble consists, for example, of two flag characters.
  • each flag character con ⁇ sists of one byte (eight bits) as follows:
  • the destination address field When the destination address field has an address representing the memory module group address, all memory modules within the data processing system 10 are destination subsystems, and all will receive and act on the transmitted message if the message is success ⁇ fully transmitted. Similarly, if the destination field contains the work processor module group address, all processor modules within the system 10 that perform user or application tasks will receive and act on the message. If the destination field contains the I/O processor module group address, all processors within the system that perform input/output functions will receive and act on the message. Finally, if the destination field contains the data base processor module group address, all processor modules within the data processing system 10 that perform data base functions will copy and act on the transmitted message.
  • a data base processor module is similar to the memory module, but may include the necessary programming to perform some processing func- tions on its stored data, such as merge, sort, or the like.
  • the destination address field is two bytes wide, it can include two unique subsystem addres- ses, two group addresses, or one subsystem address and one group address. In addition, there is no reason why the address cannot be the address associated with the very subsystem that is transmitting the message.
  • the source address field of the header-only message which follows the destination address field and which comprises one byte (8 bits) of information.
  • the source address informs the destination subsystem of the source of the message, that is, the subsystem generating the message over the System Bus.
  • An op code field comprising one byte, follows the source address and indicates to the destination subsys ⁇ tem the type of message that is being transmitted.
  • the op code indicates, at its highest order bit, whether the message is a header-only message, as seen in Fig. 12A, or a header and data message, as seen in Fig. 12B.
  • the remaining bits of the op code indicate to the destination subsystem the type of command which the message represents.
  • the op code field Following the op code field is an optional data field of variable length (from zero to 32K bytes) that contains, e.g., operands or other header data necessary for execution of the command represented by the op code in the header.
  • the data field includes a data starting (DSA) address in the local memory of the sending or source subsystem if the header-only message is a request for data.
  • DSA data starting address
  • OMPI two byte (sixteen bit) cyclical redundancy code (CRC) field.
  • CRC check bits in the CRC field permit each subsystem in the data processing system 10 to check the validity of all the bits preceding the CRC check bits.
  • the postamble field consists of 15 bytes, and includes eight flag characters, followed by a series of six bytes of binary zeroes, and then ending with a flag character.
  • the postamble field would thus appear as follows:
  • FFFFFFFF000000F where each "F” represents a flag character and each "0" represents a byte of zeroes.
  • the postamble is followed by a post-postamble (PP) , which consists of two flags.
  • PP post-postamble
  • the post-postamble simply continues the self-clocking features of the message long enough to fully clock or strobe the postamble into the system bus interface.
  • the postamble is a critical portion of each message transmitted over the System Bus because it permits any subsystem that detects an error to cause the message to be aborted.
  • the subsystem receiving the erroneous message aborts the message by superimposing binary l's (or some other non-zero signal) on the postamble, so that every subsystem in the data processing system senses a "garbled" postamble and will reject the message.
  • Fig. 12B there is illustrated the format of a header and data message.
  • Each header and data message is used to transfer blocks of data from one subsystem to another subsystem.
  • the header portion of the message in
  • OMPI Fig. 12B has the same format as the header-only message in Fig. 12A.
  • the high order bit of the op code field in the header portion indicates to the destination sub ⁇ system that the message includes the data portion, which immediately follows the postamble of the header portion. If the header and data message is returning data request ⁇ ed by another subsystem, the header data field of the header portion includes, in its first three bytes, the starting address in the local memory at which the data is to be stored.
  • the data portion of the header and data message includes a beginning single flag character, a data field which contains blocks of data information of variable length (zero to 64K bytes), followed by sixteen CRC bits, followed in turn by a single flag character, then followed by a postamble field of the same format as the postamble in the header portion, and ending with a post-postamble field (two flag characters). If any sub ⁇ system in the data processing system 10 detects an error in the data portion of the message, it garbles the postamble field associated with the data portion of the data and header message. After the post-postamble, the System Bus again goes into an idle condition before any subsequent message is transmitted on the System Bus.
  • the system bus interface 28 includes a system interface circuit or chip 136 that, in the preferred embodiment, is fabricated entirely on a single integrated circuit chip.
  • the system interface chip 136 receives and provides data or message informa ⁇ tion to the P-M bus of its associated subsystem 24.
  • the system interface chip 136 is connected to a channel adapter 138 that, in turn, is connected to the System Bus.
  • the channel adapter 138 both provides messages
  • the system interface chip 136 and the channel adapter 138 are shown simplified, but in somewhat greater detail, in Fig. 14.
  • the system interface chip 136 includes a DMA (direct memory access) circuit 140, command and status registers 142, and a message control circuit 144.
  • the DMA 140 and command and status registers 142 will be described in greater detail later in conjunction with the Figs. 21 through 25.
  • the DMA performs conventional functions, such as buffering messages that are being generated by its associated subsystem or that have been received from the System Bus.
  • the DMA 140 permits blocks of data to be transferred between the local memory of its associated subsystem and the System Bus, by accessing sequential memory locations in the local memory. Since access to the local memory is accomplished by the DMA, independently of the processor in the asso ⁇ ciated subsystem, the processor is free to perform other operations.
  • the command and status registers 142 simply receive control and status bits from the processor of the associated subsystem or the control circuitry of the system bus interface, and in response provide such bits to the DMA 140 and message control circuit 144 in order to cause the system bus interface to accomplish desig ⁇ nated operations.
  • the message control circuit 144 performs a number of functions that are critical to the operation of the system bus interface and the transmission and receipt of messages on the System Bus. These functions include: (1) monitoring the System Bus and permitting its associated subsystem to transmit a message only when the System Bus is idle;
  • the channel adapter 138 is shown in Fig. 14 as connected to the message control circuit 144 by a pair of buses 150 and 152. Messages to be provided to the System Bus are passed, one byte at a time, along the bus 150 to the channel adapter 138. Messages that are received from the System Bus after passing through the
  • OMPI channel adapter 138 are passed, one byte at a time, along the bus 152 to the message control circuit 144.
  • the channel adapter 138 includes a serializer 154 that serializes the message from the bus 150, i.e., converts each byte in the message into a serial stream of bits.
  • the serializer 154 as conven ⁇ tional, inserts "O's" at appropriate locations in the message so that, as in standard protocols, no more than five consecutive "l's" will appear in the message, other than at control or flag characters.
  • the serial stream of bits at the output of the serializer 154 is provided to an encoder circuit 156, which encodes the serial stream into a signal suitable for transmission.
  • a signal may be in the form of a double frequency code, such as the well-known diphase or Manchester code*.
  • the encoded data at the output of encoder circuit 156 is then provided to the bus driver 46, which was described in detail earlier in conjunction with Fig. 4.
  • Simple circuitry, which by itself.forms no part of the present invention, can be associated with either the serializer 154 or the encoder 156 in order to garble a message postamble.
  • Such circuitry gates a source of "l's" or low frequency pulses to the signal line carrying the message, prior to the message being provided by the bus driver 46 to the System Bus.
  • this garbling circuitry consists simply of a gate or multiplexing circuit that selectively gates l's at the output of the serializer 154.
  • a specific circuit for garbling the postamble will be illustrated and described later in conjunction with a dual-channel System Bus seen in Figs. 27 through 35.
  • the swamp circuit 160 monitors the pulse width of the en ⁇ coded messages received from the System Bus, and pro ⁇ vides a signal (not shown in Fig. 14) indicating to the message control circuit 144 when a signal having excessive pulse widths, such as one resulting from two interfering messages, is received.
  • the idle detection circuit 162 monitors the System Bus for an idle condi ⁇ tion, and provides a signal (not shown in Fig. 14) indicating to the message control circuit 144 when the
  • System Bus is idle so that, among other things, a message from the message control circuit 144 is passed to the channel adapter 138 only when no other message is already on the System Bus. If an idle condition occurs at an inappropriate point in time, such as during a message, the message control circuit will determine that an idle error condition exists.
  • the System Bus is detected as idle if the interval between pulses on the System Bus exceeds the normal interval between each pulse in an encoded message.
  • the decoder circuit 158 receives the encoded message from the output of the bus receiver 58, and decodes the signal in order to provide a serial stream of bits to a de-serializer 164.
  • the de-serializer 164 takes the serial bits of the message and, in a conven ⁇ tional fashion, converts the message into parallel bytes and deletes any "O's" that were inserted when the message was serialized.
  • the output of the de-serializer is provided to the message control circuit 144 by way of the bus 152.
  • Fig. 15 illustrates, in simplified form, the major circuit components within the message control circuit 144.
  • each message control circuit 144 performs a number of functions in controlling the transmission and receipt of messages at its associ ⁇ ated subsystem 24.
  • At the heart of one aspect of the present invention are the following functions:
  • contention garble i.e., the collision or interference between a message being transmitted by the associated subsystem and a message simultaneously transmitted by another subsystem
  • the illustrated message control circuit 144 receives data (representing destination address, source address, op code or data information) for a header-only message or a header and data message one byte at a time by way of the DMA 140 (Fig. 14) and passes the data through a multiplexer (MUX) 170.
  • the MUX 170 also receives CRC check bits generated at a CRC generate circuit 172.
  • the CRC generate circuit 172 can generate CRC bits in accord ⁇ ance with any one of numerous algorithms well known those skilled in the art, such algorithms and the speci ⁇ fic circuitry in CRC generate circuit 172 forming no part of the present invention. For example, one such well-known algorithm, and circuitry for implementing that algorithm, are described in detail in Pandeya and Cassa, Parallel CRC Lets Many Lines Use One Circuit, 14 Computer Design 87 (September, 1975).
  • a first-in-first-out memory (XFIFO) 174 which is capable of storing ten nine-bit words.
  • the bytes of data pro ⁇ vided by an associated subsystem 24 by way of the DMA 140 to the XFIFO 174 are only eight bits wide, with the reason for the ninth bit (referred to as ENCRC2@0 in the drawings) of each word stored in XFIFO 174 being des ⁇ cribed later with reference to the operation of the system bus interface 28 and the circuitry shown in Fig. 15.
  • Eight bits of each nine-bit word stored in the XFIFO 174 can be passed to a MUX 176 and to a first-in- first-out memory (GFIFO) 178.
  • the GFIFO 178 stores ten bytes of data, each for comparison at a compare circuit 180 with each corresponding byte of data in each trans ⁇ mitted message that is returned by the System Bus.
  • the MUX 176 has an input connected in a conventional fashion to selectively provide flag characters and is conven ⁇ tionally constructed so that it can also be controlled to selectively provide at its output zeroes for a post ⁇ amble.
  • the MUX 176 is controlled to insert flags and postamble bits at appropriate points during the trans ⁇ mission of each message.
  • the output of the MUX 176 is provided by way of the output bus 150 to the serializer 154 (Fig. 14), which in turn takes each byte of the message and serial- izes the byte for transmission on the System Bus.
  • each byte of the received message (less flags, preambles and postambles) is stored in a ten byte first-in-first ⁇ out memory (RFIFO) 190.
  • RFIDFO first-in-first ⁇ out memory
  • receiver address check circuit 184 checks the destina ⁇ tion address field of each message received from the System Bus, and if the destination address or addresses in the address field match the unique subsystem address or the group address of the subsystem associated with the message control circuit, an appropriate signal
  • the address check circuit 184 includes two registers (SADD and MASK, not shown) that are loaded during initialization of the subsystem.
  • the register SADD is loaded with the unique subsystem address and the register MASK with a group address assignment.
  • the contents of the two registers are compared with the addresses in the destination address field.
  • the CRC check circuit 186 generates CRC bits from the data received in each message and performs an error code check on the message by comparing the CRC bits with the CRC check bits in the CRC field of the message.
  • the postamble garble detection circuit 188 checks the postamble of each message received from the System Bus and indicates when the postamble has been garbled, i.e., "l's" have been superimposed on the "0*s" in the postamble.
  • a transmit control circuit 196, a receive control circuit 198, and a monitor control circuit 200 generally control the circuit com ⁇ ponents shown in the message control circuit 144. In the implementation of the message control circuit, much
  • control circuits 196, 198 and 200 are accomplished by programmable logic arrays (PLA's).
  • PLA's programmable logic arrays
  • the representation of only three control blocks 196, 198 and 200 only serves to generally illustrate the control functions needed to accomplish the operation to be described below. It should be obvious that in actual practice the control functions will be accomplished by many PLA's and by logic circuits associated with each of the major circuit components shown in Fig. 15.
  • a retry circuit 204 which will cause any message that has not been success ⁇ fully transmitted (for example, because of contention garble) to be retried later.
  • a specific circuit and operational algorithm for implementing the retry circuit 204 in a system employing a dual-channel System Bus will be described later in conjunction with Figs. 34 and 35.
  • Fig. 15 In addition to the major circuit components, there are also shown in Fig. 15 numerous control signals for controlling the circuit components. These signals are identified by mnemonics which represent descriptive signal names. The mnemonics, descriptive signal names, and a general signal description for each of the control signals in Fig. 15 are shown below in Signal List #1.
  • CRCGEN* 0 CRC Generate causes CRC check cir ⁇ cuit 186 to compute CRC bits and compare with CRC check bits CRCOK@0 CRC OK Indicates whether a CRC error has occurred
  • ENCRC1*1 Enable CRC1 Controls MUX 170 to pass first CRC byte from CRC generate circuit 172
  • GFIFO Read Causes byte to be read from GFIFO 178 for comparison in compare circuit 180 MNEMONIC SIGNAL NAME SIGNAL DESCRIPTION LMFULL@0 Local Memory Full Indicates when an area in the associated local memory, des ⁇ cribed as the "mail ⁇ box", is full and cannot accept message information
  • RFCLR@0 RFIFO Clear Clears the RFIFO 190 RFLD@0 RFIFO Load Causes byte to be loaded into RFIFO 190
  • RFLG Receive Flag Indicates when re ⁇ ceived byte in de ⁇ serializer 164 is flag character
  • RIDLE Idle Indicates when the idle detection circuit 162 detects an idle condition of the System Bus MNEMONIC SIGNAL NAME SIGNAL DESCRIPTION
  • MATCH @o Rece ive Match Indicates when destin ⁇ ation address in mes ⁇ sage matches unique subsystem address or group address of asso ⁇ ciated subsystem
  • RSTRB Receive Strobe Indicates when each byte of message is re ⁇ ceived by de-seriali ⁇ zer 164
  • RZR0 ⁇ 0 Receive Zeroes Indicates whether a received postamble is garbled
  • XFRD ⁇ 1 XFIFO Read Causes byte to be read from XFIFO MNEMONIC SIGNAL NAME SIGNAL DESCRIPTION XLSTBYT@0 Last Byte Status signal read with data from XFIFO as ninth bit to indi ⁇ cate last byte of data
  • the symbol “@” means that the given signal begins or changes state at the same time that a pulse occurs in the clock signal.
  • the notation n @l" indicates that the given signal begins at the same time that a pulse in the XI clock signal begins.
  • the symbol "*" means that the
  • OMPI given signal begins or changes state at the same time that a pulse occurs in the clock signal, and lasts for only the same amount of time as that pulse in the clock signal.
  • the notation "*l" indicates that the given signal begins at the same time that a pulse in the XI clock signal begins and ends at the same time that the pulse in XI ends.
  • FIGs. 17A, 17B and 17C there are shown flow diagrams illustrating the operation of the message control circuit 144 (Fig. 15) and, in gen ⁇ eral, the system bus interface 28 (Figs. 13 and 14).
  • Figs. 17A, 17B and 17C For purposes of ease of description, the operation of the circuitry in Figs. 17A, 17B and 17C is illustrated as involving three separate flows, one flow named “MONITOR” and illustrated in Fig. 17A, a second flow named “RECEIVE” and illustrated in Fig. 17B, and a third flow named “TRANSMIT” and illustrated in Fig. 17C. These three flows correspond generally to the control of circuitry carried out by receive control circuit 196, transmit control circuit 198 and monitor control circuit 200 that are shown in Fig. 15. While these flows illus ⁇ trate the present invention, the description is somewhat simplified.
  • Step 220 the system bus interface 28 will continuously monitor the System Bus to determine if it is idle, such step accomplished by the idle detection circuit 162 (Fig. 14). If the System Bus is idle and the monitor control circuit 200 is so informed by the signal RIDLE, the CNLAVAIL ⁇ 0 signal is enabled and passed from the monitor control circuit 200 to the transmit control circuit 196, which then determines by the XDATRDYgO signal whether its associated subsystem is ready to transmit, step 222. If the associated subsystem is not ready to transmit, then the system bus interface, in accordance with the operation of the monitor control circuit 200, continues to monitor the bus for an idle condition. Step 220, and the transmit control circuit
  • step 222 continues to check whether the subsystem is ready to transmit, step 222.
  • Step 220 If, as represented at Step 220, the bus is not idle, indicating that a message has been transmitted over the System Bus, then the monitor control circuit
  • 204 passes the signal RENBL@0 to the receive control circuit 198.
  • the system bus interface then goes into the operational flow RECEIVE illustrated in Fig. 17B. If the bus is idle, step 220, and the associated sub- system is ready to transmit, step 222, then as indicated in Fig. 17A the associated subsystem must prepare itself to both transmit its message as well as receive back, by way of the System Bus, that same message. In such a case, the RENBL@0 signal and the CNLAVAIL@0 signals are delivered to the receive control and transmit control circuits, respectively.
  • the system bus interface goes into both the operational flow TRANSMIT illustrated in Fig. 17C and the operational flow RECEIVE illustrated in Fig. 17B. Turning now to Fig. 17B, there is shown the operational flow RECEIVE.
  • the monitor control circuit 200 continues to monitor the System Bus until the message has begun to be received and the System Bus is no longer idle. Once the System Bus is no longer idle, the system bus interface 28 enters into a sequence of steps to check the preamble and flag that should be received ⁇ at the beginning of the message. This sequence of steps includes receiving, as will be indicated by the signal
  • a swamp error will be indicated by the signal RERR from the swamp circuit 160 (Fig. 14) and will cause the system bus interface to enter a sequence of steps that are generally designated 232 and that are seen toward the lower right-hand side of Fig. 17B.
  • the system bus interface will reject the message that has a swamp error, step 234, by enabling the ERTRM signal to the DMA.
  • the DMA will thus know that if its associated subsystem is an addressed destination the message is to be ignored and is not to continue to be stored in the local memory of the associated subsystem.
  • the system bus interface 28 will then wait until the System Bus becomes idle, step 236, and will then return to the MONITOR flow illustrated in Fig. 17A.
  • step 240 the message control circuit 144 determines if an idle error condition exists, step 240. As mentioned earlier, an idle error condition would normally exist if a message begins and then prematurely ends, with the duration . between pulses too long. If the signal CNLAVAILQO from the monitor control circuit 200 indicates that the
  • the receive control circuit 198 checks for a flag in the first three bytes (preamble and flag) of the message, step 242.
  • the signal RFLG (with the signal RSTRB as each byte is received) from the de-serializer 164 will indicate to the receive control circuit 198 the presence of a flag in the message. If the message is past the third byte, step 244, and there has not yet been a flag, the system bus interface enters a sequence 250. In the sequence 250, the message control circuit 144 enables the signal ERTRM and rejects the message, step 252.
  • the message on the System Bus is garbled, step 254, by the signal ABORT provided to the serializer 154.
  • the system bus interface will wait until the bus is idle, step 256, before returning to the MONITOR flow.
  • step 254 indicates that the postamble is garbled
  • the postamble probably is not the part of the message garbled when the flow 250 is entered from step 244. Rather, since the actual fields of the message are not properly defined and the initial flags have not been located, the receive control circuit 198 will simply abort by superimposing l's on whatever part of the message' is then being transmitted. The other subsystems will each sense a swamp error and know that the message is to be disregarded.
  • the preamble consists of two flags and the preamble is followed by a single flag.
  • the message control circuit 144 loops through the steps 228, 230, 240 and 242 until the first three bytes of the message have been received so that, in normal circum ⁇ stances, at least one of the flags sent in the preamble and first flag fields of the header will be detected.
  • the flow next enters into a sequence for checking the destination addresses in the message.
  • the destina ⁇ tion addresses are received by the system bus interface, step 260, and again the system bus interface checks for
  • the receiver address check circuit 184 (Fig. 15) checks for a match with the destination addresses in the message, step 266. If there is an address match. the signal RMATCHgO is delivered to the receive control circuit 198 and, in turn, the receive control circuit
  • the flow enters into a sequence for checking the source address, op code, data and CRC fields in the message. These fields of the message are first received by the system bus interface, step 270. As with the rest of the message, the de-serializer 164 generates the strobing or clocking signal RSTRB as each full byte is received. These fields are checked for swamp and idle errors, steps 272 and 274, respectively, and a swamp or idle error will lead to the sequence 232 described above. The CRC check circuit 186 will then check the CRC field for a data error, step 276.
  • the receive control circuit 198 will enable the CRC check circuit 186 to check the data by providing the signal CRCGEN*0, and that it will know when to enable the CRC check circuit by the location of the flags in the message format. That is, as seen in the message format shown in Figs. 12A and 12B, after the preamble and first flag in each message have been received, the next flag received will be the one immediately following the two bytes of CRC check bits.
  • the de-serializer 164 will generate the
  • RFLG signal and the two immediately preceding bytes of CRC check bits are compared with CRC bits generated from the message data by the CRC check circuit. After the CRC check, the CRC check circuit 186 is cleared by the signal CRCCLR*0.
  • step 278 If there is a CRC error, as indicated by the signal CRCOK@0, the flow proceeds to the sequence 250 described above, where the postamble of the message is garbled. If there is no CRC error, the system bus interface checks for other protocol or receiver errors, step 278.
  • the type of errors checked in step 278 include the following:
  • the mailbox (to be described later) in the local memory of the associated subsystem is full and cannot accept the data (indicated by the signal LMFULL@0);
  • the RFIFO 190 is filled and receives a byte that cannot be stored (an "overflow" condi ⁇ tion, indicated by signal ROVFLWQ0) .
  • each byte of the received message (less preamble, flags and postamble) is stored or buffered in the RFIFO 190 by the signal
  • a status signal or bit LSTBYT ⁇ 0 is stored with each byte in the RFIFO, such bit controlled by the receive control circuit 198 in response to flag after the second CRC byte (see Figs. 12A and 12B) to indicate or mark the last byte of the message stored in the RFIFO.
  • the DMA will receive the ninth bit (RBLSTgO) at the output of the RFIFO, with RBLSTQO indicating the last byte of the message.
  • the flow in Fig. 17B next enters a sequence for checking the postamble of the message and post- postamble (PP) .
  • the postamble and post-postamble are received by the system bus interface, step 280, and there is again a check for swamp and idle errors, steps 282 and 284 respectively. If there is a swamp or idle error, the flow proceeds to the previously discussed sequence 232.
  • the postamble is checked, step 286, for any garble in the postamble that may have occurred as the result of an error being detected in the message by any of the subsystems. Garble is indicated by the signal RZRO@0, which is enabled only when the appro ⁇ priate bytes of the postamble are not garbled and are at zero. It should be apparent that the system bus inter ⁇ face 28 associated with every subsystem 24 in the system is receiving the message in accordance with the opera ⁇ tional flow of Fig.
  • any one of the system bus interfaces will garble the postamble if an error is detected as described above in connection with step 254. If there is garble in the postamble, the flow proceeds into the previously described sequence 232 and the message is rejected. When the message is rejected, whether due to garble or any other error, the RFIFO is cleared by the RFCLR@0 signal. If there is no garble, the transmission of the message has been complete and successful, step 288, and the signal CMPOKgO is provided to the DMA so that the associated subsystem, if the intended destination, will copy and act on the message. After the System Bus becomes idle, step 290, the opera ⁇ tion of the system bus interface returns to the MONITOR flow of Fig. 17A.
  • the transmit control circuit 196 will, in response to the signal XDATRDYQO, first provide a preamble (two flags) and then a single flag at the MUX 176. This step, designated 300, is controlled by the signal FE@1 delivered by the transmit control circuit 196 to the MUX 176. As the preamble and flag are generated, it is possible that the message will be rejected at this point, step 302, since the subsystem is also simul ⁇ taneously in the RECEIVE flow. Such a rejection might be due, for example, to a detected swamp or idle error, described earlier in conjunction with sequence 232 in
  • Sequence 304 includes the steps of stopping the transmission of the message, step 306, and causing the signal RTYERR@0 to be enabled so that the retry circuit 204 will cause the DMA to try to generate the same message again at a later point in time, step 308.
  • the XFIFO 174 will be cleared of any message information by the signal XFCLRgO.
  • the data or information from the DMA that is to be included in the message is passed through and provided at the output of the MUX 170, step 310, one byte at a time in response to the signal XD*1. If, at step 311, the byte being passed from the DMA is not the last byte, then the data is used to compute and generate CRC bits, step 312, at the CRC generate circuit 172 in response to the signal XCRCGEN*0. This computation of
  • CRC bits continues until the last byte of data is received from the DMA, at which time the MUX 170 passes or inserts into the message two bytes of CRC check bits from the CRC generate circuit in response to the signals ENCRC1*1 and ENCRC2*1, step 313.
  • the data and CRC bytes from the MUX 170 are loaded, one byte at a time, into the XFIFO
  • Steps 310, 312, 314 and 313 are repeated until the last byte of the CRC check bits has been loaded into the XFIFO at step 316.
  • the information in the XFIFO may be read, one byte at a time, in response to the signal XFRD@1 and passed to the MUX 176.
  • the MUX 176 in turn passes the byte to the serializer 154, in response to the signal BEgl and after the signal XSTRBLgl indi- - cates the previous byte has been transmitted.
  • the serializer transmits each serialized byte in response to the signal SNDENBL@0.
  • Each byte read from the XFIFO 174 is also loaded under the control of the signal GFLD@1 into the GFIFO 178, step 318.
  • each byte of the message is transmitted and is returned by the System Bus, it is compared, one byte at a time, at the compare circuit 180 with the corresponding byte read from the GFIFO 178 by the signal GFRD@0. If contention garble is detected, ' step 320, by the comparison at the compare circuit 180, and the signal GFERR is enabled, then the flow goes to the sequence 304 mentioned above. In addition, if the message has been rejected, step 322, by one of the subsystems receiving the message because of errors in the message information, the flow goes to the sequence 304.
  • step 323 When, as indicated by the ninth bit XLSTBYT@0 in the XFIFO, the last byte of information (which is also the second byte of the CRC check bits) has been transmitted, step 323, the flag immediately preceding the postamble, the postamble, and then the post-postamble (PP) are provided at the output of the MUX 176, step 324. If the postamble is garbled by any one of the subsystems, step 326, the flow again proceeds to the sequence 304. If the postamble is not garbled, and the message has not been rejected, step 327, for other errors, the transmission of the message has been complete and successful, step 328, and the signal CMPOK@0 is provided to the transmit control circuit 196 and to the DMA. The CRC generate circuit 172 will have been cleared by the signal XCRCCLR*0, and the system bus interface returns to the MONITOR flow illustrated in Fig. 17A.
  • RECEIVE and TRANSMIT flows While the above description of the RECEIVE and TRANSMIT flows is directed to a header message, it should be apparent that the same flow is duplicated for the data portion of a header and data message.
  • the RECEIVE and TRANSMIT flows would not include receiving or providing the preamble, destination address, source address and op code fields, since they are not present in the data portion of the message. It should be noted that it is advantageous however, for both the
  • OMPI header portion and the data portion to include a post ⁇ amble, so that if an error is detected in the header portion the postamble there can be garbled and the message aborted without having to await the postamble in the data portion of the message.
  • Figs. 18, 19 and 20 illustrate the operation of the System Bus and the system bus interface 28 by showing three exemplary cases involving three subsystems 24 (referred to as Subsystem A, Subsystem B and Subsystem C) .
  • Subsystem A success ⁇ fully transmits a message.
  • Subsystem A starts the transmission of its message at time T, .
  • the star coupler of the System Bus receives the message and passes it to all of the other subsystems in the system, including Subsystems B and C.
  • Subsystem A begins receiving back its own message and both Subsystems B and C also begin to receive the Subsystem A message.
  • the transmission of the message from Subsystem A ends and at time T-. the end of the message from Subsystem A is passed through the star coupler.
  • Subsystem A, Subsystem B and Subsystem C each receive the end of the message from Subsystem A, and then detect the System Bus as going idle. Since there was neither contention garble detected by Subsystem A nor postamble garble resulting from errors in the message detected by Subsystems B and C, the transmission of the message is complete and successful.
  • Fig. 19 there is illustrated the case where Subsystem A begins transmitting a message and, shortly thereafter but prior to the receipt of the message by Subsystem B, Subsystem B also begins the transmission of the message. As seen in Fig. 19, Subsystem A begins transmitting a message at time T.. At time T 2 Subsystem B then begins transmitting its message. As mentioned earlier, a subsystem will not begin to transmit a message unless the System Bus is idle. However, in the case of Subsystem B, it has not yet received the message from Subsystem A at time T culinary, and the System Bus thus appears to it to be idle.
  • contention window In the case of any subsystem that begins to transmit a message on the System Bus, there is an interval, referred to as a "contention window", in which another subsystem may garble the message because it still sees the System Bus as idle.
  • the maximum contention window of the system is essentially equal to the time in which it takes a message to travel along the System Bus between the two stations located the greatest distance apart on the System Bus.
  • the star coupler receives the message from Subsystem A at time T_ in Fig. 19 and passes the message to the other subsystems. At time T. the star coupler also receives the message from Subsystem B and the messages passing through the star coupler then become garbled. At time T , Subsystem A receives the beginning portion of its own message back, before it has been garbled by the message from Subsystem B. Also at time Subsystems B and C receive the ungarbled message from Subsystem A. Since Subsystem B receives a message different than the one that it is transmitting, conten- tion garble is detected and Subsystem B terminates or ends its own transmission.
  • Subsystem A will finally receive the garbled portion of its own message resulting from the message from Subsystem B being passed through the star coupler.
  • Subsystem A detects conten- tion garble and ends its own transmission.
  • Subsystem C at time T fi receives the garbled messages from Subsystem A and Subsystem B.
  • T_ the end
  • Subsystem A transmits a message without contention garble, but Subsystem C detects an error in the message.
  • Subsystem A in Fig. 20 starts the transmission of its message at time T..
  • the message is received by the star coupler and is passed to the other subsystems.
  • Subsystem A receives back its own message and Subsystems B and C receive the message from Subsystem A.
  • Subsystem C detects an error in the message that it is receiving from Subsystem A. This error could be a swamp error, a CRC error or one of the protocol errors mentioned earlier in connection with Fig. 17B.
  • Subsystem A ends the transmission of its completed message and momentarily later, at time *£o ,
  • Subsystem C garbles the postamble of the message.
  • Subsystem A will retry the message at a later time. If either Subsystem B or Subsystem C were an intended destination, they will disregard the message.
  • a storage area in the local memory of the subsystem associated with the DMA, such mailbox managed by the DMA for storing header information received by the subsystem;
  • DSA address a local memory address
  • the mailbox referred to above is illustrated in Fig. 21 and is designated 350.
  • the mailbox is part of the local memory, designated 351, of each subsystem 24.
  • the mailbox 350 consists of a predetermined number of consecutive memory locations in the local memory and stores all header messages (inclu ⁇ ding header portions of header and data messages) that are received and that include the destination address of the subsystem.
  • the header messages are stored or entered sequentially and consecutively in the memory locations in the mailbox and, each time the processor within the module or subsystem is able to act on a message, it accesses the header message in the top or first entry of the mailbox.
  • the mailbox 350 in Fig. 21 is illustrated as having an empty portion 352, an entry portion 354 in which a number of entries (labeled “1st entry” through “last entry") or header messages are stored, and an empty portion 356 following the last entry in the por ⁇ tion 354.
  • the first memory word address within the mail- box 350 is identified as "BASE” and the last memory word address in the mailbox 350 is identified as “LMIT” .
  • the beginning byte address of the first entry stored in the mailbox (representing the earliest received message) is identified as "FNXT” and the byte following the last byte address of the last entry (representing the last received message) is identified as "HNXT" .
  • BASE, FNXT, HNXT and LMIT are maintained by the DMA 140, as will be described later.
  • header messages are received by the system bus interface associated with an addressed subsystem, they are passed, one word at a time, to the mailbox where they are stored beginning three bytes past the address defined by HNXT.
  • the ending header address plus one (EEBA+1) is stored into the three byte area addressed by the original value of HNXT.
  • the processor in the subsystem is ready to act on a message, it withdraws the header message in the first entry in
  • OMPI the mailbox, beginning at the address defined by FNXT, with the end of entry defined by the first three bytes of the entry.
  • the second entry then becomes the first entry representing the earliest received message not yet accessed by the processor.
  • the addresses specified by BASE, FNXT and HNXT will be the same.
  • the value of HNXT increases, and as entries are acted on by the processor, the value of FNXT increases.
  • the empty portion 352 shown in Fig. 21 represents memory space where entries have been withdrawn and acted on by the processor.
  • the empty space 356 represents memory space which initially has not yet been used.
  • the DMA will return the address automatically to the value of BASE so that the mailbox continues to store header messages, but now in the empty portion 352. If the address at which words of an entry are being written into the mailbox reaches the value of FNXT, the entry or header message will general ⁇ ly be rejected and aborted in the message control circuit 144 associated with the subsystem, since the mailbox is full and would otherwise overflow.
  • each local memory of each subsystem 24 will have a mailbox 350, there will be no processor in the system 10 that will be routinely interrupted by the receipt of messages from the System Bus. Rather, each processor will act on the entries stored in its mailbox only at times when it purposely looks in the mailbox for the first or top entry. The processor is thus able to complete its tasks without interruption, even though messages are -received and stored in its local memory.
  • any message that is sent by a subsystem requesting data includes the local memory address at which such data is to be stored when returned to the requesting subsystem.
  • the header portion of the header and data message that includes the data that is returned in response to such a request also includes the local memory address so that the DMA 140 can load the data into the desired area of local memory without interrupting the processor and with ⁇ out requiring a subsequent movement of data.
  • Figs. 22A and 22B there are shown the format of entries in the mailbox 350. Specifically, there is shown in Fig. 22A an entry format for a header- only message, and there is shown in Fig. 22B the entry format for a header and data message.
  • Fig. 22A it can be seen that the first three bytes of the mailbox entry are reserved for the entry ending byte address plus one (EEBA+1) and the remaining portion of the entry, depending upon the size of the header (four through 36K bytes) is reserved for the destination address field, source address field, °P code field and header data field of the message.
  • the preamble, flags, CRC bits, postamble and post-postamble are removed from the message at the message control circuit 144 and are not stored as part of the entry. Storing the ending entry byte address plus one (EEBA+1) will enable the processor to know the exact length of the entry when it accesses the entry from the mailbox.
  • the mailbox entry for a header and data message also includes, in its first three bytes, the entry ending byte address plus one (EEBA+1).
  • the next portion of the entry includes the destination address field, source ad ⁇ dress field, op code field and header data field of the header portion of the message (four through 36K bytes).
  • Following the header portion of the entry are three bytes representing a data ending byte address plus one (DEBA+1).
  • DEBA+1 data ending byte address plus one
  • the header data field of a header and data message includes, in its first three bytes, the starting data address in the local memory of the data included in the header and data message. Consequently, when the processor accesses an entry from the mailbox 350 representing a header and data message, it will know the beginning address of the separately stored data in the local memory from this three byte address which is part of the header message in the entry. In addition, the processor will know the ending address of the data in the local memory by the three bytes at the end of the entry representing the data ending byte address plus one (DEBA+1) .
  • the DMA 140 loads the header portion of the message directly into the mailbox 350 and then loads the data portion of the message directly into the local memory at the address specified by the data starting address in the header data field. It is significant that the loading of the data portion of the message is not in the mailbox but, rather, is at memory locations in some other part of the local memory specified originally by a starting address in the message that requested the data. This other part of the local memory is normally the desired part or location from where the data is to be accessed by the processor in the subsystem in order to complete the execution of the task or job that needs the data. Otherwise, storing the data with the header information in the mailbox would result in the disadvantage of having to later interrupt the processor in order to move the data portion from where it is stored with the control
  • the DMA 140 merely loads the header into the mailbox.
  • the data starting address of any data that is either requested by a message or that is being provided by a message be included in that message. That is, when one of the subsystems 24 requests data from another of the subsystems 24, that request, in the form of a header-only message, includes the local memory address at which the requested data is to be stored in the local memory of the requesting subsystem.
  • the data starting address is included in the header and data message (in the first three bytes of the header data field) . Consequently, the processor of the requesting subsystem need not be interrupted for the data starting address when the requested data is returned. This, of course, enables the processor to complete its own tasks without inter ⁇ ruption at all, since the mailbox also permits the storage of header information without interruption of the processor.
  • This technique is superior to prior techniques used to avoid processor interrupts such as storing the data in general purpose buffers, which tech ⁇ niques require a subsequent movement of data to get the data to its intended destination in local memory.
  • DMA 140 (DETAIL) Turning now to Fig. 23, there is shown in greater detail the DMA 140 and the command and status registers 142 that were previously shown in general form in Fig. 14. As seen in Fig. 23, the DMA 140 includes a plurality of registers for managing the direct access to the local memory of its associated subsystem and, in accordance with the present invention, for managing the mailbox 350 within the local memory of its associated subsystem.
  • the registers within the DMA 140 include:
  • IDSA Input Data Starting Address
  • HSA Header Starting Address
  • DSA Data Starting Address
  • DSA Data Starting Address
  • HNXT Hardware Next Address
  • EAR Ending Address
  • HEA Header Ending Address
  • DEA Data Ending Address
  • the DMA 140 includes four compare circuits 380, 382, 384 and 386, an output address counter 390 and an input address counter 392.
  • the IDSA register 360 and the EAR register 370 are shown by broken lines in Fig. 23, since they are not directly accessible by the processor of the associated subsystem and are not directly concerned with the management of the mailbox 350.
  • the remaining registers 362, 364, 366, 368, 372, 374, 376 and 378 are directly accessible by the proces ⁇ sor.
  • the registers 366, 368, 376 and 378 are, in addition, concerned with the management of the mailbox 350.
  • Not shown in Fig. 23 is the control circuitry for controlling the DMA operations that will shortly be described. Such control circuitry can be implemented largely by programmable logic arrays (PLA's).
  • the BASE register 366 HNXT register 368, LMIT register 376 and FNXT register 378, these registers control the operation of the mailbox 350 as messages are received by the associated subsystem.
  • the BASE and LMIT registers are initially loaded by the processor of the associated subsystem by way of the P-M bus during the initialization of- the subsystem.
  • the HNXT register 368 and the FNXT register 378 are loaded with the same value as the BASE register during initialization.
  • the header (or header portion of a header and data message) is stored in the mailbox 350 in accordance with the information stored in the BASE, LMIT, HNXT and FNXT registers.
  • the input address counter 392 is initially loaded with the same address as that in the HNXT register 368. As each byte of data is received from the message control circuit 144, the input address counter 392 is incremented, and its address is provided to the P-M bus in order to store each word of the message in a local memory address location in the mailbox 350.
  • the output of the input address counter 392 is compared to the value in the FNXT register 378 by the compare circuit 386.
  • the signal FLB ⁇ 0 at the output of compare circuit 386 indicates that the input address counter 392 has reached the FNXT address within the mailbox (see Fig. 21)
  • the mailbox 350 has been com ⁇ pletely filled and there is no remaining room for the header message.
  • the message in such a cir ⁇ cumstance will be aborted or rejected and the HNXT register 368 will not be incremented to the next avail ⁇ able entry address.
  • the compare circuit 386 and the signal FLB@0 also provide a means for the DMA to determine when the mailbox 350 is empty.
  • the DMA control circuitry can cause the value of the address in HNXT register 360 to be loaded into the input address counter 392 so that the addresses in the HNXT register 360 and in FNXT register 378 are compared.
  • status bits can be generated when the mailbox is empty and has not yet received any entries, and when the last entry in the mailbox is accessed by the processor and the mailbox becomes empty.
  • the address in the input address counter 392 is also compared to the LMIT address within the LMIT register 376 at the compare circuit 384 to indicate that the empty portion 356 (Fig. 21) of the mailbox has been filled. If the signal LLW@0 at the output of the compare circuit 384 indicates a match, then the input address counter 392 is loaded with the same address as the address in the BASE register 366 so that the message can continue to be stored, but now in the empty portion 352 starting at the BASE address.
  • the input address counter 392 is incremented once again and its output is provided to the ending address register 370.
  • This value represents the previously described entry ending byte address plus one (EEBA+1) which is then stored in the mailbox as the first three bytes of the entry.
  • the HNXT register 368 is then changed to the same value as the input address counter 392, which represents the beginning address of the next entry.
  • the input data starting address register 360 will have previously been enabled by the DMA control circuitry to receive the data starting address in the first three bytes of the header data field of the message.
  • the .input address counter 392 is loaded, after the header portion is stored, with that data starting address and then increments as each byte of data in the data portion of the message is received from the message control circuit 144.
  • the value of the input address counter 392 is incremented to represent the data ending byte address plus one (DEBA+1) and this value is stored in the ending address register 370.
  • the data ending byte address plus one (DEBA+1) is then stored in the mailbox, along with the header portion, as the last three bytes of the mailbox entry.
  • the EEBA+1 information in the entry will then point to the first byte beyond the DEBA portion of the entry.
  • the DMA 140 does not require processor interruption or involvement to store the con- tents of messages received from the System Bus. If header or control information is received (either as a header-only message or as a header and data message), the mailbox managing or addressing registers of the DMA 140 load the control information directly into the mailbox 350, beginning at the location pointed to by HNXT, with ⁇ out the interruption or involvement of the processor. Likewise, if blocks of data are received in a header and data message, the DSA address has already been pro ⁇ vided to the DMA by the header information in the header portion of that message, and the DMA loads the blocks of data directly into the local memory without interruption or involvement of the processor. While messages are being received by any subsystem and directly stored by the DMA 140 in the local memory, the processor is free to continue uninterrupted with the execution of its tasks.
  • the processor of the subsystem issues a send command which loads the HSA register 362 with the header starting address in the local memory, the HEA register 372 with the header ending address and, if a header and data message, the DSA register 364 with the data starting address and the DEA register 374 with the data ending address.
  • the DMA 140 will then access the local memory to sequentially read, without processor interruption, each word of the header and data portions in the message and provide the message information to the message control circuit 144.
  • the DMA 140 will initially load the output address counter 390 with the value of the header starting address and will sequentially read each word of the header until the signal HLB@0 at the output of the compare circuit 380 indicates that the output address counter 390 has reached the header ending address stored in the HEA register 372. If a header and data message, the DMA will then load the output address counter 390 with the data starting address in the DSA register 364, and the output address counter 390 then increments to sequentially read each word in the data portion of the message from the local memory. Of course, if the trans ⁇ mitted message is a header-only message, the transmission ends after the header ending address has been reached.
  • the DMA ceases to access the local memory and the transmission of the data, after passing through the message control circuit 144, ends.
  • Fig. 23 Also shown in Fig. 23 is a block representing the command and status registers 142 previously mentioned in conjunction with Fig. 14.
  • the command and status registers 142 include a command register 400 and a status register 402.
  • the command register 400 is loaded by the processor of the associated subsystem and indicates to the system interface chip 136 the operation that is to be performed in connection with transmitting and receiving messages. This operation would normally concern both the DMA 140 as well as the message control circuit 144.
  • the status register 402 is loaded, during the operation of the system interface chip 136, with status bits indicating the status of the system interface chip. These status bits will be used, in conjunction with the control circuitry in the DMA 140 and the message control circuit 144, to control the operation of the system interface chip 136.
  • Fig. 24 illustrates the contents of the command register 400.
  • the command register is a 32-bit register, with Bits 21-24 providing the command and Bits 1—13 providing information for use in conjunc ⁇ tion with the command.
  • the Bits 14-20 and 25-32 of the command register are not used in any of the described aspects of the present invention.
  • the following Command Table #1 illustrates, for various commands, the bits that are loaded into the command field (Bits 21-24) of the command register.
  • the INITIALIZE command shown in Command Table #1 resets the system interface chip 136.
  • the BASE and LMIT registers 366 and 376 are loaded with their permanent values and the HNXT register 368 and the FNXT register 378 are initially loaded with the value of the BASE register 366.
  • Bits 1- 8 of the command register are loaded with the unique subsystem address of the associated subsystem. This information is transferred to the SADD register in the receiver address check circuit 184, described earlier in conjunction with Fig. 15.
  • Bit 9 (a diagnostic control bit) can be used to permit the system interface chip (SIC) to enable circuitry for returning a message direct ⁇ ly to the SIC without use of the System Bus.
  • Bit 10 is not used in the described embodi ⁇ ment.
  • Bit 11 controls whether each byte serialized for transmission on the System Bus will be serialized begin- ning from the most significant bit or from the least significant bit.
  • Bit 12 is delivered to diagnostic circuitry, forming no part of the present invention, that will make the associated subsystem a destination or required receiver for all header messages.
  • Bit 13 is set to "1" during initialization, and is then set to "0"
  • SEND The SEND command in Command Table #1 directs the system interface chip to send or transmit a message on the System Bus. Bits 1-4 and 8-12 of the command register are not used, and Bits 7 and 13 are always set at "1" and ⁇ 0 ⁇ , respectively, in this command. Bits 5 and 6 determine the type of message that is to be trans- mitted from the system interface chip, with the type of command and the corresponding values of Bits 5 and 6 shown in the following Command Table #2:
  • the header message and the header (with data) message are both header-only messages, the format of which was described earlier in conjunction with Fig. 12A.
  • the header (with data) message contains data information in its header data field which must be obtained from the local memory of the sending subsystem at a location sep ⁇ arate from that where the other fields of header informa- tion are stored.
  • the DMA will use the DSA register 364 and DEA register 374 in the same way that they are used to obtain the data portion of a header and data message.
  • the header message does not include information in its header data field that must be ob ⁇ tained separately.
  • the header and data message has a format which was described earlier in conjunction with Fig. 12B.
  • OMPI RECEIVE The RECEIVE message in Command Table #1 directs the system interface chip to compare, at the address check circuit 184, the destination address field of each received message with the unique station or subsystem address byte that was provided to the SADD register during the INITIALIZE command. Bits 2-12 are not used in this command. Bit 13 is always at a "0”. If Bit 1 is at "l n , the destination address of each message is checked against the subsystem address. If Bit 1 is at a "0", there is no check for the subsystem address, but only the more general broadcast or group address that is specified by the LOAD MASK command.
  • the LOAD MASK command directs the system interface chip to load the MASK register in the address check circuit 184 (Fig. 15) with a broadcast or group address. Bits 1-8 indicate the group address, and all messages that have a matching group address in their destination address field will be received by the sub ⁇ system.
  • the following Command Table #3 indicates the values of Bits 1-8 in the command register 400 and the resulting messages that will be received or copied.
  • the destination addresses shown are hexidecimal and are equivalent to one byte. If Bits 1-8 are all "0", the associated subsystem is not a destination in any of the groups specified by the group addresses.
  • the status register 402 contains the status of the system interface chip. The content of the status register is illustrated in Fig. 25. As can be seen. Bit
  • Bits 1-3 reflect the input status of the system interface chip 136
  • Bits 4-7 contain a system interface chip (SIC) code
  • bits 9-12 reflect the output status of the system interface chip.
  • the SIC code is only used if more than one system bus interface is attached to the P-M bus of a subsystem, and is used to identify the system bus interfaces (or SIC's) to the processor of the subsystem. This config ⁇ uration was mentioned earlier in conjunction with Figs.
  • the following Status Table #1 illustrates, for various output (transmission) status conditions of the system interface chip, the corresponding values of Bits 9-12.
  • the Output Complete status indicated in Status Table #1 is generated when the system interface chip 136 has successfully transmitted a message.
  • the Output Error (Buffer Underflow) status is generated when the system interface chip has detected a buffer underflow condition, i.e., the subsystem associated with the system interface chip has not provided bytes of data quickly enough, and the message control circuit 144 has transmitted all the bytes that it has received and is waiting during the middle of a message transmission for a new byte of data from the subsystem.
  • the Output Error (Memory Error) status is generated when the data fetched from the local memory for transmission has an error that cannot be corrected, such as a double-bit error.
  • the Output Error (Excessive Retry) status is generated when the system interface chip has not been able to successfully transmit a message after going through a predetermined maximum number of retry attempts under the control of the retry circuit 204, described earlier in conjunction with Fig. 15.
  • the value of Bit 12 can either be a "0" or a "1".
  • the System Bus is actually two separate "system buses" or "channels". Each of these system buses or channels include a star coupler and transmission lines to and from each subsys- tern.
  • a "0" at Bit 12 indicates that a message is being transmitted on one of the channels (Channel A) and a "1" indicates a message is being transmitted on the other of the channels (Channel B) .
  • the input status field of the status register indicates the input status of the system interface chip 136, with the values of the Bits 1-3 and their corres ⁇ ponding input (receiving) status indicated in Status Table #2: - 68-
  • the Mailbox Non-Empty status is generated when the system interface chip 136 has received and entered a message in the mailbox 350, and the mailbox has pre ⁇ viously been empty.
  • the Input Buffer Overflow (Message
  • the Mailbox Overflow (Message Not Rejected) status is generated when the system interface chip has received a message but has not been able to transfer all of the header information into the local memory as an entry because the mailbox has been filled.
  • the Mailbox Overflow (Message Rejected) status is also generated when the system interface chip has received a message
  • Fig. 26 illustrates circuitry that could be used to accomplish the functions of the swamp circuit 160 and the idle detection circuit 162 that were men- tioned earlier in conjunction with Fig. 14.
  • the swamp circuit 160 includes a rising edge re-triggerable one- shot 404 and an AND gate 405.
  • the input of the one-shot 404 is connected for receiving encoded messages or signals on the System Bus by way of the bus receiver 58.
  • the AND gate 405 receives at one input the signals from the System Bus and receives at its other input the signal at the inverted output of the one-shot 404.
  • the output of the AND gate 405 is the previously mentioned signal RERR, which is enabled when the swamp circuit 160 detects a swamp condition or error on the System Bus.
  • the inverted output at the one-shot 404 goes to a "0" or low value when the signal on the System Bus goes to a "1", and stays at a "0" for a period of time just slightly greater than the normal pulse width of the encoded signals on the System Bus. Accordingly, when there is no swamp condition present on the System Bus and the pulses in the received message are of the correct width, the signal RERR at the output of AND gate 405 remains at a "0". When a swamp condition exists, with one or more pulses in the message being excessively wide, the output of the one-shot 404 will return to a "1" at the same time that the signal or pulse from the System Bus is still at a "1".
  • the idle detection circuit 162 seen in Fig. 26 includes a falling edge re-triggerable one-shot 406 and an AND gate 407.
  • the one-shot 406 receives at its input encoded messages or signals from the System Bus by way of the bus receiver 58.
  • the AND gate 407 receives at one input the signal at the inverted output of the one- shot 406 and receives at a second, inverted input the signals from the System Bus.
  • the inverted output of the one-shot 406 goes to a "0" value when the signal on the System Bus goes to a "0" value between pulses, and remains at the "0" value for a period of time just slightly greater than the normal interval between pulses during a message.
  • the signal RIDLE at the output of the AND gate 407 remains at a "0".
  • the output of the one-shot 406 will return to a "1" value while the signal on the System Bus is still at a "0".
  • the RIDLE signal at the output of AND gate 407 will thus go to a "1".
  • a data processing system 410 like the data processing system 10 illustrated in Figs. 1 through 3, includes a plurality of stations 412, each enclosed within a single computer cabinet. Each station 412 is linked by an associated cable 414A to a star coupler 416A and by an associated cable 414B to a second star coupler 416B. Each of the cables 414A and 414B is comprised of a pair of optical fibers. Like the cables 14 in the data processing system 10 of Figs. 1 through 3, one fiber in each of the cables 414A and 414B carries signals from its associated station to one of the star couplers and the other fiber in each of the cables carries signals back from that star coupler to the station.
  • a message transmitted from any one of the stations 412 can be sent either over Channel A or Channel B. If the message is sent, for example, over Channel A, it is transmitted along one of the two optical fibers in the associated cable 414A from the transmitting station to the star coupler 416A.
  • the star coupler 416A directs the signal back along the other of the two optical fibers in the same cable 414A to the transmitting station, and also back to every other station in the system 410 along all the other cables 414A.
  • a signal may be transmitted from any one of the stations 412 along one of the two fibers in the associated cable 414B to the star coupler 416B.
  • the star coupler 416B in turn directs the signal back to the transmitting station as well as to every other station in the system 410, along the cables 414B.
  • the use of two channels in the data processing system 410 offers several significant advantages over the use of a single-channel System Bus, such as illus ⁇ trated in the data processing system 10 of Figs. 1, 2 and 3.
  • the dual-channel System Bus in Fig. 27 increases the reliability of the system since one channel can be used exclusively if the other channel should fail.
  • the use of two channels increases the availability of the System Bus for trans ⁇ mitting messages. That is, at the same time that a first station is transmitting a message to a second station on one of the channels, a third station can be transmitting a message to a fourth station on the other channel, without either of the messages interfering with
  • the cable 414A connected to the illustrated station 412 comprises a pair of optical fibers 418A and 420A.
  • the cable 414B comprises a pair of optical fibers 418B and 420B.
  • the cables 414A and 414B are coupled within the station or cabinet to electrical internal transmission lines 418AA, 420AA, 418BA and 420BA by an optical interface 432.
  • the optical interface 432 includes optical sources 434 and 435 and optical detectors 436 and 437.
  • Optical signals on the optical lines 420A and 420B are converted into electrical signals for the lines 420AA and 420BA by the optical detectors 436 and 437, and electrical signals represent- ing messages on the lines 418AA and 418BA are converted into optical signals for the optical lines 418A and 418B by the optical sources 434 and 435.
  • Each station 412 includes a plurality of subsystems that, as illustrated in Fig. 28, in turn include processor modules 424A, memory modules 424B and an I/O module 424C.
  • Each of the modules 424A, 424B and 424C is connected or coupled both to the lines 418AA and 420AA and to the lines 418BA and 420BA by a single system bus interface 428.
  • processor modules 424A, 424B and 424C is connected or coupled both to the lines 418AA and 420AA and to the lines 418BA and 420BA by a single system bus interface 428.
  • one of the stations 412 in the data processing system 410 can include electrical turn around or return paths in the event that only one of the stations 412 is used in the system 410.
  • the wiring pattern 440 includes an electrical transmission line 462A connecting transmission lines 418AA and 420AA, and an electrical transmission line 462B connecting the transmission lines 418BA and 420BA.
  • the wiring pattern 440 is placed in the station 412 at the location where optical interface 432 is shown in Fig. 28. Since there are no other stations in this circumstance, there would be no need, of course, for the illustrated optical interface or the optical cables 414A or 414B.
  • each station 412 could have one of the wiring patterns 440 connected at the free ends (toward the left-hand side of Fig. 28) of the lines
  • the system bus interface 428 includes a system interface chip 536 and a two-channel adapter 538.
  • the system interface chip 536 is similar to the system interface chip 136 described earlier in connection with Figs. 13 through 25, except as will be noted hereafter.
  • the two-channel adapter 538 is likewise similar to the channel adapter 138 shown in Figs. 13 and 14, except that the two-channel adapter includes circuitry for connection to both Channel A and Channel B of the dual-channel System Bus, rather than a single channel System Bus.
  • system interface chip 536 includes a DMA circuit 540, command and status registers 542, and a message control circuit 544.
  • the two-channel adapter 538 in Fig. 31 includes a serializer 5-54 connected to the message control circuit 544 by a bus 550.
  • the serializer 554 serializes messages from the message control circuit 544 that are to be
  • the serial bits of the message at the output of the serializer are encoded by an encoder 556 and passed to a channel selection circuit 610.
  • the channel selection circuit 610 is controlled by signals (not shown in Fig. 31) from the message control
  • bus receiver 458B 15 458A or from Channel B by a bus receiver 458B.
  • the message received at bus receiver 458A is passed to a decoder 558A, a swamp circuit 560A and an idle detection circuit 562A.
  • the message is decoded by decoder 558A and is then provided to a de-serializer 564A, which de-
  • the 20 serializes the message and provides it to the message control circuit 544 by way of a bus 552A.
  • the message received at bus receiver 458B is passed to a decoder 558B, a swamp circuit 560B, and an idle detection circuit 562B.
  • the decoded message from decoder 558B is
  • de-serializer 564B which de-serial ⁇ izes the message and provides it to the message control circuit 544 by way of a bus 552B.
  • transmit control circuit (not shown in Fig. 31) of the message control circuit 544 must determine which of the two channels (Channel A or Channel B) will be used in transmitting each message from the subsystem. Such determination is made in accordance with the following three criteria:
  • load leveling it is meant that the use of the
  • System Bus is divided equally or nearly equally between the two channels. Load leveling tends to reduce con ⁇ tention garble since message transmissions that are equally divided between two channels result in each channel being less busy than if one channel were more frequently used than the other channel.
  • the pairs of bus receivers 458A and 458B, decoders 558A and 558B, swamp circuits 560A and 560B, idle detection circuits 562A and 562B, serializers 564A and 564B and the buses 552A and 552B permit the message control circuit 544 to receive simul ⁇ taneously the message on each of Channel A and Channel B.
  • Much of the circuitry associated with the message receiving functions of the message control circuit 544 is duplicated so that the message control circuit 544 will check the destination address fields of both es- sages for a match with the unique subsystem address or the group address of the subsystem, and will check both messages for CRC, swamp and idle errors.
  • Fig. 32 shows in simplified form the message control circuit 544 of the two-channel system.
  • the message control circuit 544 includes generally the same circuit blocks as the message control circuit 144 in Fig. 15.
  • message control circuit 544 includes a MUX 570, a CRC generate circuit 572, an XFIFO 574, a MUX 576, a GFIFO 578, a compare circuit 580, an RFIFO 590, a retry circuit 604, a transmit control circuit 596, a receive control circuit 598 and a monitor control circuit 600.
  • These circuit blocks generally correspond to the iden ⁇ tically named and similarly numbered circuit blocks in Fig. 15.
  • monitor control circuit 600 must monitor both Channel A and Channel B for an idle con ⁇ dition. This is indicated in Fig. 32 by the signal notation RIDLE (A or B) .
  • the signal RIDLE is actually comprised of two components that are time multiplexed by the clock signals X0 and XI, with each component indi ⁇ cating an idle condition of one of the channels.
  • the signal CNLAVAIL@0 is provided by the monitor control circuit 600 to the transmit control circuit 596 and indicates that at least one of the channels is idle and available for transmission.
  • a signal ACNLSEL@0 is provided by the monitor control circuit 600 to the channel selection circuit 610 (Fig. 31) for indicating which of the two channels is being selected for the transmission of the message, in accordance with the criteria mentioned previously.
  • BRENBL@0 are provided by the monitor control circuit 600 to the receive control circuit 598 to indicate when Channel A and Channel B, respectively, are not idle and messages are to be received.
  • a receiver address check circuit 584A Also seen in Fig. 32 are a receiver address check circuit 584A, a CRC check circuit 586A, and a postamble garble detection circuit 588A, all connected for receiving only the messages on Channel A of the System Bus.
  • a receiver address check circuit 584B, a CRC check circuit 586B, and a postamble garble detection circuit 588B are all connected for receiving only the messages on Channel B of the System Bus.
  • the destination address field of the messages received on Channel A of the System Bus is checked at the receiver address check circuit 584A. If either the unique subsystem address or group address of the asso ⁇ ciated subsystem is in the destination address field, a signal ARMATCHQO is delivered to the receive control circuit 598.
  • the CRC check circuit 586A checks the messages on Channel A for CRC errors, with a signal ACRCOKQ0 delivered to the receive control circuit 598 to indicate a CRC error.
  • the postamble garble detection circuit 588A checks the postamble of the messages on Channel A and provides a signal AZROQO to the receive control circuit 598 to indicate a garbled postamble. In a similar fashion, the destination address field of the messages on Channel B are checked by the receiver address check circuit 584B, with a signal
  • the CRC check circuit 586B checks the messages on Channel B for CRC errors and provides the signal BCRCOK@0 to indicate a CRC error.
  • the postamble garble detection circuit 588B checks the postamble of the messages on Channel B and provides a signal BZRO@0 to indicate a garbled postamble.
  • Channel A is always selected in the event that two messages having the same destination are received at the same time. Furthermore, it will be appreciated that the messages on Channels A and B, which are multiplexed utilizing the enabling phases of clock signals X0 and XI respectively, can be readily demultiplexed.
  • the message information is buffered into the GFIFO 578 in the same fashion as has been previously described in conjunction with the GFIFO 178 in Fig. 15. However, the compare circuit 580 is connected for re ⁇ ceiving the message on either Channel A or Channel B. If Channel A has been selected for transmission, then the compare circuit 580 compares each byte of the message in GFIFO 578 with each byte received on Channel A.
  • Fig. 33 illustrates specific circuitry that could be used to accomplish the function of the channel selection circuit 610 that was shown in simplified form in the two-channel adapter 538 of Figs. 30 and 31. Also illustrated is a garbling circuit 611 associated with the channel selection circuit 610 for selectively garb ⁇ ling the messages on either Channel A or Channel B.
  • the channel selection circuit 610 includes two
  • the signal SNDENBL@0 is received at an inverted input of AND gate 612 and the signal ACNLSEL and the encoded message are received at non- inverted inputs of AND gate 612.
  • the signals SNDENBL@0 and ACNLSEL are also received at inverted inputs of the AND gate 614 and the encoded message at a non-inverted input of the AND gate 614.
  • the signal ACNLSEL is at a "1”
  • the encoded message is passed through the AND gate 612 and by way of the garbling circuit 611 to the bus driver 446A for transmitting the message over Channel A.
  • the signal ACNLSEL is at a "0”
  • the encoded message is passed through the AND gate 614 and by way of the garbling circuit 611 to the bus driver 446B for transmitting the message over Channel B.
  • the garbling circuit 611 may be used to selec ⁇ tively pass a garbling signal to either Channel A or Channel B.
  • the garbling circuit 611 includes an AND gate 615 and an OR gate 616 that will garble any message on Channel A.
  • the AND gate 615 receives a garbling signal in the form of a series of l's or low frequency pulses and the AABORT signal mentioned earlier in con ⁇ nection with Fig. 32.
  • the output of the AND gate is provided to the OR gate 616, which also receives any encoded message for Channel A from the channel selection circuit.
  • the garbling circuit also includes an AND gate 617 and an OR gate 618.
  • the AND gate 617 receives the garbling signal in the form of l's and the signal BABORT, also mentioned earlier in connection with Fig. 32.
  • the output of AND gate 617 is provided, with any encoded message for Channel B from the channel selection circuit, to the OR gate 618.
  • the AABORT signal is enabled at a "1”
  • the series of l's are passed through AND gate 615 and OR gate 616, to be transmitted on Channel A of the System Bus.
  • the BABORT signal is enabled at a "1”
  • the series of l's are passed through AND gate 617 and OR gate 618, to be transmitted on Channel B of the System Bus.
  • the retry circuit 604 in the message control circuit 544 of the two channel system.
  • the retry circuit 604 includes a retry counter (CNT) 620, a 'retry timer 622 and control circuitry 624.
  • CNT retry counter
  • the retry circuit 604 will cause the transmission of a message to be retried when a retryable error has occurred.
  • the retry interval between retries is determined by the retry timer 622 and will be made different, in a manner which will become apparent shortly, for the retry circuit associated with each subsystem so that subsystems having retryable errors do not retry at the same time. Further ⁇ more, the retry counter 620 permits only a predetermined maximum number of retries.
  • the retry counter (CNT) 620 comprises an 8-bit shift register that can be hardwired to receive a "1" at its first stage.
  • the retry counter 620 receives a signal RCNTSHFT*0 from the control circuit for shifting the "1" through its eight stages, and provides a signal RETRY8@0 back to the control circuit when the "1" reaches the eighth stage.
  • the retry timer includes a retry timer counter (SADC) 626 which is connected for being loaded with bits at the output of a set of eight AND gates 628.
  • SADC retry timer counter
  • the AND gates 628 logically combine, in parallel, the eight bits in the retry counter 620 with the eight bits in the unique subsystem address of the associated sub- system from the register SADD that was mentioned earlier in connection with the address check circuit 184 in Fig. 15.
  • the SADC counter 626 decrements from its loaded value to a zero value, it provides a signal TRMCNTgO to the control circuit 624.
  • the control circuit 624 receives a retry clock signal TSTRB that is provided from an external clock source to the system interface chip 536.
  • the control circuit also receives the signal RTYERRgO for indicating a retryable error and provides a signal RTYRDYQO for indicating when the timed interval of the retry timer
  • the retry circuit 604 first determines whether the retry counter (CNT) 620 has reached a full count, step 630. If the counter has reached a full count, then the retry circuit " has attempt ⁇ ed to retry the message a predetermined maximum number of times (eight times) and the processor is notified that the retry has been unsuccessful, step 632, and the sequence ends. If the retry counter 620 has not reached its full count, then the retry circuit determines whether the channel on which the last try was made is idle, step 634.
  • CNT retry counter
  • the retry circuit waits for the next pulse in the retry clock TSTRB, step 626.
  • the flow continues through steps 634 and 636 until the channel becomes idle at step 634.
  • all subsystems that are retrying a transmission will begin to time the retry interval in the retry timer 622 from the same point in time. Since the retry intervals are different in each retry circuit 604, this, further reduces the likelihood that two sub ⁇ systems will retry at the same time or within the same contention window.
  • (CNT) 620 is then incremented, step 638, and then the retry timer 612 is loaded with the output of the AND gates 628 and waits for the next retry clock TSTRB, step 640.
  • the retry circuit determines whether either channel is idle, step 642, since it is fruitless to retry a transmission if both channels are busy. If neither channel is idle, then the sequence waits for the next retry clock, step 644, and again determines if either channel is idle at step 642.
  • the sequence next deter ⁇ mines whether the SADC counter 626 in retry timer 622 has reached its zero value, step 646, and if it has not, the retry circuit decrements the SADC counter 626, step 648, and waits for the next retry clock, step 650.
  • the steps 642 and 646 are repeated until the counter in the retry timer reaches zero at step 646.
  • step 652 When the counter in the retry timer reaches . zero, the transmission is retried, step 652, and if the transmission is successful, step 654, then the retry counter 620 is reset to zero, step 656, and the sequence ends. If the transmission is not successful, then the sequence returns to step 630 and is repeated until either the transmission is successful or the retry counter 620 does reach its full count at step 630 and the processor is notified of the maximum unsuccessful retries at step 632.

Abstract

A data processing system (10) employing broadcast packet switching and having a plurality of subsystems (24) and a system bus (16, 18, 18A, 20, 20A) for linking the subsystems (24). The subsystems (24) are grouped within stations (12) that are each enclosed by a computer cabinet. The system bus includes a star coupler (16), first and second external transmission lines (18, 20) connecting each station (12) to the star coupler (16), and first and second internal transmission lines (18A, 20A) within each station (12) that are coupled to the first and second external transmission lines (18, 20). The subsystems (24) within each station (12) are each coupled to the first and second internal transmission lines (18A, 20A) by a system bus interface (28). The system bus interface (28) monitors the system bus for an idle condition, and passes a message from its subsystem to the system bus only when it detects an idle condition on the system bus. The system (10) is readily expandable by connecting additional subsystems to the internal transmission lines (18A, 20A), without the need for a star coupler having an increased number of ports.

Description

DATA PROCESSING SYSTEM EMPLOYING BROADCAST PACKET SWITCHING
m Technical Field
This invention relates to data processing 5 systems of the kind including a plurality of subsystems/ a plurality of pairs of first and second transmission lines and a star coupler linking said pairs of trans¬ mission lines whereby signals received from said first transmission line in any of said pairs are passed to 10 said second transmission line in all of said pairs of transmission lines.
By a star coupler is meant a coupling device which can be regarded as a common point, that is a coupling device which receives signals from a plurality 15 of stations, mixes or logically OR's the signals and then passes the resulting signal back to all the sta¬ tions.
Background Art
A data processing system of the kind specified
20 is known from the article by Rawson and Metcalf: "Fiber- net: Multimode Optical Fibers for Local Computer Net¬ works", IEEE Transactions on Communications, vol. COM-26, No. 7, July 1978, pages 983-990. According to one embodiment described in this article, a plurality of
25 host computers are interconnected, each host computer being coupled by a pair of electrical lines to respec¬ tive source and detector devices which are connected to a corresponding pair of optical fiber cables. The pairs ^• of optical fiber cables are coupled to a transmissive
30 star coupler having a plurality of ports. The maximum number of computers which can be interconnected into the system corresponds to the number of ports in the star coupler. If it is desired to further increase the number of computers in the system, then the star coupler is
35 replaced by a star coupler having a greater number of ports.
OMPI The known system has the disadvantage of limited expandability in view of the limited number of ports provided by a given star coupler.
Disclosure of the Invention It is an object of the present invention to provide a data processing system of the kind specified, which is readily expandable.
Therefore, the present invention is charac¬ terized in that each of said pairs of transmission lines has a plurality of said subsystems connected thereto, said first transmission line being adapted to carry signals transmitted by any one of its associated plural¬ ity of subsystems and said second transmission line being adapted to carry signals to be received by all of its associated plurality of subsystems.
It will be appreciated that a data processing system according to the invention is readily expandable since additional subsystems can be connected to the respective pairs of transmission lines.
Brief Description of the Drawings
Embodiments of the invention will now be described by way of example with reference to the draw¬ ings, in which:
Fig. 1 is a simplified block diagram of a data processing system, including a star coupler and a plurality of stations, each station linked by a pair of transmission lines to the star coupler.
Fig. 2 is a simplified block diagram of the data processing system of Fig. 1, illustrating a plural- ity of subsystems at each station.
Fig. 3 is a simplified block diagram showing in greater detail a plurality of subsystems at one station in the data processing system of Figs. 1 and 2, the subsystems including processor modules, memory modules and an I/O module each coupled to the pair of transmission lines from the star coupler. Fig. 4 is a circuit diagram showing the bus driver circuit and bus receiver circuit connecting each system bus interface to the system bus.
Fig. 5 is a block diagram of a passive optical star coupler that could be employed in the data proces- sing system of Figs. 1 and 2.
Fig. 6 is a simplified block diagram of an active optical star coupler that could be employed in the data processing system of Figs. 1 and 2.
Fig. 7 is a simplified block diagram of an electrical star coupler that could be employed in the data processing system of Figs. 1 and 2.
Fig. 8 is a simplified block diagram of a magnetic star coupler that could be employed in the data processing system of Figs. 1 and 2. Fig. 9 is a simplified block diagram illus¬ trating one of the processor modules shown in Fig. 3.
Fig. 10 is a simplified block diagram illus¬ trating one of the memory modules shown in Fig. 3.
Fig. 11 is a simplified block diagram illus- trating the I/O module shown in Fig. 3.
Figs. 12A and 12B illustrate the format of messages transmitted by subsystems in the data processing system of Figs. 1 and 2.
Fig. 13 is a simplified block diagram of the system bus interface shown connecting each subsystem or module to the system bus in Fig. 3.
Fig. 14 is a block diagram illustrating in greater detail the circuitry within the system bus interface shown in Fig. 13. Fig. 15 is a detailed block diagram of the message control circuit shown in the system bus inter¬ face of Fig. 14.
OMPI Fig. 16 shows waveforms illustrating the nature of the clock signals X0 and XI.
Figs. 17A, 17B and 17C are flow diagrams illustrating the general operation of the system bus interface of Fig. 14.
Figs. 18, 19 and 20 illustrate three exemplary cases in which messages are transmitted in the data processing system of Figs. 1 and 2.
Fig. 21 illustrates the content of the local memory in each of the subsystems.
Figs. 22A and 22B illustrate the format of mailbox entries in the local memory shown in Fig. 21.
Fig. 23 is a block diagram illustrating in greater detail the DMA and the control and status regis- ters shown in Fig. 14.
Fig. 24 illustrates the content of the command register shown in Fig. 23.
Fig. 25 illustrates the content of the status register shown in Fig. 23. Fig. 26 is a detailed block diagram of the swamp circuit and the idle detection circuit shown in the system bus interface of Fig. 14.
Fig. 27 is a simplified block diagram illus¬ trating an alternate embodiment of a data processing system.
Fig. 28 is a simplified block diagram showing in greater detail a plurality of subsystems within one of the stations in the data processing system of Fig. 27. Fig. 29 illustrates a wiring pattern for providing electrical turn around paths in the station of Fig. 28.
Fig. 30 is a simplified block diagram of the system bus interface shown connecting each subsystem or module to the dual-channel system bus in Fig. 28.
Fig. 31 is a block diagram illustrating in greater detail the circuitry within the system bus interface shown in Fig. 30. Fig. 32 is a detailed block diagram of the message control circuit shown in the system bus inter¬ face of Fig. 31.
Fig. 33 is a block diagram illustrating the circuitry within the channel selection circuit shown in the system bus interface in Fig. 31.
Fig. 34 is a simplified block diagram of a retry circuit for use in the message control circuit of the system bus interface in Fig. 31. Fig. 35 is a flow diagram illustrating the operation of the retry circuit shown in Fig. 33.
Best Mode for Carrying Out the Invention A. DATA PROCESSING SYSTEM 10 (GENERAL)
Referring now to Fig. 1, there is shown in general and simplified form a data processing system 10. The data processing system 10 is comprised of a plural¬ ity of stations 12, each of which is linked by an asso¬ ciated cable 14 to a central star coupler 16. Each cable 14 comprises a first transmission line 18 and a second transmission line 20. As is conventional in systems employing star couplers, the star coupler 16 receives a signal generated or transmitted at any one of the stations from the first transmission line 18 associated with that one of the stations. The star coupler then directs that signal to all of the second transmission lines 20 for transmission to all of the stations, including the station that generated the signal.
As will be more fully described later, it is contemplated that in the actual practice of the present invention each of the stations 12 includes data proces¬ sing equipment located within a single cabinet. There¬ fore, if the data processing system 10 were viewed in its actual physical form, one would see a plurality of cabinets, each for housing data processing equipment, and a centrally located cabinet for housing the star
OMPI coupler 16, with the star coupler 16 connected to each of the cabinets by the cables 14.
It should be noted that, for reasons which will become apparent later, the data processing system 10 in its preferred form is a local network, i.e., the stations 12 are not separated by long distances. Accord¬ ingly, each of the cables 14 is no longer than, say, 300 feet (approximately 91 meters), with all of the stations probably located within a single building and considered, for all practical purposes, a single "computer system".
It should be further noted that the star coupler 16, in its preferred form, is an optical star coupler. Accordingly, optical signals are generated at each of the stations 12 and are carried along the first transmission lines 18 to the star coupler 16. The star coupler 16, in turn, directs those optical signals back to all of the stations 12 along the second transmission lines 20. The first and second transmission lines 18 and 20.could each comprise a single optical fiber, suitably wrapped and packaged together to form the cable 14.
Referring now to Fig. 2, there is shown in greater detail the data processing system 10 in accord¬ ance with one aspect of the present invention. As seen in Fig. 2, each of the stations 12 include a plurality of subsystems 24, with the subsystems 24 at each station enclosed by broken lines in the drawings to indicate their physical enclosure within a cabinet. Each first transmission line 18 has an associated internal trans- mission line 18A within the cabinet or station 12, and each second transmission line 20 has an associated internal transmission line 20A within the cabinet or station 12. Each of the subsystems 24 is connected to the internal transmission lines 18A and 20A so that each subsystem transmits messages along the internal trans¬ mission line 18A and receives messages along- the internal transmission line 20A. In a preferred form of the present invention, the transmission lines 18A and 20A are each formed by a coaxial electrical line or cable and carry electrical signals, which are converted into or from optical signals at the transmission lines 18 and 20 by an optical inter¬ face (not shown in Fig. 2). In addition, each of the subsystems 24, as will be more fully described later, is coupled or tapped into the internal electrical trans¬ mission lines 18A and 20A without disrupting the connec- tion of any other subsystem to the transmission lines
18A and 20A. The data processing system 10 can thus be seen as providing the advantages of a readily expandable electrical system, since subsystems within each station 12 may be added along the internal transmission lines 18A and 20A.
Since the message or information packet sent by any one of the subsystems 24 is broadcasted to all of the subsystems 24, there is no selection or control of paths to route a message packet from one subsystem 24 to another subsystem 24. Accordingly, for purposes of transmitting or receiving message packets, the subsys¬ tems 24 operate as if all the pairs of first and second internal transmission lines 18A and 20A, all the first and second transmission lines 18 and 20, and the star coupler 16 were, collectively, a single bus. This ostensible single bus, for purposes of describing the present invention, is hereinafter referred to as the "System Bus" .
In Fig. 3, there is shown in greater detail the subsystems within the cabinet of one of the stations 12. As can be seen, the subsystems are shown as proces¬ sor modules 24A, memory modules 24B, and an I/O module 24G. Each of the processor modules 24A, memory modules 24B and I/O module 24C is connected to the internal transmission lines 18A and 20A through a system bus interface 28. Each system bus interface 28, as will be described in greater detail later in conjunction with Figs. 13 through 17C, includes circuitry for encoding messages transmitted on the System Bus, for adding preambles, postambles, flags and CRC bits to messages transmitted on the System Bus, for decoding messages received from the System Bus, for checking received messages for errors, for monitoring the System Bus for an idle condition before its associated subsystem 24 can transmit, for comparing any message transmitted by its associated subsystem with the messages received to determine if a message from another module is interfering with its transmitted message, and for performing DMA (direct memory access) functions so that data can be read from or written into the local memory of the asso¬ ciated subsystem without repeated processor commands. The system bus interface 28 associated with each processor module 24A, memory module 24B and I/O module 24C is connected to each of the internal trans¬ mission lines 18A and 20A by circuitry and T-couplers that will be described in detail later in connection with Fig. 4. The internal transmission lines 18A and 20A are in turn coupled or connected to the external optical transmission lines 18 and 20 by an optical interface circuit 32 which, as seen in Fig. 3, includes an optical source 34 and an optical detector 36. Still referring to Fig. 3, the internal trans¬ mission line 18A is connected to each of the processor, memory and I/O modules for carrying messages in one direction, which is illustrated by an arrow 40 that is pointing toward the right as viewed in Fig. 3. The internal transmission line 20A, on the other hand, is connected to each of the processor, memory and I/O modules for carrying signals in an opposite direction, which is illustrated by an arrow 42 that is pointing toward the left as viewed in Fig. 3. The messages car- ried on internal transmission line 18A are in the form of electrical signals and are converted by the optical source 34 to optical signals and are passed to the
OMPI optical transmission line 18, which in turn carries the optical signals to the optical star coupler 16. The optical star coupler 16, in turn, directs the optical signals received from any one of the optical trans- mission lines 18 to every optical transmission line 20, including the one returning to the cabinet or station 12 that generated the message. As seen in Fig. 3, the optical signals on the transmission line 20 are received at the optical detector 36 at each cabinet or station 12 and are converted into electrical signals that are passed to the internal transmission line 20A. All of the processor, memory and I/O modules receive the message or signals that are passed along the internal transmis¬ sion line 20A, including any one of the modules that may at that very moment be transmitting the same message.
In an alternate form of the present invention the internal transmission lines 18A and 20A could be connected directly to, or even formed integrally with, the external lines 18 and 20, respectively. That is, for example, the internal transmission line 18A could be an optical line and an integral end section of the external optical transmission line 18, and the internal transmission line 20A could be an optical line and an integral end section of the external optical transmis- sion line 20. In such a case, there would be no optical interface 32 and each system bus interface 28 would be connected to the internal transmission lines 18A and 20A by a suitable optical T-coupler.
However, the use of the electrical lines 18A and 20A in the system 10 as shown in Figs. 1 through 3 is preferred because they may be implemented with low- cost electrical coaxial cables and T-connectors. The electrical conductors are adequately shielded within the cabinet or station 12 from radio frequency interference (RFI) and electromagnetic interference (EMI). Away from each of the stations 12, the optical transmission lines 18 and 20 are preferred since they will not be subjected to RFI and EMI by virtue of their being optical fibers.
OMPI B. BUS DRIVER CIRCUIT 46 & BUS RECEIVER 58
In Fig. 4 there is illustrated the circuitry within each system bus interface 28 that physically and electrically connects the system bus interface to the internal transmission lines 18A and 20A. As shown, the message transmitted by any one of the modules or sub¬ systems 24 is passed within the system bus interface 28 to a bus driver circuit 46. The bus driver circuit 46 includes a Schottky TTL driver 48 that has its output connected to the transmission line 18A by way of a transistor 50. The emitter of the transistor 50 is physically connected to the line 18 by a suitable conventional coaxial T-coupler 52. The collector of transistor 50 is connected to a voltage source +V, and a resistor 54 is connected between the voltage source +V and the base of transistor 50. Although signals placed on the transmission line 18A will tend to propagate in both directions, only those signals traveling in the direction of arrow 40 (Figs. 3 and 4) will be converted into optical signals at the optical interface 32 (Fig. 3) and be passed to the star coupler 16.
Referring still to Fig. 4, signals traveling in the direction of arrow 42 from the optical detector 36 (Fig. 3) along the transmission line 20A are passed, by way of a coaxial T-coupler 56, to a bus receiver circuit that includes a TTL line receiver 58. The message received by the receiver 58, after passing through the system bus interface 28, is provided to its associated module 24A, 24B or 24C.
C. STAR COUPLERS 16, 16A, 16B & 16C
It should be apparent from the description thus far that the data processing system 10 is readily expandable even though the stations 12 are linked by the star coupler 16. The internal transmission lines 18A and 20A within the cabinets at each station 12 may be nondestructively tapped into by the T-couplers 52 and
£TTREA
OMPI 56. Accordingly, the number of processor modules 24A, memory modules 24B, or I/O modules 24C that may be added is theoretically unlimited (providing there is unlimited bus capacity) , as long as sufficient volume is provided within each cabinet for positioning the modules.
Since it is contemplated that the data pro¬ cessing system 10 can be expanded as processing or memory requirements increase, it could well be that the system 10 comprises, for a user initially needing only small computer capability, a single one of the cabinets or stations 12. In such a case, as processing and memory needs increase, the user would first add addition¬ al subsystems 24 at a single station. Then, as needs further increase, the user would employ the star coupler 16 in order to link plural stations or cabinets. In the case where only one station or cabinet is needed initially, the return path of the System Bus to that station formed by external transmission line 18, star coupler 16, and external transmission line 20 could be replaced by a single connecting transmission line 62, seen as a broken line in Fig. 3. The connecting trans¬ mission line 62 would comprise a coaxial electrical line and would provide an electrical path between the internal transmission line 18A and the internal transmission line 20A. When the connecting line 62 is in place, and if any one of the modules 24A, 24B or 24C within the station 12 of Fig. 3 transmits a message, the message is carried down line 18A, across connecting line 62, and then back along line 20A to each of the modules. The optical interface 32 is, of course, not needed when the connecting line 62 is used.
Referring now to Fig. 5 there is shown in greater detail the star coupler 16 in one preferred form. The star coupler 16 is a passive star coupler, meaning that it does not amplify or regenerate any of the optical signals it receives. As seen in Fig. 5, the star coupler 16 includes a mixing element or rod 64
OMPI comprising a cylindrical glass core, with the fibers that each make up one of the external transmission lines 18 (Figs. 1, 2 and 3) having ends terminating at one end face 66 of the mixing rod. The optical fibers that each make up one of the external transmission lines 20 (Figs. 1, 2 and 3) have ends terminating at an opposite end face 68 of the mixing rod 64. As conventional, the star coupler 16 is constructed so that the fibers of the transmission lines 18 and 20 are optically matched with the mixing rod 64 at the end faces 66 and 68.
When an optical signal is passed from any one of the transmission lines 18 to the mixing rod 64 at the end face 66, it is distributed uniformly across the opposite end face 68 of the mixing rod, and is then passed to each one of the transmission lines 20.
A commercially available passive star coupler that performs the functions of the star coupler 16 as shown in Fig. 5 could, for example, be the sixteen-port star coupler, product No. SPX3720, sold by Spectronics Incorporated, Richardson, Texas.
In circumstances where the data processing system 10 might use optical transmission lines of suf¬ ficient length to warrant the use of an active star coupler, an alternate star coupler 16A shown in Fig. 6 would be more suitable. The active star coupler 16A amplifies the optical signals received from any one of the stations 12 by way of one of the transmission lines 18, and then passes the amplified optical signals back to all of the stations 12 by way of the transmission lines 20. As seen in Fig. 6, each pair of the trans¬ mission lines 18 and 20 that is associated with each station 12 is connected to the star coupler 16A by an optical coupler 74. The signals received from any one of the transmission lines 18 is passed through the coupler 74 to an optical fiber 76. The signals on each fiber 76 are in turn passed to a tapered waveguide 80, which directs the optical signals to an optical detector
OMPI 82. The optical detector 82 converts the optical signals to electrical signals, which are then amplified by an electrical amplifier 84. The amplified electrical signals are presented to an optical source 86, which includes suitable source driver circuitry and an optical interface, in order to provide amplified optical signals to a plurality of optical fibers 88. Each of the fibers 88 is coupled to one of the transmission lines 20 at the couplers 74, in order to return the amplified optical signals to each of the stations 12. A power supply 90 provides sufficient operating voltages to the optical detector 82, amplifier 84, and optical source 86. For a more detailed description of an active optical star coupler, such as the star coupler 16A in Fig. 6, refer- ence can be had to U. S. Patent No. 4,234,968, issued to Amar J. Singh.
While in the preferred embodiment the star coupler 16 in the data processing 10 is an optical star coupler, and the transmission lines 18 and 20 connecting each of the stations 12 to the star coupler are optical fibers or lines, it should be appreciated that other forms of star couplers may be used within the scope of the present invention. In Fig. 7, there is shown an electrical star coupler 16B that includes circuitry for receiving and passing electrical signals at the star coupler and that could alternatively be used in the data processing system 10.
As illustrated in Fig. 7, pairs of external transmission lines 18* and 20' link the stations 12 and the star coupler 16B, with each of the lines 18* and 20' comprising a twisted pair of electrical conductors rather than an optical fiber as used in the previously described preferred embodiments. The conductors of each transmission line 18' carry electrical signals from one of the stations 12 and are connected to the input ter¬ minals of a single output line receiver 90. The conduc¬ tors of each transmission line 20' carry electrical
- OREX,
OMPI signals from the star coupler 16B back to one of the stations 12 and are connected to the output terminals of a single input line driver 92. The output of each receiver 90 and the input of each driver 92 are connec- ted to a common electrical line 94. Accordingly, when a signal is received by one of the receivers 90 from any one of the transmission lines 18', the signal is pro¬ vided, by way of the common line 94, to each of the drivers 92. The drivers 92 supply the signal from the common line 94 to each of the transmission lines 20', which then return the signal to all of the stations 12. The receivers 90 may each be implemented by a Line Receiver Circuit No. 10115 and the drivers 92 may each be implemented by an OR-NOR Circuit No. 10101, both available from Signetics, Inc., Sunnyvale, California. The star coupler 16B may also include a conventional power supply (not shown), for supplying suitable oper¬ ating voltages to each of the receivers 90 and drivers 92. In Fig. 8, there is shown a magnetic star coupler 16C that could also be alternatively used in the data processing system 10. The external transmission lines 18' and 20' can again each comprise a pair of twisted electrical conductors, with each of the trans- mission lines 18' and 20' formed into coils 96 and 98, respectively, along a core or rod 100. The coils 96 are wound oppositely relative to the coils 98. The rod 100 is made of a suitable ferromagnetic material, such as ferrite, so that when an electrical signal is received from any one of the transmission lines 18', a change in magnetic flux is induced in the rod 100 and a corres¬ ponding signal is provided to each of the transmission lines 201. The star coupler 16C could be located within a suitably shielded cabinet but, unlike the electrical star coupler 16B in Fig. 7, it is passive and requires no power supply. D. MODULES 24A, 24B & 24C
Referring again briefly to Fig. 3, it has earlier been noted that the ability to add the memory modules 24A and the processor modules 24B along the internal transmission lines 18A and 20A within each station 12 permits the system 10 to have either its memory capacity or processing capacity increased at will. It is envisioned that the processor modules 24A, memory modules 24B and I/O modules 24C are self-contained, with much of the circuitry of each fabricated on one or a few VLSI (very large-scale integration) chips. Each of the modules has its own processor and a local memory storing data to be processed by its processor. In contrast to traditional systems, however, the data processing system 10 of Fig. 1 has no single processor that both performs normal processing tasks and also controls the operation of the memories or peripheral devices. Rather, each memory module 24B has sufficient processing capability to manage the memory operations in its own module, and manage those memory operations independently of any one of the processing modules 24A. In addition, each of the processor modules 24A contains a sufficient amount of memory that is not shared with any other module, so that the processor module will not need to frequently access any of the memory modules.
Of course, the data processing system 10 requires suitable data entry and data output points, which are provided by each of the I/O modules 24C. Each I/O module 24C, as will be described in greater detail below, is connected to a peripheral device and includes the necessary processing and memory capability to manage the transfer of data between the peripheral device and one of the processor modules 24A or memory modules 24B. Figs. 9, 10 and 11 show in greater detail the structure of each processor module 24A, memory module 24B, and I/O module 24C, respectively.
OMPI 1. PROCESSOR MODULE 24A
Referring first to Fig. 9, it can be seen that the processor module 24A includes a work processor 106 and a local processor memory 108. The work processor 106 and the local memory 108 are connected by an internal processor-memory (P-M) bus 110 so that, as conventional, the work processor may read software instructions from addressable memory locations in the local memory 108 and read data from or write data into the addressable memory locations in the local memory 108. The term "work processor" is used to refer to the processor 106 because the processor 106 performs the actual execution of software programs and steps to complete jobs or tasks provided to the data processing system 10. While the work processor 106 does perform some memory management operations relating to its associated local memory 108, it does not control the memory operations performed within any of the memory modules 24B, other than merely to request or provide data to the memory modules 24B. The local memory 108 may be a suitable high access-speed memory, such as commonly found in processor cache memories, so that software and data in the local memory may be quickly provided when needed for use by the work processor 106. However, the local memory 108 is also sufficiently large, in fact, larger than tra¬ ditional cache memories, so that data normally needed by the work processor to complete any given job or task resides largely in the local memory 108. Only when the processor module 24A needs a large block of data, must the work processor 106 send a request to one of the memory modules 24B or to one of the I/O modules 24C for data. As a result, the System Bus which interconnects all of the processor modules 24A and memory modules 24B is not crowded with excessive numbers of data requests. Rather, each work processor will frequently be able to find the data it needs in order to complete a task within its own local memory 108. When the work processor 106 does need a block of data that is only stored in one of the memory modules 24B or must come from a peripheral device through one of the I/O modules 24C, it broadcasts the request. The request is placed on the System Bus in the form of a message that includes the address or identification of the module that has the needed data (as well as the module that is requesting the data), so that the addressed module can receive and act on the request.
2. MEMORY MODULE 24B
In Fig. 10 the memory module 24B is shown as including a memory processor 112 and a local memory 114, with the local memory 114 including a high speed memory 116 and a large-capacity bulk memory 118. The memory processor 112 is connected to the high speed memory 116 and to the bulk memory 118 by an internal processor- memory (P-M) bus 120 so that, in response to requests from any one of the processor modules 24A, the memory processor 112 can access data stored in either the high speed memory 116 or the bulk memory 118. The high-speed memory and bulk memory are arranged in a conventional, hierarchial configuration, with the high speed memory 116 being a fast access RAM and the bulk memory 118 being, for example, a magnetic disk having a slower- access speed but a considerably larger storage capacity than the high-speed memory 116. The memory processor 112, as will be described below, performs a number of memory management operations, one of which includes the transfer of data between the high speed memory 116 and the bulk memory 118.
The memory processor 112 is microprogrammed to perform many memory operations that in more traditional data processing systems would be performed by a central work processor. By performing these operations in the memory processor 112, the need for requests or commands between the processor modules 24A and the memory modules 24B is vastly reduced, thereby making the processor modules 24A and memory modules 24B less dependent on communications with each other and, in turn, making the data processing system 10 readily expandable with minimal effect on the software in accordance with which the work processors 106 are operating.
The types of memory operations performed by the memory processor 112 can include the following:
(1) receiving and operating on read requests, write requests, and other memory access operations;
(2) exercising ownership control, so that if data is accessed by one processor module 24A, that data can be made inaccessable to any other processor module 24A; (3) performing global claim management func¬ tions, to avoid two processor modules 24A being placed in deadlock because each desires data that only the other has access to;
(4) performing queue management functions, by maintaining lists or queues of messages that are stored in the memory module and that are being sent to and from programs executing in the various pro¬ cessor modules 24A, so that as each program is free to take a message, it takes or acts on the message at the top of the queue containing messages directed to it;
(5) performing time-of-day services to permit start and end times to be given to each job acted on by one of the processor modules 24A; (6) duplicating certain files of data using independent memory modules so that if damage is done to a file or block of data or to a memory module, and the data is critical, the duplicate files may then be accessed by the processor modules; (7) transferring data between the high-speed memory 116 and the low access-speed bulk memory 118 within the memory modules; and (8) managing and allocating space within the bulk memory such that the processor modules need know nothing about the physical placement of related data.
3. I/O MODULE 24C
In Fig. 11, the I/O module 24C is shown in greater detail. The illustrated I/O module 24C includes an I/O processor 122, a local I/O memory 124, and I/O interface circuitry 126. The I/O processor 122 is connected to the local I/O memory 124 and the I/O inter¬ face circuitry 126 by an internal processor-memory (P-M) bus 128. The I/O interface circuitry 126 is connected to a peripheral device, such as a keyboard, CRT display, printer, magnetic tape unit, or the like. Data may either be transferred into or out of the system 10 at the I/O module 24C. If either a pro¬ cessor module 24A or a memory module 24B needs data from a peripheral device, a message, having the destination address of the I/O module 24C connected to the peripheral device, is transmitted over the System Bus and is stored in the local I/O memory 124. The I/O processor 122 will use the message stored in the local I/O memory 124 to generate specific commands for obtaining data, such commands passing through the I/O interface circuitry 126 to the peripheral device. Data is returned by the peripheral device and is stored in the local I/O memory until the I/O processor 122 formulates a message that will include the data. The message is transmitted or broadcasted on the System Bus and has the destination address of the module that requested the data.
Of course, in other circumstances the peripher¬ al device itself may initiate the transfer of data. In such circumstances, the peripheral device loads the local I/O memory 124 with the data and, in response, the I/O processor 122 will send a message, including the data, to a selected memory or processor module.
-£ORIA M While not shown in the drawings, any one of the modules 24A, 24B or 24C could be connected to more than one System Bus by, for example, connecting a com¬ pletely independent second System Bus to the P-M bus of' the module by way of a separate second system bus inter¬ face (not shown). Furthermore, any one of the modules could be connected, by way of an additional system bus interface (not shown) , to an additional single bus that could be used solely for transferring messages between that module and one other module. While not part of the present invention, such a connection might be useful when two subsystems or modules have a disproportionate need for communicating with each other and would other¬ wise require the use of the System Bus.
E. MESSAGE FORMATS
In Figs. 12A and 12B there is shown the format of messages that are transmitted from any one of the modules or subsystems 24 along the System Bus to another one of the subsystems 24. Each message is shown in the drawings as having a number of fields, with the number of bytes in each field shown in parentheses above the field. As can be seen in Figs. 12A and 12B, the message can be one of two types:
(1) a header-only message; or (2) a header and data message.
For reasons which will become apparent later, each message is always preceded and followed by an idle condition of the System Bus.
A header-only message is a message sent from one subsystem to another when the message only contains control information, such as a data or service request, information relating to status, or a limited amount of data information. On the other hand, a header and data message is a message sent from one subsystem to another which includes header control information and accompany¬ ing blocks of data to be stored in the local memory of the destination subsystem. Messages that are generally of the type referred to herein as "header-only" or "header and data" type are well known to those skilled in the art, and the general manner in which such messages cause the individual subsystems 24 to ultimately operate forms no part of the present invention and will not be described in detail herein.
Referring now in particular to Fig. 12A, it can be seen that the header-only message has ten fields in the following order:
( 1) preamble
( 2) first single flag
( 3 ) destination address
( 4 ) source address ( (55 )) op code
( 6 ) optional header data
( 7 ) cyclical redundancy code (CRC)
( 8 ) second single flag
( 9 ) postamble ( (1100)) post-postamble (PP) .
The preamble in the header-only message indi¬ cates to all receiving subsystems that a message is beginning. The preamble only occurs after the transmit¬ ting subsystem detects an idle condition on the System Bus. The preamble consists, for example, of two flag characters. In the preferred form of the present inven¬ tion, it is contemplated that each flag character con¬ sists of one byte (eight bits) as follows:
01111110 After the generation of the preamble, a single flag character is generated and then two one-byte destin¬ ation addresses that indicate to each of the subsystems the address or addresses of the intended destination of the message. As will be more fully described later, the system bus interface 28 associated with each subsystem
24 includes circuitry for recognizing the unique address of its associated subsystem or the group address of a group of subsystems that includes its associated sub¬ system.
In a preferred form of the present invention, it is contemplated that, in addition to a unique one- byte address associated with each of the subsystems 24, there are several one-byte group addresses that include the following:
(1) memory module group address; (2) application or work processor module group address;
(3) I/O processor module group address; and
(4) data base processor module group address. Other available group addresses can be assigned as needed.
When the destination address field has an address representing the memory module group address, all memory modules within the data processing system 10 are destination subsystems, and all will receive and act on the transmitted message if the message is success¬ fully transmitted. Similarly, if the destination field contains the work processor module group address, all processor modules within the system 10 that perform user or application tasks will receive and act on the message. If the destination field contains the I/O processor module group address, all processors within the system that perform input/output functions will receive and act on the message. Finally, if the destination field contains the data base processor module group address, all processor modules within the data processing system 10 that perform data base functions will copy and act on the transmitted message. A data base processor module is similar to the memory module, but may include the necessary programming to perform some processing func- tions on its stored data, such as merge, sort, or the like.
Since the destination address field is two bytes wide, it can include two unique subsystem addres- ses, two group addresses, or one subsystem address and one group address. In addition, there is no reason why the address cannot be the address associated with the very subsystem that is transmitting the message. Also seen in Fig. 12A is the source address field of the header-only message, which follows the destination address field and which comprises one byte (8 bits) of information. The source address informs the destination subsystem of the source of the message, that is, the subsystem generating the message over the System Bus. An op code field, comprising one byte, follows the source address and indicates to the destination subsys¬ tem the type of message that is being transmitted. It is contemplated that the op code indicates, at its highest order bit, whether the message is a header-only message, as seen in Fig. 12A, or a header and data message, as seen in Fig. 12B. In addition, the remaining bits of the op code indicate to the destination subsystem the type of command which the message represents. These commands, and the specific operation of any destination subsystem in response to the commands, form no part of the present invention and are not described in any greater detail herein. Depending, of course, upon the type of tasks that the subsystems will be performing, suitable commands to be represented by the bits in the op code field can be found in the command sets of many conventional data processing systems.
Following the op code field is an optional data field of variable length (from zero to 32K bytes) that contains, e.g., operands or other header data necessary for execution of the command represented by the op code in the header. In accordance with one aspect of the present invention to be described more fully later, the data field includes a data starting (DSA) address in the local memory of the sending or source subsystem if the header-only message is a request for data. Following the optional header data field is a
OMPI two byte (sixteen bit) cyclical redundancy code (CRC) field. The CRC check bits in the CRC field permit each subsystem in the data processing system 10 to check the validity of all the bits preceding the CRC check bits.
Following the CRC field is another flag char¬ acter which prepares the system bus interface 28 asso¬ ciated with each of the subsystems for receipt of a postamble field in the message. The postamble field consists of 15 bytes, and includes eight flag characters, followed by a series of six bytes of binary zeroes, and then ending with a flag character. The postamble field would thus appear as follows:
FFFFFFFF000000F where each "F" represents a flag character and each "0" represents a byte of zeroes. The postamble is followed by a post-postamble (PP) , which consists of two flags. The post-postamble simply continues the self-clocking features of the message long enough to fully clock or strobe the postamble into the system bus interface.
The significance of the postamble in the practice of one aspect of the present invention will be described later in connection with the description of Fig. 15. However, briefly, the postamble is a critical portion of each message transmitted over the System Bus because it permits any subsystem that detects an error to cause the message to be aborted. The subsystem receiving the erroneous message aborts the message by superimposing binary l's (or some other non-zero signal) on the postamble, so that every subsystem in the data processing system senses a "garbled" postamble and will reject the message.
In Fig. 12B, there is illustrated the format of a header and data message. Each header and data message is used to transfer blocks of data from one subsystem to another subsystem. Other than not having a post-postamble, the header portion of the message in
- Rl
OMPI Fig. 12B has the same format as the header-only message in Fig. 12A. The high order bit of the op code field in the header portion indicates to the destination sub¬ system that the message includes the data portion, which immediately follows the postamble of the header portion. If the header and data message is returning data request¬ ed by another subsystem, the header data field of the header portion includes, in its first three bytes, the starting address in the local memory at which the data is to be stored.
The data portion of the header and data message includes a beginning single flag character, a data field which contains blocks of data information of variable length (zero to 64K bytes), followed by sixteen CRC bits, followed in turn by a single flag character, then followed by a postamble field of the same format as the postamble in the header portion, and ending with a post-postamble field (two flag characters). If any sub¬ system in the data processing system 10 detects an error in the data portion of the message, it garbles the postamble field associated with the data portion of the data and header message. After the post-postamble, the System Bus again goes into an idle condition before any subsequent message is transmitted on the System Bus.
F. SYSTEM BUS INTERFACE 28
Turning now to Fig. 13, there is shown in simplified form the major circuit blocks within each system bus interface 28. The system bus interface 28 includes a system interface circuit or chip 136 that, in the preferred embodiment, is fabricated entirely on a single integrated circuit chip. The system interface chip 136 receives and provides data or message informa¬ tion to the P-M bus of its associated subsystem 24. The system interface chip 136 is connected to a channel adapter 138 that, in turn, is connected to the System Bus. The channel adapter 138 both provides messages
"fcfREA"^ from its associated subsystem 24 to the System Bus, and receives all messages that are on the System Bus.
The system interface chip 136 and the channel adapter 138 are shown simplified, but in somewhat greater detail, in Fig. 14. As seen in Fig. 14, the system interface chip 136 includes a DMA (direct memory access) circuit 140, command and status registers 142, and a message control circuit 144. The DMA 140 and command and status registers 142 will be described in greater detail later in conjunction with the Figs. 21 through 25. However, briefly, in addition to novel features forming certain aspects of the present invention that will be described later, the DMA performs conventional functions, such as buffering messages that are being generated by its associated subsystem or that have been received from the System Bus. The DMA 140 permits blocks of data to be transferred between the local memory of its associated subsystem and the System Bus, by accessing sequential memory locations in the local memory. Since access to the local memory is accomplished by the DMA, independently of the processor in the asso¬ ciated subsystem, the processor is free to perform other operations. The command and status registers 142 simply receive control and status bits from the processor of the associated subsystem or the control circuitry of the system bus interface, and in response provide such bits to the DMA 140 and message control circuit 144 in order to cause the system bus interface to accomplish desig¬ nated operations. The message control circuit 144 performs a number of functions that are critical to the operation of the system bus interface and the transmission and receipt of messages on the System Bus. These functions include: (1) monitoring the System Bus and permitting its associated subsystem to transmit a message only when the System Bus is idle;
-gTTϊLEA OMPI (2) receiving data or message information to be transmitted from the associated subsystem and inserting flags, preambles, postambles, and CRC bits;
(3) comparing each byte of information being transmitted by its associated subsystem with each corresponding byte of information received from the System Bus, in order to detect any interference or collision of messages (contention garble);
(4) checking the destination address of any received message in order to determine whether its associated subsystem should copy or act on that message;
(5) performing a CRC check on information received on the System Bus, and causing the message to be aborted if an error is detected, regardless of whether the associated subsystem is an addressed destination;
(6) checking the postamble of each message received from the System Bus, and indicating that the message should be disregarded if garble is detected in the postamble;
(7) indicating that the message should be disregarded if other errors (such as swamp or idle errors) are detected; (8) indicating to its associated subsystem if its message has been successfully transmitted; and (9) generating the necessary control signals to cause the DMA to access successive memory locations in the local memory of its associated subsystem.
The channel adapter 138 is shown in Fig. 14 as connected to the message control circuit 144 by a pair of buses 150 and 152. Messages to be provided to the System Bus are passed, one byte at a time, along the bus 150 to the channel adapter 138. Messages that are received from the System Bus after passing through the
- URE
OMPI channel adapter 138 are passed, one byte at a time, along the bus 152 to the message control circuit 144.
The channel adapter 138 includes a serializer 154 that serializes the message from the bus 150, i.e., converts each byte in the message into a serial stream of bits. In addition, the serializer 154, as conven¬ tional, inserts "O's" at appropriate locations in the message so that, as in standard protocols, no more than five consecutive "l's" will appear in the message, other than at control or flag characters.
The serial stream of bits at the output of the serializer 154 is provided to an encoder circuit 156, which encodes the serial stream into a signal suitable for transmission. Such a signal may be in the form of a double frequency code, such as the well-known diphase or Manchester code*. The encoded data at the output of encoder circuit 156 is then provided to the bus driver 46, which was described in detail earlier in conjunction with Fig. 4. Simple circuitry, which by itself.forms no part of the present invention, can be associated with either the serializer 154 or the encoder 156 in order to garble a message postamble. Such circuitry gates a source of "l's" or low frequency pulses to the signal line carrying the message, prior to the message being provided by the bus driver 46 to the System Bus. For present purposes, it can be assumed that this garbling circuitry consists simply of a gate or multiplexing circuit that selectively gates l's at the output of the serializer 154. A specific circuit for garbling the postamble will be illustrated and described later in conjunction with a dual-channel System Bus seen in Figs. 27 through 35.
When a message or signal is received from the System Bus by the system bus interface 28, it first passes through the bus receiver 58, which was also described earlier in conjunction with Fig. 4. The output of the bus receiver 58 is provided to a decoder circuit 158, a swamp circuit 160, and an idle detection circuit 162.
Exemplary forms of the swamp circuit 160 and the idle detection circuit 162 will be described in detail later in conjunction with Fig. 26. Briefly, the swamp circuit 160 monitors the pulse width of the en¬ coded messages received from the System Bus, and pro¬ vides a signal (not shown in Fig. 14) indicating to the message control circuit 144 when a signal having excessive pulse widths, such as one resulting from two interfering messages, is received. The idle detection circuit 162 monitors the System Bus for an idle condi¬ tion, and provides a signal (not shown in Fig. 14) indicating to the message control circuit 144 when the
System Bus is idle so that, among other things, a message from the message control circuit 144 is passed to the channel adapter 138 only when no other message is already on the System Bus. If an idle condition occurs at an inappropriate point in time, such as during a message, the message control circuit will determine that an idle error condition exists. The System Bus is detected as idle if the interval between pulses on the System Bus exceeds the normal interval between each pulse in an encoded message.
The decoder circuit 158 receives the encoded message from the output of the bus receiver 58, and decodes the signal in order to provide a serial stream of bits to a de-serializer 164. The de-serializer 164 takes the serial bits of the message and, in a conven¬ tional fashion, converts the message into parallel bytes and deletes any "O's" that were inserted when the message was serialized. The output of the de-serializer is provided to the message control circuit 144 by way of the bus 152.
Fig. 15 illustrates, in simplified form, the major circuit components within the message control circuit 144. As noted earlier, each message control circuit 144 performs a number of functions in controlling the transmission and receipt of messages at its associ¬ ated subsystem 24. At the heart of one aspect of the present invention are the following functions:
(1) the detection of contention garble, i.e., the collision or interference between a message being transmitted by the associated subsystem and a message simultaneously transmitted by another subsystem;
(2) the detection of message errors, such as CRC errors, in any message on the System Bus, by the message control circuit 144 associated with every subsystem 24 in the data processing system 10, and causing the postamble of the message to be garbled if such an error is detected; and
(3) the detection of a garbled postamble by the message control circuit 144 associated with every subsystem 24, and causing each subsystem to ignore or reject a message if a garbled postamble is detected.
Before proceeding with the description of the message control circuit 144 in Fig. 15, it should be noted that only major circuit components of the message control circuit 144 are shown in somewhat simplified form as functional blocks in Fig. 15 in order to teach the important aspects of the present invention.
Referring now to Fig. 15, it can be seen that the illustrated message control circuit 144 receives data (representing destination address, source address, op code or data information) for a header-only message or a header and data message one byte at a time by way of the DMA 140 (Fig. 14) and passes the data through a multiplexer (MUX) 170. The MUX 170 also receives CRC check bits generated at a CRC generate circuit 172. The CRC generate circuit 172 can generate CRC bits in accord¬ ance with any one of numerous algorithms well known those skilled in the art, such algorithms and the speci¬ fic circuitry in CRC generate circuit 172 forming no part of the present invention. For example, one such well-known algorithm, and circuitry for implementing that algorithm, are described in detail in Pandeya and Cassa, Parallel CRC Lets Many Lines Use One Circuit, 14 Computer Design 87 (September, 1975).
Data, and any CRC bits inserted at appropriate locations in the data by the MUX 170, are provided to a first-in-first-out memory (XFIFO) 174 which is capable of storing ten nine-bit words. The bytes of data pro¬ vided by an associated subsystem 24 by way of the DMA 140 to the XFIFO 174 are only eight bits wide, with the reason for the ninth bit (referred to as ENCRC2@0 in the drawings) of each word stored in XFIFO 174 being des¬ cribed later with reference to the operation of the system bus interface 28 and the circuitry shown in Fig. 15.
Eight bits of each nine-bit word stored in the XFIFO 174 can be passed to a MUX 176 and to a first-in- first-out memory (GFIFO) 178. The GFIFO 178 stores ten bytes of data, each for comparison at a compare circuit 180 with each corresponding byte of data in each trans¬ mitted message that is returned by the System Bus. The MUX 176 has an input connected in a conventional fashion to selectively provide flag characters and is conven¬ tionally constructed so that it can also be controlled to selectively provide at its output zeroes for a post¬ amble. The MUX 176 is controlled to insert flags and postamble bits at appropriate points during the trans¬ mission of each message.
The output of the MUX 176 is provided by way of the output bus 150 to the serializer 154 (Fig. 14), which in turn takes each byte of the message and serial- izes the byte for transmission on the System Bus.
After a message is received from the System Bus and passed, through bus receiver 58, decoder 158 and
OMP de-serializer 164, to the input bus 152 (Fig. 14), the message is provided, as seen in Fig. 15, to a receiver address check circuit 184, a CRC check circuit 186, and a postamble garble detection circuit 188. In addition, each byte of the received message (less flags, preambles and postambles) is stored in a ten byte first-in-first¬ out memory (RFIFO) 190.
As will be described in detail below in connec¬ tion with the operation of the system bus interface 28, receiver address check circuit 184 checks the destina¬ tion address field of each message received from the System Bus, and if the destination address or addresses in the address field match the unique subsystem address or the group address of the subsystem associated with the message control circuit, an appropriate signal
(RMATCH@0) is generated. The address check circuit 184 includes two registers (SADD and MASK, not shown) that are loaded during initialization of the subsystem. The register SADD is loaded with the unique subsystem address and the register MASK with a group address assignment.
When the destination addresses of a message are received, the contents of the two registers are compared with the addresses in the destination address field.
The CRC check circuit 186 generates CRC bits from the data received in each message and performs an error code check on the message by comparing the CRC bits with the CRC check bits in the CRC field of the message. The postamble garble detection circuit 188 checks the postamble of each message received from the System Bus and indicates when the postamble has been garbled, i.e., "l's" have been superimposed on the "0*s" in the postamble.
Still referring to Fig. 15, a transmit control circuit 196, a receive control circuit 198, and a monitor control circuit 200 generally control the circuit com¬ ponents shown in the message control circuit 144. In the implementation of the message control circuit, much
-g JRE OMPI of the control represented by control circuits 196, 198 and 200 is accomplished by programmable logic arrays (PLA's). In addition, the representation of only three control blocks 196, 198 and 200 only serves to generally illustrate the control functions needed to accomplish the operation to be described below. It should be obvious that in actual practice the control functions will be accomplished by many PLA's and by logic circuits associated with each of the major circuit components shown in Fig. 15.
Also shown in Fig. 15 is a retry circuit 204 which will cause any message that has not been success¬ fully transmitted (for example, because of contention garble) to be retried later. A specific circuit and operational algorithm for implementing the retry circuit 204 in a system employing a dual-channel System Bus will be described later in conjunction with Figs. 34 and 35.
In addition to the major circuit components, there are also shown in Fig. 15 numerous control signals for controlling the circuit components. These signals are identified by mnemonics which represent descriptive signal names. The mnemonics, descriptive signal names, and a general signal description for each of the control signals in Fig. 15 are shown below in Signal List #1.
SIGNAL LIST #1
MNEMONIC SIGNAL NAME SIGNAL DESCRIPTION ABORT Abort Message Causes serializer 154 to superimpose "l's" on the postamble BE@1 Byte Enable Controls passage of data thru MUX 176
CMPOK@0 Complete and OK Indicates that re¬ ceived message was complete and valid CNLAVAIL§0 Channel Available Indicates that channel (System Bus) is idle MNEMONIC SIGNAL NAME SIGNAL DESCRIPTION and available for transmission
CRCCLR*0 CRC Clear Clears the CRC check circuit 186
CRCGEN* 0 CRC Generate Causes CRC check cir¬ cuit 186 to compute CRC bits and compare with CRC check bits CRCOK@0 CRC OK Indicates whether a CRC error has occurred
ENCRC1*1 Enable CRC1 Controls MUX 170 to pass first CRC byte from CRC generate circuit 172
ENCRC2*1 Enable CRC2 Controls MUX 170 to pass second CRC byte from CRC generate circuit 172 ENCRC2§0 Enable CRC2 Status signal to be stored with data in XFIFO as ninth bit to indicate last byte before flag character
ERTRM Error Term Indicates an error in the received message
FE@ 1 Flag Enable Causes flags or post¬ amble to be provided at output of MUX 176
GFERR GF Error Indicates when a mis¬ match occurs at com¬ pare circuit 180
GFLD@1 GFIFO Load Causes byte to be loaded into GFIFO 178
GFRD§0 GFIFO Read Causes byte to be read from GFIFO 178 for comparison in compare circuit 180 MNEMONIC SIGNAL NAME SIGNAL DESCRIPTION LMFULL@0 Local Memory Full Indicates when an area in the associated local memory, des¬ cribed as the "mail¬ box", is full and cannot accept message information
LSTBYT@0 Last Byte Status signal stored with data in RFIFO as ninth bit to indicate last byte of data for DMA
RDMAREQgO Receive DMA Re¬ Indicates to DMA that quest associated subsystem is the addressed destination
RENBL@0 Receive Enable Indicates when channel (System Bus) is not idle, to enable message control circuit 144 to receive message
RERR Receive Error Indicates when swamp circuit 160 has detec¬ ted a swamp error
RFCLR@0 RFIFO Clear Clears the RFIFO 190 RFLD@0 RFIFO Load Causes byte to be loaded into RFIFO 190
RFLG Receive Flag Indicates when re¬ ceived byte in de¬ serializer 164 is flag character
RFRD§1 RFIFO Read Reads byte from RFIFO 190
RIDLE Idle Indicates when the idle detection circuit 162 detects an idle condition of the System Bus MNEMONIC SIGNAL NAME SIGNAL DESCRIPTION
MATCH @o Rece ive Match Indicates when destin¬ ation address in mes¬ sage matches unique subsystem address or group address of asso¬ ciated subsystem
RSTRB Receive Strobe Indicates when each byte of message is re¬ ceived by de-seriali¬ zer 164
RTYERR@ 0 Retry Error Indicates to Retry Circuit 204 that mes¬ sage should be retried ROVFLW@0 RFIFO Overflow Indicates when byte has been received by RFIFO 190 when RFIFO 190 is full
RZR0§0 Receive Zeroes Indicates whether a received postamble is garbled
SNDENBL@0 Send Enable Enables serializer to pass byte received from MUX 176 XCRCCLR*0 CRC Clear Clears the CRC gen¬ erate circuit 172
XCRCGEN* 0 CRC Generate Enables CRC generate circuit to generate two bytes of CRC bits XD*1 Data Enable Enables MUX 170 to pass data received from DMA
XFCLRg O XFIFO Clear Clears XFIFO
XFCLRgO XFIFO Clear Clears GFIFO
XFLDgO XFIFO Load Causes byte to be loaded into XFIFO
XFRD§1 XFIFO Read Causes byte to be read from XFIFO MNEMONIC SIGNAL NAME SIGNAL DESCRIPTION XLSTBYT@0 Last Byte Status signal read with data from XFIFO as ninth bit to indi¬ cate last byte of data
XMITCMP@0 Transmission Com¬ Indicates transmission plete of message is complete and successful
XDATRDY@0 Transmission Ready Indicates when DMA is ready to transmit mes¬ sage
XSTRBLgl Transmit Strobe Indicates when byte has been received by serializer 154
It can be seen from the above Signal List #1 that certain ones of the signals have the symbols "@" and "*" followed by either a "0" or a "1". These sym¬ bols, which will be used throughout this description, provide a convenient reference to the timing of the signal in relation to clock signals X0 and XI. The clock signals X0 and XI are shown in Fig. 15 as provided to each of the transmit control circuit 196, receive control circuit 198 and monitor control circuit 200. Fig. 16 shows waveforms illustrating the clock signals X0 and XI. It should be noted that the clock signals X0 and XI have non-overlapping pulses or phases. This permits signals to be time multiplexed, in a conventional fashion, at the pins of the system inter¬ face chip, using the clock signals X0 and XI, in order to minimize the number of pins.
In Signal List #1 above, the symbol "@" means that the given signal begins or changes state at the same time that a pulse occurs in the clock signal. Thus, for example, the notation n@l" indicates that the given signal begins at the same time that a pulse in the XI clock signal begins. The symbol "*" means that the
OMPI given signal begins or changes state at the same time that a pulse occurs in the clock signal, and lasts for only the same amount of time as that pulse in the clock signal. Thus, for example, the notation "*l" indicates that the given signal begins at the same time that a pulse in the XI clock signal begins and ends at the same time that the pulse in XI ends.
Turning now to Figs. 17A, 17B and 17C, there are shown flow diagrams illustrating the operation of the message control circuit 144 (Fig. 15) and, in gen¬ eral, the system bus interface 28 (Figs. 13 and 14).
For purposes of ease of description, the operation of the circuitry in Figs. 17A, 17B and 17C is illustrated as involving three separate flows, one flow named "MONITOR" and illustrated in Fig. 17A, a second flow named "RECEIVE" and illustrated in Fig. 17B, and a third flow named "TRANSMIT" and illustrated in Fig. 17C. These three flows correspond generally to the control of circuitry carried out by receive control circuit 196, transmit control circuit 198 and monitor control circuit 200 that are shown in Fig. 15. While these flows illus¬ trate the present invention, the description is somewhat simplified.
Turning now to the MONITOR flow seen in Fig. 17A, there is illustrated the operation of the system bus interface 28 when it is monitoring the System Bus and is neither actively receiving nor transmitting messages from its associated subsystem 24. Accordingly, as illustrated by Step 220, the system bus interface 28 will continuously monitor the System Bus to determine if it is idle, such step accomplished by the idle detection circuit 162 (Fig. 14). If the System Bus is idle and the monitor control circuit 200 is so informed by the signal RIDLE, the CNLAVAIL§0 signal is enabled and passed from the monitor control circuit 200 to the transmit control circuit 196, which then determines by the XDATRDYgO signal whether its associated subsystem is ready to transmit, step 222. If the associated subsystem is not ready to transmit, then the system bus interface, in accordance with the operation of the monitor control circuit 200, continues to monitor the bus for an idle condition. Step 220, and the transmit control circuit
196 continues to check whether the subsystem is ready to transmit, step 222.
If, as represented at Step 220, the bus is not idle, indicating that a message has been transmitted over the System Bus, then the monitor control circuit
204 passes the signal RENBL@0 to the receive control circuit 198. The system bus interface then goes into the operational flow RECEIVE illustrated in Fig. 17B. If the bus is idle, step 220, and the associated sub- system is ready to transmit, step 222, then as indicated in Fig. 17A the associated subsystem must prepare itself to both transmit its message as well as receive back, by way of the System Bus, that same message. In such a case, the RENBL@0 signal and the CNLAVAIL@0 signals are delivered to the receive control and transmit control circuits, respectively. The system bus interface goes into both the operational flow TRANSMIT illustrated in Fig. 17C and the operational flow RECEIVE illustrated in Fig. 17B. Turning now to Fig. 17B, there is shown the operational flow RECEIVE. The monitor control circuit
200 continues to monitor the RIDLE signal from the idle detection circuit 162, step 226, since the RECEIVE flow may have been initiated because the associated subsystem is both transmitting and receiving back the same message. If the System Bus is idle, the monitor control circuit 200 continues to monitor the System Bus until the message has begun to be received and the System Bus is no longer idle. Once the System Bus is no longer idle, the system bus interface 28 enters into a sequence of steps to check the preamble and flag that should be received ~ at the beginning of the message. This sequence of steps includes receiving, as will be indicated by the signal
RFLG, the preamble and flag, step 228, and then checking the preamble or flag for a swamp error, step 230. A swamp error will be indicated by the signal RERR from the swamp circuit 160 (Fig. 14) and will cause the system bus interface to enter a sequence of steps that are generally designated 232 and that are seen toward the lower right-hand side of Fig. 17B. In the sequence 232, the system bus interface will reject the message that has a swamp error, step 234, by enabling the ERTRM signal to the DMA. The DMA will thus know that if its associated subsystem is an addressed destination the message is to be ignored and is not to continue to be stored in the local memory of the associated subsystem. The system bus interface 28 will then wait until the System Bus becomes idle, step 236, and will then return to the MONITOR flow illustrated in Fig. 17A.
If there is no swamp error at step 230, the message control circuit 144 then determines if an idle error condition exists, step 240. As mentioned earlier, an idle error condition would normally exist if a message begins and then prematurely ends, with the duration . between pulses too long. If the signal CNLAVAILQO from the monitor control circuit 200 indicates that the
System Bus is idle before the completion of a message, the signal ERTRM is enabled and the sequence 232 is followed.
If there is no idle error, the receive control circuit 198 then checks for a flag in the first three bytes (preamble and flag) of the message, step 242. The signal RFLG (with the signal RSTRB as each byte is received) from the de-serializer 164 will indicate to the receive control circuit 198 the presence of a flag in the message. If the message is past the third byte, step 244, and there has not yet been a flag, the system bus interface enters a sequence 250. In the sequence 250, the message control circuit 144 enables the signal ERTRM and rejects the message, step 252. The message on the System Bus is garbled, step 254, by the signal ABORT provided to the serializer 154. The system bus interface will wait until the bus is idle, step 256, before returning to the MONITOR flow.
It should be noted that although step 254, as depicted in Fig. 17B, indicates that the postamble is garbled, the postamble probably is not the part of the message garbled when the flow 250 is entered from step 244. Rather, since the actual fields of the message are not properly defined and the initial flags have not been located, the receive control circuit 198 will simply abort by superimposing l's on whatever part of the message' is then being transmitted. The other subsystems will each sense a swamp error and know that the message is to be disregarded.
In the other error condition that will be described shortly and that are shown in Fig. 17B as causing the sequence 250 to be entered, the fields of the message are defined and it is actually the postamble that is garbled.
Of course, normally there would be a flag in the first three bytes of the message since, as seen in Figs. 12A and 12B, the preamble consists of two flags and the preamble is followed by a single flag. The message control circuit 144 loops through the steps 228, 230, 240 and 242 until the first three bytes of the message have been received so that, in normal circum¬ stances, at least one of the flags sent in the preamble and first flag fields of the header will be detected.
If the flag has been properly received at step 242, the flow next enters into a sequence for checking the destination addresses in the message. The destina¬ tion addresses are received by the system bus interface, step 260, and again the system bus interface checks for
OMPI swamp and idle errors, steps 262 and 264, respectively. If there are swamp or idle errors, the flow will proceed to the sequence 232 described above.
The receiver address check circuit 184 (Fig. 15) checks for a match with the destination addresses in the message, step 266. If there is an address match. the signal RMATCHgO is delivered to the receive control circuit 198 and, in turn, the receive control circuit
198 generates the signal RDMARE gO which will cause, at step 268, the DMA to accept the message for copying into the local memory of the associated subsystem. The actual operation of the DMA in accepting or rejecting messages will be described later in conjunction with Figs. 21 through 25. After the destination addresses have been checked, the flow enters into a sequence for checking the source address, op code, data and CRC fields in the message. These fields of the message are first received by the system bus interface, step 270. As with the rest of the message, the de-serializer 164 generates the strobing or clocking signal RSTRB as each full byte is received. These fields are checked for swamp and idle errors, steps 272 and 274, respectively, and a swamp or idle error will lead to the sequence 232 described above. The CRC check circuit 186 will then check the CRC field for a data error, step 276.
It should be noted that the receive control circuit 198 will enable the CRC check circuit 186 to check the data by providing the signal CRCGEN*0, and that it will know when to enable the CRC check circuit by the location of the flags in the message format. That is, as seen in the message format shown in Figs. 12A and 12B, after the preamble and first flag in each message have been received, the next flag received will be the one immediately following the two bytes of CRC check bits. The de-serializer 164 will generate the
RFLG signal and the two immediately preceding bytes of CRC check bits, then held in buffers (not shown in Fig. 15) in the message control circuit before being passed to RFIFO 190, are compared with CRC bits generated from the message data by the CRC check circuit. After the CRC check, the CRC check circuit 186 is cleared by the signal CRCCLR*0.
If there is a CRC error, as indicated by the signal CRCOK@0, the flow proceeds to the sequence 250 described above, where the postamble of the message is garbled. If there is no CRC error, the system bus interface checks for other protocol or receiver errors, step 278. The type of errors checked in step 278 include the following:
1. The receipt of an unrecognizable character, having seven or more consecutive "1" bits;
2. The receipt of a flag character before a minimum acceptable message;
3. The mailbox (to be described later) in the local memory of the associated subsystem is full and cannot accept the data (indicated by the signal LMFULL@0);
4. If the system has two channels and two star couplers (as will be described later in conjunction with an alternate preferred em- bodiment) , and the message on one channel is to be copied or received by the subsystem when the message on the other channel is al¬ ready being copied.
5. The RFIFO 190 is filled and receives a byte that cannot be stored (an "overflow" condi¬ tion, indicated by signal ROVFLWQ0) .
Although not specifically shown in the RECEIVE flow of Fig. 17B, it should be noted that each byte of the received message (less preamble, flags and postamble) is stored or buffered in the RFIFO 190 by the signal
RFLD§0. In addition, a status signal or bit LSTBYT§0 is stored with each byte in the RFIFO, such bit controlled by the receive control circuit 198 in response to flag after the second CRC byte (see Figs. 12A and 12B) to indicate or mark the last byte of the message stored in the RFIFO. As each byte of the message is read from the RFIFO and passed to the DMA by the signal RFRDgl, the DMA will receive the ninth bit (RBLSTgO) at the output of the RFIFO, with RBLSTQO indicating the last byte of the message. * The flow in Fig. 17B next enters a sequence for checking the postamble of the message and post- postamble (PP) . The postamble and post-postamble are received by the system bus interface, step 280, and there is again a check for swamp and idle errors, steps 282 and 284 respectively. If there is a swamp or idle error, the flow proceeds to the previously discussed sequence 232. The postamble is checked, step 286, for any garble in the postamble that may have occurred as the result of an error being detected in the message by any of the subsystems. Garble is indicated by the signal RZRO@0, which is enabled only when the appro¬ priate bytes of the postamble are not garbled and are at zero. It should be apparent that the system bus inter¬ face 28 associated with every subsystem 24 in the system is receiving the message in accordance with the opera¬ tional flow of Fig. 17B, and any one of the system bus interfaces will garble the postamble if an error is detected as described above in connection with step 254. If there is garble in the postamble, the flow proceeds into the previously described sequence 232 and the message is rejected. When the message is rejected, whether due to garble or any other error, the RFIFO is cleared by the RFCLR@0 signal. If there is no garble, the transmission of the message has been complete and successful, step 288, and the signal CMPOKgO is provided to the DMA so that the associated subsystem, if the intended destination, will copy and act on the message. After the System Bus becomes idle, step 290, the opera¬ tion of the system bus interface returns to the MONITOR flow of Fig. 17A.
It should be pointed out that the receipt of each message by every subsystem, the checking for errors by every subsystem, and the garbling of the postamble by the message control circuit 144 associated with any subsystem that detects an error, is an important feature of the present invention. Such an operation prevents the loss of a message that, for example, may have an error in the destination address field so that it does not match the address of any subsystem. Since all subsystems, whether destinations or not, check the message, the circumstance cannot occur where the trans- mitting subsystem believes the message has been success¬ fully transmitted, but due to a transmission or other error one or more of the subsystems does not recognize its address and does not copy the message.
In the TRANSMIT flow illustrated in Fig. 17C, the transmit control circuit 196 will, in response to the signal XDATRDYQO, first provide a preamble (two flags) and then a single flag at the MUX 176. This step, designated 300, is controlled by the signal FE@1 delivered by the transmit control circuit 196 to the MUX 176. As the preamble and flag are generated, it is possible that the message will be rejected at this point, step 302, since the subsystem is also simul¬ taneously in the RECEIVE flow. Such a rejection might be due, for example, to a detected swamp or idle error, described earlier in conjunction with sequence 232 in
Fig. 17B. The rejection will cause the signal ERTRM to be provided to transmit control circuit 196 and the DMA 140, and will cause the TRANSMIT flow of Fig. 17C to proceed to a sequence, generally designated 304, seen toward the lower right-hand side of Fig. 17C. Sequence 304 includes the steps of stopping the transmission of the message, step 306, and causing the signal RTYERR@0 to be enabled so that the retry circuit 204 will cause the DMA to try to generate the same message again at a later point in time, step 308. When the transmission of the message is stopped at step 306, the XFIFO 174 will be cleared of any message information by the signal XFCLRgO.
If the message has not been rejected at step 302, then the data or information from the DMA that is to be included in the message is passed through and provided at the output of the MUX 170, step 310, one byte at a time in response to the signal XD*1. If, at step 311, the byte being passed from the DMA is not the last byte, then the data is used to compute and generate CRC bits, step 312, at the CRC generate circuit 172 in response to the signal XCRCGEN*0. This computation of
CRC bits continues until the last byte of data is received from the DMA, at which time the MUX 170 passes or inserts into the message two bytes of CRC check bits from the CRC generate circuit in response to the signals ENCRC1*1 and ENCRC2*1, step 313. The data and CRC bytes from the MUX 170 are loaded, one byte at a time, into the XFIFO
174, step 314, by the signal XFLDgO, along with the status bit ENCRC2@0. Steps 310, 312, 314 and 313 are repeated until the last byte of the CRC check bits has been loaded into the XFIFO at step 316.
At any time after the first byte is loaded into the XFIFO at step 314, the information in the XFIFO may be read, one byte at a time, in response to the signal XFRD@1 and passed to the MUX 176. The MUX 176 in turn passes the byte to the serializer 154, in response to the signal BEgl and after the signal XSTRBLgl indi- - cates the previous byte has been transmitted. The serializer transmits each serialized byte in response to the signal SNDENBL@0. Each byte read from the XFIFO 174 is also loaded under the control of the signal GFLD@1 into the GFIFO 178, step 318. As each byte of the message is transmitted and is returned by the System Bus, it is compared, one byte at a time, at the compare circuit 180 with the corresponding byte read from the GFIFO 178 by the signal GFRD@0. If contention garble is detected, ' step 320, by the comparison at the compare circuit 180, and the signal GFERR is enabled, then the flow goes to the sequence 304 mentioned above. In addition, if the message has been rejected, step 322, by one of the subsystems receiving the message because of errors in the message information, the flow goes to the sequence 304.
When, as indicated by the ninth bit XLSTBYT@0 in the XFIFO, the last byte of information (which is also the second byte of the CRC check bits) has been transmitted, step 323, the flag immediately preceding the postamble, the postamble, and then the post-postamble (PP) are provided at the output of the MUX 176, step 324. If the postamble is garbled by any one of the subsystems, step 326, the flow again proceeds to the sequence 304. If the postamble is not garbled, and the message has not been rejected, step 327, for other errors, the transmission of the message has been complete and successful, step 328, and the signal CMPOK@0 is provided to the transmit control circuit 196 and to the DMA. The CRC generate circuit 172 will have been cleared by the signal XCRCCLR*0, and the system bus interface returns to the MONITOR flow illustrated in Fig. 17A.
While the above description of the RECEIVE and TRANSMIT flows is directed to a header message, it should be apparent that the same flow is duplicated for the data portion of a header and data message. Of course, in the data portion of the header and data message the RECEIVE and TRANSMIT flows would not include receiving or providing the preamble, destination address, source address and op code fields, since they are not present in the data portion of the message. It should be noted that it is advantageous however, for both the
fORE
OMPI header portion and the data portion to include a post¬ amble, so that if an error is detected in the header portion the postamble there can be garbled and the message aborted without having to await the postamble in the data portion of the message.
G. THREE EXEMPLARY CASES
Figs. 18, 19 and 20 illustrate the operation of the System Bus and the system bus interface 28 by showing three exemplary cases involving three subsystems 24 (referred to as Subsystem A, Subsystem B and Subsystem C) . In the case shown in Fig. 18, Subsystem A success¬ fully transmits a message. In the case shown in Fig. 19, Subsystem A transmits a message, but it is garbled by a simultaneous transmission by Subsystem B. Finally, in the case shown in Fig. 20, Subsystem A transmits a message, but Subsystem C detects an error and garbles the postamble of the message.
Turning first in particular to Fig. 18, it can be seen that Subsystem A starts the transmission of its message at time T, . At time T_, the star coupler of the System Bus receives the message and passes it to all of the other subsystems in the system, including Subsystems B and C. At time T,, Subsystem A begins receiving back its own message and both Subsystems B and C also begin to receive the Subsystem A message. At time T. the transmission of the message from Subsystem A ends and at time T-. the end of the message from Subsystem A is passed through the star coupler. Finally, at time Tg, Subsystem A, Subsystem B and Subsystem C each receive the end of the message from Subsystem A, and then detect the System Bus as going idle. Since there was neither contention garble detected by Subsystem A nor postamble garble resulting from errors in the message detected by Subsystems B and C, the transmission of the message is complete and successful.
In Fig. 19 there is illustrated the case where Subsystem A begins transmitting a message and, shortly thereafter but prior to the receipt of the message by Subsystem B, Subsystem B also begins the transmission of the message. As seen in Fig. 19, Subsystem A begins transmitting a message at time T.. At time T2 Subsystem B then begins transmitting its message. As mentioned earlier, a subsystem will not begin to transmit a message unless the System Bus is idle. However, in the case of Subsystem B, it has not yet received the message from Subsystem A at time T„, and the System Bus thus appears to it to be idle. In the case of any subsystem that begins to transmit a message on the System Bus, there is an interval, referred to as a "contention window", in which another subsystem may garble the message because it still sees the System Bus as idle. The maximum contention window of the system is essentially equal to the time in which it takes a message to travel along the System Bus between the two stations located the greatest distance apart on the System Bus.
The star coupler receives the message from Subsystem A at time T_ in Fig. 19 and passes the message to the other subsystems. At time T. the star coupler also receives the message from Subsystem B and the messages passing through the star coupler then become garbled. At time T , Subsystem A receives the beginning portion of its own message back, before it has been garbled by the message from Subsystem B. Also at time Subsystems B and C receive the ungarbled message from Subsystem A. Since Subsystem B receives a message different than the one that it is transmitting, conten- tion garble is detected and Subsystem B terminates or ends its own transmission. At time T Subsystem A will finally receive the garbled portion of its own message resulting from the message from Subsystem B being passed through the star coupler. Subsystem A detects conten- tion garble and ends its own transmission. In addition. Subsystem C at time Tfi receives the garbled messages from Subsystem A and Subsystem B. At time T_, the end
-^jRE OMPI of the terminated messages is passed through the star coupler and at time TR all the subsystems will receive the end of the terminated message and detect an idle bus. Subsystems A and B will retry their messages later in accordance with the algorithm implemented in the retry circuit 204 of each system bus interface. Subsystem C will disregard the messages, since it will probably detect a swamp error when receiving the garbled messages at time Tfi, and will always detect an idle error at time Tg when it receives the end of the termin¬ ated messages.
It should be noted in connection with Fig. 19 that, in a worst case condition. Subsystem A might not receive back the garbled portion of its own message until after the system bus interface has provided the first byte of the CRC field to the serializer for trans¬ mission. In such a case. Subsystem A continues the transmission of the rest of the message, including the postamble and post-postamble. Since both Subsystem A and Subsystem B will detect contention garble, the transmission of their messages will be retried later. Subsystem C will disregard the garbled message since it will detect a CRC error. In Fig. 20, there is shown the case where
Subsystem A transmits a message without contention garble, but Subsystem C detects an error in the message. In particular, it can be seen that Subsystem A in Fig. 20 starts the transmission of its message at time T.. At time T_, the message is received by the star coupler and is passed to the other subsystems. At time T , Subsystem A receives back its own message and Subsystems B and C receive the message from Subsystem A. However, at time Subsystem C detects an error in the message that it is receiving from Subsystem A. This error could be a swamp error, a CRC error or one of the protocol errors mentioned earlier in connection with Fig. 17B. At time T5, Subsystem A ends the transmission of its completed message and momentarily later, at time *£o ,
Subsystem C garbles the postamble of the message.
At time T_ the end of the message from Subsystem A (including the garbled postamble) passes through the star coupler. At time T , Subsystem A and Subsystem
B detect the garbled postamble of the message and after the post-postamble, the System Bus is detected as idle.
Subsystem A will retry the message at a later time. If either Subsystem B or Subsystem C were an intended destination, they will disregard the message.
H. DMA 140
The features of the DMA 140 (Fig. 14) in the system bus interface and its operation will be described in conjunction with Figs. 21 through 25. Before proceed¬ ing with this description, however, it should be noted that there are two aspects of the present invention that are generally implemented by or in conjunction with the DMA 140. These two aspects, to be described in detail later, are:
(1) A storage area, referred to as a "mailbox", in the local memory of the subsystem associated with the DMA, such mailbox managed by the DMA for storing header information received by the subsystem; and
(2) The inclusion of a local memory address (referred to herein as a data starting address or DSA address) in any message requesting data (data request message) and in any message re- turning the data (data return message) in response thereto, so that the processor in the subsystem receiving the data return message need not be interrupted to store the data at the memory address.
1. MAILBOX 350
The mailbox referred to above is illustrated in Fig. 21 and is designated 350. As mentioned above, the mailbox is part of the local memory, designated 351, of each subsystem 24. The mailbox 350 consists of a predetermined number of consecutive memory locations in the local memory and stores all header messages (inclu¬ ding header portions of header and data messages) that are received and that include the destination address of the subsystem. The header messages are stored or entered sequentially and consecutively in the memory locations in the mailbox and, each time the processor within the module or subsystem is able to act on a message, it accesses the header message in the top or first entry of the mailbox.
The mailbox 350 in Fig. 21 is illustrated as having an empty portion 352, an entry portion 354 in which a number of entries (labeled "1st entry" through "last entry") or header messages are stored, and an empty portion 356 following the last entry in the por¬ tion 354. The first memory word address within the mail- box 350 is identified as "BASE" and the last memory word address in the mailbox 350 is identified as "LMIT" . The beginning byte address of the first entry stored in the mailbox (representing the earliest received message) is identified as "FNXT" and the byte following the last byte address of the last entry (representing the last received message) is identified as "HNXT" . The values of BASE, FNXT, HNXT and LMIT are maintained by the DMA 140, as will be described later. As header messages are received by the system bus interface associated with an addressed subsystem, they are passed, one word at a time, to the mailbox where they are stored beginning three bytes past the address defined by HNXT. When the header is completely stored, the ending header address plus one (EEBA+1) is stored into the three byte area addressed by the original value of HNXT. When the processor in the subsystem is ready to act on a message, it withdraws the header message in the first entry in
"gt.RE4
OMPI the mailbox, beginning at the address defined by FNXT, with the end of entry defined by the first three bytes of the entry. The second entry then becomes the first entry representing the earliest received message not yet accessed by the processor.
Initially, of course, the addresses specified by BASE, FNXT and HNXT will be the same. As entries are added, the value of HNXT increases, and as entries are acted on by the processor, the value of FNXT increases. The empty portion 352 shown in Fig. 21 represents memory space where entries have been withdrawn and acted on by the processor. The empty space 356 represents memory space which initially has not yet been used. When the value of FNXT is equal to the value of HNXT, the proces- sor knows that the mailbox is empty. In addition, as words of entries are written into the mailbox, if the value of the address at which the words are being written increments to the value of LMIT, the DMA will return the address automatically to the value of BASE so that the mailbox continues to store header messages, but now in the empty portion 352. If the address at which words of an entry are being written into the mailbox reaches the value of FNXT, the entry or header message will general¬ ly be rejected and aborted in the message control circuit 144 associated with the subsystem, since the mailbox is full and would otherwise overflow.
All of the above management functions of the mailbox are accomplished by the DMA in a manner that will be described later. Since each local memory of each subsystem 24 will have a mailbox 350, there will be no processor in the system 10 that will be routinely interrupted by the receipt of messages from the System Bus. Rather, each processor will act on the entries stored in its mailbox only at times when it purposely looks in the mailbox for the first or top entry. The processor is thus able to complete its tasks without interruption, even though messages are -received and stored in its local memory. In order to further assure that each processor will not be routinely interrupted by the receipt of messages, and as will be described later in more detail, any message that is sent by a subsystem requesting data includes the local memory address at which such data is to be stored when returned to the requesting subsystem. The header portion of the header and data message that includes the data that is returned in response to such a request also includes the local memory address so that the DMA 140 can load the data into the desired area of local memory without interrupting the processor and with¬ out requiring a subsequent movement of data.
In Figs. 22A and 22B there are shown the format of entries in the mailbox 350. Specifically, there is shown in Fig. 22A an entry format for a header- only message, and there is shown in Fig. 22B the entry format for a header and data message.
Looking first at Fig. 22A, it can be seen that the first three bytes of the mailbox entry are reserved for the entry ending byte address plus one (EEBA+1) and the remaining portion of the entry, depending upon the size of the header (four through 36K bytes) is reserved for the destination address field, source address field, °P code field and header data field of the message. The preamble, flags, CRC bits, postamble and post-postamble are removed from the message at the message control circuit 144 and are not stored as part of the entry. Storing the ending entry byte address plus one (EEBA+1) will enable the processor to know the exact length of the entry when it accesses the entry from the mailbox.
Looking now at Fig. 22B, the mailbox entry for a header and data message also includes, in its first three bytes, the entry ending byte address plus one (EEBA+1). The next portion of the entry includes the destination address field, source ad¬ dress field, op code field and header data field of the header portion of the message (four through 36K bytes). Following the header portion of the entry are three bytes representing a data ending byte address plus one (DEBA+1). As mentioned earlier in conjunction with Fig.
12B, the header data field of a header and data message includes, in its first three bytes, the starting data address in the local memory of the data included in the header and data message. Consequently, when the processor accesses an entry from the mailbox 350 representing a header and data message, it will know the beginning address of the separately stored data in the local memory from this three byte address which is part of the header message in the entry. In addition, the processor will know the ending address of the data in the local memory by the three bytes at the end of the entry representing the data ending byte address plus one (DEBA+1) .
It should be noted at this point that, when a header and data message is received by a subsystem, the DMA 140 loads the header portion of the message directly into the mailbox 350 and then loads the data portion of the message directly into the local memory at the address specified by the data starting address in the header data field. It is significant that the loading of the data portion of the message is not in the mailbox but, rather, is at memory locations in some other part of the local memory specified originally by a starting address in the message that requested the data. This other part of the local memory is normally the desired part or location from where the data is to be accessed by the processor in the subsystem in order to complete the execution of the task or job that needs the data. Otherwise, storing the data with the header information in the mailbox would result in the disadvantage of having to later interrupt the processor in order to move the data portion from where it is stored with the control
- O OMPI or header information to the desired part of the local memory. Of course, when a header-only message is re¬ ceived by the subsystem, the DMA 140 merely loads the header into the mailbox. As mentioned above, it is an important aspect of the present invention that the data starting address of any data that is either requested by a message or that is being provided by a message, be included in that message. That is, when one of the subsystems 24 requests data from another of the subsystems 24, that request, in the form of a header-only message, includes the local memory address at which the requested data is to be stored in the local memory of the requesting subsystem. When the requested data is returned, in the form of a header and data message, the data starting address is included in the header and data message (in the first three bytes of the header data field) . Consequently, the processor of the requesting subsystem need not be interrupted for the data starting address when the requested data is returned. This, of course, enables the processor to complete its own tasks without inter¬ ruption at all, since the mailbox also permits the storage of header information without interruption of the processor. This technique is superior to prior techniques used to avoid processor interrupts such as storing the data in general purpose buffers, which tech¬ niques require a subsequent movement of data to get the data to its intended destination in local memory.
2. DMA 140 (DETAIL) Turning now to Fig. 23, there is shown in greater detail the DMA 140 and the command and status registers 142 that were previously shown in general form in Fig. 14. As seen in Fig. 23, the DMA 140 includes a plurality of registers for managing the direct access to the local memory of its associated subsystem and, in accordance with the present invention, for managing the mailbox 350 within the local memory of its associated subsystem. The registers within the DMA 140 include:
Input Data Starting Address (IDSA) Register 360 Header Starting Address (HSA) Register 362 Data Starting Address (DSA) Register 364 Mailbox Base Address (BASE) Register 366 Hardware Next Address (HNXT) Register 368 Ending Address (EAR) Register 370 Header Ending Address (HEA) Register 372 Data Ending Address (DEA) Register 374
Mailbox Limit Address (LMIT) Register 376 Firmware Next Address (FNXT) Register 378
In addition, the DMA 140 includes four compare circuits 380, 382, 384 and 386, an output address counter 390 and an input address counter 392. The IDSA register 360 and the EAR register 370 are shown by broken lines in Fig. 23, since they are not directly accessible by the processor of the associated subsystem and are not directly concerned with the management of the mailbox 350. The remaining registers 362, 364, 366, 368, 372, 374, 376 and 378 are directly accessible by the proces¬ sor. The registers 366, 368, 376 and 378 are, in addition, concerned with the management of the mailbox 350. Not shown in Fig. 23 is the control circuitry for controlling the DMA operations that will shortly be described. Such control circuitry can be implemented largely by programmable logic arrays (PLA's).
Referring first to the BASE register 366, HNXT register 368, LMIT register 376 and FNXT register 378, these registers control the operation of the mailbox 350 as messages are received by the associated subsystem. The BASE and LMIT registers are initially loaded by the processor of the associated subsystem by way of the P-M bus during the initialization of- the subsystem. In addition, the HNXT register 368 and the FNXT register 378 are loaded with the same value as the BASE register during initialization.
DMA OPERATION - RECEIVING MESSAGES When a message is received by the system interface chip 136 in the system bus interface, and is passed through the message control circuit 144, the header (or header portion of a header and data message) is stored in the mailbox 350 in accordance with the information stored in the BASE, LMIT, HNXT and FNXT registers. The input address counter 392 is initially loaded with the same address as that in the HNXT register 368. As each byte of data is received from the message control circuit 144, the input address counter 392 is incremented, and its address is provided to the P-M bus in order to store each word of the message in a local memory address location in the mailbox 350. In addition, the output of the input address counter 392 is compared to the value in the FNXT register 378 by the compare circuit 386. When the signal FLB§0 at the output of compare circuit 386 indicates that the input address counter 392 has reached the FNXT address within the mailbox (see Fig. 21), the mailbox 350 has been com¬ pletely filled and there is no remaining room for the header message. Generally, the message in such a cir¬ cumstance will be aborted or rejected and the HNXT register 368 will not be incremented to the next avail¬ able entry address. If, by chance, input address counter 392 has reached the FNXT address but there are so few bytes left in the message that they are all temporarily buffered in the message control circuit 144, the control for the DMA will permit the DMA to store the message up to the FNXT address, and when the first entry at the FNXT address is later accessed by the processor, the DMA will continue to store the remaining bytes (then stored in the buffers within the message control circuit 144) into the mailbox, and then increment the HNXT register 368.
The compare circuit 386 and the signal FLB@0 also provide a means for the DMA to determine when the mailbox 350 is empty. The DMA control circuitry can cause the value of the address in HNXT register 360 to be loaded into the input address counter 392 so that the addresses in the HNXT register 360 and in FNXT register 378 are compared. Thus, status bits can be generated when the mailbox is empty and has not yet received any entries, and when the last entry in the mailbox is accessed by the processor and the mailbox becomes empty.
The address in the input address counter 392 is also compared to the LMIT address within the LMIT register 376 at the compare circuit 384 to indicate that the empty portion 356 (Fig. 21) of the mailbox has been filled. If the signal LLW@0 at the output of the compare circuit 384 indicates a match, then the input address counter 392 is loaded with the same address as the address in the BASE register 366 so that the message can continue to be stored, but now in the empty portion 352 starting at the BASE address.
When the header information has been completely stored in its entry in the mailbox 350, the input address counter 392 is incremented once again and its output is provided to the ending address register 370. This value represents the previously described entry ending byte address plus one (EEBA+1) which is then stored in the mailbox as the first three bytes of the entry. The HNXT register 368 is then changed to the same value as the input address counter 392, which represents the beginning address of the next entry.
If the message received is a header and data message, the input data starting address register 360 will have previously been enabled by the DMA control circuitry to receive the data starting address in the first three bytes of the header data field of the message.
"sυ EΛ
OMPI The .input address counter 392 is loaded, after the header portion is stored, with that data starting address and then increments as each byte of data in the data portion of the message is received from the message control circuit 144. When the last byte of data has been received and stored as a word in the local memory of the associated subsystem, the value of the input address counter 392 is incremented to represent the data ending byte address plus one (DEBA+1) and this value is stored in the ending address register 370. The data ending byte address plus one (DEBA+1) is then stored in the mailbox, along with the header portion, as the last three bytes of the mailbox entry. The EEBA+1 information in the entry will then point to the first byte beyond the DEBA portion of the entry.
It should be apparent from the foregoing description that the provision of the mailbox 350 managed by the registers in the DMA and the inclusion of a DSA address in any header and data message essen- tially eliminate immediate processor involvement in the receipt of messages from the System Bus.
By way of comparison, prior systems have re¬ quired that the processor at any subsystem be inter¬ rupted each time a message is received in order to load the DMA circuitry with the starting address at which the message information was to be stored in the memory of the subsystem, regardless of whether the message contents were control information, requested data, or both. Once supplied with the starting address, the DMA circuitry could then sequentially access storage or memory loca¬ tions, beginning from the starting address, in order to store the entire informational contents of the message.
In contrast, the DMA 140 does not require processor interruption or involvement to store the con- tents of messages received from the System Bus. If header or control information is received (either as a header-only message or as a header and data message), the mailbox managing or addressing registers of the DMA 140 load the control information directly into the mailbox 350, beginning at the location pointed to by HNXT, with¬ out the interruption or involvement of the processor. Likewise, if blocks of data are received in a header and data message, the DSA address has already been pro¬ vided to the DMA by the header information in the header portion of that message, and the DMA loads the blocks of data directly into the local memory without interruption or involvement of the processor. While messages are being received by any subsystem and directly stored by the DMA 140 in the local memory, the processor is free to continue uninterrupted with the execution of its tasks.
DMA OPERATION - TRANSMITTING MESSAGES When messages are transmitted from a subsystem, the processor of the subsystem issues a send command which loads the HSA register 362 with the header starting address in the local memory, the HEA register 372 with the header ending address and, if a header and data message, the DSA register 364 with the data starting address and the DEA register 374 with the data ending address. The DMA 140 will then access the local memory to sequentially read, without processor interruption, each word of the header and data portions in the message and provide the message information to the message control circuit 144.
The DMA 140 will initially load the output address counter 390 with the value of the header starting address and will sequentially read each word of the header until the signal HLB@0 at the output of the compare circuit 380 indicates that the output address counter 390 has reached the header ending address stored in the HEA register 372. If a header and data message, the DMA will then load the output address counter 390 with the data starting address in the DSA register 364, and the output address counter 390 then increments to sequentially read each word in the data portion of the message from the local memory. Of course, if the trans¬ mitted message is a header-only message, the transmission ends after the header ending address has been reached. When the signal DLBQO at the output of the compare circuit 382 indicates that the output address counter has reached the data ending address in the DEA register 374, the DMA ceases to access the local memory and the transmission of the data, after passing through the message control circuit 144, ends.
3. COMMAND AND STATUS REGISTERS 142
Also shown in Fig. 23 is a block representing the command and status registers 142 previously mentioned in conjunction with Fig. 14. As seen in Fig. 23, the command and status registers 142 include a command register 400 and a status register 402. The command register 400 is loaded by the processor of the associated subsystem and indicates to the system interface chip 136 the operation that is to be performed in connection with transmitting and receiving messages. This operation would normally concern both the DMA 140 as well as the message control circuit 144.
The status register 402 is loaded, during the operation of the system interface chip 136, with status bits indicating the status of the system interface chip. These status bits will be used, in conjunction with the control circuitry in the DMA 140 and the message control circuit 144, to control the operation of the system interface chip 136. Fig. 24 illustrates the contents of the command register 400. As can be seen, the command register is a 32-bit register, with Bits 21-24 providing the command and Bits 1—13 providing information for use in conjunc¬ tion with the command. The Bits 14-20 and 25-32 of the command register are not used in any of the described aspects of the present invention. The following Command Table #1 illustrates, for various commands, the bits that are loaded into the command field (Bits 21-24) of the command register.
COMMAND TABLE #1
COMMAND COMMAND FIELD (BITS 21-24) INITIALIZE 0000 SEND 1000 RECEIVE 0100 LOAD MASK 0010
INITIALIZE
The INITIALIZE command shown in Command Table #1 resets the system interface chip 136. In response to the INITIALIZE command, the BASE and LMIT registers 366 and 376 are loaded with their permanent values and the HNXT register 368 and the FNXT register 378 are initially loaded with the value of the BASE register 366. Bits 1- 8 of the command register are loaded with the unique subsystem address of the associated subsystem. This information is transferred to the SADD register in the receiver address check circuit 184, described earlier in conjunction with Fig. 15. Bit 9 (a diagnostic control bit) can be used to permit the system interface chip (SIC) to enable circuitry for returning a message direct¬ ly to the SIC without use of the System Bus. Returning the message in this manner is useful in performing diagnostic operations, but is not part of the present invention. Bit 10 is not used in the described embodi¬ ment. Bit 11 controls whether each byte serialized for transmission on the System Bus will be serialized begin- ning from the most significant bit or from the least significant bit. Bit 12 is delivered to diagnostic circuitry, forming no part of the present invention, that will make the associated subsystem a destination or required receiver for all header messages. Bit 13 is set to "1" during initialization, and is then set to "0"
-$WE*
OMPI to clear the INITIALIZE command before the command register 400 is loaded with the next command.
SEND The SEND command in Command Table #1 directs the system interface chip to send or transmit a message on the System Bus. Bits 1-4 and 8-12 of the command register are not used, and Bits 7 and 13 are always set at "1" and π0π, respectively, in this command. Bits 5 and 6 determine the type of message that is to be trans- mitted from the system interface chip, with the type of command and the corresponding values of Bits 5 and 6 shown in the following Command Table #2:
COMMAND TABLE #2 TYPE OF MESSAGE BITS 5 & 6 HEADER 00
HEADER (WITH DATA) 01
HEADER AND DATA 11
The header message and the header (with data) message are both header-only messages, the format of which was described earlier in conjunction with Fig. 12A. The header (with data) message contains data information in its header data field which must be obtained from the local memory of the sending subsystem at a location sep¬ arate from that where the other fields of header informa- tion are stored. For purposes of obtaining this header data information, the DMA will use the DSA register 364 and DEA register 374 in the same way that they are used to obtain the data portion of a header and data message. The header message, on the other hand, does not include information in its header data field that must be ob¬ tained separately.
The header and data message has a format which was described earlier in conjunction with Fig. 12B.
OMPI RECEIVE The RECEIVE message in Command Table #1 directs the system interface chip to compare, at the address check circuit 184, the destination address field of each received message with the unique station or subsystem address byte that was provided to the SADD register during the INITIALIZE command. Bits 2-12 are not used in this command. Bit 13 is always at a "0". If Bit 1 is at "ln, the destination address of each message is checked against the subsystem address. If Bit 1 is at a "0", there is no check for the subsystem address, but only the more general broadcast or group address that is specified by the LOAD MASK command.
LOAD MASK The LOAD MASK command directs the system interface chip to load the MASK register in the address check circuit 184 (Fig. 15) with a broadcast or group address. Bits 1-8 indicate the group address, and all messages that have a matching group address in their destination address field will be received by the sub¬ system. The following Command Table #3 indicates the values of Bits 1-8 in the command register 400 and the resulting messages that will be received or copied.
COMMAND TABLE #3
MESSAGES COPIED ARE THOSE HAVING IN THEIR DESTINATION
BITS 1-8 ADDRESS FIELD; 10000000 F8 01000000 F9 00100000 FA 00010000 FB 00001000 FC 00000100 FD 00000010 FE 00000001 FF
- O E c
OMPI The destination addresses shown are hexidecimal and are equivalent to one byte. If Bits 1-8 are all "0", the associated subsystem is not a destination in any of the groups specified by the group addresses. The status register 402 contains the status of the system interface chip. The content of the status register is illustrated in Fig. 25. As can be seen. Bit
8 and Bits 13-32 are always at "0". Bits 1-3 reflect the input status of the system interface chip 136, Bits 4-7 contain a system interface chip (SIC) code, and bits 9-12 reflect the output status of the system interface chip. The SIC code is only used if more than one system bus interface is attached to the P-M bus of a subsystem, and is used to identify the system bus interfaces (or SIC's) to the processor of the subsystem. This config¬ uration was mentioned earlier in conjunction with Figs.
9 through 11, but is not concerned with any aspect of the present invention.
The following Status Table #1 illustrates, for various output (transmission) status conditions of the system interface chip, the corresponding values of Bits 9-12.
STATUS TABLE #1 OUTPUT STATUS BITS 9-12 No Output Status Available 000X
Output Complete lOOt
Output Error (Buffer Underflow) llOt Output Error (Memory Error) 10It
Output Error (Excessive Retry) lilt In Status Table #1, "X" indicates a "don't care" value and "t" indicates either a "0" or a "1"
The Output Complete status indicated in Status Table #1 is generated when the system interface chip 136 has successfully transmitted a message. The Output Error (Buffer Underflow) status is generated when the system interface chip has detected a buffer underflow condition, i.e., the subsystem associated with the system interface chip has not provided bytes of data quickly enough, and the message control circuit 144 has transmitted all the bytes that it has received and is waiting during the middle of a message transmission for a new byte of data from the subsystem. The Output Error (Memory Error) status is generated when the data fetched from the local memory for transmission has an error that cannot be corrected, such as a double-bit error. The Output Error (Excessive Retry) status is generated when the system interface chip has not been able to successfully transmit a message after going through a predetermined maximum number of retry attempts under the control of the retry circuit 204, described earlier in conjunction with Fig. 15.
For all the output status conditions (except No Output Status Available), the value of Bit 12 can either be a "0" or a "1". In one preferred embodiment of the present invention to be described later in con¬ junction with Figs. 27 through 31, the System Bus is actually two separate "system buses" or "channels". Each of these system buses or channels include a star coupler and transmission lines to and from each subsys- tern. A "0" at Bit 12 indicates that a message is being transmitted on one of the channels (Channel A) and a "1" indicates a message is being transmitted on the other of the channels (Channel B) .
The input status field of the status register indicates the input status of the system interface chip 136, with the values of the Bits 1-3 and their corres¬ ponding input (receiving) status indicated in Status Table #2: - 68-
STATUS TABLE #2 INPUT STATUS BITS 1-3
No Input Status Available 000
Mailbox Non-Empty 100
5 Input Buffer Overflow (Message
Rejected) 010
Mailbox Overflow (Message Not
Rejected) 001
Mailbox Overflow (Message Rejec- 10 ted) 110
The Mailbox Non-Empty status is generated when the system interface chip 136 has received and entered a message in the mailbox 350, and the mailbox has pre¬ viously been empty. The Input Buffer Overflow (Message
15 Rejected) status is generated when the system interface chip has received a message and has not been able to transfer all of the message to the local memory because the RFIFO 190 (Fig. 15) or its associated buffers (not shown) have overflowed. In such an event, the message
20 is rejected. The Mailbox Overflow (Message Not Rejected) status is generated when the system interface chip has received a message but has not been able to transfer all of the header information into the local memory as an entry because the mailbox has been filled. However,
25 since the bytes not stored are all in buffers within the message control circuit 144 and can be later stored in the mailbox, the message is not rejected. The Mailbox Overflow (Message Rejected) status is also generated when the system interface chip has received a message
30 but has not been able to transfer all of the header information into the local memory because the mailbox has been filled. However, there are too many bytes to be buffered in the message control circuit 144, and the message is rejected. Both the Mailbox Overflow (Message
35 Not Rejected) and the Mailbox Overflow (Message Rejected) status conditions have been briefly described earlier in conjunction with Fig. 23.
"gT E
OMPI I. SWAMP CIRCUIT 160 AND IDLE DETECTION CIRCUIT 162 Fig. 26 illustrates circuitry that could be used to accomplish the functions of the swamp circuit 160 and the idle detection circuit 162 that were men- tioned earlier in conjunction with Fig. 14. The swamp circuit 160 includes a rising edge re-triggerable one- shot 404 and an AND gate 405. The input of the one-shot 404 is connected for receiving encoded messages or signals on the System Bus by way of the bus receiver 58. The AND gate 405 receives at one input the signals from the System Bus and receives at its other input the signal at the inverted output of the one-shot 404. The output of the AND gate 405 is the previously mentioned signal RERR, which is enabled when the swamp circuit 160 detects a swamp condition or error on the System Bus.
The inverted output at the one-shot 404 goes to a "0" or low value when the signal on the System Bus goes to a "1", and stays at a "0" for a period of time just slightly greater than the normal pulse width of the encoded signals on the System Bus. Accordingly, when there is no swamp condition present on the System Bus and the pulses in the received message are of the correct width, the signal RERR at the output of AND gate 405 remains at a "0". When a swamp condition exists, with one or more pulses in the message being excessively wide, the output of the one-shot 404 will return to a "1" at the same time that the signal or pulse from the System Bus is still at a "1". The signal RERR at the output of AND gate 405 will thus go to a "1". The idle detection circuit 162 seen in Fig. 26 includes a falling edge re-triggerable one-shot 406 and an AND gate 407. The one-shot 406 receives at its input encoded messages or signals from the System Bus by way of the bus receiver 58. The AND gate 407 receives at one input the signal at the inverted output of the one- shot 406 and receives at a second, inverted input the signals from the System Bus. The inverted output of the one-shot 406 goes to a "0" value when the signal on the System Bus goes to a "0" value between pulses, and remains at the "0" value for a period of time just slightly greater than the normal interval between pulses during a message.
When there is no idle condition on the System Bus, and the interval between pulses are of the correct length, the signal RIDLE at the output of the AND gate 407 remains at a "0". When an idle condition exists, and the interval between pulses on the System Bus is greater than the normal interval between pulses in a message, the output of the one-shot 406 will return to a "1" value while the signal on the System Bus is still at a "0". The RIDLE signal at the output of AND gate 407 will thus go to a "1".
J. DUAL-CHANNEL DATA PROCESSING SYSTEM 410
In Fig. 27 there is shown a data processing system 410. The data processing system 410, like the data processing system 10 illustrated in Figs. 1 through 3, includes a plurality of stations 412, each enclosed within a single computer cabinet. Each station 412 is linked by an associated cable 414A to a star coupler 416A and by an associated cable 414B to a second star coupler 416B. Each of the cables 414A and 414B is comprised of a pair of optical fibers. Like the cables 14 in the data processing system 10 of Figs. 1 through 3, one fiber in each of the cables 414A and 414B carries signals from its associated station to one of the star couplers and the other fiber in each of the cables carries signals back from that star coupler to the station.
For purposes of describing the inventive aspects of the data processing system 410, all of the cables 414A and 414B (with associated internal lines in the stations) and both star couplers 416A and 416B will be hereinafter collectively referred to as a dual- channel "System Bus". In addition, the cables 414A (with associated internal lines) and the star coupler 416A will be referred to as "Channel A" of the System Bus, and cables 414B (with associated internal lines) and the star coupler 416B will be referred to as "Channel B" of the System Bus.
It should be apparent from the foregoing description of Fig. 27 that a message transmitted from any one of the stations 412 can be sent either over Channel A or Channel B. If the message is sent, for example, over Channel A, it is transmitted along one of the two optical fibers in the associated cable 414A from the transmitting station to the star coupler 416A. The star coupler 416A, in turn, directs the signal back along the other of the two optical fibers in the same cable 414A to the transmitting station, and also back to every other station in the system 410 along all the other cables 414A. Likewise, a signal may be transmitted from any one of the stations 412 along one of the two fibers in the associated cable 414B to the star coupler 416B. The star coupler 416B in turn directs the signal back to the transmitting station as well as to every other station in the system 410, along the cables 414B. The use of two channels in the data processing system 410 offers several significant advantages over the use of a single-channel System Bus, such as illus¬ trated in the data processing system 10 of Figs. 1, 2 and 3. Specifically, the dual-channel System Bus in Fig. 27 increases the reliability of the system since one channel can be used exclusively if the other channel should fail. In addition, the use of two channels increases the availability of the System Bus for trans¬ mitting messages. That is, at the same time that a first station is transmitting a message to a second station on one of the channels, a third station can be transmitting a message to a fourth station on the other channel, without either of the messages interfering with
OMPI the other .
In Fig. 28 there is shown one of the stations 412 in greater detail. The cable 414A connected to the illustrated station 412 comprises a pair of optical fibers 418A and 420A. Similarly, the cable 414B comprises a pair of optical fibers 418B and 420B. The cables 414A and 414B are coupled within the station or cabinet to electrical internal transmission lines 418AA, 420AA, 418BA and 420BA by an optical interface 432. The optical interface 432 includes optical sources 434 and 435 and optical detectors 436 and 437. Optical signals on the optical lines 420A and 420B are converted into electrical signals for the lines 420AA and 420BA by the optical detectors 436 and 437, and electrical signals represent- ing messages on the lines 418AA and 418BA are converted into optical signals for the optical lines 418A and 418B by the optical sources 434 and 435.
Each station 412 includes a plurality of subsystems that, as illustrated in Fig. 28, in turn include processor modules 424A, memory modules 424B and an I/O module 424C. Each of the modules 424A, 424B and 424C is connected or coupled both to the lines 418AA and 420AA and to the lines 418BA and 420BA by a single system bus interface 428. Like the data processing system 10 of Figs. 1,
2 and 3, one of the stations 412 in the data processing system 410 can include electrical turn around or return paths in the event that only one of the stations 412 is used in the system 410. An exemplary wiring pattern 440 for accomplishing the return paths in the case of the system 410, where there are two channels, is shown in Fig. 29. The wiring pattern 440 includes an electrical transmission line 462A connecting transmission lines 418AA and 420AA, and an electrical transmission line 462B connecting the transmission lines 418BA and 420BA. The wiring pattern 440 is placed in the station 412 at the location where optical interface 432 is shown in Fig. 28. Since there are no other stations in this circumstance, there would be no need, of course, for the illustrated optical interface or the optical cables 414A or 414B. While the wiring pattern 440 can be used in the system 410 having only a single station 412, it should be noted that if there are two stations 412 in the system 410, then each station 412 could have one of the wiring patterns 440 connected at the free ends (toward the left-hand side of Fig. 28) of the lines
418AA, 420AA, 418BA and 420BA in order to accomplish the function of each of the two star couplers, without the use of star couplers 416A and 416B. The lines 418A, 420A, 418B and 420B would directly link the two stations without an external star coupler.
K. SYSTEM BUS INTERFACE 428
In Fig. 30, there is shown in simplified form the major circuit blocks within each system bus inter- face 428. As can be seen, the system bus interface 428 includes a system interface chip 536 and a two-channel adapter 538. The system interface chip 536 is similar to the system interface chip 136 described earlier in connection with Figs. 13 through 25, except as will be noted hereafter. The two-channel adapter 538 is likewise similar to the channel adapter 138 shown in Figs. 13 and 14, except that the two-channel adapter includes circuitry for connection to both Channel A and Channel B of the dual-channel System Bus, rather than a single channel System Bus.
In Fig. 31, the system interface chip 536 and the two-channel adapter 538 of the system bus interface 428 are shown in greater detail. As can be seen, the system interface chip 536 includes a DMA circuit 540, command and status registers 542, and a message control circuit 544.
OMPI
Figure imgf000076_0001
-74-
The two-channel adapter 538 in Fig. 31 includes a serializer 5-54 connected to the message control circuit 544 by a bus 550. The serializer 554 serializes messages from the message control circuit 544 that are to be
5 transmitted on the System Bus. The serial bits of the message at the output of the serializer are encoded by an encoder 556 and passed to a channel selection circuit 610. The channel selection circuit 610 is controlled by signals (not shown in Fig. 31) from the message control
10 circuit 544 and passes the message to either Channel A, by way of a bus driver 446A, or to Channel B, by way of a bus driver 446B.
Any messages transmitted on the dual-channel System Bus are received from Channel A by a bus receiver
15 458A or from Channel B by a bus receiver 458B. The message received at bus receiver 458A is passed to a decoder 558A, a swamp circuit 560A and an idle detection circuit 562A. The message is decoded by decoder 558A and is then provided to a de-serializer 564A, which de-
20 serializes the message and provides it to the message control circuit 544 by way of a bus 552A. Similarly, the message received at bus receiver 458B is passed to a decoder 558B, a swamp circuit 560B, and an idle detection circuit 562B. The decoded message from decoder 558B is
25 then provided to a de-serializer 564B, which de-serial¬ izes the message and provides it to the message control circuit 544 by way of a bus 552B.
The DMA 540, the command and status registers 542 and the transmitting functions of the message control
30 circuit 544 operate essentially in the same manner as described earlier with reference to the DMA 140, the command and status registers 142, and the message control circuit 144 in the single channel System Bus described in conjunction with Figs. 14 through 25. Of course, the
35 transmit control circuit (not shown in Fig. 31) of the message control circuit 544 must determine which of the two channels (Channel A or Channel B) will be used in transmitting each message from the subsystem. Such determination is made in accordance with the following three criteria:
(1) If only one channel is idle, then that idle channel is used to transmit the message;
(2) If both channels are idle, then the channel which was not used during the last trans¬ mission of a message on the System Bus is used to transmit the message; and (3) If neither channel is idle, the first channel which becomes idle is used to transmit the message.
The use of the above three criteria assures that there is "load leveling" between the two channels. By "load leveling" it is meant that the use of the
System Bus is divided equally or nearly equally between the two channels. Load leveling tends to reduce con¬ tention garble since message transmissions that are equally divided between two channels result in each channel being less busy than if one channel were more frequently used than the other channel.
While each subsystem, and its associated DMA 540 and message control circuit 544, will only transmit one message at a time and, therefore, use only one channel for transmitting the message, the message control circuit 544 must be capable of receiving two messages simultaneously over the two channels. This is necessary since the message control circuit 544 associated with every subsystem must receive and monitor every message, even if it is not an addressed subsystem, in order to check the message for the errors described earlier in connection with the single channel embodiment of Figs. 1 through 26. Accordingly, the pairs of bus receivers 458A and 458B, decoders 558A and 558B, swamp circuits 560A and 560B, idle detection circuits 562A and 562B, serializers 564A and 564B and the buses 552A and 552B permit the message control circuit 544 to receive simul¬ taneously the message on each of Channel A and Channel B. Much of the circuitry associated with the message receiving functions of the message control circuit 544 is duplicated so that the message control circuit 544 will check the destination address fields of both es- sages for a match with the unique subsystem address or the group address of the subsystem, and will check both messages for CRC, swamp and idle errors.
This is illustrated in Fig. 32, which shows in simplified form the message control circuit 544 of the two-channel system. As can be seen, the message control circuit 544 includes generally the same circuit blocks as the message control circuit 144 in Fig. 15. Speci¬ fically, message control circuit 544 includes a MUX 570, a CRC generate circuit 572, an XFIFO 574, a MUX 576, a GFIFO 578, a compare circuit 580, an RFIFO 590, a retry circuit 604, a transmit control circuit 596, a receive control circuit 598 and a monitor control circuit 600. These circuit blocks generally correspond to the iden¬ tically named and similarly numbered circuit blocks in Fig. 15.
Of course, monitor control circuit 600 must monitor both Channel A and Channel B for an idle con¬ dition. This is indicated in Fig. 32 by the signal notation RIDLE (A or B) . The signal RIDLE is actually comprised of two components that are time multiplexed by the clock signals X0 and XI, with each component indi¬ cating an idle condition of one of the channels. The signal CNLAVAIL@0 is provided by the monitor control circuit 600 to the transmit control circuit 596 and indicates that at least one of the channels is idle and available for transmission. A signal ACNLSEL@0 is provided by the monitor control circuit 600 to the channel selection circuit 610 (Fig. 31) for indicating which of the two channels is being selected for the transmission of the message, in accordance with the criteria mentioned previously. Signals ARENBLQO and
BRENBL@0 are provided by the monitor control circuit 600 to the receive control circuit 598 to indicate when Channel A and Channel B, respectively, are not idle and messages are to be received.
Also seen in Fig. 32 are a receiver address check circuit 584A, a CRC check circuit 586A, and a postamble garble detection circuit 588A, all connected for receiving only the messages on Channel A of the System Bus. A receiver address check circuit 584B, a CRC check circuit 586B, and a postamble garble detection circuit 588B are all connected for receiving only the messages on Channel B of the System Bus.
The destination address field of the messages received on Channel A of the System Bus is checked at the receiver address check circuit 584A. If either the unique subsystem address or group address of the asso¬ ciated subsystem is in the destination address field, a signal ARMATCHQO is delivered to the receive control circuit 598. The CRC check circuit 586A checks the messages on Channel A for CRC errors, with a signal ACRCOKQ0 delivered to the receive control circuit 598 to indicate a CRC error. The postamble garble detection circuit 588A checks the postamble of the messages on Channel A and provides a signal AZROQO to the receive control circuit 598 to indicate a garbled postamble. In a similar fashion, the destination address field of the messages on Channel B are checked by the receiver address check circuit 584B, with a signal
BRMATCH@0 being provided to the receive control circuit 598 to indicate that the destination address field includes the unique subsystem address or the group address of the associated subsystem. The CRC check circuit 586B checks the messages on Channel B for CRC errors and provides the signal BCRCOK@0 to indicate a CRC error. Finally, the postamble garble detection circuit 588B checks the postamble of the messages on Channel B and provides a signal BZRO@0 to indicate a garbled postamble. When the message control circuit 544 detects an error in the message on Channel A or on Channel B, it will abort the message by garbling its postamble. Accordingly, the receive control circuit 598 provides a signal AABORT to garbling circuitry to be described in conjunction with Fig. 33 in order to garble the postamble of the message on Channel A, and provides a signal BABORT to the same circuitry in order to garble the postamble of the message on Channel B. It is possible, of course, that messages transmitted simultaneously on Channel A and Channel B and received at a destination will both include the same address in their destination address field. The receive control circuit 598 will only pass to the RFIFO 590 the message that is first received at the message control circuit 544. The other message, if it includes the address of the same subsystem, will be rejected and will have its postamble garbled. If messages on Channel A and Channel B are both received at the same time, then the receive control circuit 598 is so programmed that it will always select the message on a predetermined one of the two channels. In the specific circuitry, Channel A is always selected in the event that two messages having the same destination are received at the same time. Furthermore, it will be appreciated that the messages on Channels A and B, which are multiplexed utilizing the enabling phases of clock signals X0 and XI respectively, can be readily demultiplexed.
When a message is transmitted from the sub- system, the message information is buffered into the GFIFO 578 in the same fashion as has been previously described in conjunction with the GFIFO 178 in Fig. 15. However, the compare circuit 580 is connected for re¬ ceiving the message on either Channel A or Channel B. If Channel A has been selected for transmission, then the compare circuit 580 compares each byte of the message in GFIFO 578 with each byte received on Channel A.
MPI Alternatively, if Channel B has been selected for trans¬ mission, then the compare circuit 580 compares each byte of the message in GFIFO 578 with each byte received on Channel B. Fig. 33 illustrates specific circuitry that could be used to accomplish the function of the channel selection circuit 610 that was shown in simplified form in the two-channel adapter 538 of Figs. 30 and 31. Also illustrated is a garbling circuit 611 associated with the channel selection circuit 610 for selectively garb¬ ling the messages on either Channel A or Channel B.
The channel selection circuit 610 includes two
AND gates 612 and 614. The signal SNDENBL@0 is received at an inverted input of AND gate 612 and the signal ACNLSEL and the encoded message are received at non- inverted inputs of AND gate 612. The signals SNDENBL@0 and ACNLSEL are also received at inverted inputs of the AND gate 614 and the encoded message at a non-inverted input of the AND gate 614. When the signal ACNLSEL is at a "1", the encoded message is passed through the AND gate 612 and by way of the garbling circuit 611 to the bus driver 446A for transmitting the message over Channel A. When the signal ACNLSEL is at a "0", the encoded message is passed through the AND gate 614 and by way of the garbling circuit 611 to the bus driver 446B for transmitting the message over Channel B.
The garbling circuit 611 may be used to selec¬ tively pass a garbling signal to either Channel A or Channel B. The garbling circuit 611 includes an AND gate 615 and an OR gate 616 that will garble any message on Channel A. The AND gate 615 receives a garbling signal in the form of a series of l's or low frequency pulses and the AABORT signal mentioned earlier in con¬ nection with Fig. 32. The output of the AND gate is provided to the OR gate 616, which also receives any encoded message for Channel A from the channel selection circuit. The garbling circuit also includes an AND gate 617 and an OR gate 618. The AND gate 617 receives the garbling signal in the form of l's and the signal BABORT, also mentioned earlier in connection with Fig. 32. The output of AND gate 617 is provided, with any encoded message for Channel B from the channel selection circuit, to the OR gate 618. When the AABORT signal is enabled at a "1", the series of l's are passed through AND gate 615 and OR gate 616, to be transmitted on Channel A of the System Bus. When the BABORT signal is enabled at a "1", the series of l's are passed through AND gate 617 and OR gate 618, to be transmitted on Channel B of the System Bus.
L. RETRY CIRCUIT 604
In Fig. 34 there is shown in greater detail the retry circuit 604 in the message control circuit 544 of the two channel system. The retry circuit 604 includes a retry counter (CNT) 620, a 'retry timer 622 and control circuitry 624. As mentioned earlier in conjunction with the one-channel System Bus in Figs. 1 through 26, the retry circuit 604 will cause the transmission of a message to be retried when a retryable error has occurred. The retry interval between retries is determined by the retry timer 622 and will be made different, in a manner which will become apparent shortly, for the retry circuit associated with each subsystem so that subsystems having retryable errors do not retry at the same time. Further¬ more, the retry counter 620 permits only a predetermined maximum number of retries.
The retry counter (CNT) 620 comprises an 8-bit shift register that can be hardwired to receive a "1" at its first stage. The retry counter 620 receives a signal RCNTSHFT*0 from the control circuit for shifting the "1" through its eight stages, and provides a signal RETRY8@0 back to the control circuit when the "1" reaches the eighth stage. The retry timer includes a retry timer counter (SADC) 626 which is connected for being loaded with bits at the output of a set of eight AND gates 628. The AND gates 628 logically combine, in parallel, the eight bits in the retry counter 620 with the eight bits in the unique subsystem address of the associated sub- system from the register SADD that was mentioned earlier in connection with the address check circuit 184 in Fig. 15. When the SADC counter 626 decrements from its loaded value to a zero value, it provides a signal TRMCNTgO to the control circuit 624. The control circuit 624 receives a retry clock signal TSTRB that is provided from an external clock source to the system interface chip 536. The control circuit also receives the signal RTYERRgO for indicating a retryable error and provides a signal RTYRDYQO for indicating when the timed interval of the retry timer
622 has expired and the retry of the message is to take place.
The operation of the retry circuit 604 is illustrated in Fig. 35 by an operational flow or sequence "RTYERR" . As seen in Fig. 35, the retry circuit 604 first determines whether the retry counter (CNT) 620 has reached a full count, step 630. If the counter has reached a full count, then the retry circuit "has attempt¬ ed to retry the message a predetermined maximum number of times (eight times) and the processor is notified that the retry has been unsuccessful, step 632, and the sequence ends. If the retry counter 620 has not reached its full count, then the retry circuit determines whether the channel on which the last try was made is idle, step 634. If the channel is not idle, then the retry circuit waits for the next pulse in the retry clock TSTRB, step 626. The flow continues through steps 634 and 636 until the channel becomes idle at step 634. By waiting until the channel is idle, all subsystems that are retrying a transmission will begin to time the retry interval in the retry timer 622 from the same point in time. Since the retry intervals are different in each retry circuit 604, this, further reduces the likelihood that two sub¬ systems will retry at the same time or within the same contention window.
When the channel over which the last try was made has become idle at step 634, the retry counter
(CNT) 620 is then incremented, step 638, and then the retry timer 612 is loaded with the output of the AND gates 628 and waits for the next retry clock TSTRB, step 640. At the retry clock, the retry circuit determines whether either channel is idle, step 642, since it is fruitless to retry a transmission if both channels are busy. If neither channel is idle, then the sequence waits for the next retry clock, step 644, and again determines if either channel is idle at step 642. When one channel does become idle, the sequence next deter¬ mines whether the SADC counter 626 in retry timer 622 has reached its zero value, step 646, and if it has not, the retry circuit decrements the SADC counter 626, step 648, and waits for the next retry clock, step 650. The steps 642 and 646 are repeated until the counter in the retry timer reaches zero at step 646.
When the counter in the retry timer reaches . zero, the transmission is retried, step 652, and if the transmission is successful, step 654, then the retry counter 620 is reset to zero, step 656, and the sequence ends. If the transmission is not successful, then the sequence returns to step 630 and is repeated until either the transmission is successful or the retry counter 620 does reach its full count at step 630 and the processor is notified of the maximum unsuccessful retries at step 632.

Claims

CLAIMS :
1. A data processing system including a plurality of subsystems (24), a plurality of pairs of first and second transmission lines (18, 18A; 20, 20A) and a star coupler (16) linking said pairs of transmis- sion lines (18, 18A; 20, 20A) whereby signals received from said first transmission line (18, 18A) in any of said pairs are passed to said second transmission line (20, 20A) in all of said pairs of transmission lines (18, 18A; 20, 20A) , characterized in that each of said pairs of transmission lines (18, 18A; 20, 20A) has a plurality of said subsystems (24) connected thereto, said first transmission line (18, 18A) being adapted to carry signals transmitted by any one of its associated plurality of subsystems (24) and said second transmis- sion line (20, 20A) being adapted to carry signals to be received by all of its associated plurality of sub¬ systems (24) .
2. A data processing system according to claim 1, characterized in that each of said plurality of subsystems (24A, 24B, 24C) includes a processor (106, 112, 122) and a local memory (108, 114, 124) associated with said processor (106, 112, 122), said local memory (108, 114, 124) being adapted to store data to be pro¬ cessed by said processor (106, 112, 122).
3. A data processing system according to claim 1, characterized in that each said first trans¬ mission line includes a first optical transmission line (18) and each said second transmission line includes a second optical transmission line (20), and in that said star coupler includes an optical star coupler (16, 16A) adapted to receive optical signals from any said first optical transmission line (18) and to pass the optical signals to each said second optical transmission line
Figure imgf000085_0001
4. A data processing system according to claim 3, characterized in that said optical star coupler is a passive optical star coupler (16) and includes an optical mixing element (64) which in operation receives signals from any said first optical transmission line (18) and passes the received signals to each said second optical transmission line (20).
5. A data processing system according to claim 3, characterized in that said optical star coupler is an active optical star coupler (16A), which includes amplifying means (82, 84, 86) adapted to amplify the optical signals received from any said first optical transmission line (18) and to provide the amplified optical signals to each said second optical transmission line (20).
6. A data processing system according to claim 3, characterized in that each said first trans¬ mission line includes a first electrical transmission line (18 ) , in that each said second transmission line further includes a second electrical transmission line (20A), in that said first electrical transmission line (18A) is coupled to said first optical transmission line (18) by an optical source (34), in that said second optical transmission line (20) is coupled to said second electrical transmission line (20A) by an optical detec¬ tor (36), and in that the plural ones of said subsystems (24) associated with each of said pair of first and second transmission lines are each electrically coupled to said first electrical transmission line (18A) and to said second electrical transmission line (20A).
7. A data processing system according to claim 6, characterized in that said first electrical transmission line (18A) and said second electrical transmission line (20A) and the associated ones of said 7. (concluded) plurality of subsystems are located within a computer cabinet.
8. A data processing system according to claim 1, characterized in that each said first trans¬ mission line includes a first electrical transmission line (181), in that each said second transmission line includes a second electrical transmission line (20* ), and in that said star coupler includes an electrical star coupler (16B), including circuit means for receiving electrical signals from any one said first electrical transmission line and providing the electrical signals to each said second electrical transmission line.
9. A data processing system according to claim 1, characterized in that each said first trans¬ mission line includes a first electrical transmission line (18'), in that each said second transmission line includes a second electrical transmission line (20*), and in that said star coupler includes a magnetic star coupler (16C), said magnetic star coupler including a magnetic core (100) and an electrical coil (96, 98) associated with each of said first and second electrical transmission lines and situated in magnetic relation to said magnetic core (100).
10. A data processing system according to claim 1, characterized in that each said subsystem (24) is coupled to the associated pair of transmission lines (18, 18A; 20, 20A) by a system bus interface (28), which includes monitor means adapted to sense an idle condition of the associated second transmission line (20, 20A) and transmission means (196, 174, 176) adap¬ ted to selectively provide a signal in the form of an information packet to said first transmission line (18, 18A) only when said monitor means senses the idle con¬ dition, receiving means (164, 190) adapted to receive 10 . (concluded ) a signal in the form of an information packet from said second transmission line (20, 20A) , and comparison means (180) adapted to compare the information packets on said first and second transmission lines (18, 18A; 20, 20A) and to disable said transmission means if said control means (180) detects a comparison inequality.
11. A data processing system according to claim 10, wherein each said information packet includes a post-amble portion, characterized by error detecting means (160, 162, 186) adapted to detect errors in the information packets received from said second trans¬ mission line (20, 20A) and control means (198) adapted to garble -the post-amble portion of the information packets if an error is detected by said error detecting means.
OMPI
PCT/US1982/000452 1981-04-16 1982-04-13 Data processing system employing broadcast packet switching WO1982003740A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
DE1982901652 DE76322T1 (en) 1981-04-16 1982-04-13 DATA PROCESSING SYSTEM WITH PACKAGE BROADCASTING.
DE8282901652T DE3276843D1 (en) 1981-04-16 1982-04-13 Data processing system employing broadcast packet switching

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US254850810416 1981-04-16
US06/254,850 US4494185A (en) 1981-04-16 1981-04-16 Data processing system employing broadcast packet switching

Publications (1)

Publication Number Publication Date
WO1982003740A1 true WO1982003740A1 (en) 1982-10-28

Family

ID=22965833

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1982/000452 WO1982003740A1 (en) 1981-04-16 1982-04-13 Data processing system employing broadcast packet switching

Country Status (6)

Country Link
US (3) US4583161A (en)
EP (1) EP0076322B1 (en)
JP (1) JPS58500349A (en)
AU (1) AU542023B2 (en)
DE (1) DE3276843D1 (en)
WO (1) WO1982003740A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2168214A (en) * 1984-11-28 1986-06-11 Gec Avionics Data handling systems
EP0186941A1 (en) * 1984-11-02 1986-07-09 Plessey Overseas Limited Matrix interconnected local area networks
EP0539796A2 (en) * 1991-10-30 1993-05-05 Motorola, Inc. Method for data collision detection in a multi-processor communication system

Families Citing this family (136)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4583161A (en) * 1981-04-16 1986-04-15 Ncr Corporation Data processing system wherein all subsystems check for message errors
US4539636A (en) * 1981-06-24 1985-09-03 Elevator Gmbh Apparatus for inter-processor data transfer in a multi-processor system
DE3224406A1 (en) * 1981-07-01 1983-01-20 Canon K.K., Tokyo IMAGE TRANSFER SYSTEM
FR2517147A1 (en) * 1981-11-25 1983-05-27 Telecommunications Sa DIGITAL OPTICAL PLURAL OPTICAL INFORMATION TRANSMISSION SYSTEM
DE3224425A1 (en) * 1982-06-30 1984-01-05 Siemens AG, 1000 Berlin und 8000 München BUS SYSTEM WITH LIGHTWAVE GUIDES
DE3235253A1 (en) * 1982-09-23 1984-03-29 Siemens AG, 1000 Berlin und 8000 München OPTICAL COUPLING NETWORK FOR COUPLING MULTIPLE SUBSCRIBER TRANSMITTERS TO MULTIPLE SUBSCRIBE RECEIVERS BY MEANS OF OPTICAL STAR COUPLERS
CA1225121A (en) * 1982-11-05 1987-08-04 Motomu Mochizuki Optical network system of bus architecture capable of rapidly detecting collision at each communication station
JPS5990197A (en) * 1982-11-12 1984-05-24 富士電機株式会社 Field instrumentation system
US4514843A (en) * 1982-12-02 1985-04-30 At&T Bell Laboratories Packet switched communication system comprising collision avoidance means
US4590468A (en) * 1983-03-10 1986-05-20 Western Digital Corporation Token access controller protocol and architecture
US4646232A (en) * 1984-01-03 1987-02-24 Texas Instruments Incorporated Microprocessor with integrated CPU, RAM, timer, bus arbiter data for communication system
US4596010A (en) * 1984-05-03 1986-06-17 At&T Bell Laboratories Distributed packet switching arrangement
US4592048A (en) * 1984-05-03 1986-05-27 At&T Bell Laboratories Integrated packet switching and circuit switching system
US4606023A (en) * 1984-05-31 1986-08-12 Applied Dynamic Research, Inc. Guard time elimination in a time-division multiplexed, active star-coupled, half-duplex mode, synchronous communications network
US4811204A (en) * 1984-08-16 1989-03-07 Vadem Corporation Direct memory access and display system
US4630254A (en) * 1984-10-26 1986-12-16 Trw Inc. Controlled star network
US4701630A (en) * 1985-06-27 1987-10-20 International Business Machines Corp. Local area network station connector
US5101478A (en) * 1985-06-28 1992-03-31 Wang Laboratories, Inc. I/O structure for information processing system
US4701756A (en) * 1985-09-10 1987-10-20 Burr William E Fault-tolerant hierarchical network
CA1263760A (en) * 1985-09-27 1989-12-05 Alan L. Davis Apparatus for multiprocessor communication
US4922408A (en) * 1985-09-27 1990-05-01 Schlumberger Technology Corporation Apparatus for multi-processor communications
US4788693A (en) * 1985-09-30 1988-11-29 American Telephone And Telegraph Company, At&T Bell Laboratories Data communication replicator
US4700341A (en) * 1985-10-30 1987-10-13 Racal Data Communications Inc. Stochastic time division multiplexing
US4825435A (en) * 1985-11-08 1989-04-25 Digital Equipment Corp. Multiport repeater
GB8528892D0 (en) * 1985-11-23 1986-01-02 Int Computers Ltd Multi-node data processing system
GB2187067B (en) * 1986-02-21 1989-11-29 Fuji Xerox Co Ltd Stellate store and broadcast network with collision avoidance
US4856023A (en) * 1986-07-23 1989-08-08 Ncr Corporation System for maintaining low bit error rate in a starcoupled network of direct coupled stations
US4837739A (en) * 1986-07-25 1989-06-06 Ford Aerospace & Communications Corporation Telemetry data processor
US4773069A (en) * 1986-07-30 1988-09-20 Boulton P I P Robust rooted tree network
EP0256267B1 (en) * 1986-08-12 1994-03-02 Hitachi, Ltd. Microprocessor for retrying data transfer
US5010477A (en) * 1986-10-17 1991-04-23 Hitachi, Ltd. Method and apparatus for transferring vector data between parallel processing system with registers & logic for inter-processor data communication independents of processing operations
US5175865A (en) * 1986-10-28 1992-12-29 Thinking Machines Corporation Partitioning the processors of a massively parallel single array processor into sub-arrays selectively controlled by host computers
US5142683A (en) * 1987-03-09 1992-08-25 Unisys Corporation Intercomputer communication control apparatus and method
US4823403A (en) * 1987-03-26 1989-04-18 Switch Tech, Inc. System for optically transmitting data between circuit packs, such as printed circuit boards
DE3878724D1 (en) * 1987-05-07 1993-04-08 Siemens Ag MONITORING SYSTEM FOR A LOCAL BUS NETWORK IN A STAR STRUCTURE.
US4870637A (en) * 1987-12-24 1989-09-26 American Telephone And Telegraph Company Optical backplane
US4873681A (en) * 1988-01-26 1989-10-10 Bell Communications Research, Inc. Hybrid optical and electronic packet switch
US5247380A (en) * 1988-01-27 1993-09-21 Spectrix Corp Infrared communications network
US5099346A (en) * 1988-01-27 1992-03-24 Spectrix Corporation Infrared communications network
JPH01261772A (en) * 1988-04-08 1989-10-18 Cogent Res Inc Computer and operation thereof
US4998247A (en) * 1988-06-10 1991-03-05 Irvine Halliday David Active star-configured local area network
US4850044A (en) * 1988-06-23 1989-07-18 International Business Machines Corporation Serial optical interconnect bus for logic cards and the like
US5210828A (en) * 1988-12-29 1993-05-11 International Business Machines Corporation Multiprocessing system with interprocessor communications facility
US5097410A (en) * 1988-12-30 1992-03-17 International Business Machines Corporation Multimode data system for transferring control and data information in an i/o subsystem
US5165030A (en) * 1989-03-10 1992-11-17 International Business Machines Corporation Method and system for dynamic creation of data stream based upon system parameters and operator selections
US5027342A (en) * 1989-05-03 1991-06-25 The University Of Toronto Innovations Foundation Local area network
US5073982A (en) * 1989-09-01 1991-12-17 General Electric Company Apparatus for connecting multiple passive stars in a fiber optic network
IL96808A (en) * 1990-04-18 1996-03-31 Rambus Inc Integrated circuit i/o using a high performance bus interface
US5341372A (en) * 1991-04-10 1994-08-23 California Institute Of Technology Protocol for multiple node network
US5321813A (en) * 1991-05-01 1994-06-14 Teradata Corporation Reconfigurable, fault tolerant, multistage interconnect network and protocol
US5513369A (en) * 1991-08-05 1996-04-30 Ncr Corporation Star coupler device including means for connecting multiple star couplers together in a cascaded relationship
US5404241A (en) * 1991-09-18 1995-04-04 Fuji Xerox Co., Ltd. Optical communication network
US5758053A (en) * 1992-07-22 1998-05-26 Hitachi, Ltd. Fault handling and recovery for system having plural processors
US5392285A (en) * 1993-03-31 1995-02-21 Intel Corporation Cascading twisted pair ethernet hubs by designating one hub as a master and designating all other hubs as slaves
JP3264465B2 (en) * 1993-06-30 2002-03-11 株式会社日立製作所 Storage system
DE69424311T2 (en) * 1993-11-08 2000-12-14 British Telecomm CROSS-CONNECTING SYSTEM FOR AN OPTICAL NETWORK
EP0765500B1 (en) * 1994-06-14 1998-10-28 Unisys Corporation High speed deadlock free bridge circuit
DE4429953B4 (en) * 1994-08-24 2012-06-06 Wabco Gmbh Serial bus system
US5659542A (en) 1995-03-03 1997-08-19 Intecom, Inc. System and method for signalling and call processing for private and hybrid communications systems including multimedia systems
US5793981A (en) * 1995-11-13 1998-08-11 Billings; Roger E. System for communicating data in a network using both a daisy chain link and separate broadcast links
US6076117A (en) * 1995-11-13 2000-06-13 Billings; Roger E. Packet merging hub system for sequentially merging received data in a network hub into data packets before broadcasting to a plurality of destination computers
US6115747A (en) * 1995-11-13 2000-09-05 Roger E. Billings Computer network interface that merges remote data received from other computers with local data before transmitting the merged data to a network
US6061730A (en) * 1995-11-13 2000-05-09 Billings; Roger E. Methods and apparatus for communicating data in computer networks with separate packet assembly and packet broadcast channels
US5761433A (en) * 1995-11-13 1998-06-02 Billings; Roger E. System for communicating data in a network using both a daisy chain link and separate broadcast links
US5913070A (en) * 1996-01-16 1999-06-15 Tm Patents, L.P. Inter-connector for use with a partitionable massively parallel processing system
US6160653A (en) * 1997-03-26 2000-12-12 Sun Microsystems, Inc. Optical computer bus with dynamic bandwidth allocation
DE19810289A1 (en) * 1998-03-10 1999-09-16 Bayerische Motoren Werke Ag Data bus for communication between several subscribers, e.g. in vehicle
US6748451B2 (en) 1998-05-26 2004-06-08 Dow Global Technologies Inc. Distributed computing environment using real-time scheduling logic and time deterministic architecture
FR2784468B1 (en) * 1998-10-08 2000-12-15 Cit Alcatel ATM SWITCHING MATRIX HAVING A PASSIVE OPTICAL CORE
DE19950433A1 (en) * 1999-10-19 2001-04-26 Philips Corp Intellectual Pty Network has nodes for media access checking with test signal generators for providing test signals outside allocated time slots, detectors of faults in associated and/or other node(s)
US6418526B1 (en) 1999-11-15 2002-07-09 Ncr Corporation Method and apparatus for synchronizing nodes in massively parallel systems
US6412002B1 (en) 1999-11-15 2002-06-25 Ncr Corporation Method and apparatus for selecting nodes in configuring massively parallel systems
US6745240B1 (en) 1999-11-15 2004-06-01 Ncr Corporation Method and apparatus for configuring massively parallel systems
US6519697B1 (en) 1999-11-15 2003-02-11 Ncr Corporation Method and apparatus for coordinating the configuration of massively parallel systems
DE10016829A1 (en) * 2000-04-06 2001-10-11 Philips Corp Intellectual Pty Resolving media access conflicts in networks with multiple network nodes and at least one star node
EP1265415A1 (en) * 2001-06-07 2002-12-11 Abb Research Ltd. Control monitor for a network and method of network monitoring
US7345671B2 (en) * 2001-10-22 2008-03-18 Apple Inc. Method and apparatus for use of rotational user inputs
US7312785B2 (en) * 2001-10-22 2007-12-25 Apple Inc. Method and apparatus for accelerated scrolling
US7065101B2 (en) * 2001-11-15 2006-06-20 International Business Machines Corporation Modification of bus protocol packet for serial data synchronization
US7333092B2 (en) 2002-02-25 2008-02-19 Apple Computer, Inc. Touch pad for handheld device
US7499040B2 (en) * 2003-08-18 2009-03-03 Apple Inc. Movable touch pad with added functionality
US20070152977A1 (en) 2005-12-30 2007-07-05 Apple Computer, Inc. Illuminated touchpad
EP1690376A1 (en) * 2003-11-19 2006-08-16 Honeywell International Inc. Controlling start up in a tdma based network
WO2005053239A2 (en) * 2003-11-19 2005-06-09 Honeywell International Inc. Directional integrity enforcement in a bi-directional braided ring network
US7372859B2 (en) * 2003-11-19 2008-05-13 Honeywell International Inc. Self-checking pair on a braided ring network
US8059099B2 (en) 2006-06-02 2011-11-15 Apple Inc. Techniques for interactive input to portable electronic devices
US7495659B2 (en) 2003-11-25 2009-02-24 Apple Inc. Touch pad for handheld device
CN100555200C (en) 2004-08-16 2009-10-28 苹果公司 The method of the spatial resolution of touch sensitive devices and raising touch sensitive devices
US20060123098A1 (en) * 2004-11-11 2006-06-08 Ipdev Multi-system auto-failure web-based system with dynamic session recovery
US20060155753A1 (en) * 2004-11-11 2006-07-13 Marc Asher Global asynchronous serialized transaction identifier
US20060155770A1 (en) * 2004-11-11 2006-07-13 Ipdev Co. System and method for time-based allocation of unique transaction identifiers in a multi-server system
US7880729B2 (en) 2005-10-11 2011-02-01 Apple Inc. Center button isolation ring
US20070152983A1 (en) 2005-12-30 2007-07-05 Apple Computer, Inc. Touch pad with symbols based on mode
JP2007233879A (en) * 2006-03-03 2007-09-13 Nec Corp Information processor
US7649906B2 (en) * 2006-04-27 2010-01-19 Alcatel Lucent Method of reducing buffer usage by detecting missing fragments and idle links for multilink protocols and devices incorporating same
US9360967B2 (en) 2006-07-06 2016-06-07 Apple Inc. Mutual capacitance touch sensing device
US8743060B2 (en) 2006-07-06 2014-06-03 Apple Inc. Mutual capacitance touch sensing device
US8022935B2 (en) 2006-07-06 2011-09-20 Apple Inc. Capacitance sensing electrode with integrated I/O mechanism
US20080006454A1 (en) * 2006-07-10 2008-01-10 Apple Computer, Inc. Mutual capacitance touch sensing device
US7795553B2 (en) 2006-09-11 2010-09-14 Apple Inc. Hybrid button
US7668084B2 (en) * 2006-09-29 2010-02-23 Honeywell International Inc. Systems and methods for fault-tolerant high integrity data propagation using a half-duplex braided ring network
US20080088600A1 (en) * 2006-10-11 2008-04-17 Apple Inc. Method and apparatus for implementing multiple push buttons in a user input device
US8274479B2 (en) 2006-10-11 2012-09-25 Apple Inc. Gimballed scroll wheel
US20080088597A1 (en) * 2006-10-11 2008-04-17 Apple Inc. Sensor configurations in a user input device
US7889683B2 (en) * 2006-11-03 2011-02-15 Honeywell International Inc. Non-destructive media access resolution for asynchronous traffic in a half-duplex braided-ring
US8482530B2 (en) 2006-11-13 2013-07-09 Apple Inc. Method of capacitively sensing finger position
US7656881B2 (en) * 2006-12-13 2010-02-02 Honeywell International Inc. Methods for expedited start-up and clique aggregation using self-checking node pairs on a ring network
US7912094B2 (en) * 2006-12-13 2011-03-22 Honeywell International Inc. Self-checking pair-based master/follower clock synchronization
WO2009015691A1 (en) * 2007-07-31 2009-02-05 Telefonaktiebolaget Lm Ericsson (Publ) An optical switching controller
WO2009032898A2 (en) 2007-09-04 2009-03-12 Apple Inc. Compact input device
US8683378B2 (en) 2007-09-04 2014-03-25 Apple Inc. Scrolling techniques for user interfaces
US7778159B2 (en) * 2007-09-27 2010-08-17 Honeywell International Inc. High-integrity self-test in a network having a braided-ring topology
US8817597B2 (en) * 2007-11-05 2014-08-26 Honeywell International Inc. Efficient triple modular redundancy on a braided ring
US8416198B2 (en) 2007-12-03 2013-04-09 Apple Inc. Multi-dimensional scroll wheel
US8125461B2 (en) 2008-01-11 2012-02-28 Apple Inc. Dynamic input graphic display
US8820133B2 (en) 2008-02-01 2014-09-02 Apple Inc. Co-extruded materials and methods
US9454256B2 (en) * 2008-03-14 2016-09-27 Apple Inc. Sensor configurations of an input device that are switchable based on mode
US8111988B1 (en) * 2008-06-10 2012-02-07 Lockheed Martin Corporation Method for monitoring wavelength-division multiplexed signal
KR101548779B1 (en) * 2008-06-17 2015-08-31 휴렛-팩커드 디벨롭먼트 컴퍼니, 엘.피. Optical broadcast systems and methods
US7782133B2 (en) * 2008-09-03 2010-08-24 Infineon Technologies Ag Power amplifier with output power control
US20100060568A1 (en) * 2008-09-05 2010-03-11 Apple Inc. Curved surface input device with normalized capacitive sensing
US8816967B2 (en) * 2008-09-25 2014-08-26 Apple Inc. Capacitive sensor having electrodes arranged on the substrate and the flex circuit
US8395590B2 (en) 2008-12-17 2013-03-12 Apple Inc. Integrated contact switch and touch sensor elements
US20100241638A1 (en) * 2009-03-18 2010-09-23 O'sullivan Patrick Joseph Sorting contacts
US9354751B2 (en) 2009-05-15 2016-05-31 Apple Inc. Input device with optimized capacitive sensing
US8872771B2 (en) 2009-07-07 2014-10-28 Apple Inc. Touch sensing device having conductive nodes
KR20110013868A (en) * 2009-08-04 2011-02-10 삼성전자주식회사 Multi processor system having multi command set operation and priority operation function
US8858263B2 (en) 2011-08-08 2014-10-14 Novano Corporation Service over ethernet InterConnectable wall plate (SoEICWP) module
AT512742A1 (en) 2012-04-11 2013-10-15 Fts Computertechnik Gmbh Method and distribution unit for the reliable switching of synchronization messages
DE102012206272A1 (en) * 2012-04-17 2013-10-17 Beckhoff Automation Gmbh Fieldbus communication
US11300730B2 (en) * 2013-07-30 2022-04-12 The Boeing Company Plastic and glass optical fiber bus network having plural line replaceable units transmitting to a mixing rod
US10564357B2 (en) 2013-07-30 2020-02-18 The Boeing Company Plastic optical fiber bus network using tapered mixing rods
US20150058532A1 (en) * 2013-08-26 2015-02-26 Kabushiki Kaisha Toshiba Memory device, information-processing device and information-processing method
US9778419B1 (en) * 2016-06-23 2017-10-03 The Boeing Company Fiber optical system with fiber end face area relationships
US10924331B2 (en) * 2018-01-05 2021-02-16 WeRide Corp. Controller area network communication system
CN115065444A (en) * 2022-05-30 2022-09-16 中国电子科技集团公司第十研究所 On-orbit dual-redundancy data processing method of satellite-borne management and control computer

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3706974A (en) * 1971-10-27 1972-12-19 Ibm Interface multiplexer
US3794983A (en) * 1973-04-17 1974-02-26 K Sahin Communication method and network system
US3803405A (en) * 1968-10-09 1974-04-09 Telefunken Patent Data transmission system
US3859465A (en) * 1972-02-23 1975-01-07 Licentia Gmbh Data transmission system with multiple access for the connected users
US3986020A (en) * 1975-09-25 1976-10-12 Bell Telephone Laboratories, Incorporated Common medium optical multichannel exchange and switching system
US4149072A (en) * 1977-08-05 1979-04-10 Minnesota Mining And Manufacturing Company System for flat ribbon optical fiber data communications link
US4276643A (en) * 1978-03-17 1981-06-30 Agence Nationale De Valorisation De La Recherche (Anvar) Method of and means for routing binary messages through a multinode data-transmission system

Family Cites Families (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CH564889A5 (en) * 1973-11-28 1975-07-31 Patelhold Patentverwertung
US4063220A (en) * 1975-03-31 1977-12-13 Xerox Corporation Multipoint data communication system with collision detection
US3995258A (en) * 1975-06-30 1976-11-30 Honeywell Information Systems, Inc. Data processing system having a data integrity technique
US4034346A (en) * 1975-10-15 1977-07-05 Compagnie Honeywell Bull (Societe Anonyme) Interface for establishing communications between a data-processing unit and a plurality of stations
US4124889A (en) * 1975-12-24 1978-11-07 Computer Automation, Inc. Distributed input/output controller system
CH600703A5 (en) * 1976-03-30 1978-06-30 Hasler Ag
US4096567A (en) * 1976-08-13 1978-06-20 Millard William H Information storage facility with multiple level processors
US4325119A (en) * 1977-01-19 1982-04-13 Honeywell Information Systems Inc. Process and apparatus employing microprogrammed control commands for transferring information between a control processor and communications channels
US4336588A (en) * 1977-01-19 1982-06-22 Honeywell Information Systems Inc. Communication line status scan technique for a communications processing system
US4118792A (en) * 1977-04-25 1978-10-03 Allen-Bradley Company Malfunction detection system for a microprocessor based programmable controller
US4161719A (en) * 1977-10-04 1979-07-17 Ncr Corporation System for controlling synchronization in a digital communication system
US4186380A (en) * 1977-10-21 1980-01-29 Minnesota Mining And Manufacturing Company Multi-terminal computer system with dual communication channels
US4210780A (en) * 1978-03-27 1980-07-01 The Mitre Corporation Multiple access digital communications system
US4368512A (en) * 1978-06-30 1983-01-11 Motorola, Inc. Advanced data link controller having a plurality of multi-bit status registers
US4234968A (en) * 1978-09-05 1980-11-18 Ncr Corporation Optical coupler module in a distributed processing system
US4234969A (en) * 1978-09-05 1980-11-18 Ncr Corporation Bidirectional optical coupler for a data processing system
US4254884A (en) * 1978-10-20 1981-03-10 Toppan Printing Co., Ltd. Plug body for a container
US4227260A (en) * 1978-11-06 1980-10-07 The Singer Company Electronic active star element for an optical data transmission system
US4281380A (en) * 1978-12-27 1981-07-28 Harris Corporation Bus collision avoidance system for distributed network data processing communications system
US4257124A (en) * 1979-04-02 1981-03-17 The Boeing Company Optical repeater for use in active multiport fiber optic data bus coupler
DE2916234A1 (en) * 1979-04-21 1980-10-30 Philips Patentverwaltung COUPLING DEVICE COUPLING OPTICAL SIGNALS INTO A OR FROM A TRANSFER FIBER
SE417760B (en) * 1979-05-15 1981-04-06 Ellemtel Utvecklings Ab SET ON DATA TRANSMISSION BETWEEN A SENDING COMPUTER AND A RECEIVING COMPUTER MONITORING ERRORS AND DEVICE FOR IMPLEMENTATION OF THE SET
US4254496A (en) * 1979-06-28 1981-03-03 Northern Telecom Limited Digital communication bus system
US4294508A (en) * 1979-08-22 1981-10-13 The United States Of America As Represented By The Secretary Of The Air Force Optical multiplexer/demultiplexer
GB2064919B (en) * 1979-12-04 1983-10-05 Standard Telephones Cables Ltd Data transmission loops optical repeaters
US4340775A (en) * 1980-10-29 1982-07-20 Siemens Corporation Apparatus and method for controlling a modular telecommunication system
US4583161A (en) * 1981-04-16 1986-04-15 Ncr Corporation Data processing system wherein all subsystems check for message errors
US4403303A (en) * 1981-05-15 1983-09-06 Beehive International Terminal configuration manager

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3803405A (en) * 1968-10-09 1974-04-09 Telefunken Patent Data transmission system
US3706974A (en) * 1971-10-27 1972-12-19 Ibm Interface multiplexer
US3859465A (en) * 1972-02-23 1975-01-07 Licentia Gmbh Data transmission system with multiple access for the connected users
US3794983A (en) * 1973-04-17 1974-02-26 K Sahin Communication method and network system
US3986020A (en) * 1975-09-25 1976-10-12 Bell Telephone Laboratories, Incorporated Common medium optical multichannel exchange and switching system
US4149072A (en) * 1977-08-05 1979-04-10 Minnesota Mining And Manufacturing Company System for flat ribbon optical fiber data communications link
US4276643A (en) * 1978-03-17 1981-06-30 Agence Nationale De Valorisation De La Recherche (Anvar) Method of and means for routing binary messages through a multinode data-transmission system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0186941A1 (en) * 1984-11-02 1986-07-09 Plessey Overseas Limited Matrix interconnected local area networks
GB2168214A (en) * 1984-11-28 1986-06-11 Gec Avionics Data handling systems
EP0539796A2 (en) * 1991-10-30 1993-05-05 Motorola, Inc. Method for data collision detection in a multi-processor communication system
EP0539796A3 (en) * 1991-10-30 1994-08-24 Motorola Inc Method for data collision detection in a multi-processor communication system

Also Published As

Publication number Publication date
AU542023B2 (en) 1985-01-31
US4417334A (en) 1983-11-22
US4494185A (en) 1985-01-15
EP0076322A4 (en) 1985-06-26
AU8520782A (en) 1982-11-04
JPS58500349A (en) 1983-03-03
EP0076322A1 (en) 1983-04-13
JPH0336349B2 (en) 1991-05-31
US4583161A (en) 1986-04-15
DE3276843D1 (en) 1987-08-27
EP0076322B1 (en) 1987-07-22

Similar Documents

Publication Publication Date Title
WO1982003740A1 (en) Data processing system employing broadcast packet switching
EP0076845B1 (en) Data processing system including subsystems having local memories
US4337465A (en) Line driver circuit for a local area contention network
US4332027A (en) Local area contention network data communication system
US5267240A (en) Frame-group transmission and reception for parallel/serial buses
US4493021A (en) Multicomputer communication system
US4641307A (en) Data packet transmission using shared channel
US4551842A (en) Error-protected data transmission device and communication network
US4320452A (en) Digital bus and control circuitry for data routing and transmission
US5455831A (en) Frame group transmission and reception for parallel/serial buses
US4642630A (en) Method and apparatus for bus contention resolution
KR100258398B1 (en) Method and apparatus for data collision detection in a multi-processor communication system
US4430700A (en) System and method for communication between nodes of a closed loop local communication path
US5425020A (en) Skew measurement for receiving frame-groups
US4723208A (en) System and method for communication between nodes of a closed loop local communication path
US4604693A (en) System and method for communication between nodes of a closed loop local communication path
EP0076844B1 (en) Data processing system having dual-channel system bus
EP0076846B1 (en) Data processing system having error checking capability
EP0115348A2 (en) Remote initialization of interconnected communications stations
CA1176380A (en) Functional addressing method for a multiplexed data bus
SU1191915A1 (en) Interface for linking computers in multiprocessor computer system
Agrawal et al. Multicomputer communication system
KR19980034717A (en) Parity Method Using Parity Method

Legal Events

Date Code Title Description
AK Designated states

Designated state(s): AU JP

AL Designated countries for regional patents

Designated state(s): BE CH DE FR GB

WWE Wipo information: entry into national phase

Ref document number: 1982901652

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1982901652

Country of ref document: EP

EL Fr: translation of claims filed
EL Fr: translation of claims filed
WWG Wipo information: grant in national office

Ref document number: 1982901652

Country of ref document: EP