A MEMORY SYSTEM

Abstract: The invention relates to a memory system including first and second memory banks (2, 3) in which consecutive addresses are alternately stored. The address memory banks (2, 3) are selectively addressed using odd and even segments of the address generated in an address counter (7). Output data from each of the address memory banks (2, 3) is stored in a respective transceiver register (12, 14). In operation one of the transceiver registers (12, 14) transmits data received during a previous memory address cycle to a processor bus (11) while the other of the transceiver registers (12, 14) stores data representative of an anticipated next address.

Description: A MEMORY SYSTEM Technical Field The present invention relates to a memory systems, and more particularly to a memory system including first and second address memory banks in which consecutive addresses are alternately stored. Background Art The evolution of computer system processors has produced a number of refinements which accelerate the rate at which such processors can execute instructions. As a consequence, the delays associated with fetching consecutive instructions from memory have become the primary factor which limit the computer system processing speeds. The delays commonly attributable to fetching instruction data from memory are further exacerbated when multiple processors are configured to access data resident in the same memory. Such problems have become major data processing limitations for contemporary dyadic type processor systems. Analyses of the memory accessing operations performed by processors have identified that significant segments of the memory accessing operations are used to obtain processor instruction data which follows an ordered address sequence, to the extent that large groups of instructions are commonly resident in memory at sequentially incremented addresses. In recognition of this ordered arrangement of instruction data addresses, individuals practicing in the technology have developed design refinements which anticipate the existence of sequences and perform anticipatory operations to accelerate memory accessing. An example of such technology appears is described in U.S. Patent No. 4,583,162, in which a look ahead memory interface is described. The interface according to that patent anticipates the next address to be generated by the processor and then transmits the anticipated address to the memory as. soon as access is authorized. The objective is to reduce the memory access time by eliminating memory addressing transients. Access to the memory by other users, for example, a second processor, is thus foreclosed. Clearly, such interface is likely to result in a net loss of processor capability in any multiple processor computer system. Another example is described in U.S. Patent No. 4,621,320, in which the memory is partitioned and the prefetching is based upon an anticipated address sequence. The prefetched data is stored in a register and conveyed to the processor only after the processor completes an address comparison between the actual succeeding address and the anticipated address represented by the prefetched data. The prefetching is done with reference to one bank of the memory. Consequently, memory access performance gains are minimal. Furthermore, the invention in this patent degrades when used in the context of a multiple processor shared memory computer system because of address translation delays and the need for more bank refresh cycles. Both the above noted patents compare addresses to determine whether the anticipated next address corresponds to that actually generated by the processor. An inherent deficiency of such arrangements are the time delays associated with the translations of the addresses from their virtual to their real form in the comparison operation. Disclosure of the Invention An object of the present invention is to provide a memory system suitable for operation with multiple processors, and which increases the rate at which data in the memory can be accessed by one or more of the processors. According to the present invention there is provided a memory system including first and second address memory banks in which consecutive addresses are alternately stored, and an address latch coupled between a processor bus and said first and second address memory banks, characterized by indexing means for consecutively indexing address data from said processor bus to address alternately said first and second address memory banks, a first transceiver register coupled between said first address memory bank and said processor bus, a second transceiver register coupled between said second address memory bank and said processor bus, and control means responsive to addressing command signals from the processor for enabling said first transceiver register and said second transceiver register to alternate in operation between transmitting data to said processor bus and latching data from the respective first or second memory bank. In one embodiment and control means is operable, coincident with the start of a consecutive address sequence, to transmit data directly from one of said address memory banks to said processor bus and from the other of said address memory banks to the respective transceiver register. In a further embodiment said indexing means is in the form of an address counter, the address counter being arranged for selectively addressing either of said address memory banks and being operable in the alternative with said address latch. Brief Description of the Drawings One embodiment of the present invention will now be described by way of example, with reference to the accompanying drawings in which: Fig. 1 is a schematic block diagram illustrating the functional elements of one embodiment of the present invention. Fig. 2 is a diagram schematically portraying the operational flow of data in accordance with the first prefetch and subsequent consecutive prefetch cycles. Fig. 3 is a schematic timing diagram for a first prefetch operation. Fig. 4 is a schematic timing diagram for a. consecutive prefetch operation. Detailed Description of the Invention Attention is now directed to Fig. 1 of the drawings, in which an embodiment of the invention is illustrated by way of block diagrams. The single processor prefetch architecture 1 is shown connected to a split memory, comprising an even memory bank 2 r accessed by evenly numbered addresses, and an odd memory bank 3, accessed by odd numbered addresses. For this arrangement, the even numbered addresses are conveyed as row and column words from an even address multiplexer 4. Odd address multiplexer 6 is similarly arranged to provide either row or column addresses to odd memory bank 3. Memory address data is received from the processor on processor bus 11, latched into address latch 7, and selectively entered into prefetch address counter 8. The even and odd addresses used by multiplexers 4 and 6 are simultaneously taken from bus 16. Bus 16 is driven either by address latch 7 or by prefetch address counter 8, depending on the operating mode during the time interval in question. For first prefetch operations, the row/column addresses originate in address latch 7. Thereafter, during consecutive prefetch operations, the row/column addresses originate in prefetch address counter 8. The address entered into prefetch address counter 8 during the first prefetch operation is incremented by clocking signals generated in a control logic block 9. Prefetch address counter 8 is incremented at the conclusion of each memory access operation in anticipation of a consecutive prefetch operation for the next memory access. Note that control logic block 9 also regulates the sequence of the row/column address multiplexers 4 and 6. Output data from even memory bank 2 is selectively latched and retransmitted by even data transceiver register 12, through transceiver 13, and onto processor bus 11. The data from complementary odd address memory bank 3 is similarly latched into odd data transceiver register 14 for selective transmission through transceiver 13 to processor bus 11. Even data transceiver register 12 and odd data transceiver register 14 operate in the alternative. The operations of even data transceiver register 12, odd data transceiver register 14, and transceiver 13 are responsive to control signals generated in logic block 9. Control logic block 9 receives control data signals from bus 16 and the pair of master control signals PRE/ and SEQ/. Signals PRE/ and SEQ/ are generated by the processor to identify the operational sequence which control logic block 9 must control. The presence of a PRE/ signal alone indicates that the ensuing address sequence is to be a first prefetch operation, with an associated three clock cycle duration for the present embodiment. The presence of both the PRE/ and the SEQ/ signals indicates that the next memory address is numerically consecutive to the previous memory address. For such a consecutive prefetch condition, the prefetch data previously stored in data transceiver register 12 or 14 is transmitted directly to processor bus 11 in time coincidence with an addressing of opposite memory bank by the consecutively next address from the corresponding mux 4 or 6. The data from the memory bank so addressed is stored in the corresponding data transceiver register as the next prefetch data. According to a preferred implementation of the architecture in Fig. 1, the first prefetch operation addresses the even memory bank 2 in response- to an even address latched into address -latch 7 and conveyed via even address row/column multiplexer 4. The first prefetch data so addressed is immediately transmitted through even data transceiver register 12 and onto processor bus 11. In time coincidence with such even memory bank addressing cycle, the odd memory bank is addressed using a compensated address in odd address row/column multiplexer 6. The data from odd memory bank 3 is stored in odd data transceiver register 14. The prefetch address counter is then incremented. This first prefetch operation extends over three clock cycles. If the next address generated by the processor is consecutive, the processor activates both the PRE/ and SEQ/ signals. The data previously stored in odd data transceiver register 14 is provided immediately to processor bus 11 in time coincidence with an addressing of even memory bank 2, using a real address generated in prefetch address counter 8, and the storage of the prefetched even data in even data transceiver register 12. This consecutive prefetch operation only extends over two clock cycles. It should be recognized that the first prefetch operation responds to a virtual address, which address must be translated before reaching the real address state entered into address latch 7. Although such translator is not individually shown, it is a recognized element of any advanced computer memory accessing system. In contrast, the next consecutive address generated by prefetch address counter 8 is a real memory address. A delay of one clock cycle is typical for address translation. The gain in addressing speed attributable to the direct use of a real address during a consecutive prefetch operation is complemented on the memory data transmission side of the architecture by the use of data transceiver registers 12 and 14. Memory data prefetched during the previous address cycle, based upon an anticipated next address, is immediately available for transmission via transceiver 13 to processor bus 11. Address latch 7 and prefetch address counter 8 are operable in the alternative. Multiplexers 4 and 6 multiplex the row addresses and the column addresses in response to a conventional strobed memory access state machine, not shown. The embodiment depicted in Fig. 1 shows 39 data lines emanating from each memory bank, through transceivers 12, 13 and 14, and onto processor bus 11. The content of such lines includes thirty-two data bits and seven error correction and detection bits. The movement of memory resident data for a consecutive sequence of addressing operations is conceptually depicted in Fig. 2 of the drawings. The sequence of n to n+3 represents four consecutively addressed words accessed by the processor. Note that during the first prefetch operation, the even address memory data word n is passed directly to the processor concurrent with storage of the next, n+1, odd memory data word in the odd register. For the next and consecutive prefetch operation, the data previously stored in the odd register is passed to the processor coincident with a direct and real addressing of the even memory bank for the n+2 data word. The n+2 data word is stored in the even register. The addressing and storage alternates similarly for all consecutive prefetch operations at the two clock rate. Fig. 3 illustrates the timing relationships of the important signal controlling the block diagram embodiment in Fig. 1 during the first prefetch operation. Clocks 0 and 1 are the processor clocks. The REQV/ signal generated by the processor activates control logic 9, by requesting access to processor bus 11. Access is acknowledged by the grant signal SELV/.- The presence of the PREL/ signal (a latched PRE/) , and the concurrent absence of the SEQL/ signal, initiates control logic 9 into the first prefetch operating sequence. The commencement of the first prefetch, sequence by control logic 9 is indicated by the FIRSTPFGO/ signal. For purposes of reference, the onset of this signal may be considered the start of the three clock cycle sequence during which the processor is to access memory. A PVTL/ signal is generated to notify the address translator device, which converts virtual addresses to real row and column addresses suitable to access memory banks 2 and 3, that processor address translation is required. The sequencing and timing of the multiplexers 4 and 6 to first generate a row address identified as RO AD/, followed by a row strobe RAS/, and thereafter by a multiplexed column address COLAD/, and a corresponding column strobe CSX/, are under the control of a memory state machine commonly used to access computer memory systems. It should be recognized that the trailing edges of the RAS/, COLAD/, and CSX/ signals are not suppressed as early as otherwise possible by virtue of the three clock cycle duration available to perform the overall first prefetch operation. These signals are precisely terminated in the consecutive prefetch operation of Fig. 4 in recognition of the shorter two clock cycle time allotted to that operation. The remaining signals depicted in Fig. 3 are the DIE/ signal, which indicates the completion of the memory cycle, and the FETCHDATA signal, indicating the transmission of the accessed data onto the processor bus by transceiver 13. Timing diagrams for representative signals used in a consecutive prefetch operation are depicted in Fig. 4. The clock 0, clock 1, REQV/ and SELV/ signals are unchanged from their representations in the first prefetch operating sequence of Fig. 3. Note, however, the concurrent presence of the PREL/ and SEQL/ signals, to identify that the ensuing prefetch sequence, is to be the consecutive version. Control logic 9 then generates a PREFETCHGO signal to indicate the start of the two clock cycle prefetch, the exact sequence of the memory cycle being defined as noted previously by the memory access state machine. Coincident with the start of the memory state machine, a MAEL/ signal is transmitted to the translator portion of the processor. The MAEL/ notifies the translator of the transmission of a real address not requiring translation. The memory addressing is commenced as shown by the succession of row addresses ROWAD/, column addresses COLAD/, and corresponding strobes RAS/ and CSX. In the consecutive prefetch operating sequence, the RAS/, COLAD/ and CSX/ are more abrupt than their counterparts in Fig. 3 because of the shortened two clock cycle overall duration. Again, there appears a DIE/ signal to indicate the impending completion of memory addressing itself. Also shown in the timing diagram is a STOREDDATA signal, depicting the interval during which prefetched data previously stored in a data transceiver register is available for transmission onto the processor bus. The PFDATA signal illustrates the interval during which the prefetched data addressed in memory is available for latching into one of the data transceiver registers. The reduction in the memory access cycle time from a convention memory access operation, generally represented by the first prefetch with a three clock cycle span between event ti and t2 r is clearly evident when the times are compared to those of the consecutive prefetch operation extending for two clock cycles between corresponding time intervals t3 and t . Times t2 and t4 identify the first clock interval suitable to initiate succeeding memory access operations. Where memory data is accessed in pages/ the processor must identify the transition across a page boundary and initiate a new first prefetch operation. Again, it is preferred that the first prefetch commence with an even address. Directing attention back to Fig. 1, note that the architecture there depicted is amenable to operate in a system where the memory banks 2 and 3 are shared by multiple processors. For example, a second processor could be connected to the address and data output lines of banks 2 and 3 at the identified locations. The second processor system would have to include a set of registers, multiplexers, control logic, counters, latches and transceivers comparable to those identified as blocks 4, 6, 7, 8, 9, 12, 13 and 14 in Fig. 1. The first prefetch and consecutive ■ prefetch timing waveforms would have two sets of PREL/. and SEQL/ signals, one for each processor. Of course, in such context, contention logic would be added to ensure that only one processor addresses the memory during a defined interval of time. The DIE/ signal would then be used to convey information about the availability of signals from memory. A further refinement of such dyadic processor architecture would include arbitration logic to allow both processors to access the memory simultaneously so long as the accesses were directed to opposite memory banks. As now shown, the present architecture reduces the memory access time from the typical three clock cycles to an operation involving but a mere two clock cycles for memory data of consecutive address location. The architecture features the use of a two bank memory with alternating prefetches and internally generated real addresses for prefetch accessing of the memory. Foremost, the architecture is not susceptible to immediate and major degradation when used in a multiple processor environment, in that each processor includes its own prefetch architecture.

Claims: CLAIMS : 1. A memory system including first and second address memory banks (2, 3) in which consecutive addresses are alternately stored, and an address latch (7) coupled between a processor bus (11) and said first and second address memory banks (2, 3), characterized by indexing means (8) for consecutively indexing address data from said processor bus (11) to address alternately said first and second address memory banks (2, 3), a first transceiver register (12) coupled between said first address memory bank (2) and said processor bus (11), a second transceiver register (14) coupled between said second address memory bank (3) and said processor bus (11), and control means (9) responsive to addressing command signals from the processor for enabling said first transceiver register (12) and said second transceiver register (14) to alternate in operation between transmitting data to said processor bus (11) and latching data from the respective first or second memory bank (2, 3). 2. A memory system according to claim 1, characterized in that said control means (9) is operable, coincident with the start of a consecutive address sequence, to transmit data directly from one of said address memory banks (2, 3) to said processor bus (11) and from the other of said address memory banks (2, 3) to the respective transceiver register (12, 14). 3. A memory system according to either claim 1 or claim 2, characterized in that said indexing means (8) is in the form of an address counter (8), the address counter (8) being arranged for selectively addressing either of said address memory banks (2, 3) and being operable in the alternative with said address latch (7).

Inventors: PECHTER RICHARD G, SELKOVITCH RONALD, TSY QUOANH W, WOOLF WILLIAM C, PECHTER, RICHARD, G., SELKOVITCH, RONALD, TSY, QUOANH, W., WOOLF, WILLIAM, C.
Applicants: NCR CO, NCR CORPORATION
Application year: 1988
Main classification: G06F12
IPC codes: G06F9, G06F12