Processor which performs memory access in parallel with cache access and method employed thereby

Abstract: A computer system includes an accessible memory controller, an accessible cache controller, and means for accessing the accessible memory controller and the accessible cache controller simultaneously. Certain preferred embodiments of the present invention also include a deassertable miss line, that is a line which when deasserted indicates that the data was found in the cache and that the memory access should be cancelled.

Description: This invention relates to electronic digital data processing systems and, more particularly, to electronic digital data processing systems which include a cachememory as well as a main memory. Improvements in data processing systems have generally been directed at the reduction of either the average time required to execute a given instruction or the cost of the equipment required to execute such an instruction. One design tradeoff which has typically been made is that of cost versus speed for units of memory for the storage of data. For example, tape memory is traditionally slower and less expensive than disk memory. Disk memory in turn is available in several types with the selection of any type over another involving a cost/speed tradeoff. Disk memory is slower but less expensive than solid-state memory which itself is available in several types, the selection of which again involves a cost/speed tradeoff. Thus it continues to be a need of the art to provide cheaper, faster memories or, failing that, to improve the efficiency of presently existing memory types. The present invention relates to an improvement of the second types. In particular, the invention involves apparatus and methods of operation for reducing the average time necessary for a host central processing unit (CPU) having an associated cache memory and a main memory to obtain stored data from either memory. By way of background, it should be appreciated that computer systems are generally provided with more than one type of memory. Reconizing that the cost of a single fast memory would be prohibitive, computer designers have henceforth employed a variety of devices to hold data and instruction the repository for each piece of information being selected based upon how urgently the information might be needed by the CPU. THat is, in general, fast but expensive memories are used to store information the CPU might need immediatedy, and slower but less expensive devices are used to retain information for future use. A multitude of memory and storage devices have heretofore been used in computer systems. Long-term storage is generally effected using disk and tape storage. Disk and tape implemented data storage are presently the slowest of all of the memory and storage devices in common use, and they are generally used to hold data and programs that are not in actual use by the processor. Moving information stored on disks and tape into the main memory requires a relatively long period of time, but this slowness is tolerable since the movement of data and instructions from disk and tape are infrequent and can be done without the full attention of the CPU. Another memory device is a read-only memory or ROM. A ROM, with typical access times between 50 and 200 nanoseconds, retains its contents when the computer is turned off. The ROM memory typically holds start-up programs that prepare the machine for use. Another memory device, most commonly used for a system main memory, is the RAM memory which is employed for storage of data and program instructions brought from disk or tape for immediate use by the CPU. The main memory usually comprises a number of dynamic RAM ("DRAM") chips. The processor can retrieve the contents of these DRAMs in abouts 100 nanoseconds, placing this type of memory alongside ROM in speed. Yet another type of memory device is ache memory. Cache memory usually comprises a number of static RAM ("SRAM") chips. Cache memory is up to ten fimes faster than main memory and is designed to hold the operating instructions and data most likely to be needed next by the CPU, thereby speeding computer operation. Finally, small amount of memory within the CPU are called CPU memory or registers. Made of static RAM circuits optimized for speed, data registers within the processors are the fastest memory of all. A program register stores the location in memory of the next program instruction while an instruction register folds the instruction being executed and a general purpose register briefly stores data during processing. Based upon the foregoing, it should be appreciated that it is known to those skilled in the art to include a cache memory configuration in a computer system to provide a place for fast local storage of frequently accessed data. A cache system intercepts each one of the microprocessor memory references to see if the address of the required data resides in the cache. If the data does reside in the cache (a "hit"), is is immediately returned to the microprocessor without the incurring wait states necessary to access main system memory. If the data does not reside in the cache ("miss"), the memory adress reference is forwarded to the main memory controller and the data is retrieved from main memory. Since cache hits are serviced locally, a processor operating out of its local cache memory has a much lower "bus utilization", which reduces system bus bandwidth requirements, making more bus bandwidth available to other bus masters. This is significant because, as is well known to those skilled in the art, the bus in the computer; that is, the communications channel betwen the CPU and the system's memory and storage devices is a principal bottlenick. Virtually all instructions and all data to be processed must travel this route at least once. To maximize system performance, it is essential that the bus be used efficiently. As should be fully appreciated by those skilled in the art, the addition of a cache controller into a computer system is structured so as to separate the microprocessor bus into two distinct buses: the actual microprocessor bus and the cache controller local bus. The cache controller local bus is designed to look like the front end of a microprocessor by providing a cache controller local bus equivalent to all appropriate microprocessor signals. The system interconnects to this "micro-processor like" front end just as it would to an actual microprocessor. The microprocessor simply sees a fast system bus, and the system sees a microprocessor front end with a low bus bandwidth requirement. The cache subsystem is transparent to both. Transparency, in the data communications field, refers to the capability of a communications medium to pass, within specified limits, a range of signals having one or more defined properties. It should be noted that in such systems the cache controller local bus is not simply a buffered version of the microprocessor bus, but rather, is distinct from, and able operate in parallel with, the microprocessor bus. Thus, other bus masters, that is, supervisory systems of one kind or another residing on either the cache controller local bus or the system bus, are free to manage other system resources while the microprocessor operates out of its cache. As previously stated, a cache memory system intercepts memory references and forwards them to system memory only if they "miss" in the cache. Many prior art U.S. Patents are directed to various aspects of cache memories and methods of accessing memories which include a cache memory section including: U. S. Patents 4,794,521 to Ziegler et al., U. S. Patents 4,646,233 to Weatherford et al., U. S. Patent 4,780,808 to Moreno et al., U. S. Patent 4,783,736 to Ziegler et al., U. S. Patent 4,195,342 to Joyce, et al, U. S. Patent 4,370,710 to Kroft, U. S. Patent 4,476,526 to Dodd, U. S. Patent 4,070,706 to Scheuneman. U. S. Patent 4,669,043 to Kaplinsky, U. S. Patent 4,811,203 to Hamstra, U. S. Patent 4,785,398 to Joyce et al., U. S. Patent 4,189,770 to Gannon et al., and U. S. Patent 3,896,419 to Lange et al. The latter patent, U. S. Patent 3,896,419 to Lange et al., entitled "Cache Memory Store in a Processor of a Data Processing System" discusses the "parallel" operation of a cache store and other requests for data information from the main memory. The patent specifically teaches, however, checking the cache store while signals are "readied" for the backup memory store. Further, Lange et al. specifically teach making the cache directory, the cache store, and the control logic therefor part of the central processor. With this type of structure, cache checking is completed before the regular main memory cycle is started, so that if a "hit" is made in the cache, the main memory cycle never leaves the processor. This type of system is wholly different from systems in which a main memory access signal is actually sent out on a bus "in parallel" with a cache memory access signal. Based upon the foregoing, it should be appreciated that in computer systems heretofore constructed which include a cache, generally, when a memory reference occurs the access is "looked up" in the cache, and only if the reference is not found (or "misses") in the cache is it turned into a signal sent out on a bus to system memory. This causes at least two problems. First, cache misses incur a cache look-up latency, and so take at least an extra clock period to go through an acess cycle over a system without a cache. Moreover, it should be noted that with a poor hit rate a system with a cache could tun slower than a system without a cache. Second, cache controller complexity and pin requirements are increased because the cache controller has to recreate a processor bus the memory controller. Such complexity causes slower operation since bus re-creation also adds latency to the memory access on cache misses. European Patent Application No. 0 461 925, which claims an earlier priority date and was published after the filing date of the present application, discloses a computer in which a cache system is situated on a processor bus in parallel with a memory controller, enabling the cache system and the memory controller to begin servicing a processor read request simultaneously, the processor memory read cycle performed by the memory controller being aborted when a memory "hit" occurs in the cache system. A memory system including a cache memory and main memory operating in parallel is disclosed in an article entitled "Processor performance enhancement using a memory cache scheme" at pages 373 to 379 of IBM Technical Disclosure Bulletin, vol. 32, no. 6A of November 1989. Another memory system including a cache memory and main memory operating in parallel is disclosed in an article entitled "The cache DRAM architecture: a DRAM with on-chip cache memory" at pages 14 to 25 of IEEE Micro, vol. 10. no. 2 of April 1990. The present invention provides a computer including: a processor, a cache memory and a cache memory controller connected to a local bus, a main memory connected to a main bus and a main memory controller connected to the local bus and to the main bus, the processor being capable of sending a request for information by way of the local bus to the cache memory controller and to the main memory controller, the cache memory controller and the main memory controller being capable of responding to the request by initiating searches for the requested information in the cache memory and the main memory, respectively, the cache memory controller being capable of allowing the main memory controller to complete the search in the main memory when the requested information is not found in the cache memory, the main memory controller being capable of completing the search in the main memory by changing the state of the main memory column address strobe (CAS), the requested information being sent by the main memory to the processor by way of the main bus through the main memory controller, the cache memory controller being capable of notifying the main memory controller to abandon the search in the main memory when the requested information is found in the cache memory, and the main memory controller being capable of abandoning the search in the main memory by not changing the state of the main memory column address strobe (CAS), the requested information being sent by the cache memory to the processor by way of the local bus. Preferably, the computer includes a line extension logic circuit, for following the address and control signals sent to the cache memory, connected to the local bus, the cache memory controller, the cache memory and the main memory controller. Preferably, the computer includes a cache control bus connecting the cache memory controller to the line extension logic circuit and a line extension control bus connecting the line extension logic circuit to the main memory controller, for conveying a signal from the cache memory controller notifying the main memory controller to abandon the search in the main memory when the requested information is found in the cache memory. Preferably, the main memory controller is capable of completing the search in the main memory by changing state of the main memory column address strobe (CAS) after changing the state of the main memory row address strobe (RAS), the main memory controller baing capable of abandoning the search in the main memory by changing the state of the row address strobe (RAS) and not changing the state of the column address strobe (CAS). The invention provides a method of operation of a computer which includes a processor, a cache memory, a cache memory controller, a main memory and a main memory controller, including: the processor sending a request for information by way of a local bus to the cache memory controller and to the main memory controller, the cache memory controller and the main memory controller responding to the request by initiating searches for the requested information in the cache memory and the main memory, respectively, the cache memory controller allowing the main memory controller to complete the search in the main memory when the requested information is not found in the cache memory, the main memory controller completing the search by making a change in the state of the main memory column address strobe (CAS) and the main memory sending the requested information to the processor by way of a main bus through the main memory controller and the cache memory controller notifying the main memory controller to abandon the search in the main memory when the requested information is found in the cache memory, the main memory controller abandoning the search by not making the change in the state of the main memory column address strobe (CAS) and the cache memory sending the requested information to the processor by way of the local bus. Preferably, the main memory controller completes the search in the main memory by changing the state of the column address strobe (CAS) after changing the state of the row address strobe (RAS) and the main memory controller abandons the search in the main memory by changing the state of the row address strobe (RAS) and not changing the state of the column address strobe (CAS). The present invention provides a computer system having a cache controller and a memory controller in which both the cache controller and memory controller are accessed in parallel. That is, data is looked up in the cache and main memory simultaneously. If the desired data is not found in the cache, the search for it continues in the main memory a few clocks ahead of where it would have been if the search had not begun until the cache miss was recognized. In such an event, the search in the main memory was not delayed because of the cache search. If the data is found in the cache, the beginning of the search in the main memory is cancelled since to continue it would result in redundant information being accessed. Because in the present invention it is not necessary to recreate the bus to the memory controller, a number of pins on conventional cache controllers are superfluous and can be removed. Stated another way, the present invention provides a computer system having a main memory and a cache memory, which includes means for looking up data that could be stored in the cache memory and means for looking up data that is stored in the main memory, and means for actuating both of those means simultaneously. In the present invention the system includes means for disabling the means for looking up data that is stored in the main memory when the means for looking up data that could be stored in the cache memory locates such data. In another aspect certain preferred embodiments of the present invention include a miss line which can be deasserted to indicate that an access, i.e., data, was found in the cache and that, therefore, the main memory access should be cancelled. Accordingly, it is an object of the present invention to provide a computer system in which access to the main memory is not delayed by the presence and/or use of a cache. Another object of the present invention is to provide a computer system in which data is accessed from memory systems as quickly as possible. Yet another object of the present invention is to provide an improved method for extracting data from memories, which method can be incorporated into certain computer systems. Still another object of the present invention is to provide a streamlined cache controller, the streamlining being made possible because the conventional requirement that pins be present on the cache controller to recreate a processing bus for the memory controller is obviated. Other objects, advantages and novel features of the present invention will become apparent from the following detailed description of the invention when considered in conjunction with the accompanying drawings wherein: FIG. 1 is a block diagram of a prior art microprocessor system bus structure; FIG. 2 is a block diagram of a prior art microprocessor and cache controller system bus structure; FIG. 3 is a blok diagram of a prior art microprocessor and cache controller system; FIG. 4 is a blok diagram of a microprocessor and cache controller system according to the present invention; FIG. 5 is a blok diagram of a portion of a processor system including a preferred embodiment of the present invention; FIG. 6 is a diagram showing aspects of the timing of the system and method of an embodiment of the present invention; FIG. 7 is another diagram showing aspects of the timing of the system and method of an embodiment of the present invention; and FIG. 8 is a state diagram showing the internal states of the system of an embodiment of the present invention, and state transitions therein. Referring now to the drawings wherein like or similar elements are designated by identical reference numerals throughout the several views, shown FIGS. 1 and 2 are block diagrams of certain prior art bus structures that should be understood because they form a subsantial part of the general environment of the present invention. The structure shown in the FIGS. was discussed in the description of related art section above; however, to facilitate understanding, further details are set forth below. As previously stated in the electronic computer arts, particularly as applied to personal computers, the term "bus" refers to one or more conductors used for transmitting signals or power from one or more sources to one or more destinations. Bus lines can also be grouped together because of similarity of function, which similarity of function can arise in a connection between two or more systems or subsystems. Computer systems are frequently considered to comprise a number of subsystems such as CPU, memory and I/O, all of which are interconnected by the system bus. The subsystems generally consist of one more integrated circuits (IC's) and may be viewed as a collection of registers, or simply, devices capable of retaining information arranged in the form of binary zeros and ones. Registers in general may be considered to be "operational" if they transform data in some way or "storage" if they simply store data. The overall computer system operation, then, can be viewed as one of transferring data, including data that represents instructions, between various registers in the system and transforming data in operational registers. In view of the foregoing, the system bus is divided into an address bus, a data bus, and a control bus. The address bus is used by the microprocessor to specify a particular memory or I/O register that will be involved in a data transfer with the data actually being transferred on the data bus. The signals that control and synchronize the operation of the subsystems sending and receiving signals along the address and bases are provided over the control bus. Referring now specifically to FIG. 1, the bus structure of a typical prior art processor subsystem is depicted therein in which reference number 2 designates a microprocessor and reference numeral 4 designates a system bus. The microprocessor 2 is connected to system memory 6 and system input and output devices 8 via the system bus 4. Control, data and address signals, discussed above, are routed through a bus control 10, a data buffer 12, and an address buffer 14, respectively, between the microprocessor 2 and the system bus 4. Data buffer 12 and address buffer 14 serve to buffer and/or latch the local data and address busses, which include those conductors between the microprocessor 2 and data buffer 12 and address buffer 14, to make them the "system" address and data buffers. Similarly, the local control bus (that is, the conductors between the microprocessor 2 and bus control 10) is decoded by bus conrol logic in bus control 10 to generate the various system bus read and write commands. Referring now to FIG. 2, the system of FIG. 1 is shown as it would be conventionally modified by the inclusion of a cache controller 16 therein, such as an Intel 82385 cache controller. It should be appreciated with reference to FIG. 2 that the addition of the cache controller 16 causes a separation of the microprocessor bus, as defined above, into two distinct buses. The first is the actual microprocessor local bus which extends between the microprocessor 2 and the data buffer 12 an address buffer 14. The second bus is a "cache controller local bus" which extends between data buffer 12 and address buffer 14, on the one hand, and system bus 4 on the other hand. The cache controller local bus is intended to look like the front end of a micropressor by providing cache controller local bus equivalents to all appropriate microprocessor signals. The computer system, of course, ties or connects to this microprocessor-like front end just as it would to an actual microprocessor. The system sees, for all practical purposes, a microprocessor front end with its low bus banwidth requirements. The microprocessor, on the other hand, simply sees a fast system bus. The cache subsystem is, as previously indicated, transparent to both. Continuing to refer to FIG. 2, it should be appreciated that the control and address signals from the microprocessor 2 are both routed through the cache controller16. Address signals are further routed into cache 22 associated with cache controller 16 as directed by cache controller 16. It should be further appreciated that data flow between the cache controller 16 and the system bus 4, and, hence, other elements, is a two-way interchange. Referring now to FIG. 3, yet another block diagram of a prior art processor system configuration is depicted therein. As indicated in the description of related art section above, the cache memory system "intercepts" microprocessor memory references to see if the required data resides in the cache. If the data does reside in the cache 22 (a"hit"), the data is returned to the microprocessor without incurring any wait states. If, on the other hand, the data is not found in the cache (a "miss"), the memory reference is forwarded to the system and the data retrieved from main memory. In the context of FIG. 3, this series of actions is represented by the microprocessor 2, a cache controller 16, a memory controller 24, and a system memory 6 connected in series. Cache 22 is connected to cache controller 16. When connected in the functional series configuration illustrated, memory references are initially made to the cache controller 16 only. Thereafter, only if there is a miss in the cache 22 is the memory reference referred to the main, or system, memory 6. The term latency in the electronic computation arts is used to refer to the time between completion of an address and the start of an actual transfer of data from the addressed location. With special reference to the subject matter discussed herein, latency can also include the cache lookup time prior to a miss. With that understanding, it should be clear that in prior art systems cache misses ensure a cache lookup latency. This means that systems with such a cache configuration will require at least one clock cycle moretime to pull references from main memory than similar systems without a cache. It should also be appreciated that no recreation of any function is without associated costs. Thus, to the extent that prior art systems are required to "recreate" the memory controller,latency is also added to memory accesses on cache misses. Referring now to FIG. 4, there is shown a block diagram of a system constructed in accordance with the present invention. In this system the cache controller 16 and memory controller 24 are accessed in parallel by microprocessor 2. Thus, the processes of searching for data and retrieving it if found are initiated in both the cache memory 22 and main memory 6 simultaneously. If the data is not found in the cache 22 then it can be retrieved from the main memory 6 with no delay associated with cache lookup latency. If, on the other hand, the data is found in the cache 22, the data need not be retrieved from main memory 6 and the access to memory controller 24 can be cancelled by, e.g., trasmission of a signal from the cache controller 16 to the memory controller 24 via line 26. This line 26 is either an asserted "hit" line or a deasserted "miss" line, either of which would communicate the need to terminate the main memory access cycle because the data was found in the cache 22. Referring now to FIG 5, shown therein is a block diagram of a computer system processor module that should be helpful to those skilled in the art to understand and appreciate how the system and method of the present invention may be implemented. FIG. 5 illustrates the major components of a generic processor card which include a microprocessor 2, a cache controller 16, a cache memory 22A, 22B (designated in two parts because it is shown as comprising two banks of SRAMs), and a memory and bus controller 28. The processor module FIG. 5 may also include a numeric coprocessor such as an Intel Model 80387, an optional coprocessor 32 such as a Weitek 3167 or 4167, a data flow and error correction code (ECC) controller 34, a power up, self test read only memory (POST ROM) 36 associated with the memory and bus controller 28, a conventional snoop address latch 38, and a programmable array logic (PAL) line extension logic 40. As shown in FIG. 5, the overall processor module interfaces to the rest of the system through a memory connector 42 and a processor bus 44. The memory connector 42 interconnects the processor module to the various memory elements included in the overall computer system. The processor bus 44, on the other hand, serves as a connection between the processors, intelligent I/O, all system memory, and the system I/O and I/O expansion slots. The processor module of FIG includes local address, data and control buses that interconnect the microprocessor 2, coprocessors 30, 32, and cache memory 22, as well as the data flow and ECC controller 34 and the memory and bus controller 28. This interface is used for local cycles such as ROM reads, coprocessor cycles and cache read hits. The cache subsystem of the processor module comprises cache 22A, 22B, cache controller 16, line extension logic 40 and snoop address lach 38. The purpose of the snoop address latch is to capture each system bus address cycle that is generated to invalidate cache entries where necessary. The purpose of the line extension logic 40 is to follow the address and control signals to cache 22A, 22B. In the embodiment of the present invention shown in FIG. 5 local address and control signals are transmitted form the microprocessor 2 to the cache controller 16 via the microprocessor local bus 46, address and control conductors in buses 48, and the local address and control bus 50. Simultaneously, those same signals are used for main memory access, and are transmitted to memory and bus controller 28 over buses 46 and 48, as discussed above, as well as we over control bus 52 and address bus 54. Address and control signals are transmitted from cache controller 16 to cache 22A, 22B via buses 56, 58, and 60. Hits in the cache 22A, 22B result in data being sent locally via local buses 62, 64 and buses 48 and 46 to processor 2. when there is a cache hit, the search in main memory is immediately terminated via a control signal generated and passed through control bus 66, control bus 68, and line extension logic 40. In the event of a miss in the cache, on the other hand, search and retrieval of data from main memory will continue uninterrupted. Thus, retrieval of data from main memory, if necessary, can proceed without any cache lookup latency whatsoever. Further, with respect to the cache lookup latency, although is should be well undertood by those skilled in the art, a clock circuit 70, which forms a part of all convention computer system, would be the source of such latency. Typically, the clock circuit 70 includes a quartz crystal clock which sends signals through the computer system at the rate of several MHz. Every action within the computer is regulated precisely by this clock signal. On each single clock cycle, all registers (i.e., temporary storage circuits) within the computer can be reset or an address can be loaded into a program counter. In prior art systems, latency is introduced when each clock cycle is not used to retrieve data from main memory, when such retrieval is ultimately necessary. Loss of seven or eight clock cycles is not uncommon. Further details regarding an embodiment of the present invention, and especially the timing of various operations performed as a part thereof, may be understood and appreciated by considering FIG. 6. As previously stated, data found in the cache memory is basically instantly available, whereas 7 or 8 clocks are required to obtain data stored only in the main memory. In any event, generally two clocks are required to generate a memory access signal. Such a signal comprises a Row Address Strobe (RAS) address signal 72 that is generated and held for about a clock and a Column Address Stobe (CAS) address signal 74 that is then generated and held for about a clock. Together, as should be appreciated by those skilled in the art, the RAS and CAS signals cause signals cause the memory to latch a physical address suitable for application to a memory or storage unit. Both a RAS control pulse and a CAS control pulse are generated (as indicated at points 76 and 78, respectively, in FIG. 6) to effect an access cycle. Generating RAS and CAS control pulses and not effecting a cycle would, of course, be undesirable because it could possibly cause an error in the memory and because time would be lost in bringing the cycle back up. In the system of the preferred embodiment of the present invention, both RAS and CAS signals are set up, which requires approximately 2 clock cycles, and approximately another clock cycle is consumed in mapping, creating a window of approximately 3 clock cycles. During this window, a determination is made whether there is a "hit" in the cache. If there is a "hit", a decision is made simply not to generate the CAS control pulse. Not generating the CAS control pulse causes no problems in either memory operation or timing of subsequent operations. If, on the other hand, there is a "miss" in the cache memory, the control pulse CAS is generated. In such an event, because of the operation of the present invention, a 2 to 3 clock head start for main memory accesses is obtained. Referring now FIG. 7, further details regarding the timing aspects discussed immediately below are set forth. It should now be appreciated that the clock 70 (shown in FIG. 5) generates clock pulses 80 which drive the entire timing system. When a cycle is to be started, the processor 2 sends out an address strobe ADS∼. Virtually instantaneously, the address 82 is loaded into an arbiter 84 in preparation to be sent onto the system bus. At this point, the RAS and the CAS address signals are set up, as previously mentioned, and a determination is made whether to generate the CAS control pulse depending upon whether there is a "hit" in the cache. A signal indicating a "miss" results in a decision to complete the cycle and generate the CAS control pulse 78. The state machine, shown as a state diagram in FIG. 8, is physically located in memory and bus controller 28 shown in FIG. 5. When a memory cycle is to begin, signal ADS∼ and the signal PAGEHIT\ cause the state machine to move from the idle state 86 to the ROWADD state 88. Cache controller 16 determines whether address indicates a cache hit or miss. Consequently the signal MISS\ (a hit) returns the state machine to the idle 86 state. If there is a MISS, then the state machine moves to RAS 92 to reference the main memory. The signal PAGEHIT is true if ROWADD is the same as that of the previous cycle. If the system is in the idle state 86, and if there is a PAGEHIT when ADS∼ signal is present, then the state machine moves to COLADD 90 to assert the column address to the main memory. Again, cache controller 16 determines whether the address indicates a hit or miss. If there is a hit, then the signal MISS\ returns the state machine to the idle state 86. Another entry to the column address 90 state is from RAS state 92 to complete the addressing of main memory. From COLADD 90, a MISS indicates that main memory must be addressed and the signal MISS places the state machine in the CAS 94 state to complete the main memory addressing. After the assertion of the CAS signal at CAS 94, the state machine returns to the idle state 86 and the memory cycle is completed. The state machine of FIG. 8 thus graphically illustrates how the main memory reference is aborted if the information sought is present in the cache memory. By comparing FIGS. 5 and 4, showing the systems in accordance with the present invention, to FIGS. 3 and 2, illustrating the prior art, it should be appreciated that in a system constructed according to the present invention a number of pins on cache controller 16 which recreate the microprocessor local bus structure, are rendered superfluous. Since the system of the present invention is simpler to construct than prior art cache controller it is thus less expensive to manufacture. Obviously, numerous modifications and variations are possible in view of the above teaching. Accordingly, within the scope of the appended claims, the invention may be practiced otherwise than as specifically described herein.

Claims: A computer including: a processor (2), a cache memory (22a, 22b) and a cache memory controller (16) connected to a local bus (48), a main memory connected to a main bus (44) and a main memory controller (28) connected to the local bus (48) and to the main bus (44), the processor (2) being capable of sending a request for information by way of the local bus (48) to the cache memory controller (16) and to the main memory controller (28), the cache memory controller (16) and the main memory controller (28) being capable of responding to the request by initiating searches for the requested information in the cache memory (22a, 22b) and the main memory, respectively, the cache memory controller (16) being capable of allowing the main memory controller (28) to complete the search in the main memory when the requested information is not found in the cache memory (22a, 22b), the main memory controller (28) being capable of completing the search in the main memory by changing the state of the main memory column address strobe (CAS), the requested information being sent by the main memory to the processor (2) by way of the main bus (44) through the main memory controller (28), the cache memory controller (16) being capable of notifying the main memory controller (28) to abandon the search in the main memory when the requested information is found in the cache memory (22a, 22b), and the main memory controller (28) being capable of abandoning the search in the main memory by not changing the state of the main memory column address strobe (CAS), the requested information being sent by the cache memory (22a, 22b) to the processor (2) by way of the local bus (48). A computer as claimed in claim 1, including a line extension logic circuit (40), for following the address and control signals sent to the cache memory (22a, 22b), connected to the local bus (48), the cache memory controller (16), the cache memory (22a, 22b) and the main memory controller (28). A computer as claimed in claim 2, including a cache control bus (66) connecting the cache memory controller (16) to the line extension logic circuit (40) and a line extension control bus (68) connecting the line extension logic circuit (40) to the main memory controller (28), for conveying a signal from the cache memory controller (16) notifying the main memory controller (28) to abandon the search in the main memory when the requested information is found in the cache memory (22a, 22b). A computer as claimed in any one of claims 1 to 3, in which the main memory controller (28) is capable of completing the search in the main memory by changing the state of the main memory column address strobe (CAS) after changing the state of the main memory row address strobe (RAS), the main memory controller (28) being capable of abandoning the search in the main memory by changing the state of the row address strobe (RAS) and not changing the state of the column address strobe (CAS). A method of operation of a computer which includes a processor (2), a cache memory (22a, 22b), a cache memory controller (16), a main memory and a main memory controller (28), including: the processor (2) sending a request for information by way of a local bus (48) to the cache memory controller (16) and to the main memory controller (28), the cache memory controller (16) and the main memory controller (28) responding to the request by initiating searches for the requested information in the cache memory (22a, 22b) and the main memory, respectively, the cache memory controller (16) allowing the main memory controller (28) to complete the search in the main memory when the requested information is not found in the cache memory (22a, 22b), the main memory controller (28) completing the search by changing the state of the main memory column address strobe (CAS) and the main memory sending the requested information to the processor (2) by way of a main bus (44) through the main memory controller (28) and the cache memory controller (16) notifying the main memory controller (28) to abandon the search in the main memory when the requested information is found in the cache memory (22a, 22b), the main memory controller (28) abandoning the search by not changing the state of the main memory column address strobe (CAS) and the cache memory (22a, 22b) sending the requested information to the processor (2) by way of the local bus (48). A method as claimed in claim 5, wherein the main memory controller (28) completes the search in the main memory by changing the state of the column address strobe (CAS) after changing the state of the row address strobe (RAS) and the main memory controller (28) abandons the search in the main memory by changing the state of the row address strobe (RAS) and not changing the state of the column address strobe (CAS).

Inventors: MATTESON KEITH D, PARKS TERRY J, MATTESON, KEITH, D., PARKS, TERRY J.
Applicants: DELL USA LP, DELL USA L.P.
Application year: 1991
Main classification: G06F12
IPC codes: G06F12