1. Field of the Invention
The invention relates generally to random access memory circuits, and more particularly, to a method and circuit for implementing array bypass operations without access penalty.
2. Description of Background
In the process of computer operations, it is sometimes necessary to “bypass” a random access memory (RAM) array. In bypass mode, data is sent from a data input register to a data out register without the contents of the RAM being updated. This is typically accomplished via a bypass control register that provides an active bypass signal to a bypass multiplexor. In the presence of an active bypass signal, a bypass multiplexor electrically decouples a read circuit from a data output register and electrically couples a data input register to a data output register. In order to prevent the RAM contents from being updated, a write control register is conditioned to withhold an active write signal to a write circuit, thus preventing the contents of the RAM from being updated.
One drawback associated with the aforementioned bypass implementation relates to the bypass multiplexor. For example, in order for data to be sent-from the read circuit to the data output register, it must pass through the bypass multiplexor. The process of transmitting the data signal through the bypass multiplexor is time consuming, which ultimately results in a negative effect on the overall performance of the RAM, as well as the computer system as a whole. Furthermore, in addition to this degradation in performance, the bypass multiplexor utilizes valuable space on the circuit chip, which results in a larger chip size. Since the size of the chip is directly proportional to the cost of the chip, this ultimately leads to a more costly chip. Additionally, the bypass multiplexor typically requires a wire that connects the data input register to the bypass multiplexor. In any chip design, wires are a precious resource, the conservation of which is a desirable attribute.
The shortcomings of the prior art are overcome and additional advantages are provided through the provision of a method and circuit for implementing array bypass operations without access penalty.
The random access memory circuit includes a circuit array of memory cells, a read circuit, a data output register, a data input register, a write circuit, a write control register, a bypass control register, a row decoder, and an address register. The method includes directly coupling the read circuit to the data output register and coupling the bypass control register to the row detector. The bypass control register issues a bypass signal to the row decoder. The bypass signal is one of an active bypass signal or an inactive bypass signal. If the bypass signal issued is inactive, then one of a read operation and a write-through operation is permitted. If the bypass signal issued is active, then a write-through operation is performed in bypass mode.
System and computer program products corresponding to the above-summarized methods are also described and claimed herein.
Additional features and advantages are realized through the techniques of the present invention. Other embodiments and aspects of the invention are described in detail herein and are considered a part of the claimed invention. For a better understanding of the invention with advantages and features, refer to the description and to the drawings.
The subject matter which is regarded as the invention is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other objects, features, and advantages of the invention are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
In accordance with exemplary embodiments, a method and circuit for implementing array bypass operations without access penalty is provided. The bypass operations are performed without utilization of a bypass multiplexor and without requiring a physical connection (e.g., wire) traditionally used for coupling a data input register to a bypass muliplexor, thus, maximizing chip space, processing speed, and ultimately reducing costs associated with manufacturing. As indicated above, read and write-through operations that are typically performed on a circuit system may, in some situations, require bypass. It will be understood that a write-through operation without bypass results in the random access memory being updated, while a write-through operation with bypass results in no update to the random access memory.
Turning now to
A read operation occurs in the absence of an active write signal. The row decoder 108 receives a binary address 106 from the address register 104 and outputs an active signal onto one of the wordlines 110. The memory cells 132 connected the active wordline (e.g., one of wordlines 110) provide a weak signal to the bitline pairs BLP0-BLPx (136). This signal is received by the read circuit 118 at the base of the bitline pairs 136 and provides an input to the bypass multiplexor 124, which in turn provides an input to the data output register 122.
A write-through operation begins much like a read operation. The row decoder 108 receives a binary address 106 from the address register 104 and outputs an active signal on to one of the wordlines 110. The write operation occurs in the presence of an active write signal 114 provided to the write circuit 112 by the write control register 116. In the presence of the active write signal 114, the write circuit 112 receives binary values from the data input register 126 and provides a very strong differential signal to the bitline pairs BLP0-BLPn. This signal is strong enough to overpower the weak signal provided by the memory cells 132 selected via their connection to the active wordline (one of wordlines 110). This induces the memory cells to be written to the binary values provided to the write circuit 112. This same signal (provided by the write circuit) is received by the read circuit 118, which in turn provides an input to the bypass multiplexor 124, which in turn provides an input to the data output register 122.
Both of the above read and write-through operations occur in the absence of an active bypass signal by received by the bypass multiplexor 124 from the bypass control register 130. In the absence of an active bypass signal, the bypass multiplexor 124 electrically couples the read circuit 118 to the data output register 122. The absence of this active signal also electrically decouples the data input register 126 from the data output register 122.
Turning now to
When the bypass control register 230 provides an inactive bypass signal 228 to the row decoder 208, the read and write operations performed are similar to those described above with respect to
While the receipt of the active bypass signal by the row decoder 208 will modify both the read and the write operations, it is desirable for this application to only allow an active bypass signal 228 to be provided to the row decoder 208 during a write operation and to force the bypass signal 228 presented to the row decoder 208 to be inactive during a read operation. This may be performed by a number of different methods, as will be understood by one skilled in the art. With the bypass signal 228 never active during a read operation, the read operation is performed as described in the flow diagram of
At step 302, row decoder 208 receives a binary address 206 from address register 204. Row decoder 208 outputs an active signal onto one of wordlines 210 at step 304. At step 306, the memory cells 232 connected to the active wordline (e.g., one of wordlines 210) provide a weak signal to the bitline pairs BLP0-BLPx (236). This weak signal is received by the read circuit 218 at the base of the bitline pairs at step 308 and provides an input directly to the data output register 222 at step 310, thus no delay penalty typically associated with passing through a bypass multiplexor is incurred.
A write operation in the presence of an active bypass signal 228 is performed as described in the flow diagram of
In the presence of the active write signal 214, the write circuit 212 receives binary values 217 from the data input register 226 at step 408. The write circuit 212 transmits a strong differential signal 219 to bitline pairs 236 at step 410. Since the row decoder 208 has not provided an active signal to any of the wordlines 210 (due to the active bypass signal 228 provided by the bypass control register 230) there is no signal (weak or otherwise) provided by any of the memory cells 232 to be overpowered. The strong differential signal 219 provided by the write circuit 212 is passed directly to the read circuit 218 at step 412. Further, since the row decoder 208 did not provide an active signal to any of the wordlines 210, none of the memory cells 232 are induced to be written to the binary values provided by the write circuit 212, thus the contents of the RAM 200 will not be updated. The read circuit 218, having received its input from the write circuit 212, provides an input directly to data output register 222 at step 414.
The capabilities of the present invention can be implemented in software, firmware, hardware or some combination thereof.
As one example, one or more aspects of the present invention can be included in an article of manufacture (e.g., one or more computer program products) having, for instance, computer usable media. The media has embodied therein, for instance, computer readable program code means for providing and facilitating the capabilities of the present invention. The article of manufacture can be included as a part of a computer system or sold separately.
Additionally, at least one program storage device readable by a machine, tangibly embodying at least one program of instructions executable by the machine to perform the capabilities of the present invention can be provided.
The flow diagrams depicted herein are just examples. There may be many variations to these diagrams or the steps (or operations) described therein without departing from the spirit of the invention. For instance, the steps may be performed in a differing order, or steps may be added, deleted or modified. All of these variations are considered a part of the claimed invention.
While the preferred embodiment to the invention has been described, it will be understood that those skilled in the art, both now and in the future, may make various improvements and enhancements which fall within the scope of the claims which follow. These claims should be construed to maintain the proper protection for the invention first described.