Semiconductor memory device having flash write function

Abstract: Disclosed is a semiconductor memory device having a flash write function, comprising word lines (8a) and bit lines (8b) memory; cells (8c) connected between the word lines and the bit lines; a flash write mode designating unit (2) for designating a flash write mode in accordance with external control signals; an internal address generating unit (13) driven during a flash write mode, for sequentially generating internal address signals; a word-line selecting means (5) or sequentially selecting the word lines (8a) in accordance with the internal address signals from the internal address generating unit (13); a preset data generating unit (9, 10) for generating preset data; and a write unit (6) driven during the flash write mode for writing data from the preset data generating unit (9, 10) into all of the memory cells connected to the word line (8a) selected by the word-line selecting unit (5), whereby the flash write operation can be effected by using the internal address and without using an external address.

Description: The present invention relates to a semiconductor memory device and, more particularly, to a semiconductor memory device having a flash write function. In a RAM memory incorporated in a system, all bit contents are reset to "0" or "1", e.g., upon initialization or the like. In general, bits are sequentially designated and preset data is written in each bit to perform a reset operation. In this method, however, an address must be designated for each bit, and a reset time is undesirably long. In particular, this problem is serious in a RAM memory having a large capacity, and therefore, a flash write system for writing preset data in units of words has been proposed. The following cross references are related to the flash write system: (i) European Patent Application EP-A-0 172 112, which discloses a device in accordance with the preamble of accompanying claim 1; (ii) Japanese Unexamined Patent Publication No. 60-145595, filed on October 20, 1984, and published on August 1, 1985; (iii) Japanese Unexamined Patent Publication No. 63-106989, filed on October 24, 1986, and published on May 12, 1988. In a conventional semiconductor memory device having a flash write function, for example, a given word line is designated in response to an external address signal, and preset data is simultaneously written in a plurality of memory bits connected to the given word line. In such a device, as a memory bit count per word in, e.g., a 1-Mbit (=512 cycles x 2048 bits) dynamic RAM is 2048, a reset time is given as 512 cycles, and as a result, the reset time can be shortened. In such a conventional semiconductor memory device, however, word lines are sequentially selected in response to an external address signal, and therefore, a flash write address generator must be arranged outside the semiconductor memory device, and the external circuit is undesirably complicated. Therefore, it is desirable to provide a semiconductor memory device which can perform a flash write operation without using an external address signal. According to the present invention, there is provided a semiconductor memory device as claimed in accompanying claim 1. Preferably, the semiconductor memory further comprises: an address input buffer unit for receiving external address signals; and an address switching unit for switching the output between the external address signals from the address input buffer unit and the internal address signals from the internal address generating unit. The control unit preferably has a discriminating unit for discriminating whether the access mode is an external address access mode or an internal address access mode . based on the external control signals; whereby, when the control unit discriminates that the access mode is the internal address access mode, the address switching unit selects the internal address signals from the internal address generating unit as the address signals for accessing the memory cells, and when the control unit discriminates that the access mode is the external access mode, the address switching unit selects the external address signals from the address input buffer unit as the address signals for accessing the memory cells. Preferably, the control unit has an input for receiving a column address strobe signal for enabling to receive a column address and has an input for receiving a row address strobe signal for enabling to receive a row address. The flash write mode signal or the refresh mode signal is generated in the internal access mode in which the column address strobe signal and the row address strobe signal have a predetermined relationship. The external access mode is that in which the column address strobe signal and the row address strobe signal have a different predetermined relationship. In addition, preferably, the control unit comprises a first flip flop for outputting the refresh mode signal when the column address strobe signal and the row address strobe signal have the predetermined relationship and when the flash write control signal is at a first level, and comprises a second flip flop for outputting the flash write mode signal when the column address strobe signal and the row address strobe signal have the predetermined relationship and when the flash control signal is at a second level different from the first level. The address switching unit may comprise: an OR gate circuit having a first input for receiving the refresh mode signal and a second input for receiving the flash write mode signal; and a switching gate circuit for outputting the internal address signal or the external address signal in response to the output signal of the OR gate circuit; and may further comprise a gate circuit for receiving an external flash write control signal and the output signal from the OR gate circuit, the output of the gate circuit being connected to the input of the switching gate circuit, whereby when the external flash write control signal is at a predetermined level, the switching gate circuit selects the external address signals to be output regardless of the levels of the refresh mode signal or the flash write mode signal. Alternatively, the address switching unit may comprise: an OR gate circuit for receiving the refresh mode signal or the flash write mode signal; a first NAND gate for receiving the output of the OR gate and the internal address signal; a second NAND gate circuit for receiving an inverted signal of the output signal from the OR gate circuit and the external address signal; and a third NAND gate circuit for outputting one of the output signals from the first NAND gate circuit or the second NAND gate circuit. In another embodiment, the address switching unit comprises: an OR gate circuit for receiving the refresh mode signal or the flash write mode signal; a gate circuit having a first input connected to the output of the OR gate circuit and a second input for receiving an external flash write control signal; a first NAND gate for receiving the output of the gate circuit and the internal word address signals; a second NAND gate circuit for receiving an inverted signal of the output signal from the gate circuit and the external address signal; and a third NAND gate circuit for outputting one of the output signals from the first NAND gate circuit or the second NAND gate circuit. The write unit may comprise a column decoder for selecting all of the bit lines when the flash write mode signal is applied to the column decoder, whereby the preset data is written into the memory cells connected between the selected word line and all of the bit lines; and may further comprise an input/output gate circuit for passing the preset data to the memory cells, and a data switching unit for selecting the preset data from the preset data generating unit when the flash write mode signal is applied to the data switching unit, and for selecting usual write data when the flash write mode signal is not applied to the data switching unit. In another embodiment, the write unit comprises: flash write transistors each connected between each of the bit lines and ground, and a switching unit for selecting the preset data from the preset data generating unit to be written into the flash write transistors when the flash write mode signal is applied to the switching unit, and for selecting usual data to be written into the memory cells when the flash write signal is not applied to the switching unit. Alternatively, the write unit may comprise: a bit line control circuit connected to the bit lines, including; first transistors which are turned ON in response to a first clock signal for connecting the bit lines to a 1/2 V cc power source; second transistors which are turned ON in response to a second clock signal for connecting the bit lines to a V cc power source; and third transistors which are turned on in response to a third clock signal for connecting the bit lines to a V ss power source; whereby, in a reset mode, the bit lines are reset to the 1/2 V cc level in response to the first clock signal, and in a flash write mode after the reset mode, the bit lines are reset at the V cc or V ss level in response to the second or third clock signal. In embodiments of the invention, when control signals are externally input, a word address signal is generated inside the device and preset data is written in a plurality of memory cells connected to a word line selected in response to the word address signal. Therefore, a flash write address generator is not required for an external circuit, and thus the external circuit is simplified. Reference is made, by way of example, to the accompanying drawings wherein: Figure 1 to 7 are views showing a semiconductor memory device according to a first embodiment of the present invention, in which: Fig. 1 is a block diagram for explaining a principle of the first embodiment, Fig. 2 is a block diagram showing the entire arrangement of the semiconductor memory device; Fig. 3 is a timing chart related to a refresh mode signal S RF ; Fig. 4 is a timing chart related to a flash write mode signal S FW ; Fig. 5 is a circuit diagram showing an arrangement of a main part of a controller; Fig. 6 is a circuit diagram showing an arrangement of an address switching circuit; and Fig. 7 is a circuit diagram showing another arrangement of the address switching circuit; Figs. 8 and 9 are circuit diagrams showing a semiconductor memory device according to a second embodiment of the present invention, in which; Fig. 8 is a circuit diagram showing an arrangement of a main part; and Fig. 9 is a circuit diagram showing an arrangement of a sense amplifier; and Fig. 10 is a circuit diagram showing an arrangement of a main part of a semiconductor memory device according to a third embodiment of the present invention. The present invention will be described hereinafter with reference to the accompanying drawings. Figure. 1 to 7 are views showing a semiconductor memory device according to an embodiment of the present invention. In Figs. 1 to 7, the present invention is applied, as an example, to a dynamic random access memory (RAM). Arrangement for Explaining Principle of First Embodiment Figure. 1 is a block diagram of an arrangement for explaining a principle of the first embodiment. In the figure, 2 denotes a control circuit for receiving a row address strobe signal RAS , a column address strobe signal CAS , and a flash write control signal FLW for effecting a flash write mode control; 3 is a row address input buffer for amplifying an external address signal A0-A9; 13 is an address generating circuit for generating an internal address; 4 is an address switching circuit for switching between the external address and the internal address in response to a control signal from the control circuit 2; and 5 is a row decoder. Note that the internal address generated by this address generating circuit 13 is used, according to this embodiment, for the refresh operation and for the flash write operation. In contrast, in a conventional RAM, the internal address is used only for the refresh operation, and the address for the flash write operation is supplied from an external unit. With the arrangement shown in Fig. 1, in the flash write mode, the internal address switched by the switching circuit 4 is supplied to the row decoder 5, and therefore, a row address of a memory cell designated in accordance with the internal address is subjected to a flash write operation. Accordingly, an external flash write address is not required, and thus the external circuit can be simplified. The address generating circuit 13 has a counter which increments or decrements a count value to prepare for the next flash write operation. This operation is performed by the control circuit 2. The arrangement of the circuit shown in Fig. 1 is described in more detail in the following. Referring to Fig. 2, 1 denotes a dynamic RAM which includes a control circuit 2, an address input buffer 3, an address switching circuit 4, a row decoder 5, a columm decoder 6, a sense amplifier & I/O gate 7, a memory cell array 8, a data input buffer 9, a flash write register 10, a data switching circuit 11, a data output buffer 12, and an address generating circuit 13. Symbols RAS , CAS , WE , and FLW denote external control signals, wherein RAS is a row address strobe signal, CAS is a column address strobe signal, WE is a write enable signal, and FLW is a flash write control signal. Note that an external address flash write control signal EF/W is also one of the external control signals, in another embodiment to be described later. The control circuit 2 receives the external control signals and generates various types of required internal control signals; for example, the control circuit 2 outputs control clock signals S A and S B , a data input clock signal S I , a data output clock signal S O , a refresh mode signal S RF , and a flash write mode signal S FW . Figure 3 is a time chart explaining when the refresh mode signal S RF is generated, and Figure 4 is a time chart explaining when the flash write mode signal S FW is generated. As shown in Fig. 3, the refresh mode signal S RF is generated when the signal CAS and RAS are in a CBR relationship in which the signal CAS becomes low (L) level before the signal RAS is made L level, and when the flash write signal FLW is at the L level. In contrast, when the signal RAS becomes L level before the signal CAS is made L level, a usual reading mode is recognized. On the other hand, as shown in Fig. 4, the flash write mode signal S FW is generated when the signals CAS and RAS are in the CBR relationship and when the flash write signal FLW is at the high (H) level. Accordingly, in the CBR relationship, when the signal FLW is L level, the refresh mode signal S RF is generated, and when the signal FLW is H level, the flash write signal S FW is generated. When the signals CAS and RAS are not in the CBR relationship, a usual reading mode of the RAM is recognized. Figure 5 is a circuit diagram showing a preferred arrangement for generating the refresh mode signal S RF and the flash write mode signal S FW . The circuit shown in Fig. 5 is a main part of the control circuit 2, which includes inverters INV₁ to INV₃ , 3-input NAND gates NAND₁ and NAND₂ , and flip-flops FF₁ and FF₂ The flip-flop FF₁ is set when all of the signals RAS , CAS , and FLW are "L", and is reset when the signal FLW is "H". The flip-flop FF₁ outputs the refresh mode signal S RF during a set period. The flip-flop FF₂ is set when the signals RAS and CAS are "L" and the signal FLW is "H", and is reset when the signal FLW is "L". The flip-flop FF₂ outputs the flash write mode signal S FW during a set period. Referring again to Fig. 2, the address input buffer 3 buffers external addresses (A O to A n ) input by multiplexing the row and column addresses, and the external row address is output to the address switching circuit 4 and the column address is output to the columm decoder 6. The address switching circuit 4 normally selects the external row address supplied from the address input buffer 3 and transmits the selected external row address to the row decoder 5. When the signal S RF or S FW is input, however, the address switching circuit 4 selects an internal address (to be described later in more detail) from the address generating circuit 13, and transmits the selected internal address to the row decoder 5. The row decoder 5 decodes the transmitted external or internal address, and selects and activates one of a large number of word lines 8a in the memory cell array 8 in accordance with the decoded result. The column decoder 6 decodes the transmitted external address, and selects one of a large number of bit lines 8b in the memory cell array 8 in accordance with the decoded result. When the flash write mode signal S FW is input, all of the bit lines 8b are selected, and the sense amplifier & I/O gate 7 amplifies the potentials of the selected bit lines 8b to read data from memory cells 8c connected to the selected bit lines 8b, or to write data in these memory cells 8c. The data input buffer 9 buffers external data D IN , and supplies the data to the flash write register 10 and the data switching circuit 11. The flash write register 10 holds the supplied data, and supplies the held data to the data switching circuit 11 as preset data. The data switching circuit 11 normally selects data from the data input buffer 9. When the flash write mode signal S FW is input, however, the data switching circuit 11 selects the preset data from the flash write register 10, and supplies the selected data to the sense amplifier & I/O gate 7. The data output buffer 12 buffers the data read out by the sense amplifier & I/O gate 7 to output the buffered data as output data D OUT . The address generating circuit 13 includes an internal address counter. When the refresh mode signal S RF or the flash write mode signal S FW is input, the address generating circuit 13 sequentially increments (or decrements) refresh or flash write internal addresses for designating word lines 8a in the memory cell array 8. An initial value of the internal address may be a predetermined value or may be a value preset by the external address from the address input buffer 3. The control circuit 2 serves as a designating means for outputting the flash write mode signal S FW in response to the various control signals (e.g., the signals CAS , RAS , or FLW) to designate a flash write mode. The address generating circuit 13 serves as an address generating means which is driven in the flash write mode in which the flash write mode signal S FW is generated, and which sequentially generates word address signals (internal addresses). The row decoder 5 serves as a selecting means for sequentially selecting word lines 8a in accordance with the word address signals (internal addresses). The flash write register 10 serves as a data generating means for holding the external data D IN ("0" or "1") and outputting the "0" or "1" preset data while the data is held. The column decoder 6 and the sense amplifier & I/O gate 7 serve as writing means, driven in the flash write mode, for writing the preset data in all of the memory cells 8c connected to intersect the word lines 8a selected by the row decoder 5 as the selecting means. Figure 6 is a circuit diagram showing an arrangement of the address switching circuit 4. The address switching circuit 4 includes an OR gate 4a for outputting a switching signal SWCH when the refresh mode signal S RF or the flash write mode signal S FW is input a NAND gate 4b for passing an internal address from the address generating circuit 13 when the signal SWCH is output, an inverter gate 4c for inverting the signal SWCH, a NAND gate 4d for passing an external address from the address input buffer 3 when neither the signal S FR nor the signal S RW is input, and a NAND gate 4e for supplying the passed internal or external address to the row decoder 5. The address switching circuit 4 selects the internal address in place of the external address when the signal S RF or S FW is input, i.e., in a refresh mode or a flash write mode. Note that the above arrangement corresponds to 1 bit among a plurality of bits corresponding to the addresses A₀ to A n . An operation of the circuit shown in Fig. 2 will be described hereinafter. When the signals RAS , CAS , and FLW have a relationship shown in Fig. 3, the refresh mode signal S RF is output from the control circuit 2, and the refresh mode operation is executed. In this mode, the address generating circuit 13 receives the refresh mode signal S RF to generate the internal address. The address switching circuit 4 selects the internal address in place of the external address. Therefore, a refresh operation is performed for each word line represented by the internal address and an external designation of a refresh address is not required. On the other hand, when the signals RAS , CAS , and FLW have a relationship shown in Fig. 4, the flash write mode signal S FW is output from the control circuit 2, and the flash write mode is set. The address generating circuit 13 receives the flash write mode signal S FW to generate the internal address, and the address switching circuit 4 selects the internal address in place of the external address. When the signal S FW is input to the column decoder 6 and the data switching circuit 11, the column decoder 6 selects all of the bit lines 8b, and the data switching circuit 11 selects preset data from the flash write register 10, and therefore, the preset data ("0" or "1") is written in a plurality of memory cells 8c connected to one word line 8a designated in accordance with the internal address. This write operation is repeated for each word line upon an update operation of the internal address, and as a result, a reset operation is performed for each word line and the reset time can be shortened. Therefore, in this embodiment, the dynamic RAM 1 includes the address generating circuit 13, and the address generating circuit 13 is driven not only in the refresh mode but also in the flash write mode, and accordingly, a flash write mode address generator need not be arranged outside the dynamic RAM 1, thus simplifying the external circuit. Although the internal address is forcibly used in the refresh or flash write mode in the above embodiment, the address to be used is not limited thereto, and the external address can be used as necessary. More specifically, as shown in another arrangement in Fig. 7, a NAND gate 4f and an inverter gate 4g are additionally arranged in the address switching circuit 4. The NAND gate 4f has an input terminal for receiving an external flash write control signal E F/W and another input terminal for receiving the output signal of the OR gate 4a. The output of the NAND gate 4f is inverted by the inverter 4g, and the output of the inverter 4g is connected to an input of the NAND gate 4b and to the input of the inverter 4c. During a period when the refresh mode signal S RF or the flash write mode signal S FW is H level, when the signal EF/W is made H level, the signal S RF or S FW passes through the NAND gate 4f so that the internal address is selected by the NAND gate 4b. When the signal EF/W is made L level, the signal S RF or S FW does not pass through the NAND gate 4f, and thus the external address is selected by the NAND gate 4d. Accordingly, the normally H level signal EF/W is supplied to an input terminal of the NAND gate 4f, and the signal EF/W is made L level as needed so that the external address can be used in the refresh or flash write mode. For example, when a specific area in the memory cell array 8 is to be refreshed or flash-written, the external address can be properly designated, thus improving the operability. In place of the write means in the embodiment described above, the write means may be arranged as follows. More specifically, as shown in an arrangement of a main part of a second embodiment in Fig. 8, flash write transistors 20 serving as a write means are provided. Each of the transistors 20 is connected between each one of bit lines 8b in a memory cell array 8 and ground, and the gates of the flash write transistors 20 are commonly connected to a data switching circuit 21. The data switching circuit 21 includes two pairs of switching elements 21a and 21b for performing opposite operations in response to the flash write mode signal S FW . Note that, in Figs 2 and 8, the same reference numerals denote the same parts. Reference symbol T p denotes a P-channel transistor operating in response to a sense amplifier drive signal  SAP ; and T N denotes an N-channel transistor operating in response to a sense amplifier drive signal  SAN . These transistors T p and T n supply a power source voltage V cc and a ground voltage to a sense amplifier SA. Figure 9 shows an arrangement of the sense amplifier including a 1/2 V cc circuit as an example. The 1/2 V cc circuit includes transistors T₁ to T₃ which are operated in response to a precharge signal  pc for presetting the potentials of bit lines BL₁ and BL₁ at 1/2 V cc . The sense amplifier SA includes P-channel transistors T₄ and T₅ and N-channel transistors T₆ and T₇ , and amplifies a voltage difference between the bit lines BL₁ and BL₁ . With the arrangement shown in Figs. 8 and 9, in the flash write mode in which the signal S FW is input, the switching element 21a is turned ON at the same time as the switching element 21b is turned OFF, and each transistor 20 is operated in accordance with preset data from the flash write register 10. As a result, data in each memory cell 8c is updated in accordance with the preset data. According to this embodiment, a large modification of the sense amplifier & I/O gate 7, the column decoder 6, and the like, is not required. Figure 10 shows an arrangement of the main part of a third embodiment. Note that, in Figs. 8 and 10, the same reference numerals denote the same parts. A bit line control circuit BC includes transistors T₈ and T₉ which are turned ON in response to a clock signal ₁ , for connecting bit lines BL₁ and BL₁ to a 1/2 V cc power source, transistors T₁₀ and T₁₁ which are turned ON in response to clock signals ₂ and ₂ for connecting the bit lines BL₁ and BL₁ to a V cc power source, and transistors T₁₂ and T₁₃ which are turned ON in response to clock signals ₃ and ₃ for connecting the bit lines BL₁ and BL₁ to a V ss power source. The bit line controller BC resets the bit lines BL₁ and BL₁ at 1/2 V cc level in response to the signal ₁ in a reset mode, and at this time, a sense amplifier SA′ and the columm decoder 6 are disabled. The sense amplifier SA′ does not include a 1/2 V cc circuit shown in Fig. 8. In a normal read mode, all of the signals ₁ to ₃ are disabled, a voltage difference between the bit lines BL₁ and BL₁ is amplified by the sense amplifier SA′, and the columm decoder 6 is enabled so that the data is transferred to a data bus in a read mode. In a flash write mode, after the above-mentioned reset operation, the bit lines BL₁ and BL₁ are reset at the V cc or V ss level in response to the signal 2 or 3 and at this time, the column decoder 6 is still disabled. The sense amplifier SA′ may remain disabled, or may be enabled to immediately reset the bit lines BL₁ and BL₁ . Note that, although a dynamic RAM is exemplified in the above embodiments, the present invention is not limited thereto, and can be applied to any semiconductor memory device requiring reset operation. By using the present invention, a word address signal required for a flash write mode can be generated inside the device. Therefore, an external address signal is not required, and thus a flash write external address circuit is not required, whereby an external circuit is simplified.

Claims: A semiconductor memory device comprising:- a plurality of word lines (8a) and bit lines (8b); a plurality of memory cells (8c) connected between said word lines and said bit lines; control means (2) for designating a flash write mode in accordance with external control signals (FLW, CAS, RAS); word-line selecting means (4, 5), for sequentially selecting the word lines in accordance with address signals; preset data generating means (10), for generating preset data; and write means (6, 7, 11, 20, 21), operatively connected to said preset data generating means and driven during the flash write mode, for writing data from said preset data generating means into all memory cells connected to the word line selected by said word-line selecting means; characterised in that:- internal address generating means (13) is provided, operatively connected to said control means (2) and driven during a flash write mode, for sequentially generating internal address signals; said word-line selection means is operatively connected to said internal address generating means for receiving said internal address signals; said control means (2) having input terminals for receiving said external control signals and having a first output terminal for providing a flash write mode signal (S FW ) when said control signals are in a predetermined state, said address generating means (13) having an input terminal for receiving said flash write mode signal and an output terminal for providing said address signals when said flash write mode signal is applied to said input terminal of said address generating means; and in that said control means (2) has a second output terminal for providing a refresh mode signal (S RF ) when said control signals are in another predetermined state, said internal address generating means (13) having another input terminal for receiving said refresh mode signal, said output terminal of said internal address generating means (13) providing said word address signal when said refresh mode signal is applied to said another input terminal of said address generating means. A semiconductor memory device as claimed in claim 1, further comprising: address input buffer means (3) for receiving external address signals; and address switching means (4) for switching an output between said external address signals from said address input buffer means and said internal address signals from said internal address generating means; wherein said control means (2) has a discriminating means for discriminating whether an access mode is an external address access mode or an internal address access mode based on said external control signals; whereby, when said control means discriminates that the access mode is said internal address access mode, said address switching means (4) selects said internal address signals from said internal address generating means as the address signals to access said memory cells, and when said control means discriminates that the access mode is said external access mode, said address switching means (4) selects said external address signals from said address input buffer means as the address signals to access said memory cells. A semiconductor memory device as claimed in claim 2, wherein said control means (2) has an input for receiving a column address strobe signal for enabling it to receive a column address and has an input for receiving a row address strobe signal for enabling it to receive a row address, said flash write mode signal or said refresh mode signal being generated in said internal access mode in which said column address strobe signal and said row address strobe signal have a predetermined relationship, and is not generated in said external access mode which exists when said column address strobe signal and said row address strobe signal have another predetermined relationship. A semiconductor memory device as claimed in claim 3, wherein said control means comprises a first flip flop (FF₁) for outputting said refresh mode signal (S RF ) when said column address strobe signal and said row address strobe signal have said predetermined relationship and when said flash write control signal (FLW) is at a first level, and comprises a second flip flop (FF₂) for outputting said flash write mode signal (S RF ) when said column address strobe signal and said row address strobe signal have said predetermined relationship and when said flash control signal (FLW) is at a second level different from said first level. A semiconductor memory device as claimed in claim 2, wherein said address switching means (4) comprises: an OR gate circuit (4a) having a first input for receiving said refresh mode signal and a second input for receiving said flash write mode signal; and a switching gate circuit (4b, 4c, 4d, 4e) for outputting said internal address signal or said external address signal in response to an output signal of said OR gate circuit. A semiconductor memory device as claimed in claim 5, wherein said address switching means (4) further comprises a gate circuit (4f, 4g) for receiving an external flash write control signal (E F/L) and the output signal from said OR gate circuit (4a), an output of said gate circuit being connected to an input of said switching gate circuit, whereby when said external flash write control signal is at a predetermined level, said switching gate circuit selects said external address signals to be output regardless of the levels of said refresh mode signal or said flash write mode signal. A semiconductor memory device as claimed in claim 2, wherein said address switching means (4) comprises: an OR gate circuit (4a) for receiving said refresh mode signal or said flash write mode signal; a first NAND gate circuit (4b) for receiving the output signal from said OR gate circuit and said internal address signal: a second NAND gate circuit (4d) for receiving an inverted signal of said output signal from said OR gate circuit and said external address signal; and a third NAND gate circuit (4e) for outputting one of the output signals from said first NAND gate circuit or said second NAND gate circuit. A semiconductor memory device as claimed in claim 2, wherein said address switching means (4) comprises: an OR gate circuit (4a) for receiving said refresh mode signal or said flash write mode signal; a gate circuit (4f, 4g) having a first input connected to the output of said OR gate circuit and a second input for receiving an external flash write control signal; a first NAND gate (4b) for receiving the output of said gate circuit and said internal address signals; a second NAND gate circuit (4d) for receiving an inverted signal of said output signal from said gate circuit and said external address signal; and a third NAND gate circuit (4e) for outputting one of the output signals from said first NAND gate circuit or said second NAND gate circuit. A semiconductor memory device as claimed in claim 1, wherein said write means comprises a column decoder (6) for selecting all of said bit lines when said flash write mode signal (S FW ) is applied to said column decoder, whereby said preset data is written into the memory cells connected between the selected word line and all of said bit lines. A semiconductor memory device as claimed in claim 9, wherein said write means further comprises an input/output gate circuit (7) for passing said preset data to said memory cells. A semiconductor memory device as claimed in claim 9, wherein said write means further comprises data switching means (11) for selecting said preset data from said preset data generating means (10) when said flash write mode signal is applied to said data switching means and for selecting usual write data when said flash write mode signal is not applied to said data switching means. A semiconductor memory device as claimed in claim 1, wherein said write means comprises; flash write transistors (20) each connected between a respective one of said bit lines and ground, switching means (21) for selecting said preset data from said preset data generating means to be written into said flash write transistors when said flash write mode signal (S FW ) is applied to said switching means and for selecting usual data to be written into said memory cells when said flash write signal is not applied to said switching means. A semiconductor memory device as claimed in claim 1, wherein said write means comprises: a bit line control circuit (BC) connected to said bit lines, including; first transistors (T₈ , T₉) which are turned ON in response to a first clock signal (₁) for connecting the bit lines to a first (1/2 V cc ) power source line; second transistors (T₁₀ , T₁₁) which are turned ON in response to a second clock signal (₂) for connecting the bit lines to a second (V ss ) power source line; third transistors (T₁₂ , T₁₃) which are turned ON in response to a third clock signal for connecting the bit lines to a third (V cc ) power source line; whereby, in a reset mode, the bit lines are reset to the level of said first power source line which is the 1/2 level of the level of said third power source line in response to said first clock signal (₁); and in a flash write mode, after said reset mode, said bit lines are reset at the level (V cc ) of said third power supply line or the level (V ss ) of said second power supply line in response to said second or said third clock signal.

Inventors: GOTO SHIGEKI, KATO YOSHIHARU, GOTO, SHIGEKI, KATO, YOSHIHARU
Applicants: FUJITSU LTD, FUJITSU VLSI LTD, FUJITSU LIMITED, FUJITSU VLSI LIMITED
Application year: 1989
Main classification: G11C7
IPC codes: G11C7, G11C11, G11C8