On-chip bit reordering structure

Abstract: A method and means for transferring bit data from a block of memory data of M bits held in a random access memory chip through an N-bit chip output interface, where M is greater than N, without incurring data gaps when the data is randomly accessed and a wrap protocol is used. In one embodiment, the random access memory chip comprises a random access memory chip, comprises: a chip memory organized to hold a plurality of separate blocks of data, with each of the data blocks containing M individual data bits in contiguous groups of N bits, where M is greater than N, with each data bit having its own unique address within the blocks, the memory having a predetermined wrap protocol calling for the M bits in a given data block in a prescribed order starting with a designated target bit address; means for randomly addressing a data bit within a given block of data by means of a designated target address; an N bit chip output interface from the memory; chip register means for holding a given block of data, the register having at least M register stages for holding the M data bits of the given data block, wherein the M register stages are grouped into at least a first and a second contiguous groups of N stages each, the register including first gating means for gating the first stage group of N register stages to the N bit output interface, followed in sequence, by the second stage group and higher groups, wherein a bit at one end of a data block is contiguous with a bit at the other end of the data block; and chip steering means for providing in a first set, and in any desired order, the bit at the target address along with N-1 bits having following contiguous addresses for the memory wrap protocol from within the data block to the first group of N register stages, and for providing each successive set of N bits with following contiguous addresses in the wrap protocol to the second and higher register stage groups.

Description: Background of the Invention The present invention relates generally to semiconductor memory chips, and more particularly to on-chip structure for randomly accessing data in a block of data held in memory and transferring that data block off-chip through a narrow N bit chip output interface which is smaller than the data block, in accordance with a given wrap protocol, and without incurring data gaps. In high end memory system applications, such as would be used in a large computer, one of the memory systems is the main store memory. The main store memory is typically a very large semiconductor memory system that is used to supply data and/or instructions to a cache memory. A cache memory is a small, fast, temporary submemory used to store words called up from the main store memory which are to be operated on. It has been found that when a word is called from the main store memory, that other words in its vicinity in the main store memory are generally also called up. Thus, the main store memory is organized in blocks of words and is designed to transfer an entire word block when one word within the block is randomly accessed. Accordingly, a call up to the main store memory comprises multiple transfers of words constituting a block from the main store to the cache memory. The block transfer rate and the size of each transfer is unique to each particular application of the memory, but the following points appear to be general. The starting address of each multi-word block transfer is random, with the initial target address containing a requested word memory coordinate. Once the transfer has started anywhere within the block, a wrap protocol is used to complete the transfer of the entire block in a predetermined order. A typical design for a prior art memory system is shown in Fig. 1. In Fig. 1, a user 10 is connected to a main store memory 14 through an interface 12, which provides timing, control and data buffering logic to the main store memory. The main store memory 211 (Fig. 2) comprises a plurality of memory chips 214, connected in parallel to the interface 12. Usually, each memory chip 214 provides one parallel bit of data to the cache memory. The number of memory chips 214 is chosen to be equal to the number of bits in an ECC (error correction) word; 72 for many large computers. Thus, each bit of an ECC word is stored in and addressed from a separate memory chip 214. This design ensures that a given memory chip provides only 1 bit to a multi-bit ECC word, thereby preventing one chip failure from overwhelming the error correction capability of the memory. In Fig. 2, a set of chips 214 (72 in this example) transfers bits in parallel to form individual 72 bit ECC words in a register 218. This transfer is accomplished for each chip 214 by reading bits from the given chip into an associated external register 226, and then serially gating those bits via an associated gate 228 to the word register 218 in accordance with the counts from a counter 230 which counts in a prescribed wrap order. Note that there is an external register 226, a gate 228, and a counter 230 for each memory chip 214, although only a register 226, a gate 228 and a counter 230 for the memory chip number 1 is shown in Fig. 2 for purposes of clarity. Each memory chip is organized to hold a plurality of separate blocks of data bits, with each of these bit data blocks containing M individual data bits, where M may, in one embodiment, be equal to the number of words in a word block. By way of example, and not by way of limitation, each of these data blocks may contain 8 data bits representing an 8-bit word block. Data in a memory chip is typically accessed by a target address which includes a row and a column address in the chip. The row address, generally called the RAS address, causes a series of data blocks stored in a given row to be accessed and held in the sense amplifier latches for the chip. The column address results in one bit in a given data block in the row to be accessed first via register 221, followed by the remaining bits in that data block in the wrap protocol order. In the present example, it is desired to transfer one 8-bit block containing the addressed target bit through a chip output (I/O) interface to the external register 226 for the chip. This external register 226 then provides this 8 bit data block serially to one of the stages in the word register 218. It is essential that once the transfer of the bit data block begins, that it contains no gaps therein. This requirement results from a need that the memory contains a minimum number of chips, i.e., a single row of chips, that preserve a single bit per chip for ECC purposes. In order to ensure such a gapless transfer, it is generally required that the memory chip have a bit interface which is equal to the number of bits in the bit data block, i.e., 8 bits in the present example. However, such an 8 bit interface requires substantially more power than lower number bit interfaces, and has attendant chip cooling problems, increased switching noise, and significantly larger logic support requirements, resulting in lower reliability. In the alternative, a series of transfers, for example, two 4-bit transfers could be utilized to transfer the 8 bit data block through a 4 bit chip output interface to the previously noted external register 226. Such a transfer would occur through a standard 8 bit internal holding register (double 4-bit buffer) which holds the addressed bit data block from the sense amplifier latches in the addressed row prior to output through the 4 bit chip output interface. This 8 bit holding register is generally designed to sequentially provide non-overlapping 4 bit sets to the 4 bit output interface in a prescribed sequence, for example stages 1 - 4 from the holding register on one timing pulse, followed by stages 5-8 on the next timing pulse. Although transfers through a chip output interface are generally much slower than transfers from other registers, it is seen that this bit transfer procedure can be a viable transfer option because during the time that the first 4 bits are being read out of the external register 226, the remaining 4 bits can be transferred through the 4 bit chip output interface to the external register 226. This transfer process works well when the target address bit is the first bit in a 4 bit multiple sequence, i.e., 1, 5, etc. This is because, although the reading rate period, t CHIP , from the 4-bit chip output interface, is considerably longer than the reading rate period, t EXT , for a single stage in the external register 226, the t CHIP period is typically less than 4 t EXT . Accordingly, while the first 4 bits are being read from the external register 226 and the word register 218, the next four bits can be transferred from the memory 4-bit output interface to the external register 226. Thus, bit 5 is ready for serial transfer at the same reading rate period t EXT despite the requirement for two separate transfers from the memory chip. However, the above-described gapless bit transfer operation is only valid if the initial bit address is bit 1 or bit 5, so that three other bits can be read from the external register 226 before the bits from the next 4-bit interface transfer are required. As previously noted, it is required that the first word accessed be randomly addressable and that succeeding bits be transferred in a desired wrap protocol. If bit 2, 3, or 4, or bit 6, 7, or 8 is addressed, it can be seen that there will be a time gap until the next 4-bit chip interface transfer is completed. For example, assume that bit 8 is the addressed target bit. In this instance, the bits 5 - 8 are transferred to the external register 226. The gate 228 gates bit 8 to the word register 218 in accordance with the signal from the counter 230. However, because the t EXT stage reading rate period is considerably less than the t CHIP 4-bit chip interface reading rate period, bits 1, 2, and 3 are not yet available from the chip output. Instead, a highly undesirable gap time, tGAP, develops which can be several times the external register reading rate period t EXT . One technique for solving the above-described gapless transfer problem is disclosed in U.S. Patent application serial No.791833 (=EP-A- 220 535), wherein a bit data block is stored on two 4-bit interface memory chips. These two memory chips are then connected in parallel to an associated external register 226. However, such a double-chip memory configuration is not advantageous from a memory capacity standpoint. Document GB-A-2 117 145 discloses a memory control system in which data stored in memory are fetched by specified data block depending upon the address signal requesting memory access fed from the execution unit, and the data corresponding to the unit of processing in the execution unit are fetched from the data block fetched and transferred to the execution unit. The invention as claimed is intended to remedy this gapless transfer problem using a single memory chip per bit data block. The advantage offered by the present invention is that a gapless bit data block transfer is achieved while minimizing the number of chips required for ECC integrity when the bit data block is larger than chip output interface. Concommitantly, this design eliminates the need for memory chips with large I/O interfaces and thus reduces the number of drivers, logic supports, and power and cooling requirements for a given memory card. Summary of the Invention Briefly, the present invention is a random access memory chip, comprising: a chip memory organized to hold a plurality of separate blocks of data, with each of said data blocks containing M individual data bits in contiguous groups of N bits, where M is greater than N, with each data bit having its own unique address within said blocks, said memory having a predetermined wrap protocol wherein calling for said M bits in a given data block starts with a designated target bit address and continues as if the bit at one end of a data block is contiguous with the bit at the other end of said data block; means for randomly addressing a data bit within a given block of data by means of a designated target address; a N bit chip output interface from said memory; chip register means for holding a block of data, said chip register means including a chip register having at least M register stages for holding said M data bits of said data block, wherein said M register stages are grouped into at least a first and a second register stage group, each group containing N stages, said chip register means further including first gating means for gating in sequence said first register stage group and said second register stage group to said N bit output interface; and chip steering means comprising a purality of providing means, each for providing a N-bit group, each bit being a connected to different data bit of each of said bit groups in a given data block in said memory; a plurality of second gating means, each connected to the bit group of one of said providing means for gating data bits in accordance with said target address to effect said wrap protocol, characterized in that there is provided one of said providing means and one of said second gating means for each of the register stage groups of said chip register whereby said second gating means gates said data bits to the corresponding register stage groups of said chip register, and that it further includes a buffer for holding the bit groups of said given data block that contains the target address bit; that said providing means obtains said bit groups held in said buffer for provision to said second gating means; that each of said second gating means contains pairs of logic gates and that each bit of a bit group in the buffer register is connected in parallel to two logic gates each belonging to a pair of logic gates; in different ones of said second gating means; whereby said steering means provides by applying said wrap protocol onto said first and second register stage groups, the target bit along with N-1 bits having following contiguous addresses to said first register stage group, and provides the bit which is connected to the other logic gate of the pair of logic gates to which said target bit is connected, along with N-1 bits having following contiguous addresses to said second register stage group. Preferably, the steering means includes means for programming each of said second gating means by generating control signals in response to a given target address. In a further embodiment, the steering means may include means for programming each gating means by generating control signals in response to a given target address for providing the target address bit along with N-1 bits having following contiguous addresses in the wrap protocol to the first group of N register stages, and for providing each successive set of N bits with following contiguous addresses in the wrap protocol to the second and higher register stage groups. In one embodiment, this programming means may comprise means for generating signals in accordance with a truth table in response to a target address, and means for generating TRUE and COMPLEMENT control signals for controlling the gating means for the M register stages. Brief Description of the Drawings Fig. 1 is a schematic block diagram of a prior art memory system. Fig. 2 is a schematic block diagram of a memory configuration that may be used in the present invention. Fig. 3 is a schematic block diagram of one embodiment of the present invention. Detailed Description of the Preferred Embodiment The present invention is directed to an on-chip circuit for performing a gapless bit data block transfer when the bit data block is larger than the chip output interface. This gapless transfer is accomplished by steering the data bits being accessed from the memory array of the chip to prescribed positions in a holding register, with the steering being accomplished in accordance with a specific target address. In essence, the present invention is a new design for the control circuitry for a standard memory chip. The present invention is designed to be utilized with a standard memory array chip composed of rows and columns of standard memory cells with multiple bit outputs. A typical memory chip of this type could be either a 256k × 4 or a 2MX4 DRAM It should be noted at the outset, that the present invention has broad applicability to a wide variety of memory chips and memory arrays. The present invention is not limited to a particular output interface size, or to a particular bit data block size, or to a given word size. However, in order to provide a working example of the present invention, the present invention will be disclosed in the context of a memory chip organized in bit data blocks of 8 bits and using a 4-bit output interface. Referring now to Fig. 3, a standard memory array composed of rows and columns of memory cells is designated by the block 10 in the Figure. An address line 12 is applied to the memory array 10 in order to access a particular target address bit. This address causes an entire row of memory cells to be accessed and their data applied to associated sense amplifiers. The data bits are then applied from these sense amplifiers to associated sense amplifier latches or buffer stages, represented by the register 14 in the Figure. In this example, each row contains a plurality of 8-bit data blocks. The address on the address line 12 causes the sense amplifiers associated with one particular block of data bits to be selected and to provide those data bits to the sense amplifier latches or buffer stages 1-8, represented in the Figure by register 14. In general, the chip memory array is organized to hold a plurality of separate blocks of data, with each of the data blocks containing M individual data bits in contiguous groups of N bits, where M is greater than N, with each data bit having its own unique address within the data blocks. In the present example, each data block comprises 8 bits, so that M=8. These 8 bits are held in the sense amplifier latches or buffer stages 1-8 as shown in the Figure. The chip further comprises chip register means 16 for holding a given block of bit data, with chip register means 16 having at least M register stages 18 for holding the M data bits of the given data block. This chip register means 16 is organized with the M stages of the holding register 18 grouped into at least a first and a second contiguous group of N stages each, where N is the number of bits in the output interface for the chip. The chip register means 16 further includes a register gating means 20 for gating the first stage group of N register stages to the N bit output interface, followed in sequence, by the second stage group and higher groups. It should be noted that the chip register means 16 is organized so that a bit at one end of a bit data block is considered to be contiguous with a bit at the other end of the bit data block. The first gating means 20 of chip register means 16 may be implemented in a variety of configurations. In Fig. 3, the first gating means 20 is shown to include a plurality of register gates 22 and 24, one for each register stage group of N stages. These register stages 22 and 24 gate the data in their associated register stage groups into an N bit output interface. This N bit output interface may be composed simply of an OR gate 26, or a gate which follows therefrom. Each of the register gates 22 and 24 operates to pass N parallel outputs in accordance with a timing signal. Register gate 22 passes its N parallel outputs in accordance with a TOGGLE timing signal, while register gate 24 passes its N parallel outputs in accordance with a NOT TOGGLE timing signal. Accordingly, either one or the other of the parallel sets of N outputs, but not both, is applied to the N bit output interface gate 26. In the present example, an 8-bit data block is utilized, so that there are 8 register stages 1′ - 8′in the holding register 18. Likewise, a 4-bit output interface is utilized, so that N=4. Accordingly, the holding register 18 provides a first set of 4 parallel bit outputs from register stages 1′-4′ to the register gate 22 for application to the OR gate 26 upon the occurrence of a TOGGLE pulse. Likewise, the holding register 18 provides a second set of 4 parallel bit outputs from the register stages 5′-8′ to the register gate 24 for application to the OR gate 26 upon the occurrence of a NOT TOGGLE pulse. It can be seen that the M, or 8 in this example, data bits held in the sense amplifier stages 1 - 8 of latches 14 can be provided directly to the respective individual stages 1′ - 8′ in the holding register 18. However, because the present memory array is randomly addressable and provides succeeding bits in a particular wrap protocol, the majority of bit transfers from the register 18 to the 4-bit output interface 26 will have gaps therein. In the worst case situation where bit number 4 (or bit 8) is the target address bit, the first four bits 1-4 are passed via the stages 1 - 4 in the register 14 and the holding register stages 1′-4′ to the register gate 22 and thence to the OR gate 26. This transfer of the bits 1-4 through the register gate 22 and the OR gate 26, constituting the 4-bit output interface, requires a reading rate t CHIP . These 4 bits are applied to the external register 226. The external register 226 (Fig. 2) then begins to read its addressed data through the gate 228 in accordance with the counter 230. However, since bit 4 was the target bit, and the wrap protocol requires bits 5, 6 and 7, a significant gap in time now occurs. At the end of the TOGGLE signal, the NOT TOGGLE signal occurs, thereby gating bits 5 - 8 through the register gate 24 to the OR gate 26 and thence to the other four stage locations in the external register 26. However, because the reading rate period, t EXT , is considerably shorter than the reading rate period, t CHIP , a considerable time gap occurs while the external register 26 is waiting for the next 4 bits of parallel data from the chip output interface 26. This highly undesirable gap can be several times the external reading rate period, t EXT . In order to solve the above-described data bit transfer problem and to provide gapless transfers of data bits regardless of which random bit is the target address bit, a chip steering means 30 is provided. Chip steering means 30 operates to provide in a first set, and in any desired order, the bit at the target address along with N-1 bits having following contiguous addresses in the memory wrap protocol from within the data block to the first group of N register stages in the holding register 18. This chip steering means 30 provides each successive set of N bits with following contiguous addresses in the wrap protocol to the second and higher register stage groups in the holding register 18. In the present example with N=4 and M=8, and assuming that the target bit is bit 4, then this chip steering means operates to provide bits 5, 6, 7 and 4 to the first group of four register stages 1′-4′ in the holding register 18. Likewise, the chip steering means 30 provides the bits 1, 2, 3 and 8 to the second group of four register stages 5′-8′ in the holding register 18. Thus, the bits 5, 6, 7 and 4 are provided first through the 4-bit output interface 26, followed by the bits 1, 2, 3, and 8. These bits are held in the external register 226 and are read therefrom in the proper order beginning with the target address bit 4 by means of the counter 230. The counter 230 is set to begin its count at bit 4 by applying the lower 3 address bits A2, A1, A0 thereto. (The present counter is incremented after each data transfer and the results are decoded to select the appropriate bit to be outgated from the register 226.) The basic logic circuit in the chip steering means comprises, for each register stage 1′ - 8′ in the holding register 18, means 30 associated therewith for providing a different bit from each of the different bit groups in a given data block in the memory, and second means 32 for gating one and only one data bit from the providing means 30 to its associated register stage in accordance with the target address to thereby effect the wrap protocol. In a preferred embodiment, each bit in the bit groups has a bit position n therein, wherein n=1,2,...N; and wherein each of the holding register stages 18 is associated with a different prescribed bit position n. In this configuration, the steering means comprises, for each register stage, means 30 for providing a bit from its prescribed bit position from each of the bit groups in a given data block; and second means 32 for gating one and only one data bit from the providing means to its associated register stage in the holding register 18 in accordance with the target address to effect the wrap protocol. Fig. 3 shows one embodiment for the providing means 30. In this embodiment, the providing means 30 provides both the 1 bit and the 5 bit (the n=1 bit position) to the second gating means 32 for the 1′ stage in the holding register 18. This second gating means 32, in turn, comprises a plurality of AND gates, with a different AND gate for each bit group in the data block for receiving data therefrom. In the present example with an 8-bit data block, there are two bit groups, 1-4 and 5-8. Accordingly, each of the second gating means 32 associated with a given stage of the holding register 18 includes two AND gates. The AND gates associated with the 1′ stage of the holding register 18 comprises an AND gate 40 for receiving the 1 data bit from the 1 stage of the sense amplifier latches 14, while an AND gate 42 is provided for receiving the 5 data bit from the 5 stage in the sense amplifier latches 14. Each of these AND gates 42 and 40 receives a control signal from a programming means 90, to be discussed below. The output from one of the AND gates 40 or 42 is applied to an OR gate 44 for providing bit data to the associated register stage 1′ in the holding register 18. Likewise, stage 2′ in the holding register 18 has a second gating means 32 (n=2) associated therewith comprising an AND gate 46 with one input thereof for receiving the bit number 2 from the 2 stage of the sense amplifier latches 14, and further including an AND gate 48 for providing the bit number 6 from the 6 stage of the sense amplifier latches 14. The outputs from the AND gate 46 or the AND gate 48 is provided to the OR gate 50 for application to the 2′ stage in the holding register 18. This structural sequence is continued for each of the remaining stages in the holding register 18. Accordingly, bit number 3 from the sense amplifier latch 14 and bit number 7 from the sense amplifier latches 14 (n=3) are provided to the respective AND gates 52 and 54, for application through an OR gate 56 to the 3′ stage of holding register 18. Bit number 4 and bit number 8 from the sense amplifier latches 14 (n=4) are provided to the AND gates 58 and 60, respectively, for application through the OR gate 62 to the 4′ stage in the holding register 18. Bit number 5 and bit number 1 from the sense amplifier latches 14 (n=1) are provided to the AND gates 64 and 66, respectively, and the output from one of those gates is applied through the OR gate 68 to the 5′ stage in the holding register 18. Bit number 6 and bit number 2 (n=2) are applied via the AND gates 70 and 72, respectively, to the OR gate 74 and the 6′ stage in the holding register 18. Bit number 7 and bit number 3 (n=3) from the sense amplifier latches 14 are applied via the AND gates 76 and 78, respectively, through the OR gate 80 to the 7′ stage in the holding register 18. Finally, bit number 8 and bit number 4 (n=4) are applied via the AND gates 82 and 84, respectively, through the OR gate 86 to the 8′ stage in the holding register 18. Note that the data gates used for steering purposes may be implemented with the data gates normally used for partial stores within a multi-bit chip structure. The providing means 30 further includes means for programming each of the second gating means 32 by generating control signals in response to a given target address for providing the target address bit along with the N-1 bits having following contiguous addresses in the memory wrap protocol to the first group of N register stages in the holding register 18, and for providing each successive set of N bits with following contiguous addresses in the wrap protocol to the second and higher register stage groups in the holding register 18. The foregoing functional description is realized by applying a control signal from the programming means 90 as a second input to each of the AND gates 40, 42, 46, 48, 50, 52, 54, 58, 60, 64, 66, 70, 72, 76, 78, 82, and 84. These control signals ensure that one and only one data bit from the sense amplifier latches 14 is applied through the associated OR gate to each of the associated stages in the holding register 18. It should be noted that there are a variety of techniques available for generating control signals, and a variety of techniques for ORing the various bit numbers in the sense amplifier latches 14 for application to the holding register 18. In the embodiment shown in Fig. 3, 2M control signals are generated; one control signal for each AND gate in the second gating means 32. In this example embodiment, the programming means is implemented by means 92 for generating signals in accordance with a true table in response to the target address applied on line 94. Means 96 is then provided for generating TRUE and COMPLEMENT control signals in response to the signals from means 92 for controlling the second gating means 32 for the register stages in the holding register 18. In one embodiment, this generating means 96 comprises a set of N data gates 98 and an associated set of inverting gates 100. Each of the data gates receives a signal from the truth table generating means 92 and provides a TRUE signal in response thereto. The output from each data gate is applied to control one of the pair of AND gates in each of the second gating means 32 which is associated with a prescribed bit position in each of the bit groups in a given bit data block. For example, for the bit position n=4, data gate 98A applies the TRUE output to control one of the pair of AND gates in the second gating means 32 which is associated with the 4′ stage and the 8′ stage in the holding register 18. Additionally, the TRUE output from the data gate 98A is applied to an inverting gate 100A which generates a COMPLEMENT output. The COMPLEMENT output from the inverting gate 100A is applied to control the other of the AND gates for the second gating means 32 associated with the 4′ stage and the 8′ stage of the holding register 18. In the example of Fig. 3, the TRUE output from the data gate 98A is applied to AND gate 60 along with the bit 8 output from the sense amplifier latches 14. Likewise, the TRUE output from the data gate 98A is also applied to the AND gate 84 along with bit 4 from the sense amplifier latches 14. The COMPLEMENT output from the inverting gate 100A is applied to the AND gate 58 along with the bit 4 output from the sense amplifier latches 14. This COMPLEMENT output from the inverting gate 100A is also applied to the AND gate 82 along with the bit 8 output from the sense amplifier latches 14. Accordingly, it can be seen that when the TRUE output from the data gate 98A is high, and the COMPLEMENT output from inverting gate 100A is low, then bit 8 from the sense amplifier latches 14 is applied through the AND gate 60, and the OR gate 62 to the 4′ stage in the holding register 18. Likewise, bit 4 from the sense amplifier latches is applied through the AND gate 84 and the OR gate 86 to the 8′ stage in the holding register 18. Alternatively, if the TRUE output is low and the COMPLEMENT output is high, then the bit number 4 from the sense amplifier latches 14 is applied through the AND gate 58 and the OR gate 62 to the 4′ stage of the holding register 18. Likewise, the bit number 8 from the sense amplifier latches 14 is applied through the AND gate 82 and the OR gate 86 to the 8′ stage of the holding register 18. The data gates 98B, 98C and 98D and their associated inverting gates 100B, 100C and 100D are connected in a similar fashion to control the AND gates for the other prescribed bit positions n in the bit groups in the data block. Accordingly, the TRUE output from the data gate 98B is applied to AND gate 54 along with the bit 7 output from the sense amplifier latches 14. Likewise, a true output from the data gate 98B is applied to the AND gate 78 along with the bit 3 output from the sense amplifier latches 14. The associated inverting gate 100B applies its COMPLEMENT output to the AND gate 52 along with the bit 3 output from the sense amplifier latches 14 and to AND gate 76 along with the bit 7 output from sense amplifier latches 14. If the TRUE output from the data gate 98B is high, then bit number 7 from the sense amplifier latches 14 is applied through the AND gate 54 and the OR gate 56 to the 3′ stage in the holding register 18. Likewise, a high signal for the TRUE signal from the data gate 98B causes the bit number 3 from the sense amplifier latches 14 to be applied through the AND gate 78 and the OR gate 80 to the 7′ stage of the holding register 18. Data gate 98C is likewise connected to have its TRUE output applied to the AND gate 48 along with bit number 6 from the sense amplifier latches 14. The TRUE output from the data gate 98C is also applied to the AND gate 72 along with the bit number 2 from the sense amplifier latches 14. The inverting gate 100C associated with the data gate 98C applies its COMPLEMENT output to AND gate 46 along with bit number 2 from the sense amplifier latches 14. The inverting gate 100C also applies its COMPLEMENT output to the AND gate 70 along with the bit number 6 from the sense amplifier latches 14. Finally, the TRUE output from the data gate 98D is applied to the AND gate 42 along with the data bit number 5 from the sense amplifier latches 14. The TRUE output from the data gate 98D is also applied to the AND gate 66 along with the bit number 1 from the sense amplifier latches 14. The associated inverting gate 100D applies its COMPLEMENT output to the AND gate 40 along with the bit number 1 from the sense amplifier latches 14 and to the AND gate 64 along with the bit number 5 from the sense amplifier latches 14. As noted previously, the four input signals to the data gates 98A - 98D are generated by truth table coder 92 in response to the target bit address. This truth table coder may be implemented by a variety of different circuit configurations based on a desired truth table. In the embodiment shown in Fig. 3, a truth table may be utilized to implement the bit steering. This truth table includes a column for a target bit, the last three digits of the binary address for that target bit, and four additional columns; one column for each of the data gates A - D. The purpose of the truth table is to steer the data bits so that the target data bit and N-1 bits having following contiguous addresses in the memory wrap protocol occur within the first N register stages in the holding register 18. For example, if the target bit is bit number 4 in the sense amplifier latch, then it is desired to have bits 4, 5, 6 and 7 (the target bit and the first N-1 bits following the target bits) steered to the first four register stages 1′- 4′ in the holding register 18. Referring now to the truth table, for a target bit number 4 the truth table provides a zero to data gate 98D, a one to data gate 98C, a one to data gate 98B, and a one to data gate 98A. These four truth table outputs cause bit number 5 to be applied through the AND gate 40 and the OR gate 44 to the 1′ stage in the holding register 18. Likewise, the bit number 6 is applied through the AND gate 46 and the OR gate 50 to the 2′ stage of the holding register 18. Bit number 7 is applied through the AND gate 52 and the OR gate 56 to the 3′ stage of the holding register 18. Finally, bit number 4 is applied through the AND gate 58 and the OR gate 62 to the 4′ stage of the holding register 18. Likewise, bit number 1 is applied through the AND gate 66 and the OR gate 68 to the 5′stage, bit number 2 is applied through the AND gate 72 and the OR gate 74 to the 6′ stage, bit number 3 is applied through the AND gate 78 and the OR gate 80 to the 7′ stage, and finally the bit number 8 is applied through the AND gate 82 and the OR gate 86 to the 8′ stage of the holding register 18. The four bits held in the stages 1′ - 4′ are gated by the TOGGLE signal through the gate 22 and the OR gate 26, which may be viewed as the N-bit output interface for the chip. As a result of the above operation, the bits 5, 6, 7, and 4 are held in the external register 226 in Fig. 2. These four bits may be gated out via the gate 228 to the appropriate stage in the word register 218 in accordance with the counter 230. The counter 230 and other support logic operates to provide the bits in the proper sequence of 4, 5, 6, and 7 to the appropriate stage in the word register 218. While these four bits area being sequentially read from the external register 226 to one stage in the word register 218, the bits 1, 2, 3 and 8 held in the 5′ - 8′ stages of the holding register 18 may be transferred in accordance with the NOT TOGGLE timing signal through the gate 24 and the OR gate 26 output interface to the other four stages in the external register 226. As another example, if the target bit is bit number 7, then the truth table coder 92 provides the data gate 98D with a one output, 98C with a one output, 98B with a zero output and 98A with a zero output. The control signals generated in response to these truth table signal inputs cause the 1′ - 4′ stages in the holding register 18 to hold the bits 1, 2, 7 and 8, respectively. These bits are again gated upon the occurrence of the TOGGLE timing signal through the gate 222 and the OR gate 226 to the external register 226. These bits are then gated by the gate 228 in the proper order of 7-8-1-2 in accordance with the counter 30 which begins at the target address 110 for the target bit number 7. Likewise, in response to these truth table outputs, the 5′ - 8′ stages of the holding register 18 hold the bits 5-6-3-4, respectively. These bits are gated in accordance with the NOT TOGGLE signal through the gate 24 and the OR gate 26 to the other four stages in the external register 226. The gating of this second group of 4 bits occurs again during the gating of the first group of 4 bits to the appropriate stage in the word register 218. After these first four bits 1, 2, 7, 8 have been gated in the proper order to the word register 218, the next 4 bit group 5-6-3-4 is gated via the gate 228 in the proper order to the same stage in the word register 218. It can thus be seen from the above description that a gapless bit data transfer has been achieved while minimizing the number of chips required for ECC integrity when the M bit data block is larger than the chip N-bit output interface. The present design also eliminates the requirement for chips with large I/O interfaces, thereby reducing the number of required drivers, logic supports, and reducing the power and cooling requirements for a given memory card. Such a memory card also has improved reliability because of the fewer required logic supports and the lower switching noise attendant to the use of a smaller I/O interface. The present gapless transfer design provides the highest performance option for memory arrays where the chip data rate is larger than the system transfer rate. While the present invention has been particularly shown and described with reference to preferred embodiments therefor, it will be understood by those skilled in the art that the foregoing and other changes in form and detail may be made therein without departing from the scope of the present invention.

Claims: A random access memory chip, comprising; a chip memory (10) organized to hold a plurality of separate blocks of data, with each of said data blocks containing M individual data bits in contiguous groups of N bits, where M is greater than N, with each data bit having its own unique address within said blocks, said memory having a predetermined wrap protocol wherein calling for said M bits in a given data block starts with a designated target bit address and continues as if the bit at one end of a data block is contiguous with the bit at the other end of said data block; means (12) for randomly addressing a data bit within a given block of data by means of a designated target address; a N bit chip output interface (26) from said memory; chip register means (16) for holding a block of data, said chip register means (16) including a chip register (18) having at least M register stages for holding said M data bits of said data block, wherein said M register stages are grouped into at least a first (1', ..., 4') and a second (5', ... , 8') register stage group, each group containing N stages, said chip register means (16) further including first gating means (20) for gating in sequence said first register stage group, and said second register stage group to said N-bit output interface (26); and chip steering means (30) comprising a purality of providing means, each for providing a N-bit group, each bit being connected to a different data bit of each of said bit groups in a given data block in said memory; a plurality of second gating means (40-62;64-86) each connected to the bit group of one of said providing means (30) for gating data bits in accordance with said target address to effect said wrap protocol, characterized in that there is provided one of said providing means and one of said second gating means for each of the register stage groups of said chip register (18) whereby said second gating means gates said data bits to the corresponding register stage groups of said chip register (18); that it further includes a buffer (14) for holding the bit groups of said given data block that contains the target address bit; that said providing means (30) obtains said bit groups held in said buffer for provision to said second gating means (32); that each of said second gating means (40-62;64-86) contains pairs of logic gates (40, 42; 46, 48; ..) and that each bit (eg. 1) of a bit group (eg. 1, .., 4) in the buffer register (14) is connected in parallel to two logic gates (40, 66) each belonging to a pair of logic gates (40, 42; 64, 66) in different ones of said second gating means; whereby said steering means provides by applying said wrap protocol onto said first and second register stage groups, the target bit (eg. 4) along with N-1 bits having following contiguous addresses (5,6,7) to said first register stage group, and provides the bit (eg. 8) which is connected to the other logic gate of the pair of logic gates to which said target bit is connected, along with N-1 bits having following contiguous addresses (1,2,3) to said second register stage group. A memory chip according to claim 1 characterized in that said steering means includes means (90) for programming each of said second gating means (40-62;64-86) by generating control signals in response to a given target address. A memory chip according to claim 2 characterized in that said programming means (90) comprises means (96) for generating signals in accordance with a truth table in response to a target address; and means (98) responsive to said truth table signal generating means for generating TRUE (98A, ...) and COMPLEMENT (100A, ...) control signals for controlling said second gating means (40-86) for said M register stages in said chip register (18). A memory chip according to claim 3 characterized in that said pairs of logic gates are AND gates (40, 42; 46, 48; ...) with a different AND gate for each bit group in said data block for receiving data therefrom, and with each of said AND gates (40, 42; 46, 48; ...) receiving a control signal from said programming means (90); and that an OR gate (44, 50) is connected to each of said pairs of AND gates for providing bit data from one of said pair of AND gates (40, 42) to the associated register stage of said chip register (18). A memory chip according to claim 4 characterized in that said first gating means (20) comprises a plurality of register gates (22, 24), one for each register stage group of said chip register (18), said register gates (22, 24) gating the data in said register stage groups to said N bit output interface.

Inventors: AICHELMANN FREDERICK JOHN JR, BACHMAN BRUCE ENGLE, AICHELMANN, FREDERICK JOHN, JR., BACHMAN, BRUCE ENGLE
Applicants: IBM, INTERNATIONAL BUSINESS MACHINES CORPORATION
Application year: 1987
Main classification: G11C7
IPC codes: G11C11, G11C7, G06F12