Semiconductor memory having a plurality of banks

Abstract: A semiconductor memory has a plurality of banks (40-1, 40-2, ..., 40-2x, 1 to 4), a first specify unit (41,18), and a second specify unit (42, 48). The first specify unit (41, 18) is used to specify one of the banks by decoding a bank address signal (BA0, BA1; An+1, An+2) contained in a row address signal (A0 to An+2). The second specify unit (42, 48) is used to specify one of the banks by decoding the bank address signal (BA0, BA1; An+1, An+2) contained in the row address signal (A0 to An+2), according to bank status signals (S1 to S4) that indicates whether or not each of the banks (40-1, 40-2, ..., 40-2x, 1 to 4) is activated. Therefore, the semiconductor memory is used for different bank configurations. Namely, with this arrangement, the semiconductor memory is capable of serving as a memory having a smaller number of banks, to thereby improve convenience.

Description: The present invention relates to a semiconductor memory, and more particularly, to a semiconductor memory having a plurality of memory cell areas called banks. Recently, a synchronous dynamic random access memory (SDRAM) has been provided and used for a computer system, and the like. Further, a SDRAM having a plurality of banks (for example, two banks, four banks, or eight banks) has been studied and also provided. Note that the banks maintain an active state (in which a read/write operation can be carried out) even under an unselected state. Fig.1 shows such a prior art memory. The preamble of claim 1 reflects this prior art. For example, in a SDRAM having two banks, when one bank carries out an active operation, the other bank simultaneously carries out a precharge operation, so that the total operation speed becomes high. Further, for example, a SDRAM having a plurality of banks is used for a cache memory of a computer system, so as to accelerate the cache operation thereof. Note that, among computer systems, some are designed to use four-bank SDRAMs and some are designed to use two-bank SDRAMs. In these four-bank and two-bank SDRAMs used as the cache memory of the computer system, the configuration of the SDRAM, i.e., the number of the banks, is determined in accordance with the requirement of the computer system, or the configuration of the computer system using the SDRAM. Nevertheless, in the prior art SDRAM having a plurality of banks, for example, the four-bank SDRAM of the prior art is incompatible with the two-bank SDRAM, so that it is not applicable to the computer systems that operate with two-bank SDRAMs. This problem of prior art SDRAMs will be explained in detail with reference to the accompanying drawing. The present invention, as defined in claim 1, solves the aforementioned problem. Particular embodiments are set out in the present claims. An embodiment of the present invention may provide a semiconductor memory having a plurality of banks and able to serve as a memory having a smaller number of banks. The semiconductor memory may be a dynamic random access memory, or a synchronous dynamic random access memory. In this synchronous dynamic random access memory, a bank activation instruction and a read instruction may be provided with a clock enable signal, a chip select signal, a row address strobe signal, a column address strobe signal, and a write enable signal. The semiconductor memory may further comprise a plurality of drivers for driving corresponding word decoders and sense amplifiers, and the bank status signals may be output from the drivers. The banks may be operable if required even under an unselected state after a read operation or a write operation. The first address signal may be a row address signal, and the second address signal may be a column address signal. The number of the banks may be determined as 2 x , where x being an integer equal to or greater than two; the bank configurations may include a first bank configuration and a second bank configuration, the first bank configuration being 2 x and the second bank configuration being 2 y , where y being an integer equal to or greater than one and obtained by dividing the x by a multiple of two. The first specify unit may decode an x-bit bank address signal contained in the first address signal, to specify one of the 2 x banks functioning as they are or as 2 y banks; and the second specify unit may decode, according to information signals indicating whether or not each of the 2 x banks is active, an x-bit bank address signal contained in the second address signal if the 2 x banks function as they are or a y-bit bank address signal contained in the second address signal if the 2 x banks function as 2 y banks, to specify the bank that has been specified according to the first address signal, so that data are written into or read out of the specified bank. The present invention will be more clearly understood from the description of the preferred embodiments as set forth below with reference to the accompanying drawings, wherein: Figs.1A and 1B are block diagrams showing parts of a semiconductor memory according to the prior art; Fig.2 is a timechart showing a read operation of the semiconductor memory shown in Figs.1A and 1B; Fig.3 is a timechart for explaining the problems caused in the semiconductor memory shown in Figs.1A and 1B; Fig.4 is a block diagram showing a principle of a semiconductor memory according to the present invention; Figs. 5A and 5B are block diagrams showing parts of an embodiment of a semiconductor memory according to the present invention; Fig.6 is a circuit diagram showing a bank decoder of a semconductor memory shown in Figs.5A and 5B; Fig.7 is a timechart showing a read operation of the semiconductor memory shown in Figs.5A and 5B, when the semiconductor memory is used as a four-bank memory; and Fig.8 is a timechart showing a read operation of the semiconductor memory shown in Figs. 5A and 5B, when the semiconductor memory is used as a two-bank memory. For a better understanding of the preferred embodiments, the problems of the prior art will be explained, with reference to Figs. 1A to 3. Figures 1A and 1B show parts of a semiconductor memory (SDRAM: synchronous dynamic random access memory) according to the prior art. Note that this semiconductor memory is a four-bank SDRAM employing four banks to operate in synchronism with external clock signals. In Figs. 1A and 1B, reference numerals 1 to 4 denote memory cell areas, i.e., banks that maintain an active state if required even under an unselected state after a write or read operation, and 5 to 8 denote word decoders provided for corresponding banks, respectively, to decode an address signal to specify a word line in the banks. In Figs. 1A and 1B, reference numerals 9 to 12 denotes sense amplifiers, 13 to 16 denotes column decoders, 17 denotes a bank address buffer, 18 denotes a bank decoder, and 19 to 22 denotes drivers. Further, reference numeral 23 denotes an address buffer, 24 denotes a selector, and 25 denotes a selector. The column decoders 13 to 16 are used to decode a column address signal for specifying a column in the banks 1 to 4, and the sense amplifiers 9 to 12 are used to amplify data read out from the banks 1 to 4. The bank address buffer 17 is used to receive a bank address signal of bits BA0 and BA1 for selecting one of the banks 1 to 4, and the bank decoder 18 is used to decode the bank address signal. One of the drivers 19 to 22 is activated to drive the word decoder and sense amplifier of a selected bank, according to the decoded signal provided by the bank decoder 18. The address buffer 23 is used to receive an address signal of bits A0 to An, and the selector 24 is used to supply a word line selecting address signal (which is provided by the address buffer 23) to the word decoder of the bank specified by the decoded signal from the bank decoder 18. The selector 25 is used to supply a column address signal provided by the address buffer 23 to the column decoder of the bank specified by the decoded signal from the bank decoder 18. Further, in Figs. 1A and 1B, reference numerals 26 to 29 denotes amplifiers, 30 to 33 denotes write circuits, 34 denotes a selector. In addition, reference numeral 35 denotes an output buffer, 36 denotes an input buffer, 37 denotes a selector, 37 denotes a selector, and 38 denotes an operation controller. Further, reference mark CLK denotes a clock signal, /RAS denotes a row address strobe signal, /CAS denotes a column address strobe signal, /WE denotes a write enable signal, /CS denotes a chip select signal, and CKE denotes a clock enable signal. Note that, the mark "/" indicates a low enable signal or a low active signal, and thus, for example, the chip select signal /CS is at a low level "L", the chip being supplied with the chip select signal /CS of "L" is selected. The amplifiers 26 to 29 are used to amplify data read through the sense amplifiers 9 to 12, and the write circuits 30 to 33 are used to write data into the banks 1 to 4. The selector 34 is used to select one of the amplifiers 26 to 29 of the bank specified by the decoded signal from the bank decoder 18. The output buffer 35 is used to latch data from the selector 34 and provide the same outside, and the input buffer 36 is used to store write data provided from the outside. The selector 37 is used to supply the write data from the input buffer 36 to one of the write circuits 30 to 33 of the bank specified by the decoded signal from the bank decoder 18. The operation controller 38 is used to control the operation timing of the elements mentioned above according to external control signals, and the clock enable signal CKE is used to enable the clock signal CLK. Figure 2 is a timechart showing a read operation of the semiconductor memory (SDRAM) shown in Figs. 1A and 1B. In Fig. 2, a reference mark A represents the clock signal CLK, B the clock enable signal CKE, C the chip select signal /CS, D the row address strobe signal /RAS, E the column address strobe signal /CAS, and F the write enable signal /WE. Further, a reference mark G represents an address signal of bits A0 to An, H the bit BA0 of a bank address signal, I the bit BA1 of the bank address signal, and J output data DQ. The SDRAM latches the externally supplied signals in response to a rise of the clock signal CLK. In a read operation, the SDRAM firstly receives a bank activation instruction and row address signal. The bank activation instruction is provided with the clock enable signal CKE of a high level "H", chip select signal /CS of a low level "L", row address strobe signal /RAS of the low level "L", column address strobe signal /CAS of the high level "H", and write enable signal /WE of the high level "H". The row address signal involves bits A0 to An+2. The bits An+1 and An+2 are latched as the bits BA0 and BA1 of the bank address signal by the bank address buffer 17, and the bits A0 to An are latched by the address buffer 23. The bank address signal of bits BA0 and BA1 latched by the bank address buffer 17 are changed to complementary signals, and the complementary signals are supplied to the bank decoder 18 and decoded therein. The decoded signals are supplied to the drivers 19 to 22 and selectors 24, 25, 34, and 37. At this time, the selectors 25, 34, and 37 are controlled to ignore the decoded signal. One of the drivers 19 to 22 corresponding to the decoded signal activates the corresponding word decoder and sense amplifier, to make the corresponding bank ready to be read. The bits A0 to An of the row address signal latched by the address buffer 23 are transferred to one of the word decoders 5 to 8 corresponding to the selected bank through the selector 24, so that a word line is selected in the bank. The SDRAM then receives a read instruction. The read instruction is provided with the clock enable signal CKE of "H", chip selector signal /CS of "L", row address strobe signal /RAS of "H", column address strobe signal /CAS of "L", and write enable signal /WE of "H". A bank address signal of bits BA0 and BA1 is latched by the bank address buffer 17, and a column address signal of bits A0 to An is latched by the address buffer 23. The bank address signal of bits BA0 and BA1 latched by the bank address buffer 17 becomes a complementary signal, which is decoded by the bank decoder 18. The decoded signal is supplied to the drivers 19 to 22 and selectors 24, 25, 34, and 37. At this time, the drivers 19 to 22 and selectors 24 and 37 are controlled to ignore the decoded signal. The column address signal of bits A0 to An latched by the address buffer 23 is supplied to the column decoder (13) of the selected bank (for example, bank 1) through the selector 25, so that a column is selected in the bank (1). Then, data are read out of the selected bank (1) and are latched by the output buffer 35 through the corresponding sense amplifier (9) and amplifier (26) and the selector 34. The output buffer 35 provides the data DQ outside. By the way, among computer systems, some are designed to use four-bank SDRAMs and some are designed to use two-bank SDRAMs. Note that these four-bank and two-bank SDRAMs may be used as a cache memory of a computer system, and the configuration of the SDRAM (for example, the number of the banks) is determined in accordance with the requirement of the computer system, or the configuration of the computer system using the SDRAM. Note that the four-bank memory shown in Figs. 1A and 1B is not usable as a two-bank memory, and this is, therefore, inconvenient. Figure 3 is a timechart for explaining the problems caused in the semiconductor memory shown in Figs. 1A and 1B. In Fig. 3, the reference marks of the signals are the same as that shown in Fig. 2. As shown in Fig. 3, in a read operation, the computer system designed to employ two-bank SDRAMs firstly issues a bank activation instruction and row address signal to the SDRAM. The bank activation instruction is provided with the clock enable signal CKE of a high level "H", chip select signal /CS of a low level "L", row address strobe signal /RAS of "L", column address strobe signal /CAS of "H", and write enable signal /WE of "H". The row address signal involves bits A0 to An+2. The bits An+1 and An+2 serve as the bits BA0 and BA1 of a bank address signal, which is latched by the bank address buffer 17. The remaining bits A0 to An are latched by the address buffer 23. The bank address signal of bits BA0 and BA1 latched by the bank address buffer 17 becomes a complementary signal, which is decoded by the bank decoder 18. The decoded signal is supplied to the drivers 19 to 22 and selectors 24, 25, 34, and 37. In this case, the selectors 25, 34, and 37 are controlled to ignore the decoded signal. One of the drivers 19 to 22 specified by the decoded signal drives the corresponding word decoder and sense amplifier, to thereby activate the corresponding bank and make the bank ready to be read. The bits A0 to An of the row address signal latched by the address buffer 23 are transferred to one of the word decoders corresponding to the selected bank through the selector 24, so that a word line is selected in the bank. The SDRAM then receives a read instruction. The read instruction is provided with the clock enable signal CKE of "H", chip select signal /CS of "L", row address strobe signal /RAS of "H", column address strobe signal /CAS of "L", and write enable signal /WE of "H". In this case, the address signal bit An+1 is not supplied. Instead, a bank address signal of bit BA1 and a column address signal of bits A0 to An are supplied. The bank address signal is latched by the bank address buffer 17 and is decoded by the bank decoder 18. For example, the bank 1 is selected with a bank address signal of bits BA0 of "L" and BA1 of "L", and the bank 2 with a bank address signal of bits BA0 of "H" and BA1 of "L", the bank 3 with a bank address signal of bits BA0 of "L" and BA1 of "H", and the bank 4 with a bank address signal of bits BA0 of "H" and BA1 of "H". If the bank 1 is activated with a bank activation instruction involving the bank address signal of bits BA0 of "L" and BA1 of "L" while the bank 2 is active, the bank 1 will be selected for a read operation only when a read instruction is provided with the bank address signal of bits BA0 of "L" and BA1 of "L" in addition to a column address signal of bits A0 to An. Further, if the bit BA1 is "L" and the bit BA0 is indefinite, for example, "H", the bank 2 will be selected instead of the bank 1. Then, erroneous data will be read. The computer system employing the two-bank SDRAMs issues a read instruction with a column address signal of bits A0 to An and a bank selection signal of only bit BA1, so that the selector 34 is unable to correctly select a bank. This is also true in a write operation. Namely, the selector 37 is unable to select a correct bank, and the data will be written into a wrong bank. In this way, the four-bank SDRAM of the prior art shown in Figs. 1A and 1B is incompatible with a two-bank SDRAM, so that it is not applicable to the computer systems that operate with two-bank SDRAMs. Below, an embodiment of a semiconductor memory according to the present invention will be explained with reference to Figs. 4 to 8. Figure 4 shows a principle of a semiconductor memory according to the present invention. This memory has a function of selecting a required memory cell in a required bank according to first and second address signals successively provided thereto. In Fig. 4, reference numeral 39 denotes the semiconductor memory, 40-1, 40-2, 40-2 y , and 40-2 x denote banks that maintain an active state even under an unselected state after a write or read operation, and 41 and 42 denote bank specify units for specifying a bank to be selected. Note that the x is an integer equal to or greater than two, and the y is an integer equal to or greater than one and is provided by dividing the x by a multiple of two. The bank specify unit 41 decodes an x-bit bank address signal contained in the first address signal, to specify one of the 2 x banks functioning as they are or as 2 y banks, so that a word line is selected in the specified bank. The bank specify unit 42 decodes, according to information signals indicating whether or not each of the 2 x banks 40-1 to 40-2 x is active, an x-bit bank address signal contained in the second address signal if the 2 x banks function as they are or a y-bit bank address signal contained in the second address signal if the 2 x banks function as 2 y banks, to specify the bank that has been specified according to the first address signal, so that data are written into or read out of the specified bank. As described above, the present invention employs the bank specify unit 41 for specifying a bank in which a word line is selected and the bank specify unit 42 for specifying the bank that has been specified according to the first address signal, so that data are written into or read out of the specified bank. The bank specify unit 42 decodes, according to information signals indicating whether or not each of the 2 x banks 40-1 to 40-2 x is active, an x-bit bank address signal contained in the second address signal if the 2 x banks function as they are or a y-bit bank address signal contained in the second address signal if the 2 x banks function as 2 y banks, to specify the bank that has been specified according to the first address signal, so that data are written into or read out of the specified bank. In this way, this semiconductor memory also serves as a 2 y -bank memory so that it is applicable not only to the computer systems employing 2 x -bank memories but also to the computer systems employing 2 y -bank memories. Figures 5A and 5B show parts of a four-bank SDRAM according to an embodiment of the present invention. By comparing Figs. 5A and 5B with Figs. 1A and 1B, this embodiment is different from the SDRAM of the prior art shown in Figs. 1A and 1B that this embodiment of Figs. 5A and 5B has drivers 44 to 47 for providing bank status signals S1 to S4 to indicate whether or not each bank is active, instead of the drivers 19 to 22 of the prior art. When a word decoder 5 and sense amplifier 9 are driven to activate a bank 1, the bank status signal S1 becomes high (high level "H"), and when the word decoder 5 and sense amplifier 9 are put off to deactivate the bank 1, the bank status signal S1 becomes low (low level "L"). Similarly, when a word decoder 6 and sense amplifier 10 are driven to activate a bank 2, the bank status signal S2 becomes "H", and when the word decoder 6 and sense amplifier 10 are put off to deactivate the bank 2, the bank status signal S2 becomes "L". Further, when a word decoder 7 and sense amplifier 11 are driven to activate a bank 3, the bank status signal S3 becomes "H", and when the word decoder 7 and sense amplifier 11 are put off to deactivate the bank 3, the bank status signal S3 becomes "L". Similarly, when a word decoder 8 and sense amplifier 12 are driven to activate a bank 4, the bank status signal S4 becomes "H", and when the word decoder 8 and sense amplifier 12 are put off to deactivate the bank 4, the bank status signal S4 becomes "L". Next, as shown in Fig. 5A and 5B, the SDRAM of the embodiment according to the present invention has a bank decoder 48 in addition to the prior art SDRAM shown in Figs. 1A and 1B. The bank decoder 48 of the present embodiment is used to decode a bank address provided by a bank address buffer 17 according to the bank status signals S1 to S4 which are provided by the drivers 44 to 47. Further, the SDRAM of this embodiment shown in Figs. 5A and 5B has selectors 25, 34, and 37 similar to those in the prior art SDRAM shown in Figs. 1A and 1B; however, the selectors 25, 34, and 37 are used to select a bank according to an output of the bank decoder 48. Note that the other arrangements of the SDRAM of this embodiment shown in Figs. 5A and 5B are the same as those of the prior art SDRAM shown in Figs. 1A and 1B. Figure 6 shows a bank decoder of the semiconductor memory shown in Figs. 5A and 5B. In Fig. 6, reference marks BK1 to BK4 denote decoded signals provided by the bank decoder 48. Table 1 shows relationships between the decoded signals BK1 to BK4 and banks to be specified. BK1 BK2 BK3 BK4 Selection Specified Bank H L L L BANK 1 L H L L BANK 2 L L H L BANK 3 L L L H BANK 4 In Fig. 6, a reference numeral 50 denotes a section to produce the decoded signal BK1, 51 to 55 denote P-channel type MOS (pMOS) transistors, 56 to 60 denote N-channel type MOS (nMOS) transistors, and 61 and 62 denote inverters. Further, reference numeral 63 denotes a section to produce the decoded signal BK2, 64 to 68 denote pMOS transistors, 69 to 73 denote nMOS transistors, and 74 and 75 denote inverters. In addition, reference numeral 76 denotes a section to produce the decoded signal BK3, 77 to 81 denote pMOS transistors, 82 to 86 denote nMOS transistors, 87 and 88 denote inverters, 89 denotes a section to produce the decoded signal BK4, 90 to 94 are pMOS transistors, 95 to 99 denote nMOS transistors, and 100 and 101 denote inverters. Figure 7 is a timechart showing a read operation of the semiconductor memory shown in Figs. 5A and 5B, when the semiconductor memory is used as a four-bank memory. In Fig. 7, a reference mark A represents the clock signal CLK, B the clock enable signal CKE, C the chip select signal /CS, D the row address strobe signal /RAS, E the column address strobe signal /CAS, and F the write enable signal /WE. Further, a reference mark G represents an address signal of bits A0 to An, H the bit BA0 of a bank address signal, I the bit BA1 of the bank address signal, and J output data DQ. These externally supplied signals are latched in response to a rise of the clock signal CLK. In a read operation, a bank activation instruction and a row address signal are firstly provided. The bank activation instruction is provided with the clock enable signal CKE of high (high level "H"), chip select signal /CS of low (low level "L"), row address strobe signal /RAS of "L", column address strobe signal /CAS of "H", and write enable signal /WE of "H". The row address signal involves bits A0 to An+2 among which the bits An+1 and An+2 are latched as the bits BA0 and BA1 of a bank address signal by the bank address buffer 17, and the bits A0 to An are latched by the address buffer 23. The bank address signal of bits BA0 and BA1 latched by the bank address buffer 17 becomes a complementary signal, which is transferred to the bank decoders 18 and 48. In this case, the bank decoder 48 is controlled to ignore the bank address signal. The bank address signal of bits BA0 and BA1 is decoded by the bank decoder 18, and the decoded signal is supplied to the drivers 44 to 47 and selector 24. One of the drivers 44 to 47 selected by the decoded signal drives the corresponding word decoder and sense amplifier to activate the corresponding bank, which becomes ready to provide data. The bits A0 to An of the row address signal latched by the address buffer 23 are transferred to the word decoder of the selected bank through the selector 24, so that a word line is selected in the bank. A read instruction is then issued. The read instruction is provided with the clock enable signal CKE of "H", chip select signal /CS of "L", row address strobe signal /RAS of "H", column address strobe signal /CAS of "L", and write enable signal /WE of "H". A bank address signal of bits BA0 and BA1 and a column address signal of bits A0 to An are received. The bank address signal of bits BA0 and BA1 is latched by the bank address buffer 17, and the column address signal of bits A0 to An is latched by the address buffer 23. The bank address signal of bits BAD and BA1 latched by the bank address buffer 17 becomes a complementary signal, which is transferred to the bank decoders 18 and 48. At this time, the bank decoder 18 is controlled to ignore the bank address signal, and the bank decoder 48 decodes the bank address signal. Tables 2 to 5 show functions of the bank decoder 48 when the embodiment serves as a four-bank memory. BA0 BA1 S1 S2 S3 S4 BK1 BK2 BK3 BK4 L L H L L L H L L L L L H H L L H L L L L L H L H L H L L L L L H L L H H L L L L L H H H L H L L L L L H H L H H L L L L L H L H H H L L L L L H H H H H L L L As shown in the above Table 2, if the bits An+1 (the bit BA0 of the bank address signal) and An+2 (the bit BA1 of the bank address signal) of the row address signal issued with the bank activation instruction are "L" and "L", respectively, the bank 1 is activated. Thereafter, if the bits BA0 and BA1 of the bank address signal issued with the read instruction and the column address signal of bits A0 to An are "L" and "L", respectively, not only the bank 1 but also one, two, or all of the banks 2, 3, and 4 will be active as shown in Table 2. Under this situation, the bank decoder 48 provides a decoded signal of bits BK1 of "H", BK2 of "L", BK3 of "L" and BK4 of "L", to correctly specify the bank 1 to be selected. BA0 BA1 S1 S2 S3 S4 BK1 BK2 BK3 BK4 H L L H L L L H L L H L H H L L L H L L H L L H H L L H L L H L L H L H L H L L H L H H H L L H L L H L H H L H L H L L H L L H H H L H L L H L H H H H L H L L As shown in the above Table 3, if the bits An+1 (the bit BAD of the bank address signal) and An+2 (the bit BA1 of the bank address signal) of the row address signal issued with the bank activation instruction are "H" and "L", respectively, the bank 2 is activated. Thereafter, if the bits BA0 and BA1 of the bank address signal issued with the read instruction and the column address signal of bits A0 to An are "H" and "L", respectively, not only the bank 2 but also one, two, or all of the banks 1, 3, and 4 will be active as shown in Table 3. Under this situation, the bank decoder 48 provides a decoded signal of bits BK1 of "L", BK2 of "H", BK3 of "L", and BK4 of "L", to correctly specify the bank 2 to be selected. BA0 BA1 S1 S2 S3 S4 BK1 BK2 BK3 BK4 L H L L H L L L H L L H H L H L L L H L L H L H H L L L H L L H L L H H L L H L L H H H H L L L H L L H H L H H L L H L L H L H H H L L H L L H H H H H L L H L As shown in the above Table 4, if the bits An+1 (the bit BA0 of the bank address signal) and An+2 (the bit BA1 of the bank address signal) of the row address signal issued with the bank activation instruction are "L" and "H", respectively, the bank 3 is activated. Thereafter, if the bits BA0 and BA1 of the bank address signal issued with the read instruction and the column address signal of bits A0 to An are "L" and "H", respectively, not only the bank 3 but also one, two, or all of the banks 1, 2, and 4 will be active as shown in Table 4. Under this situation, the bank decoder 48 provides a decoded signal of bits BK1 of "L", BK2 of "L", BK3 of "H", and BK4 of "L", to correctly specify the bank 3 to be selected. BA0 BA1 S1 S2 S3 S4 BK1 BK2 BK3 BK4 H H L L L H L L L H H H H L L H L L L H H H L H L H L L L H H H L L H H L L L H H H H H L H L L L H H H H L H H L L L H H H L H H H L L L H H H H H H H L L L H As shown in the above Table 5, if the bits An+1 (the bit BA0 of the bank address signal) and An+2 (the bit BA1 of the bank address signal) of the row address signal issued with the bank activation instruction are "H" and "H", respectively, the bank 4 is activated. Thereafter, if the bits BA0 and BA1 of the bank address signal issued with the read instruction and the column address signal of bits A0 to An are "H" and "H", respectively, not only the bank 4 but also one, two, or all of the banks 1, 2, and 3 will be active as shown in Table 5. Under this situation, the bank decoder 48 provides a decoded signal of bits BK1 of "L", BK2 of "L", BK3 of "L", and BK4 of "H", to correctly specify the bank 4 to be selected. The column address signal of bits A0 to An latched by the address buffer 23 is supplied to the column decoder of the selected bank through the selector 25, so that a column is selected in the bank. Data read out of the selected bank are latched by the output buffer 35 through the sense amplifier and amplifier of the selected bank and the selector 34 and are provided outside. In this way, the SDRAM of this embodiment serving as the four-bank memory completes the read operation. Figure 8 is a timechart showing a read operation of the semiconductor memory shown in Figs. 5A and 5B, when the semiconductor memory is used as a two-bank memory with the banks 1 and 2 serving as a bank and the banks 3 and 4 as another bank. In Fig. 8, the reference marks of the signals are the same as that shown in Fig. 7. In the read operation, a computer system employing the two-bank SDRAM issues a bank activation instruction and row address signal. The bank activation instruction is provided with the clock enable signal CKE of "H", chip select signal /CS of "L", row address strobe signal /RAS of "L", column address strobe signal /CAS of "H", and write enable signal /WE of "H". The row address signal involves bits A0 to An+2. The bits An+1 and An+2 serve as bits BA0 and BA1 of a bank address signal, which are latched by the bank address buffer 17. The remaining bits A0 to An are latched by the address buffer 23. The bank address signal of bits BA0 and BA1 latched by the bank address buffer 17 becomes a complementary signal, which is transferred to the bank decoders 18 and 48. In this case, the bank decoder 48 is controlled to ignore the bank address signal. The bank decoder 18 decodes the bank address signal of bits BA0 and BA1 and provides the decoded signal to the drivers 44 to 47 and selector 24. One of the drivers 44 to 47 specified by the decoded signal drives the word decoder and sense amplifier of the corresponding bank, to make the bank ready to be read. The bits A0 to An of the row address signal latched by the address buffer 23 are transferred to the word decoder of the selected bank through the selector 24, so that a word line is selected in the bank. A read instruction is then provided with the clock enable signal CKE of "H", chip select signal /CS of "L", row address strobe signal /RAS of "H", column address strobe signal /CAS of "L", and write enable signal /WE of "H". This time, a bank address signal of bit BA1 and a column address signal of bits A0 to An with no bit An+1 are provided. The bank address signal bit BA1 is latched by the bank address buffer 17. The column address signal of bits A0 to An is latched by the address buffer 23. The bank address signal BA1 latched by the bank address buffer 17 becomes a complementary signal, which is transferred to the bank decoders 18 and 48. In this case, the bank decoder 18 is controlled to ignore the bank address signal. The bank decoder 48 decodes the bank address signal BA1 and supplies a decoded signal of bits BK1 to BK4 to the selectors 25, 34, and 37. The selector 37 is controlled to ignore the decoded signal. Table 6 shows functions of the bank decoder 48 when the embodiment serves as a two-bank memory with the banks 1 and 2 functioning as one bank and the banks 3 and 4 as another bank. In Table 6, a mark X may take any one of "H" and "L". BA0 BA1 S1 S2 S3 S4 BK1 BK2 BK3 BK4 X L H L L L H L L L X L H L H L H L L L X L H L L H H L L L X L L H L L L H L L X L L H H L L H L L X L L H L H L H L L X H L H L L L H L X H H H L L L H L X H L H L L L H L X H L L H L L L H X H H L H L L L H X H L L H L L L H As shown in the above Table 6, if the bit An + 2 (the bit BA1 of the bank address signal) issued with the read instruction is "L", the bank 1 will be selected, where the decoded signal of bit BK1 is "H", and the bank 2 will be selected, where the decoded signal of bit BK2 is "H", in accordance with the levels of the bank status signals S1 and S2 that indicate which bank is in an active state. Concretely, as shown in Fig. 6, when the bank status signals S1 and S2 are "H" and "L", while the bank address signal BA1 is "L" (/BA1 is "H"), the nMOS transistors 57 and 58 are switched ON, and the decoded signal of bit BK1 is "H" and the other decoded signals of bits BK2, BK3 and BK4 are "L". In this case, pMOS transistors 52 and 53 are switched OFF. Further, as shown in Fig. 6, when the bank status signals S1 and S2 are "L" and "H", while the bank address signal BA1 is "L", the nMOS transistors 70 and 71 are switched ON, and the decoded signal of bit BK2 is "H" and the other decoded signals of bits BK1, BK3 and BK4 are "L". In this case, pMOS transistors 65 and 66 are switched OFF. Note that, when the bank address signal BA1 is "L", the bit An + 1 (the bit BA0 of the bank address signal) is "X: don't care", and levels of the bank status signals S3 and S4 have no effect on the selection of banks. Further, as shown in the above Table 6, if the bit An + 2 (BA1) issued with the read instruction is "H", the bank 3 will be selected, where the decoded signal of bit BK3 is "H", and the bank 4 will be selected, where the decoded signal of bit BK is "H", in accordance with the levels of the bank status signals S3 and S4 that indicate which bank is in an active state. Concretely, as shown in Fig. 6, when the bank status signals S3 and S4 are "H" and "L", while the bank address signal BA1 is "H", the nMOS transistors 83 and 84 are switched ON, and the decoded signal of bit BK3 is "H" and the other decoded signals of bits BK1, BK2 and BK4 are "L". In this case, pMOS transistors 78 and 79 are switched OFF. Further, as shown in Fig. 6, when the bank status signals S3 and S4 are "L" and "H", while the bank address signal BA1 is "H", the nMOS transistors 96 and 97 are switched ON, and the decoded signal of bit BK4 is "H" and the other decoded signals of bits BK1, BK2 and BK3 are "L". In this case, pMOS transistors 91 and 92' are switched OFF. Note that, when the bank address signal BK1 is "H", the bit An + 1 (BA0) is "X: don't care", and levels of the bank status signals S1 and S2 have no effect on the selection of banks. The column address signal of bits A0 to An latched by the address buffer 23 is supplied to the column decoder of the selected bank through the selector 25, so that a column is selected in the selected bank. Data read out of the selected bank are latched by the output buffer 35 through the sense amplifier and amplifier of the selected bank and the selector 34 and are provided outside. In this way, the SDRAM of this embodiment serving as the two-bank memory completes the read operation. In a write operation, the selector 37 instead of the selector 34 works, and the SDRAM serves as any one of the four- and two-bank memories similar to the read operation. As explained above, this embodiment employs the bank decoder 18 for decoding a bank address signal of bits BA0 and BA1 contained in a row address signal of bits A0 to An+1, to specify a bank in which a word line is selected. The embodiment also employs the bank decoder 48 for specifying the bank specified according to the bank address signal of bits BA0 and BA1 contained in the row address signal of bits A0 to An+1 so that data are read out of or written into the specified bank, according to bank status signals S1 to S3 that indicate whether or not each of the banks 1 to 4 is active. Accordingly, this embodiment serves not only as a four-bank memory but also as a two-bank memory, to secure improved convenience. Thus, an embodiment of the invention provides a semiconductor memory having a bank specify unit (41) for specifying a bank in which a word line is selected according to a bank address signal contained in a first address signal, and a bank specify unit (42) for specifying the bank selected according to the first address signal according to signals that indicate whether or not each of the banks (40-1, 40-2, ..., 40-2 x ) is active and a bank address signal contained in a second address signal that is provided after the first address signal, so that data are read out of or written into the specified bank. With this arrangement, the semiconductor memory of the present invention is capable of serving as a memory having a smaller number of banks, to thereby improve convenience.

Claims: A semiconductor memory (39) comprising a plurality of banks (40-1, 40-2, ..., 40-2 x , 1 to 4), each of said banks having a plurality of memory cells, and a specific memory cell of a specific bank being selected in accordance with a first address signal (A0 to An+2) and a second address signal (A0 to An+2) provided in succession to said semiconductor memory; a first specify means (41, 18) for specifying one of said plurality of banks by decoding a bank address signal (BA0, BA1; An+1, An+2) contained in said first address signal (A0 to An+2); and means (44, 45, 46, 47) for activating one of said banks in accordance with the bank address signal in said first address signal (A0 to An+2); characterised by : a second specify means (42, 48) for specifying one of said plurality of banks by decoding the bank address signal (BA0, BA1; An+1, An+2) contained in said second address signal (A0 to An+2), according to bank status signals (S1 to S4), generated by said means (44, 45, 46, 47) for activating one of said banks, that indicate whether or not each of said banks (40-1, 40-2, ..., 40-2 x , 1 to 4) is activated, so that said semiconductor memory can be used for different bank configurations. A semiconductor memory as claimed in claim 1, wherein the number of said banks is determined to be 2 x , where x being an integer equal to or greater than two; said bank configurations include a first bank configuration and a second bank configuration, the number of banks in said first bank configuration being 2 x and the number of banks in said second bank configuration being 2 y , where y being an integer equal to or greater than one and obtained by dividing the x by a multiple of two. A semiconductor memory as claimed in claim 2, wherein said first specify means (41) decodes an x-bit bank address signal contained in said first address signal, to specify one of said 2 x banks functioning as they are or as 2 y banks; and said second specify means (42) decodes, according to information signals indicating whether or not each of said 2 x banks is active, an x-bit bank address signal contained in said second address signal if said 2 x banks function as they are or a y-bit bank address signal contained in said second address signal if said 2 x banks function as 2 y banks, to specify the bank that has been specified according to said first address signal, so that data are written into or read out of said specified bank. A semiconductor memory as claimed in any one of the preceding claims, wherein said semiconductor memory is a dynamic random access memory (DRAM). A semiconductor memory as claimed in claim 4, wherein said dynamic random access memory is a synchronous dynamic random access memory (SDRAM). A semiconductor memory as claimed in claim 5, wherein a bank activation instruction and a read instruction are provided with a clock enable signal (CKE), a chip select signal (/CS), a row address strobe signal (/RAS), a column address strobe signal (/CAS), and a write enable signal (/WE). A semiconductor memory as claimed in any one of the preceding claims, wherein said semiconductor memory further comprises a plurality of drivers (44 to 47) for driving corresponding word decoders (5 to 8) and sense amplifiers (9 to 12), and said bank status signals (S1 to S4) are output from said drivers (44 to 47). A semiconductor memory as claimed in any one of the preceding claims, wherein said banks maintain an active state, in which a read/write operation can be carried out, even under an unselected state. A semiconductor memory as claimed in any one of the preceding claims, wherein said first address signal is a row address signal, and said second address signal is a column address signal.

Inventors: KODAMA YUKINORI, MOCHIZUKI HIROHIKO, SHIGENOBU KATSUMI, TAKEMAE YOSHIHIRO, YANAGISAWA MAKOTO, KODAMA, YUKINORI, MOCHIZUKI, HIROHIKO, SHIGENOBU, KATSUMI, TAKEMAE, YOSHIHIRO, YANAGISAWA, MAKOTO, KODAMA, YUKINORI, C/O FUJITSU LIMITED, MOCHIZUKI, HIROHIKO, C/O FUJITSU LIMITED, SHIGENOBU, KATSUMI, C/O FUJITSU LIMITED, TAKEMAE, YOSHIHIRO, C/O FUJITSU LIMITED, YANAGISAWA, MAKOTO, C/O FUJITSU LIMITED
Applicants: FUJITSU LTD, FUJITSU LIMITED
Application year: 1994
Main classification: G11C8
IPC codes: G11C11, G11C8, G06F12