The present invention relates generally to the field of memory circuits and more particularly to a synchronous memory with a shadow-cycle counter.
The speed that a memory can be accessed either for writing or reading is critical to many electronic applications. Memory speed can be increased by increasing the clock speed of the memory system which, in the case of a multi-stage pipelined synchronous memory, generally translates to improving the actual memory array access cycle, called “array cycle” throughout the rest of the document. The array cycle is usually the limiting factor in increasing the memory's speed, even when multiple pipeline stages are used. Increasing the memory speed results in tighter internal operation windows, which in turn increase the likelihood of race conditions that often cause write/read failures. Limited efforts have been made to decrease the array cycle time for memories. There have been efforts to first predocode the address and then latch or register the predecoded address. However, these efforts do not comprehensively process the external address before decoding the internal address signal. They only capture the full external address and do not take into account counter control signals that determine the information stored in the counter, mask, mirror, and read-back latches/registers. In addition, the prior art does not have internal enable control signals—generated in the counter block—that control either the array address, the array read/write, or the activation/deactivation (i.e., the high/low impedance state) of the data and/or address outputs.
Thus, there exists a need for a synchronous memory with a shadow-cycle counter that improves memory cycle time and provides other important memory control capabilities.
A synchronous memory with a shadow-cycle counter that overcomes these and other problems has a counter logic combiner with an address input, a registered processed-address input, an incremented-processed-address input, and a counter control input with an output that contains a processed address. A mask, counter, and mirror registers receives the processed address and has a clock input strobing around a middle of a pre-array clock cycle. An output of the mask, counter, and mirror registers forms a registered internal processed address. A clock phase shifter has a clock input and has an output coupled to the mask, counter, and mirror registers. The clock phase shifter is a controllable phase shifter. A second clock phase shifter is coupled to the clock phase shifter. An array control circuit is coupled to the second clock phase shifter. A predecoder is coupled to the registered internal processed-address. The predecoder has a disable signal that is strobed around an end of a third quartile of the pre-array clock cycle. A predecoded address flip flop is coupled to the predecoder and is strobed around an end of the pre-array clock cycle. A read-back address logic is coupled to the mask, counter, and mirror registers.
In one embodiment, a method of operating a synchronous memory with a shadow-cycle counter that includes the step of generating a processed address from an external address and an old registered address at a beginning of a pre-array clock cycle. A new registered address is determined at around a middle of the pre-array clock cycle. The new registered address is predecoded to form a predecoded address. The predecoded address may be registered at an end of the pre-array clock cycle. A plane address from the processed address may be used to deactivate a portion of a drive circuitry of a memory array. A disable signal is activated at a predecoder around a third quartile of the pre-array clock cycle. A clock signal may be delayed for around one half a clock period to from a first delayed clock. The first delayed clock may be delayed by around one quarter the clock period to form a second delayed clock.
In one embodiment, a synchronous memory with a shadow-cycle counter has a clock phase shifter with a first shifted clock output. A mask, counter, and mirror register is clocked by the first shifted clock output and forms a registered internal processed-address. The first shifted clock is delayed about one-half a pre-array clock cycle. A predecoder is coupled to the registered internal processed-address. A second clock phase shifter has an output that strobes an output of the predecoder disable logic. A counter logic combiner has an external address input, a registered processed-address input, an incremented-processed-address and a counter control input. The counter logic combiner has an output that contains a processed address that forms an input to the mask, counter, and mirror register. The mask, counter, and mirror register have a plane address as an output coupled to a read/write control logic. The counter logic combiner has an address output enable as an output coupled to a data output enable register.
A partial block diagram of a synchronous memory 10 with a shadow-cycle counter in accordance with one embodiment of the invention is shown in
The chip control signals 68 are coupled to a control flip flop 70. The control flip flop 70 has a clock input 72 coupled to the clock signal 18. The output 73 of the control flip flop 70 includes the registered CE (Chip Enable) 91 which is coupled to the predecoder disable logic 76. The DOE logic 74 has an output 76 coupled to the flip flops 80, usually one flip flop per byte, controlling the active/tristate condition of the corresponding data outputs. This allows the memory circuit to tristate the output drive amplifiers when they are not in use. This reduces the current consumption of the memory circuit. The read/write control logic 44 also has an input coupled to the predecoder disable logic 76. The read/write control logic 44 in one embodiment has another input coupled to the output of the flip flop 86. This is represented by the dashed lines. The output 82 of the read/write control logic 44 is coupled to the read/write flip flops 84. The output of the read/write flip flop 84 is coupled to the read/write control input 87 of the memory core 58. The output 79 of the predecoder disable logic 76 is coupled to a predecoder disable control flip flop 86, the DOE logic 74, and the read/write control logic 44. The output 89 of the predecoder control flip flop 86 is coupled to the asynchronous control (e.g., reset) of the predecoder address flip flops 54. In one embodiment, the output of the predecoder disable control flip flop 86 is not coupled to asynchronous control of the predecoded address flip flops 54, but indirectly to their D inputs through the predecoders 46. This is represented by the dashed line. Similarly, the output 89 of the predecoder disable control flip flop 86 can either be coupled to the asynchronous controls of the read/write flip flops 84, or indirectly to their D input through the read/write control logic 44 (represented by dashed lines). The inputs to the predecoder disable logic control 76 include the address output enable (AOE) 48, a signal 88 indicating a cycle with information vehiculation only between the inputs and the counter, mask, mirror or read-back registers 34 (e.g., mask load internal signal MKLDi), the registered chip control signals (e.g., chip enable) 91, and the plane address(es) 33.
The clock 18 is coupled through a first matched delay cell 90 to a first clock phase shifter 92. The cells 90 and 92 are matching the delay to the counter, of the slowest counter control signal through the flip flop 24 and counter logic combiner 22 plus a setup margin. The output 94 of the first phase shifter 92 is used to clock the mask, counter, and mirror register 34 at approximately 1½ (meaning the middle of the pre-array clock cycle). An output 95 of the first phase shifter 92 is also coupled to a second clock phase shifter 96. The second clock phase shifter 96 creates an approximately ¼ clock cycle delay so that the predecoder disable control flip flop 86 is clocked at 1¾ clock cycles, meaning at the end of the third quartile of the pre-array cycle. In one embodiment, the clock 18 is coupled to a DLL (Delay Locked Loop) 98 (this is represented by the dashed lines) which is generally used to “advance” the clock 18. The output of the DLL 98 is coupled to a clock conditioner 100 with a variable delay (this is also shown in dashed lines). The output 102 of the clock conditioner 100 is coupled to the predecoded address flip flops 54, the address read-back flip flops 66, the AOE flip flop 50, the DOE flip flops 80 counter interrupt flag logic, and the array read/write control flip flops 84.
The counter logic combiner 22 logically combines the registered counter control and external address signals (26 and 20) with current cycle's registered internal processed-address 28, the incremented registered internal processed-address 30 and presents the processed internal address 32 to the mask, counter, and mirror registers 34. A phase shifted clock 94, with adjustable delay in one embodiment, is used to strobe the mask, counter, and mirror register at slightly less than 1½ clock cycles. The new cycle's, registered, internal processed-address 36 is presented to the predecoders 46, the arbitration circuit 42, the mailbox interrupt processing circuit 114, the read-back (multiplexed with mask) logic circuit 60, and the counter interrupt (flag) logic block 29. The plane address(es) component 33 of the processed-address 36 is presented to the read/write control logic circuit 44 as well as the predecoder disable logic block 76. In addition to the internal processed plane address(es), the read/write control logic block 44 is driven by the chip control signals and a logic combined signal generated by the predecoder disable logic block 76. The output 79 of the predecoder disable logic 76 is strobed by a phase delayed clock on the register 86 at 1¾ clock cycles. This is about one quartile of a clock cycle before the start of the array cycle. Another conditioned clock 102 strobes the predecoded address flip flops 54 at 2 clock cycles, meaning the beginning of the array cycle. As a result, the circuit does not have to decode the internal address during the array cycle. This significantly reduces the duration of the array cycle. In addition, the particular clocking of the predecoder disable control flip flop 86 allows the address predecoder flip flops 54 and/or read/write flip flops 84 to be disabled/enabled before the array cycle starts.
The internal address 36 being generated on the shadow-cycle, allows the counter interrupt logic 29 to detect the counter wrap-around condition and generate the counter interrupt (CNTINT) flag 31 that will be registered and provided to the user at the beginning of the array cycle.
The designations “1.5o” and “1.5n” represent two alternative embodiments of the invention. The “o” stands for “old” and would replace the delay cell 90 and the first phase shifter 92 with an inverter. As can be seen from the figure the new embodiment pulls in the clock ahead of the old version. This allows the output of the second phase shifter 96 to be ahead of the “geometrical” 1¾ clock cycle. This, coupled with the use of a DLL 98 that would advance the clock 102, which starts the array cycle, makes the memory cycle time faster by internally expanding the actual array cycle duration. Note that the arrows attached to some of the clocking circles indicate that these are loosely constrained time marks that may be optimized for maximum margins. The designation of the “1” in a circle means the start of the pre-array cycle, the “1.5” in a circle means about the middle of the pre-array cycle, the “1.75” in a circle means about the end of the third quartile of the pre-array cycle and the “2” in a circle means the end of the pre-array cycle and beginning of the array cycle.
Thus, there has been described a memory system that requires fewer clock cycles to perform a memory operation by performing the address predecoding 46 in the pre-array cycle and starting the array cycle earlier, to give it more time. In addition, the memory system allows the enabling/disabling of the pulsed core addresses and the read/write controls signals inputs of the memory array, as well as the tristate control of the data outputs by the counter control signals, including the ones that indicate data vehiculation only between the inputs of the mask, counter, and mirror registers 34. The counter interrupt flag is now made available to the user at the beginning of the array cycle, due to the generation of the registered address 36 with the shadow-cycle technique.
While the invention has been described in conjunction with specific embodiments thereof, it is evident that many alterations, modifications, and variations will be apparent to those skilled in the art in light of the foregoing description. Accordingly, it is intended to embrace all such alterations, modifications, and variations in the appended claims.
The present invention claims priority on provisional patent application Ser. No. 60/483,302, filed on Jun. 27, 2003, entitled “Synchronous Memory with a Shadow-Cycle Counter” and assigned to the same assignee as the present invention.
Number | Name | Date | Kind |
---|---|---|---|
4750149 | Miller | Jun 1988 | A |
4758746 | Birkner et al. | Jul 1988 | A |
4852049 | Sakai | Jul 1989 | A |
4878200 | Asghar et al. | Oct 1989 | A |
4879481 | Pathak et al. | Nov 1989 | A |
4942318 | Kawana | Jul 1990 | A |
4963770 | Keida | Oct 1990 | A |
5023484 | Pathak et al. | Jun 1991 | A |
5027011 | Steele | Jun 1991 | A |
5053646 | Higuchi | Oct 1991 | A |
5073873 | Kazutaka | Dec 1991 | A |
5136188 | Ha et al. | Aug 1992 | A |
5144582 | Steele | Sep 1992 | A |
5175819 | Le Ngoc et al. | Dec 1992 | A |
5185706 | Agrawal et al. | Feb 1993 | A |
5220213 | Chan et al. | Jun 1993 | A |
5231588 | Agrawal et al. | Jul 1993 | A |
5280202 | Chan et al. | Jan 1994 | A |
5282164 | Kawana | Jan 1994 | A |
5302866 | Chiang et al. | Apr 1994 | A |
5309046 | Steele | May 1994 | A |
5329460 | Agrawal et al. | Jul 1994 | A |
5357153 | Chiang et al. | Oct 1994 | A |
5384745 | Konishi et al. | Jan 1995 | A |
5422823 | Agrawal et al. | Jun 1995 | A |
5426378 | Ong | Jun 1995 | A |
5451887 | El Avat et al. | Sep 1995 | A |
5455525 | Ho et al. | Oct 1995 | A |
5521529 | Agrawal et al. | May 1996 | A |
5537057 | Leong et al. | Jul 1996 | A |
5548786 | Amini et al. | Aug 1996 | A |
5550782 | Cliff et al. | Aug 1996 | A |
5587945 | Lin et al. | Dec 1996 | A |
5590287 | Zeller et al. | Dec 1996 | A |
5594365 | Agrawal et al. | Jan 1997 | A |
5594366 | Khong | Jan 1997 | A |
5619670 | Shindo | Apr 1997 | A |
5631577 | Freidin et al. | May 1997 | A |
5638008 | Rangasayee et al. | Jun 1997 | A |
5646901 | Sharpe-Geisler et al. | Jul 1997 | A |
5791030 | Agrawal et al. | Aug 1998 | A |
5799176 | Kapusta et al. | Aug 1998 | A |
5811987 | Ashmore, Jr. et al. | Sep 1998 | A |
5818254 | Agrawal et al. | Oct 1998 | A |
5829051 | Steely et al. | Oct 1998 | A |
5832290 | Gostin et al. | Nov 1998 | A |
5848285 | Kapusta et al. | Dec 1998 | A |
5850368 | Ong et al. | Dec 1998 | A |
5966027 | Kapusta et al. | Oct 1999 | A |
5977791 | Veenstra | Nov 1999 | A |
6003128 | Tran | Dec 1999 | A |
6044412 | Evoy | Mar 2000 | A |
6049223 | Lytle et al. | Apr 2000 | A |
6058452 | Rangasayee et al. | May 2000 | A |
6097211 | Couts-Martin et al. | Aug 2000 | A |
6134181 | Landry | Oct 2000 | A |
6137308 | Nayak | Oct 2000 | A |
6166989 | Hamamoto et al. | Dec 2000 | A |
6167487 | Camacho et al. | Dec 2000 | A |
6170034 | Weston-Lewis et al. | Jan 2001 | B1 |
6175514 | Henderson et al. | Jan 2001 | B1 |
6175534 | Taniguchi et al. | Jan 2001 | B1 |
6191998 | Reddy et al. | Feb 2001 | B1 |
6201407 | Kapusta et al. | Mar 2001 | B1 |
6230250 | Vogley | May 2001 | B1 |
6388464 | Lacey et al. | May 2002 | B1 |
6490206 | Kwon et al. | Dec 2002 | B2 |
6510483 | Rezeanu et al. | Jan 2003 | B1 |
6570866 | Murase et al. | May 2003 | B1 |
6782467 | Rezeanu | Aug 2004 | B1 |
6789180 | Rezeanu | Sep 2004 | B1 |
6807645 | Angelotti et al. | Oct 2004 | B2 |
7206979 | Zarrineh et al. | Apr 2007 | B1 |
7345950 | Fujisawa et al. | Mar 2008 | B2 |
Number | Date | Country |
---|---|---|
0199134 | Oct 1986 | EP |
Number | Date | Country | |
---|---|---|---|
60483302 | Jun 2003 | US |