MULTIPORTED BUFFER MEMORY SYSTEM FOR DISK DRIVE COMPLEX

Abstract: A multiported buffer memory system (Fig. 3, Fig. 4) provides access to four external sources (25, 26, 27, 28) which can access data words in any one of four memory modules (24m0, 24m1, 24m2, 24m3). The functions of Reading and Writing and status information can occur simultaneously during the course of system cycles so that any one external source can access any one of the multiple memory modules for Reading and Writing operations (Fig. 8). Likewise the concept can be expanded to M input/output ports working together with M memory modules without loss of speed and data communication transfer capabilities.

Description: TITLE: MULTIPORTED BUFFER MEMORY SYSTEM FOR DISK DRIVE COMPLEX FIELD OF THE INVENTION This disclosure involves high-speed large capacity buffer memories enabling communication of commands and data between one or more host processors and multiple numbers of disk drives. BACKGROUND OF THE INVENTION Continued development and upgrading of data storage systems such as those which use magnetic disk subsystems lead to the desirable features of higher performance, greater capacity, higher reliability in addition to reduced power consumption, reduced footprint area, and reduced heat dissipation. As seen in Fig. IB, the general block diagram of a mass storage and retrieval system would include a host processor 4 for several interface modules such as channel interface module 8 C (CIM) and device interface module 8 d (DIM) connected to a plurality of disk drive units 70 or other types of peripheral storage units. The particular interfaces in various types of disk drive mass storage systems will vary according to the individual design of the manufacturer. In the presently described architecture the interfaces involve two particularly efficient interfaces known as the channel interface module 8 C which uses the described buffer memory systems of the present invention and also a device interface module (DIM) 8 d which also uses the herein described invention for the buffer memory system. In the prior art and other conventional memory systems, where buffer memories were used in interfaces for Read, Write, and other operations in mass storage systems, the requirement of time multiplexing of the memory caused undesirable wait periods for accessing by the numerous sources which had to access the memory. As an example, buffer memories would normally be accessed by various sources such as a host processor, a control processor, and by various data channels which communicated to a series of disk drives or other peripheral units. It was the problem of delay and of waiting for taking of turns for each of these particular outlying sources in accessing the buffer memory that created and caused unacceptable delays. When dual port memories were used, this not only increased the cost, the amount of board surface involved and increased power usage on the board in addition to causing contention between the two ports of each memory. Even in the case of dual port memories, there were two sources of access which still had to wait for their turn for memory access and attention. In order to reduce the use of power consumption and to reduce the amount of board surface required and especially to keep the simplicity as well as the "fairness of access" to all of the sources available, this particular buffer has been designed to overcome the aforementioned limitations. GENERAL OVERVIEW A more highly efficient and less costly data storage and retrieval system is indicated in Fig. IB. Fig. 1A shows one-half of the overall system in order to illustrate the flexibility and operability. A complete mass storage configuration would include twice the number of CIM and DIM controller boards shown in Fig. 1A. As seen in Fig. 1A, there are four controller boards, two of which (8 cl , 8 c2 ) are the channel interface module (CIM) controller boards which use the described buffer system of this invention, and there is also shown in Fig. 1A two device interface module (DIM) controller boards (8 dl , 8 d2 ) which also use the multiported buffer of the described invention. A fully configured system would have eight interface controller boards so that in Fig. 1A there would be four channel interface module boards (CIM) and four device interface module (DIM) boards. Within each of the eight controller boards (of which four are shown in Fig. 1A) , there is seen the buffer memory systems 24 cl , 24 c2 , and 24 dl , and 24 d2 ) wherein each of these buffer memory systems have four ports designated as P 0 , Pi, P 2 , and P 3 . As will be described hereinafter, all the individual memory modules used in the multiported buffer memory system are single ported static RAMs which are cheaper yet more dense and smaller in terms of usable space than multiport static RAMs. In the presently described embodiment of the buffer memory system, the buffer memory system is provided with four ports of 36-bits data width. Each and every one of the ports can access the entire memory in each of the memory modules of the buffer memory system. Operationally the maximum wait period for any first access is 350 nanoseconds and then the access to the next following data words will be operable at 80 megabytes per second for the entire burst size. The burst size can be from one word to a maximum of the entire size of the memory system modules which is 64 megabytes. With the use of a multiport memory system in which the described embodiment of Fig. 1A shows four ports, the information in the buffer memory system is shared between a control processor (10 ol , 10 c2 , 10 dl , 10 d2 ) and two Futurebus interfaces 31, 32 (FBI, FB2) plus the interface processors such as IP cl , IP c2 , IP dl , IP d2 ) which respectively provide interfaces to the host computer and to the device interfaces for the peripheral storage devices. As seen in Fig. 2, the buffer memory system is shown in more detail in conjunction with one controller board, that is to say, the DIM device interface module controller board 8 d . Each of the ports P 0 , P lf P 2 , P 3 of Fig. 2, (26, 27, 28, 25) has a transfer capability of 80 megabytes per second. Fig. 3 shows a block diagram of the internal elements of the buffer memory system. The use of address-transfer VLSI circuits and data transfer VLSI circuits (24 a , 24 d ) are operable to reduce the power requirements of the system as well as the amount of board space and cost. Each of the ports P 0 , P lf P 2 , and P 3 is capable of handling 27-bits of Address Bus, 36-bits of Data Bus, and 6-bits of Control Bus. There are four memory modules in Fig. 3 (24.. 0 , 24 ml , 24,^, 24^) which are addressed with the least significant bits of port addresses such that module 0 will hold all addresses ending in 00, module 1 will hold all addresses ending in 01 and module 2 will hold all addresses ending with 10 and module 4 will hold all addresses ending in 11. The buffer memory system interconnections are shown in Fig. 4 where each memory module is seen to be connected to a port no matter what the status is of that port. This provides for equal access (fairness) to all ports within four system cycles wherein each system cycle takes a period of 50 nanoseconds. Fig. 5 shows the Address Transfer Logic (VLSI) portion 24 a of the buffer memory system. It is seen that the address of each port is kept separately in a counter which will then multiplex this address into each of the other module address ports. For one system cycle, the module addresses are all kept within each of the multiplexer units (24 x0 , 24 xl , 24 x2 , 24 x3 ) shown in Fig. 5. Fig. 6 shows the Data Transfer Logic portion (VLSI) 24 d of the buffer memory system. It will be noted that there are two independent paths for each port making it possible to individually read or to write simultaneously into the buffer at the same time. Each one of the bus interface input/output units (24 t , 24i) (BI-I/0) will be stable for at least one system cycle. Each buffer memory module (24 c , 24 d ) which is made up of four virtual module units is constructed as shown in Fig. 7. To hold a capacity of four megabytes of 36-bit words, there are used nine static RAM chips, each of which is 256K x by 4 bytes. Thus the nine RAM chips provide 262,144 words of 36 bits each per virtual module for a total of 1,048,576 words of 36 bits each. Here the 1,048,576 words of 36 bits each is the equivalent of 4,194,304 bytes (4 megabytes). SUMMARY OF THE INVENTION The present invention provides a large capacity buffer memory of four memory modules which permit exceedingly rapid transfer of data and simultaneously permit the Reading and Writing of data into and out of the memory modules from any one of the four ports of a multiport memory system. In the preferred embodiment the multiport buffer memory system provides a port to a control processor, a port to a plurality of peripheral storage devices/or host computer, and two ports to buses which connect to other channel interface (CIM) and device interface (DIM) modules permitting data communication to and from a host processor and/to and from a multiplicity of peripheral storage devices. The four ports of the buffer memory system are connected to an address transfer logic system which permits access to each and every one of four memory modules in the system. Additionally a data transfer logic system connects to each one of the memory modules in order to permit the simultaneously Reading out of, and Writing into, of data words, while the four ports provide interface connection to a host system and also to a multiple set of peripheral storage modules. System cycles are operative so that during any one system cycle there can be one access allowed from any port to any buffer memory module. However, while this one access is occurring on one system cycle, during the next system cycle there can be another access for either a Read¬ out or a Write-in operation of a data word. The overall effect is that concurrently there is the continuous capability and flow of access to any one of the buffer memory modules from any one of the four ports of the buffer memory system. This insures an equality of access for each and every one of the ports to a desired buffer memory module and also insures that there can be simultaneous action cycles occurring both for the Read-out of data and for the Writing-in of data from any one of the multiple ports. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1A is a block diagram of a disk mass storage and retrieval system showing one-half of a typical system where there is seen two channel interface modules and two device interface modules which connect the host processors of the system to a plurality of disk drive modules. The Fig. IB is a simplified block diagram of the overall mass storage system. Fig. 2 is a diagram of the device interface module and its internal usage of the multiported buffer memory system; Fig. 3 is a block diagram of the buffer memory system showing the various elements involved; Fig. 4 is a interconnecting diagram showing how the buffer memory modules are interconnected to the four ports involved in the buffer memory system; Fig. 5 is a more detailed diagram of the address transfer system of the buffer memory using buses and VLSI circuitry; Fig. 6 is a more detailed block diagram showing the elements of the data transfer logic of the buffer memory system; Fig. 7 is a schematic drawing showing the arrangement of RAM chips to form the four-module buffer memory system; Fig. 8 is a drawing showing the relationship between the four ports and the four buffer memory modules during each of a sequence of system cycles; Fig. 9 is a drawing showing the time sequence wherein various addresses interact with the four memory modules of the buffer memory system in performing access- Read operations. Fig. 10 shows the access Write function during a period of system cycles showing the relationship between the address, the time period involved and the various functions in each of the four memory modules; Fig. 11 is a flow chart showing the function of the overall system during a Read and Status operation; Fig. 12 is a flow chart showing the various steps involved in the system for a Write and Status operation. DESCRIPTION OF PREFERRED EMBODIMENT Referring to Fig. 1A there are shown four controller boards which are illustrative of one-half of the overall system. The normal system would have eight such controller boards located in a single cabinet. As seen in Fig. 1A, the two upper controller boards are modules designated as the channel interface module (CIM) and are shown as channel interface module 8 cl and 8 c2 . The two lower controller boards are designated as device interface modules (DIM) and are indicated as device interface modules 8 dl and 8 d2 . Referring to the channel interface modules 8 cl and 8 c2 , there will be seen two protocol chips designated 1-1 and 1-2 which communicate to the main host processor 4 (or alternatively there can be communication to four separate host processors which could be designated 4 a , 4 b , 4 C , and 4 d ) . The protocol chips (1-1, 1-2) can be designated as block multiplexor channel host interface protocol chips. These function to communicate data and to transfer commands and status information to and from the host processor 4. The first set of protocol chips 1-1 and 1-2 are under control of the interface processor designated IP ci . The interface processor, IP cl , controls the protocol chips 1-1 and 1-2 so that the interface processor (IP c ι) can independently act in order to provide an appropriate "fair share" of buffer access time to each one of the set of two protocol chips 1-1 and 1-2. Likewise, the interface processor IP c2 is also a processor which operates as a hardware state machine and also provides the function to insure there will be a fair share of access time between the buffer 24 c2 and each of the protocol chips 1-1 and 1-2 in its communication to and from the host computer 4. The interface processor (such as IP cl and IP c2 ) communicates respectively to the buffer memories 24 cl and 24 c2 . These buffer memories are used to store information data, control data, and status data during the operation of the system when data is being transferred between the host computer 4 and a series of peripherals such as disk drive units 70 a , 70 b , 70 c , 70 d . These disk units 70 a through 70 d each represent multiple numbers of disk drive units. The buffer memory units 24 cl and 24 c2 are respectively controlled by the control processors 10 cl and 10 c2 . As indicated in Fig. 1A, the buffer memory (such as 24 cl , 24 c2 ) will have four ports where the Port PI connects to the Futurebus state machine (FBI) 31; the Port P2 communicates with the second state machine FB2, 32; the third port P3 of the buffer memory 24 communicates with the interface processor IP c2 and the fourth port P 0 communicates with the control processor 10 c2 . The Futurebus interface state machines (31,32) designated FBI and FB2 function to communicate between the channel interface modules (8 cl , 8 c2 ) and the device interface modules (8 dl , 8 d2 ) . The connective arrangements to the Futurebus interface state machines 31 and 32 are such that two sets of buses designated as 6 a and 6 b will be seen to interconnect the channel interface modules (CIM) with the device interface modules (DIM) in such a fashion that any channel interface module (CIM) can talk to anyone of the device interface modules (DIM) thru the Futurebus state machines 31 and 32 (FBI and FB2). Again referring to Fig. 1A, the lower control boards 8 dl and 8 d2 are the device interface modules (DIM) which also have buffer memory units 24 dl and 24 d2 respectively controlled by the control processors 10 dl and 10 d2 . The buffer memories 24 di and 24 d2 will be seen to have connections to the interface processors IP di and IP d2 which are used to communicate with and handle data transfer operations by means of device protocol chips Dl. The device protocol chips, Dl, are used to communicate to the disk drives 70 a , 70 b , 70 c , and 70 d in order to transfer commands, data, and status information between the disk units 70 and the buffers 24 dl and 24 d2 . Likewise also the chips Dl can be arranged to communicate with tape or optical disk storage means. Operationally, Fig. 1A illustrates how the host processor system 4 can access information and data from the seven disk drives of 70 a or the seven disk drives of 70 b , or 70 c or 70 d . The host 4 will send a command through the interface protocol chips such as 1-1 or 1-2. The interface processor (IP c ι, IP c2 ) will convey this command to the buffer memory (24 cl , 24 c2 ) . The control processors 10 cl or 10 c2 will execute the command and will send the command through the Futurebus state machines 31, 32 (such as FBI or FB2) to the device interface module (DIM) and its buffer memories (such as 24 dl and 24 d2 ) for temporary storage. The control processor (such as processor 10 dl or 10 d2 ) looks at the transmitted command from the host, and selects which one of the device interfaces, Dl, of the device interface protocol chips will be used for access to send the command to a selected disk drive or other peripheral unit so that information can be accessed from the disk drive and returned through the device protocol interface Dl and into the DIM buffer 24 dl or 24 d2 . The control processor (10 dl or 10 d2 ) will transfer this data from the disk through the Futurebus state machines (31, 32) up to the CIM buffers (24 cl or 24 c2 ). Then the interface processor (IP c ι, IP C2 ) will transfer this data up to the host system 4, thus completing the first action of data transfer, which may be a READ operation or a WRITE operation. After this first activity is completed, then the disk drives, such as 70 a , 70 b , etc. will provide "status data" back to the host 4 through the same series of channel steps, that is to say, through the device protocol interface, Dl, then through the interface processor IP dl then through the buffer 24 dl , then through the Futurebus state machines 31, 32 of the DIM module 8 dl , then by CIM module 8 cl , via the buffer 24 cl and to the interface processor IP cl and thence through the interface protocol chip (1-1 or 1-2) to the host system 4. Referring to Fig. 2, there is seen a block diagram of the controller board 8 d on which is patterned on the device interface module, DIM (indicated as 8 dl and 8 d2 of Fig. 1A) . The control processor 10, Fig. 2, controls the execution of commands received from the host 4 and operates upon the buffer memory 24. The control processor 10 is supported by the code SRAM 16 which provides microcode for the control processor 10 and is supported by the FAST SRAM 18 which provides a working scratchpad area for the processor 10. The FLASH EPROM 20 is a boot memory for starting up and for the diagnostic operations used by the processor 10. The control processor 10 has a data bus 12 d which connects to the buffer memory 24, to the device protocol interfaces Dl p , D2 p , D3 p , D4 p , and also to the Futurebus state machines 31 and 32. The device protocol interfaces Dip, D2 P , D3 P , D4 P of Fig. 2 correlate to the interfaces Dl of Fig. 1A. The bridge logic 14 (Fig. 2) is a group of logic gates used to connect the data bus 12 d and the instruction bus 12i. The DIM controller board 8 shown in Fig. 2 also indicates that the buffer memory 24 of the DIM 8 has four basic input/output port areas shown as 27, 28, 25 and 26. (These correlate to parts P l7 P 2 , P 3 , P 0 of Fig. 1A) . The interface ports 27 (PI) and 28 (P2) provide bus connections to the Futurebus state machines 31 and 32. The processor port logic interface 26 (P 0 ) connects the control processor 10 to the interface ports 27 (Pj) and 28 (P 2 ) • The interface processor port 25 connects the buffer memory 24 to the peripheral units via output ports Dl p thru D4 p to provide for channels of communication to the peripheral units 7O p . The Futurebus state machine 31 (FBI) connects through the Futurebus-1, designated, 6 a , to other channel interface modules (CIM) . Likewise the Futurebus state machine 32 connect via the bus 6 in order to communicate to other device interface modules or DIMs. The control processor 10 of Fig. 2 may be implemented with an AMD 29000 RISC processor and is functionally used to control the channel interface module (CIM) and the device interface module (DIM). The channel interface module 8 C (CIM) is architecturally the same as the described DIM 8 d of Fig. 2, except that instead of the 4 (quad) ports Dl (of the DIM), there are dual (2) ports for connection by each CIM board to the host processors of the host system 4. Fig. 3 is a block diagram showing the elements of the buffer memory 24 previously discussed in Fig. 2. The buffer memory 24 has a first portion block designated as Address VLSI 24 a . The Address VLSI block has 4 inputs from 4 address ports designated port 0A, port 1A, port 2A and port 3A which correspond, in Fig. 2, to the elements 26, 27, 28, and 25, and correspond in Fig. 1A to ports P 0 , P lf P 2 , and P 3 . The Address VLSI module 24 a provides addressing connections to the four memory modules 24 mo , 24 ml , 24 m2 , and 24 m3 . These modules are also designated as memory module 0, 1, 2, and 3, and are static RAMs which are generally designated as SRAM's. Each of these static RAMs will hold 128K X 36 bits of memory information. Then, as noted in Fig. 3, there are a series of output two way data buses B dl connecting each of the four static RAM modules to the Data VLSI module 24 d . The Data VLSI module 24 d is made of two chips which perform the function of multiplexing data to the memory module. A series of data ports OD, ID, 2D, and 3D are provided to both take in and put out data to the Data VLSI module 24 d . In Fig. 2 these four ports are designated as Dl p , D2 p , D3 p , and D4 p and they provide for the interchange of data between the peripheral storage units (disk drive 70) and the buffer memory module 24. The incoming address buses in Fig. 3 are designated B al and each one of the four buses carries a 27 bit address. The Address VLSI module 24 a which receives the data on the buses B al is a module which is made of one VLSI chip which provides a multiplex function for simultaneously addressing the various memory modules such that any one of the ports 0A, 1A, 2A, 3A, can operate to address each one of the four memory modules 0, 1, 2, 3. The addressing from the address module 24 a is done by means of the address buses B a2 . Data which resides (Fig. 3) in the four memory modules 0, 1, 2, and 3 (24 mo , 24 ffil , 24 m2 , 24-^) is connected by a set of data buses B dl to the data module 24 d . These data buses enable data to be "written" into any one of the four memory modules or to be "Read out" from any one of the four memory modules on a simultaneous or concurrent basis. The data on any one of the data buses of Fig. 3 designated B d2 , can travel by means of the four ports OD, ID, 2D, 3D, which correlate to P 0 , T? l r P 2 and P 3 of Fig. 2. The buses B d2 each carry 36 bits of data to or from the memory modules 0, 1, 2, 3, for purposes of reading 36 bits of data or for writing in 36 bits of data. The four address ports 0A, 1A, 2A, 3A (also designated as 26, 27, 28, and 25) receive the addresses from the control processor 10 such that any one or each one of the ports 0A, 1A, 2A, 3A, can address any one of the four modules 0, 1, 2, 3 (24 mo , 24 ffil , 24 m2 , 24-^) concurrently in time. In conjunction with the addressing of the various memory modules, it is also possible, at the same time, for data to be entering the ports 0D, ID, 2D, and 3D (P 0 , Pi, P 2 , P 3 ) for purposes of writing into the particular sections of the addressed modules 0, 1, 2, and 3, of Fig. 3. Likewise, concurrently data can also be being read out of the modules 0, 1, 2, and 3 and sent via the Data VLSI module 24 d over to the ports 0D, ID, 2D, 3D also designed P 0 , P lf P 2 and P 3 on FIG's. 2 and 3. It should be understood, for example, that while port 2A is providing an address to the Address VLSI 24 a , then at the same time, data can be entering for writing purposes on port 2D. It is possible for any one of the four ports 0A, 1A, 2A, 3A to address any one of the four memory modules 0, 1, 2, 3 concurrently and simultaneously while at the same time data is being written into or read from any particular ones of the memory modules 0, 1, 2, 3 by means of data transfers through the Data VLSI 24 d . For example, each of the four ports 0D, ID, 2D, and 3D can be writing to the same module, for example, as module 2, concurrently in order to write in data at separate or same locations in module 2 (24^) . This is permissible since there can be four addresses appearing on ports 0A, 1A, 2A, 3A, in order to tag or locate the special addresses in module 2 where the writing of data is to be done. Another example of the buffer memory system flexibility is that, for example, there may be two Reads and two Writes occurring at the same time involving each of the four memory modules 0, 1, 2, and 3, the only limitation being that each port 0A, (address) and port OD data information occur simultaneously. Similarly, the addressing through the port 2A to the memory module 2 (24 m2 ) must be simultaneous with the data port 2D (28), holding the 36 bit data word. It should be understood that each combination of "address" and "data" port is an independent operable entity. Thus, operationally, any port can access and address any location in any one of the four memory modules. Likewise, any one of the data ports (0D, ID, 2D, 3D) can access locations in any one of the four memory modules. The only limitation is that there be a "concurrence" in time between the port address information delivery and the presence of the data via its corresponding data port. Referring to Fig. 4, there is seen the four static RAM buffer modules 0, 1, 2, 3, (24 m0 , 24 ml , 24.^, 24-^). Each of the buffer RAM memory modules 0, 1, 2, 3 are addressed via the counters C 0 , C ϊ t C 2 , and C 3 on the right hand side of Fig. 4. These counters receive address information via one of the port connections to control processor 10, interface port 25 (P3), Futurebus interfaces 31 (FBI) or 32 (FB2). This information is placed in a counter and the incoming address is distributed to each one of four buses which are the memory address buses designated M 0 , M x , M 2 , M 3 . This arrangement permits the address from any given port such as port OA, 1A, 2A, 3A, to be placed in each of the respective counters C 0 , C l7 C 2 , and C 3 . Then each of these counters will provide the incoming address to each one of the buses M 0 , M l M 2 , and M 3 . In this fashion, every incoming address on every one of the ports may be conveyed to every single one of the individual memory modules 0, 1, 2, 3, (24 m0 , 24 ml , 24 m2 , 24 m3 ). Likewise looking to the left-hand side of Fig. 4, it will be seen that the series of ports designated port 0D, ID, 2D, 3D, each provide communication lines for the entry or the exit of data information. These consist of 36 bit data words. Each of the data input ports can convey an input data word into a register involved with the particular port. The register for each port is designated as R 0 , R lf R 2 , and R 3 . Each of the registers are arranged so that the data word may be conveyed to each and every one of the four buses designated B 0 , l t B 2 , and B 3 , so that when data is being written into a memory module, it is possible for any one of the ports to access any one of the addressed memory modules in order to write in a 36 bit data word. Likewise, the busses B 0 thru B 3 also operate for "Reading" operations so that any data word accessed from any one of the memory modules 0, 1, 2, 3, can then be transferred to any one of the four ports 0D, ID, 2D, 3D, for export to the control processor 10, to disk drives 70, to Futurebusses 31, 32. Thus it is possible, for example, such that memory module 1 (24 ml ) can be addressed through the address port 0A, and at the same time the data port 0D can be writing in data into that addressed location in module 1 (24 ml ). Similarly and concurrently, address port 1A can be addressing a location in memory module 1 (24 ml ) at the same time that the data port ID is enabling the read out of a data word from module 1 (24 ml ) over to a requesting master such as processor 10. In Fig. 4 it will be noted that each memory module 24 mo , 24 ml , 24 m2 , 24,^ is connected to each one of the four address ports 0A, 1A, 2A, 3A, and likewise each memory module is connected to each one of the data ports 0D, ID, 2D, and 3D. Thus there can be concurrent or simultaneous operation of at least four action cycles taking place in the buffer memory 24. These four action cycles can be any mixture of Reads and Writes such as two Reads and two Writes or three Writes and one Read all occurring simultaneously. It should be noted that the registers R 0 , R lf R 2 , R 3 , are arranged such that each register will hold data which is either to be written in, or which is to be read out, and thus this data will be available to any one or each one of the four buses B 0 , B lf B 2 , B 3 , so that this data can then be used by any one of the four data ports 0D, ID, 2D, 3D. Referring to Fig. 5 there is seen a more detailed drawing of the Address VLSI block module 24 a . As was indicated in Fig. 2, there were four ports in the buffer 24 which were designated as 25, 26, 27, and 28 (P 3 , P 0 , Pi, P 2 ) and these ports are shown as indicated at the top of Fig. 5 showing the port address in. Each of the input buses B al here are attached to a counter (C 0 , Ci, C 2 , and C 3 ) . Each of these counters have four connections which are fanned out to include each of four multiplexors, MUX 0, 1, 2, 3, designated 24 x0 , 24 xl , 24-. 2/ and 24 x3 . Each of these multiplexors will hold the memory module address received, for a period of one system cycle. Then the output of each of the multiplexors 0, 1, 2. 3, are passed on respectively to each of the SRAM memory modules 0, 1, 2, 3, (24 m0 , 24 ml , 24 m2 , and 24^) . Each address coming on each of the ports 0A, 1A, 2A, and 3A will be conveyed by the four buses in each port (0A, 1A, 2A, 3A) over to the module ports designated as MUX 0, 1, 2, and 3 (24 x0 -24 x3 ) . As the counters are incremented, that is to say, C 0 , C x , C 2 , and C 3 , then each particular MUX module interface (24 x0 , 24 xl , 24 x2 , 24 x3 ) will have a period of time called a "system cycle" in which a particular address is available in that particular module interface. Thus, at the first "system cycle", the module interface MUXO will hold the incoming address from port OA. On the next (second) system cycle, the MUXO will hold the address input to port 1A; on the third system cycle, the MUXO will hold the address from the port 2A; and on the fourth system cycle, the MUXO will hold the address which was inserted at port 3A. Likewise this sequence of available addresses occurs in the other module interfaces MUXO, MUX1, MUX2, and MUX3. The Address block module 24 a in Fig. 5, will be seen to have a bus output M0-M3 from each of the module interfaces (MUXO, 1, 2, 3,) over to the four SRAM memory modules 0, 1, 2, 3. The connections are provided by the address buses M 0 , M M 2 , and M 3 of Fig. 4. Thus it will be seen that there is a sequence of communications whereby port 0A talks first to module interface MUXO for one system cycle; then port 0A talks to MUX1 for the next system cycle; and port 0A talks to MUX2 for the next system cycle, and then 0A talks to MUX3 for the next system cycle. While this is occurring, each of the other ports are subsequently talking to the next module interface in sequence. This will be subsequently shown in FIG's. 8A, 8B, 8C, and 8D. The Data VLSI block module 24 d of Fig. 3 is now shown in more detail in Fig. 6. Referring to Fig. 6, the Data block module 24 d provides for one lower group of four bidirectional transceivers designated 24 10 , 24 , 24 i2 , 24 13 . These bidirectional transceivers connect respectively to the ports shown in FIG's. 2 and 3 as 26, 27, 28, and 25 respectively, also designated P 0 , P P 2 , P 3 . This means that the buffer memory 24 has ports reaching to the control processor 10, host processor 4, the Future bus state machine 31 and the Future bus state machine 32 for connection respectively to other channel interface modules (CIM) and other device interface modules (DIM) as indicated in Fig. 2. Referring again to Fig. 6 to the upper transceiver group, it will be noted that each of the bidirectional transceivers 24 t0 , 24 tl , 24 t2 , and 24 t3 , each have two buses allocated to them so that each of the bidirectional transceivers have a READ line and a WRITE line respectively to the READ data logic unit 24 dr and to the WRITE data logic unit 24 dw . The logic units 24 dr and 24 dw are each provided for by a single chip unit which uses logic gates. Each of these upper group transceivers 24 t0 , 24 tl , 24 t2 , 24 t3 connect one of the static RAM modules 24 m0 , 24 ml , 24 m2 , 24 m3 , (Modules 0, 1, 2, 3) to a particular one of the bidirectional transceivers, 24 t0 - 24 c3 . Each of the bidirectional transceivers 24 t and 24 will be seen to have a READ bus connected to the READ data logic unit 24 dr and also will have a WRITE bus connected to the WRITE data logic unit 24 dw . Thus it will be seen that it is possible for any one of the four ports 25, 26, 27, 28 (of buffer 24 of Fig. 2) to be connected for either READ operations or for WRITE operations to and from any one of the memory modules 24 mo 24 ffil , 24^, and 24^. Referring to Fig. 7, there is seen a schematic drawing of nine chips of static RAMs which are used to form the memory buffers 24 of Fig. 2 and also the Modules 0, 1, 2, 3, designated 24 m0 , 24 ml , 24^, 24^, of Fig. 3. Each chip of the nine chips is a RAM chip of 256K x 4 bytes for a total of four megabytes for the total memory buffer 24. The module address inputs shown in Fig. 7 are sourced from the MUX module interfaces 0, 1, 2, 3, (24 x0 -24 x3 ) shown in Fig. 5. The module READ/WRITE control lines are sourced from the Address VLSI control unit 24 a of Fig. 5. The two way buses from the buffer memory RAM chips, which carry the data words show that the transceivers 24 10 , 24^, 24 i2 , and 24 i3 , of Fig. 6 are the connecting vehicles for the Data block module 24 d to the buffer memory modules 0, 1, 2, 3. The designation 256K x 4 on each chip represents the storage of 4 groups of 256 thousand bits of data in each chip. Thus with 9 chips, there are 9 X 4 = 36 bit words available on the 9 chips for a total of 1 megabyte of data where each byte represents 8 bits. The 256K x 36 represents that there are 256 thousand words of 36 bits each. This represents a module of one megabyte. The buffer memory of the presently described disk drive control system provides for a buffer access time of 50 nanoseconds from any one of the four ports 25, 26, 27, and 28. Additionally, the system provides for a date rate of 320 megabytes per second for data transfer. It will be noted that data availability is possible for any of the ports at any particular time. Additionally there is provided a "wait period" for each port so that there will be "fairness" of access of data between the ports so that one port will not monopolize all the access time but that the access time will be distributed among the four ports. Thus the multiport buffer 24 (of FIG's. 1, 2, 3, and 4) permits the simultaneous transfer from buffer memory to each of the ports and from each of the ports to the buffer memory in any buffer memory location including the very same location on a different system cycle. The "system cycle" described herein is based on a 20 megahertz clock time which provides for a 50 nanosecond system cycle. The "command cycle" involves the initiation of an instruction by host computer 4 until the completion of the cycle is signalled by the receipt (by host 4) of a "status signal" indicating completion or non-completion. Major significant features of the buffer memory system in each of the interface controller boards (CIM, DIM) may be listed as follows: 1. All of the memory chips used in the buffer memory system are single ported static RAMs which are generally less expensive, more dense in holding information, and spatially smaller than multiport static RAMs. 2. The buffer memory system has 4 ports where each port has a data width of 36 bits, which constitutes a data word. 3. Each one of the 4 ports has the ability to access any location in any one of the memory modules of the buffer memory system. 4. The maximum "wait" for any first access of the buffer memory to occur is 350 nanoseconds. Subsequently, access to the concatenated following words will be at a rate of 80 megabytes per second for the entire data burst length. 5. The "burst length" can be from 1 word alone to a maximum of the entire size of the allowable buffer memory which is 64 megabytes. 6. The address unit 24a has its address input bus at a width of 24 bits which can address a maximum of 2 2 = 16,777,216 words (4 bytes each) for a total of 16,677,216 X 4 = 67,108,864 bytes (64 Mega bytes) . The operation of the buffer 24 is illustrated in Fig. 8 which is subdivided into sections as Fig. 8A, Fig 8B, Fig. 8C, and Fig. 8D. The left-hand column in each case shows the ports which are designated as Port 0, Port 1, Port 2, and Port 3. These correspond to the ports shown in Fig. 3 which show the address ports OA, 1A, 2A, and 3A, and in Fig. 2 as ports 26, 27, 28 and 25 respectively. The top row of Fig. 8 shows the various buffer memory modules 24 mo , 24 m ι, 24 m2 , and 24,^ which have been designated in Fig. 8 as Module 0, Module 1, Module 2 , and Module 3. The "shaded portion" in each case shows how each port is connected to a particular module and also shows the particular function that is occurring. Referring to Fig. 8A, it will be seen that Port 0 (0A, 0D, 26) (Fig. 3) is connected to Module 0 for the purpose of "accessing" a buffer memory location. At the same time, it will be seen that Port 1 (1A, ID, 27) is connected to Module 1 for the purpose of accessing a location in buffer memory 24. Likewise in Fig. 8A, the Port 2 (2A, 2D, 28) is seen connected to Module 2 for the purpose of accessing a buffer memory location. In Fig. 8A, the Port 3 (3A, 3D, 25) (Fig. 3) is connected to Module 3 for the purpose of accessing a memory location. Concurrently and simultaneously all the functions of Figure 8A happen in one system cycle. In the next system cycle after figure 8A, the buffer is in position of figure 8B and similarly the buffer operations in the following system cycles are shown in FIG's. 8C and 8D. In Fig. 8B, (second system cycle), it is seen that Port 0 (Fig. 3) is connected to Module 1 for accessing a data location; then Port 1 is accessing Module 2 for a data location function. Similarly Port 2 is accessing Module 3 as a data location function, and likewise Port 3 is accessing Module 0 as a data location function. It may be noted that in Fig. 8A, while Port 0 is accessing Module 0, at the same time Port 1 is performing a WRITE operation on Module 0, and Port 2 is performing an increment operation (address counter increment) on Module 0 and similarly in Fig. 8A, Port 3 is simultaneously performing a READ operation from Module 0. Likewise as can be seen from FIG's. 8B, 8C, and 8D, various ones of the Ports 0, 1, 2, 3, are connecting to the various memory Modules 0, 1, 2, and 3 for purposes of performing access operations, READ operations, and WRITE operations, etc. Referring to Fig. 9, there is shown a typical example for the Access-READ function, for example, as accomplished by the Port 0 of Fig. 8.. At the left-most column of Fig. 9 there is shown a series of addresses to be used to access locations in various modules of the buffer memory 24. The second column at the left shows various time periods (system cycles) from time 0 thru time 21. This indicates the function that is occurring at any given time period in this example, wherein it is considered that Port 0 (Fig. 8) is involved with various functions in the different sections of Module 0, Module 1, Module 2, and Module 3. Thus at Time 0 thru Time 5, it is seen that there is a "Wait", starting from Time 2, in which the address remains the same; and it is during this period of Time 0-5 that the Port 0 has an "Idle" function with the Module 0; has an "address latching" function with module 1 (Time 1); has a "Wait" function with Module 2 (Time 2) and has a "Wait" function with Module 3 (Time 3). In Fig. 9 it will noted that, at Time 5, the Port 0 (of Fig. 8) performs a READ function from Module 0, and then at Time 6, Port 0 performs a READ function with Module 1; at Time 7, the Port 0 performs a READ function with Module 2; and at Time 8, the Port 0 performs a READ function with Module 3 and so on down through the various time periods. Each of the time periods shown at the left hand column of Fig. 9 represents a "system cycle" so that the time between the Time 0 and Time 1 is one system cycle, or for example, the time between Time 10 and 11 is a system cycle. Another example is provided in Fig. 10 (Access- Write) in order to show, for example, how Port 0 (of Fig. 8) can concurrently and simultaneously perform access and WRITE functions with various ones of the buffer memory Modules 0, 1, 2, 3 (24 mo , 24 ml , 24 m2 , 24^). At the left hand column of Fig. 10, there is the starting address at Time 1 shown as 0003F2. Then there is a "waiting" period up until Time 5 where the address remains the same. After this period, the address changes (increments) at each succeeding time until at Time 19, the address is 000400. Thus, using this example again of showing how the Port 0 connects to various ones of the buffer memory modules, it will be seen that various Idle and Wait and Address Latch functions occur from Time 0 thru Time 4, but that at time period 5, the Port 0 now performs a WRITE function into Module 2, and at Time 6, the Port 0 performs a WRITE function into Module 3. Likewise at Time 7, the Port 0 performs a WRITE function into Module 0, and at Time 8, the Port 0 performs a WRITE function into module 1, etc. Thus the functionality of the buffer memory 24 is such, as shown in FIG's. 9 and 10, that there is concurrently and simultaneously, both "Reading" of data from various modules of the buffer memory by each of the ports and there is also the "Writing" into various modules of the buffer memory by various ones of the ports. FUNCTIONAL OPERATIONS: The peripheral storage devices (disk drives) and mass storage system of Fig. 1 (which represents one-half of the overall system) provides the functions of Reading data from peripheral storage and Writing data into peripheral storage. Additionally, each of these actions initiates a STATUS operation to inform the main host computer 4 of the completion or incompletion of each Read/Write command. As seen in Fig. 11, the steps R-l through R-12 are involved for the Read and Status Operation. Thus at step R-l, the Host 4 transmits a Read Command to the Channel Interface Module (CIM) 8cl, or 8c2. In R-2, the protocol chip 1-1, conveys this command to the interface controller, IP cl or IP c2 . In step R-3, the interface controller transfers the command to the Buffer 24. At step R-4, the control processor (10 c ι, 10 c2 ) takes the Read Command from Buffer 24 and transmits the command through Future bus interface FBj (31) to the Device Interface Module (DIM) 8 dl , or 8 d2 . At step R-5, the Future bus interface FBI (31) transfers the Read Command to the Buffer 24. At step R-6, the DIM control processor (10 d ι or 10 d2 ) sends the Read Command, through interface controller IP d ι, IP d2 and the device interface D lf to the peripheral storage Disk Drive 70. At step R-7, the Disk Drive 70 "Reads" the requested data from disk and generates a status signal. The data and status signal are transmitted, via device interface Dl and interface controller IP d ι or IP d2 , to the Buffer 24 (DIM) (24 dl or 24 d2 ). At step R-8, the DIM control processor lOd (10 dl or 10 d2 ) performs a "status check" to see that the proper data was retrieved. At step R-9, the DIM control processor 10 d transmits the checked-out data and the status information, via Future bus interface FB 2 (32) to the Channel Interface Module CIM (8 cl or 8 c2 ) . In step R-10, the Future bus interface FB 2 (32) continues to implement step R-9 by placing the data and status information in the CIM buffer 24 (24 cl , and 24 c2 ) . At step R-ll, the CIM control processor (10 c ι or 10 c2 ) takes the data and status information from the buffer 24 (24 c ι or 24 c2 ) and conveys it to the interface controller (IP c ι or IP c2 ). Then at step R-12, the CIM interface controller (IP cl and IP c2 ) transmits the accessed data and status information via the protocol interface (1-1, or 1-2) to the host computer 4. Now referring to Fig. 12, there is seen a flow chart illustrating the steps involved in a WRITE operation to an addressed peripheral disk unit 70 (70a...70d, etc.). At step W-l, the Host processor 4 (4a...4d) sends a WRITE command which includes the data to be written and also the address of the disk and its cylinder and sector. This command and data is conveyed to the Channel Interface Module (CIM 8 ci or 8 c2 ). At step W-2, the (CIM) protocol chip (1-1, 1-2) receives the command and data for transmittal to the interface controller (IP c ι, I C2 )- At step W-3, the interface controller (IP c ι, IP c2 ) transfers the Write Command and data to the Buffer 24 (24 cl or 24 c2 ) . At step W-4, the CIM Control Processor (10 c ι, or 10 c2 ) sends the Write Command and data, via the bus 12 d (Fig. 2), over the Future bus interface FB (FBI, 31; FB2, 32) to the device interface module, (DIM 8 dl , 8 d2 ) . In step W-5, the Future bus interface (31, 32) in the DIM module (8 dl , 8 d2 ) transfers the Write Command and data to the DIM buffer (24 di , 24 d2 ) . Then at step W-6, the DIM control processor (10 dl , or 10 d2 ) sends the Write Command and data to the addressed disk unit 70 (70a...70d) by routing it through the interface controller (IP di or IP d2 ) over to the device interface Dl of the DIM. At step W-7, the selected disk drive unit (70 etc.) writes the data into the addressed cylinder and sector then sends a "Status" signal (to indicate completion) to the DIM Buffer 24 (24 dl , 24 d2 ) . This is done via the DIM device interface Di and the interface controller (IP dl , IP d2 ). In step W-8, the DIM control processor (10 di , or 10 d2 ) checks the "status" signal for completion of the Write Command. At step W-9, the DIM control processor (10 di , 10 d2 ) transmits the status signal information to the Channel Interface Module, CIM (8 c ι or 8 c2 ) by routing through the DIM Future bus interface (FB 2 , 32) and the CIM Future bus interface (FB 2 , 32). At step W-10, the Future bus interface (FB 2 , 32) transmits the status information to CIM Buffer (24 c ι, 24 c2 ) . At step W-ll, the CIM control processor (10 cl , 10 c2 ) accesses the CIM Buffer (24 cl , 24 c2 ) and transfers status to the CIM interface controller (IP c ι > I*P C2 ) • At step W-12, the CIM interface controller (10 c ι, 10 c2 ) transmits the status information (command complete or not complete) via the CIM interface protocol unit (1-1, 1-2) to the host computer 4 (4a, 4b, 4c, 4d). Described herein has been a highly efficient buffer memory system used in the channel interface modules and device interface modules of a mass storage and retrieval disk drive system. In the described embodiment a group of four memory modules is encompassed by an Address Transfer System and a Data Transfer System which connects to four input/output ports of the buffer memory system. This arrangement makes it possible for any one of the multiple ports to function on a Read operation, a Write operation, or a status operation simultaneously with activities occurring on each of the other ports. As a result of this, there is a "fairness" or equality of access among the ports to the memory modules and also a rapid series of data communication and data transfer operations which can occur in the system. While the concepts discussed in the preferred embodiment involved the use of four ports and four memory modules, the same concepts can lend themselves for expansion on a larger scale without any loss of speed. For example, a scaled up version could involve 16 ports for the buffer memory system which would include 16 separate memory modules. In this configuration, all the advantages of low power dissipation, minimal amount of board space, rapidity of data transfer and simultaneity of Reading and Writing operations could still be operative and functional without any loss in speed compared to the four port system. While a preferred embodiment of the above described buffer memory system has been illustrated, it should be understood that other embodiments of the concept could readily be derived from the principles involved and thus it should be understood that the invention is encompassed by the following claims.

Claims: WHAT IS CLAIMED IS: 1. A multiported buffer memory system comprising: (a) a plurality of M memory modules wherein each memory module is addressable for access to N data words; (b) means for simultaneously addressing data words in each one of said M memory modules; (c) means for simultaneously reading-out and writing-in data words addressed in each one of said M memory modules. 2. The buffer memory system of claim 1 wherein said means for simultaneously addressing data words in each of M memory modules includes: (a) M address-port units where each address port unit provides a counter-register to receive incoming address information; (b) a first plurality of M buses connected to each said counter-register for distributing the incoming address in any one counter- register via M multiplexers, to each one said M memory modules. 3. The memory system of claim 1 wherein said means for simultaneously reading-out and writing-in data words includes; (a) a second plurality of M buses connecting each of said M memory modules to M input/output registers; (b) said M input/output registers providing data ports for the output of data words being read out and for the input of data words being written in. 4. The memory system of claim 1 wherein said means for simultaneously reading-out or writing-in data words includes: (a) a first set of M transceiver units respectively connected to said M memory modules; (b) a second set of M transceiver units respectively connected to M input/output ports; (c) a Read Data logic unit providing data bus connections to said first set and second set M transceiver units; (d) a Write Data logic unit providing data bus connections to said first set and second set of M transceiver units; (e) said M input/output ports for enabling simultaneous inputs of addresses and simultaneous input and output of data words. 5. The memory system of claim 1 where M constitutes 4 memory modules. 6. The memory system of claim 1 where N equals one million words of 36 bits for each word. 7. A memory system comprising: (a) M ports, wherein each one of said M ports includes: (al) means to receive address information for simultaneously accessing data words in any one of M data modules; (a2) means to simultaneously read-out data words accessed from any one of said M data modules; (a3) means to simultaneously write-in data words to any one of said M data modules; (b) M data modules each storing N data words. 8. The memory system of claim 7 wherein said means to receive address information includes: (a) address logic means for distributing incoming addresses in each port to each one of said M data modules. 9. The memory system of claim 7 wherein said means to simultaneously read-out data words includes: (a) read data transfer means for transmitting data words, accessed in any one of said M memory modules, to any one of said M ports. 10. The memory system of claim 7 wherein said means to simultaneously write-in includes: (a) write data transfer means for transmitting data words incoming onto any one of the M ports, into any one of said M memory modules. 11. The memory system of claim 7 where M may be 4, 8, 16 or 32. 12. A multi-port memory system of M memory modules comprising: (a) M ports wherein each port is accessible to each one of said M memory modules for simultaneously addressing, reading-out data words, and writing-in data words; (b) M memory modules wherein each module holds N data words of n bits each.

Inventors: HASHEMI SEYED HOSSEIN, HASHEMI, SEYED, HOSSEIN
Applicants: UNISYS CORP, UNISYS CORPORATION
Application year: 1993
Main classification: G06F12
IPC codes: G06F12, G06F15