Versatile write buffer for a microprocessor and method using...

Electrical computers and digital processing systems: memory – Storage accessing and control – Control technique

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C711S141000, C714S030000, C714S045000

Reexamination Certificate

active

06594741

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of Invention
This invention relates to microprocessor architecture, more particularly, to the interface between a microprocessor and main memory.
2. Description of Related Art
The principal component in a modern computer is the microprocessor. It is the microprocessor, often executing hundreds of millions of instructions per second, which actually “runs” our applications. Computers are often evaluated on the basis of the speed of their microprocessor—for example, a machine with a 700 MHz processor is typically considered “better” than one with a 133 MHz processor. Yet, every microprocessor requires memory. The instructions executed by the microprocessor, as well as the data upon which it operates, are accessed from the memory. Thus, the overall performance of a computer depends on how efficiently the microprocessor utilizes memory, as well as the raw speed of its internal logic.
The microprocessor accesses the memory over a bus, which includes address and data lines. The address lines allow the microprocessor to designate a particular memory location to be read from or written to, and the data lines convey the data to or from the selected memory location. The microprocessor, typically operating at a higher speed, can sometimes be encumbered by the slower memory. For example, it may happen that the microprocessor is forced to postpone an instruction fetch because the memory is unavailable, due to a previous operation that has not completed. To deal with such situations, most microprocessors are capable of prolonging their normal instruction cycle through the insertion of “wait states.” The wait states effectively slow down the microprocessor's read/write timing to accommodate the memory. However, a memory interface that depended heavily on wait states would effectively handicap the microprocessor.
Instead, various measures may be taken to improve the efficiency with which the microprocessor accesses memory. One approach involves the use of a write buffer. In general, a buffer is a data area shared by hardware devices or program processes that operate at different speeds or with different sets of priorities. The buffer allows one device or process to operate without being held up by another. A buffer is similar to a cache, but exists not so much to accelerate the speed of an activity as to support the coordination of separate activities, typically clocked at different speeds.
The central processing unit (CPU) in a microprocessor normally fetches (i.e., reads) instructions and data from memory and generates results to be written back to memory. Thus, memory access speed directly influences its speed of execution. However, read operations are typically more critical than writes in this regard. To maintain throughput, the CPU must fetch an instruction (and possibly an operand) from memory each instruction cycle. Results, on the other hand, need not be stored to memory immediately, but can be deferred until it is convenient (e.g., when the memory bus becomes available). Since a write buffer generally interfaces directly to the CPU, the CPU is able to write data into it without accessing the memory bus. Thus, the CPU can continuously fetch instructions and data from memory, and store results in the write buffer. The write buffer contents are independently dispatched to memory during times when the bus is not in use. A bus interface unit (BIU) within the microprocessor coordinates the shared use of the memory bus by the CPU and the write buffer. The BIU coordinates differences in operation between the CPU local bus and one or more buses external to the CPU (i.e., the memory bus). In these circumstances, it is often possible to advantageously increase CPU throughput by using a write buffer within the BIU between the CPU and memory.
A modern microprocessor may interact with memory in a number of ways. For example, a processor equipped with an instruction pipeline often includes the capability to defer load/store operations associated with a current instruction in the pipeline until similar operations associated with previous instructions have completed. Also, many microprocessors today incorporate diagnostic logic (e.g., JTAG-based scan networks), which may require access to the memory while performing test functions.
Diagnostic circuitry based on the joint test action group (JTAG) standard is now included in many microprocessors. The JTAG standard arose in response to the increasing difficulty in testing complex, high-speed integrated circuits by means of conventional external test instruments. Clock rates for many microprocessors, for example, now approach microwave frequencies. It is difficult, if not impossible, to convey diagnostic information to an external tester at the full operating speed of such devices. In addition, pin spacing on device packages has become so dense that traditional techniques for probing external signals are no longer practical. The JTAG standard provides for the inclusion of diagnostic hardware within integrated circuits, along with the functional circuitry. On-chip diagnostic circuitry, coupled with JTAG-compliant scan registers, makes it possible to load a test vector into the IC, run a test, and then scan out internal device states.
To support these various modes of interaction, the bus interface unit of the microprocessor may be compounded by multiple special-purpose write buffers and considerable additional logic, dedicated to the specific functions. Unfortunately, this adds to the complexity and manufacturing cost of the microprocessor. Therefore, it would be desirable to have a single write buffer that will support multiple types of processor-memory transactions.
SUMMARY OF THE INVENTION
The problems outlined above are addressed by a single write buffer that combines capabilities and features implemented in separate, specialized buffers of prior art microprocessors. In addition to storing the buffered data and its address, a set of control bits is associated with each storage location, by means of which the improved write buffer hereof directs the transfer of data to memory. The control bits can be used to modify the operation of the write buffer, allowing it to support a variety of memory access modes.
In an embodiment, the buffer is coupled to a central processing unit (CPU) and a memory bus. The buffer contains storage locations, into which data records received from the CPU may be stored, and from which these data records may be transferred to the memory bus. As used herein, the term “data record” refers to a discrete plurality of bits, indicative of data to be transferred to memory from a processor, direct memory access (DMA), peripheral device, etc. Associated with each location in the buffer is a set of control bits, which determine the mode in which the data record stored at that location will be transferred to the memory bus.
The storage locations are addressable by an input pointer and an output pointer. The input pointer indicates the storage location into which the next data record received from the CPU will be stored. As each new data record is received from the CPU and stored in the buffer, the input pointer advances to the next location. Similarly, the output pointer indicates the storage location from which the next data record transferred to the memory bus will be taken. As each data record is transferred from the buffer to the memory bus, the output pointer advances to the next location.
In an exemplary embodiment, the control bits associated with each location in the buffer include a valid bit, a sync bit, an EJTAG Bit, and store conditional and store conditional pass bits. The valid bit indicates that the respective location in the buffer contains data to be transferred to the memory bus. Thus, the contents of a given location in the write buffer will be transferred to the memory bus when the output pointer reaches that location only if the corresponding valid bit is set. The sync bit is used in conjunction with a SYNC instruction, to insure that any memory accesses initiated prior to the

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Versatile write buffer for a microprocessor and method using... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Versatile write buffer for a microprocessor and method using..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Versatile write buffer for a microprocessor and method using... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3074955

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.