The above and other objects, features and advantages of this invention will become more apparent by reference to the following detailed description of the invention taken in conjunction with the accompanying drawings, wherein:
Preferred embodiments of the present invention will now be explained in detail with reference to the drawings.
As shown in
The command decoders 101 to 103 are circuits that decode a read command, a write command, and a burst chop command, respectively. The command decoders 101 to 103 are each configured of 4-input AND circuits, and when all of four signals are a high level, the command decoders 101 to 103 render corresponding commands active.
More specifically, the command decoder 101 renders a read command RD active when all of /RAS, which is an inverted signal of an RAS (row address strobe), a CAS (column address strobe), /WE, which is an inverted signal of a WE (write enable), and a CS (chip select) are a high level. The command decoder 102 renders a write command WR active when all of the /RAS, CAS, WE, and CS are a high level.
On the other hand, the command decoder 103 renders a burst chop command BC active when a signal A12 of a 12th address pin and the CS are a high level. Signals substantially inputted to the command decoder 103 are these two signals only. However, to be consistent with a circuit configuration with the other command decoders 101 and 102, the remaining two input terminals are fixedly inputted power supply potentials VDD.
The command latch circuits 111 to 113 latch the read command RD, the write command WR, and the burst chop command BC, in synchronization with an internal clock ICLK, respectively. The internal clock ICLK is generated by an internal-clock generation circuit 160. As shown in
The command latch circuits 111 to 113 have the same circuit configuration each other. More specifically, the command latch circuits 111 to 113 are configured of latch circuits 111-1 to 113-1, AND circuits 111-2 to 113-2, and latch circuits 111-3 to 113-3.
The latch circuits 111-1 to 113-1 latch a corresponding command in synchronization with a rising edge of the internal clock ICLK and output the fetched command in synchronization with a falling edge of the internal clock ICLK. Thereby, a count of one clock is performed by the latch circuits 111-1 to 113-1. Outputs of the latch circuits 111-1 to 113-1 are supplied to input terminals, on one side, of AND circuits 111-2 to 113-2. Input terminals, on the other side, of the AND circuits 111-2 to 113-2 are supplied the internal clock ICLK. Outputs of the AND circuits 111-2 to 113-2 are supplied to the latch circuits 111-3 to 113-3. The latch circuits 111-3 to 113-3 latch a corresponding command in synchronization with the falling edge of the internal clock ICLK and output the command. Thereby, a count of 0.5 clocks is performed by the latch circuits 111-3 to 113-3.
The AL counters 121 to 123 count additive latencies of the read command RD, the write command WR, and the burst chop command BC, respectively. That is, the AL counter 121 functions as a read AL counter, the AL counter 122 functions as a write AL counter, and the AL counter 123 functions as a burst chop command AL counter.
The AL counter 121 or read AL counter counts the read command RD in synchronization with a read clock ICLK-R. The read clock ICLK-R is generated by a read-clock generation circuit 161. As shown in
The AL counter 122 or write AL counter counts the write command WR in synchronization with a write clock ICLK-W. The write clock ICLK-W is generated by a write-clock generation circuit 162. As shown in
The AL counter 123 or burst chop AL counter counts the burst chop command BC in synchronization with a read/write clock ICLK-RW. The read/write clock ICLK-RW is generated by a read/write-clock generation circuit 163. As shown in
The CL counters 131 and 132 count CAS latencies of the read command RD and the burst chop command BC at the time of reading, respectively. Both the CL counters 131 and 132 operate in synchronization with the read clock ICLK-R, and each counter counts the read command RD and the burst chop command BC.
At the subsequent stage of the CL counters 131 and 132, adjustment counters 153 and 151 that control timing of the burst chop in synchronization with the read clock ICLK-R are respectively added. In the present embodiment, the adjustment counters 153 and 151 are configured of two latch circuits dependently connected, and the both counters operate in synchronization with the read clock ICLK-R. In the DDR synchronous DRAM, input and output of data are performed in synchronization with both the rising edge and the falling edge of the clock, and thus, the adjustment counters 153 and 151 configured of the two latch circuits serve to function delaying outputs of the CL counters 131 and 132 by 4 data.
As shown in
CWL counters 141 and 142 count CAS write latencies of the write command WR and the burst chop command BC at the time of writing, respectively. Both the CWL counters 141 and 142 operate in synchronization with the write clock ICLK-W, and each counter counts the write command RD and the burst chop command BC.
At the subsequent stage of the CWL counters 141 and 142, adjustment counters 154 and 152 that control timing of the burst chop in synchronization with the write clock ICLK-W are respectively added. The adjustment counters 154 and 152 have the same circuit configuration as the adjustment counters 153 and 151. Thereby, the adjustment counters 154 and 152 serve to function delaying outputs of the CWL counters 141 and 142 by 4 data.
Output of the CWL counter 141 is used as a write burst control signal BWR-1. On the other hand, output, which passes through the adjustment counters 154, of the CWL counter 141, and output, which passes through the adjustment counters 152, of the CWL counter 142, are supplied to an AND circuit 182. Output of the AND circuit 182 is used as a write burst control signal BWR-2.
Thus, the circuit configuration of the command control circuit 100 according to the present embodiment is described.
The command control circuit 100 having such a configuration is assembled as a circuit that configures one portion of a main controller 171 of a semiconductor memory device shown in
The semiconductor memory device shown in
As shown in
As shown in
As a result of such command input, the outputs of the command decoders 101 and 103 become a high level. Thus, both the read command RD and the burst chop command BC are rendered active. Alternatively, at the time of the reading operation, the read enable signal ENR is rendered active, and thus, the read clock ICLK-R performs clocking.
Thereby, in the read command RD and the burst chop command BC, the additive latencies are counted by the AL counters 121 and 123, respectively, and further, the CAS latencies are counted by the CL counters 131 and 132. Thus, when the count by the CL counter 131 is ended, the read burst control signal BRD-1 is rendered active.
On the other hand, at the subsequent stage of the CL counter 132, the adjustment counters 151 are arranged. Thus, when the count by the CL counter 132 is ended, the read burst control signal BRD-2 is rendered active with a delay of two clocks from the read burst control signal BRD-1.
The read burst control signal BRD-1 permits outputting of upper 4 bits of 8 bits of prefetched read data. On the other hand, the read burst control signal BRD-2 permits outputting of lower 4 bits of 8 bits of prefetched read data. In the normal read operation shown in
As shown in
Thereby, the read burst control signal BRD-1 only is rendered active. As a result, only the upper 4 bits of the 8 bits of prefetched read data are outputted, and the lower 4 bits are not outputted. That is, a burst length=4 is achieved.
As shown in
Thereby, in the write command WR and the burst chop command BC, the additive latencies are counted by the AL counters 122 and 123, respectively, and further, the CAS write latencies are respectively counted by the CWL counters 141 and 142. As a result, when the count by the CWL counter 141 is ended, the write burst control signal BWR-1 is rendered active.
On the other hand, at the subsequent stage of the CWL counter 142, the adjustment counters 152 are arranged. Thus, when the count by the CWL counter 142 is ended, the write burst control signal BWR-2 is rendered active with a delay of 2 clocks from the write burst control signal BWR-1.
The write burst control signal BWR-1 permits inputting of write data to be prefetched in a portion of upper 4 bits of the prefetch circuit. On the other hand, the write burst control signal BWR-2 permits inputting of the write data to be prefetched in a portion of lower 4 bits of the prefetch circuit. In the normal write operation shown in
As shown in
As a result, the write burst control signal BWR-1 only is rendered active. Thus, the write data to be burst-inputted are limited to its upper 4 bits. That is, the burst length=4 is achieved.
As described in
On the contrary, as shown in
As described above, according to the present embodiment, the burst chop AL counter is used commonly for the read and the write. Thus, it is not necessary to arrange two AL counters that count the burst chop command. Accordingly, it becomes possible to inhibit the circuit scale of the command control circuit.
Further, it is not necessary to separate the burst chop command BC into the read-use and the write-use at the previous stage of the burst chop AL counter 123. Thus, it becomes possible to inhibit the number of stages of the command latch circuits 111 to 113. Thereby, it becomes also possible to sufficiently maintain the latch margin of the command latch circuits 111 to 113.
A second embodiment of the present invention is explained next.
In the command control circuit 200 according to the present embodiment, two CL counters are integrated into one CL counter 230 and two CWL counters are integrated into one CWL counter 240. As a result, adjustment counters 250 to 252 that control timing of the burst chop are arranged at the subsequent stage of the AL counters 123, 121, and 122. Other points are basically identical to those of the command control circuit 100 of the first embodiment. Thus, like parts are designated with like reference numerals, and duplicated explanations are omitted.
As shown in
The AND-OR circuit 261 receives the burst chop command BC, the read command RD, which is the output of the AL counter 121, and output of the adjustment counters 251. Output of the AND-OR circuit 261 is supplied to the CL counter 230. Thereby, the CL counter 230 results in counting both the read command RD and the burst chop command BC.
On the other hand, the AND-OR circuit 262 receives the burst chop command BC, the write command WR, which is the output of the AL counter 122, and output of the adjustment counters 252. Output of the AND-OR circuit 262 is supplied to the CWL counter 240. Thereby, the CWL counter 240 results in counting both the write command WR and the burst chop command BC.
As described above, when the normal read operation is operated, both the read command RD and the burst chop command BC are rendered active. Thus, the CL counter 230 is sequentially supplied these commands. A timing difference between the read command RD and the burst chop command BC is determined by a count number of the adjustment counters 250, and in the present embodiment, a difference of 2 clocks occurs.
As a result, a read burst control signal BRD is rendered active once, and thereafter, rendered active once again after 2 clocks. The first active signal permits outputting of upper 4 bits of 8 bits of prefetched read data. The second active signal permits outputting of lower 4 bits of 8 bits of prefetched read data. As a result, prefetched 8-bit read data is continuously outputted as shown in
When the burst chop is performed in the read operation, the read command RD only is rendered active, and the burst chop command BC is not rendered active. Thus, the read burst control signal BRD is rendered active only once, and thus, only the upper 4 bits of the 8 bits of prefetched read data are outputted, and the lower 4 bits are not outputted. That is, the burst length=4 is achieved.
The same is true for the write operation. In the normal operation, the write burst control signal BWR is rendered active twice, and when the burst chop is performed, the write burst control signal BWR is rendered active only once.
Thus, according to the present embodiment, the CL counter 230 and the CWL counter 240 are integrated into one unit, respectively, and accordingly, it is possible to further downsize the circuit scale. Further, the operated counter number is rendered small, and thus, it is also possible to reduce power consumption.
A third embodiment of the present invention is explained next.
In the command control circuit 300 according to the present embodiment, the read AL counter and the write AL counter are integrated into one AL counter (read/write combined AL counter) 320. As a result, regarding the adjustment counter, common adjustment counters 350 are used for the read and the write. Other points are basically identical to those of the command control circuit 200 of the second embodiment. Thus, like parts are designated by like reference numerals, and duplicated explanations are omitted.
As shown in
Output of the read/write combined AL counter 320 is supplied commonly to AND-OR circuits 361 and 362. Output of the adjustment counters 250 is also supplied commonly to the AND-OR circuits 361 and 362. Output of adjustment counters 350 is also supplied commonly to the AND-OR circuits 361 and 362. Thereby, both the outputs of the AL counters 123 and 320 are supplied to the CL counter 230 and the CWL counter 240.
However, the CL counter 230 operates when the read clock ICLK-R is clocking. Thus, it is only the read command RD and the burst chop command BC at the time of reading that are counted by the CL counter 230. Likewise, the CWL counter 240 operates when the write clock ICLK-W is clocking. Thus, it is only the write command WR and the burst chop command BC at the time of writing that are counted by the CWL counter 240.
Thereby, the command control circuit 300 according to the present embodiment becomes capable of operating similarly to the command control circuit 200. Further, in the command control circuit 300 according to the embodiment, the read AL counter and the write AL counter are integrated into one read/write AL combined counter 320. Thus, it becomes possible to further downsize the circuit scale.
A fourth embodiment of the present invention is explained next.
In the command control circuit 400 according to the present embodiment, the read command decoder 101 and the command latch circuit 111, and the write command decoder 102 and the command latch circuit 112 are integrated into a common command decoder 104 and command latch circuit 114, respectively. As a result, the OR circuit 360 is eliminated. Other points are basically identical to those of the command control circuit 300 of the third embodiment. Thus, like parts are designated with like reference numerals, and duplicated explanations are omitted.
As shown in
However, as described above, the read clock ICLK-R performs the clocking at the time of reading only, and the write clock ICLK-W performs the clocking at the time of writing only. Thus, it becomes possible to perform completely the same as the command control circuit 300 shown in
The present invention can preferably apply to the semiconductor memory device, especially a DRAM.
The data processing system 500 shown in
Further, in
The storage device 540 can be selected from at least a hard disk drive, an optical disk drive, and flash memory device. The I/O device 550 can be selected from a display device such as a liquid crystal display (LCD) and an input device such as a key board or a mouse. The I/O device 550 can consists of either input or output device. Further, although each one element is provided as shown in
The present invention is in no way limited to the aforementioned embodiments, but rather various modifications are possible within the scope of the invention as recited in the claims, and naturally these modifications are included within the scope of the invention.
For example, in the above embodiment, the description is given of a case where the prefetch number is 8 bits and the burst length at the time of the burst chop is 4 bits. However, the present invention is not limited thereto. The prefetch number and the burst length at the time of the burst chop are arbitrary. That is, when the prefetch number is m bits (where m is an integer of 2 or more), it is sufficient that the burst chop command indicates whether to permit the burst operation subsequent to n bits (where n is an integer of less than m).
Alternatively, it is not always essential that the burst length at the time of the burst chop be half the prefetch number, and it can also be configured such that two or more types of burst chops can be possible for the prefetch number. For example, it can be configured such that the prefetch number is 32 bits, and the burst length at the time of the burst chop is selectable in two stages, that is, 8 bits and 16 bits.
Alternatively, positions of the adjustment counters are not limited to those in the embodiments described above, and these counters can be arranged in any position on a path where the burst chop command BC is transmitted. Accordingly, the adjustment counters can be arranged at the previous stage of the AL counter 123, for example.
According to the present invention, a burst chop AL counter operates in synchronization with both a read clock and a write clock. This eliminates a need of separately arranging an AL counter that counts the burst chop command at the time of reading and an AL counter that counts the burst chop command at the time of writing. As a result, it becomes possible to inhibit an increase in circuit scale of a command control circuit.
The burst chop AL counter is used commonly for write and read. Thus, it becomes possible to eliminate the need of separating the burst chop command into read-use and write-use at the previous stage of the burst chop AL counter. This makes it also possible to sufficiently maintain a latch margin in the command latch circuit.
Number | Date | Country | Kind |
---|---|---|---|
2006-217011 | Aug 2006 | JP | national |