The disclosure of Japanese Patent Application No. 2009-45815 filed on Feb. 27, 2009 and Japanese Patent Application No. 2009-208331 filed on Sep. 9, 2009 each including the specification, drawings and abstract are incorporated herein by reference in its entirety.
The present invention relates to a semiconductor device, in particular, to configuration of a storage unit which stores internal operation environment setup data, such as trimming data and repair data, in a nonvolatile manner. More specifically, the present invention relates to a magnetic semiconductor memory unit in the semiconductor device which utilizes a variable magnetoresistive element as a data storage element.
One of the nonvolatile semiconductor memories which store data in a nonvolatile manner includes a magnetic semiconductor memory (MRAM). The MRAM utilizes a variable magnetoresistive element, such as an MTJ element (magnetic tunneling junction element) or TMR element (tunneling magnetoresistive element), as a data storage element. The variable magnetoresistive element comprises a fixed layer in which a magnetizing direction is fixedly held irrespective of stored data, a free layer in which a magnetization direction is set corresponding to stored data, and an insulator layer (barrier film) disposed between the fixed layer and the free layer. When the magnetization direction of the fixed layer and the magnetization direction of the free layer are the same (parallel), an electric resistance value of a path which penetrates the variable magnetoresistive element becomes small. On the contrary, when the magnetization direction of the free layer and the magnetization direction of the fixed layer are counter direction (anti-parallel), the electric resistance value of the path which penetrates the variable magnetoresistive element becomes large. The magnitude difference of the electric resistance value is associated with data “0” and “1.”
Not only in an MRAM but in a semiconductor device and a semiconductor storage device at large, it is necessary to perform regulation of an internal reference voltage level, adjustment of an operation timing, and replacement and repair of a bad memory cell by a redundant cell, and others. Therefore, trimming data and repair data for redundancy substitution are stored in the interior. When storing such internal operation adjustment/setup data in a fuse element, the occupied area of the fuse element becomes large, and rewriting of data once programmed in the fuse element is difficult to perform.
Therefore, the internal operation environment setup data, such as the trimming data and the repair data, are held in a nonvolatile memory cell in many cases. As a memory which stores such internal operation environment setup data, there are an OTPROM (onetime programmable ROM) to which data can be written only once, and a PROM (programmable read only memory) to which data can be rewritten repeatedly. When the OTPROM is utilized, once an evaluation result obtained by a wafer test is written in, it becomes very difficult to write in new data obtained by a subsequent chip-level final test. When the PROM is utilized, since a current-induced magnetic field is used for data writing to a normal memory cell in the MRAM, the induced magnetic field may cause data corruption when holding data over the long term. Another possibility is that an OTPROM and a PROM are mounted over the same chip and that the PROM is utilized as a dedicated rewritable memory. However, the present case requires two memory regions with increased area, accordingly an area penalty increases.
Patent Document 1 (Japanese Patent Laid-open No. Hei 11 (1999)-45233) discloses configuration in which a PROM and an OTPROM are switched over in a microcomputer. In the configuration disclosed by Patent Document 1, a flash memory cell array is provided and a flash/OTP control register area is arranged in a specific area of the flash memory cell array. According to a bit value stored in the flash/OTP control register area, the flash memory cell array is utilized as the flash memory or as the OTPROM.
Patent Document 1 avoids the necessity of taking a different process and a different chip layout for the OTPROM and the PROM, by operating the common flash memory cell array as the PROM or as the OTPROM.
(Patent Document 1) Japanese Patent Laid-open No. Hei 11 (1999)-45233.
In the configuration disclosed by Patent Document 1, a flash memory cell array is arranged outside the main body of a CPU (central processing unit) in a microcomputer. Data, including an application program etc., is stored in the flash memory cell array. In Patent Document 1, the internal configuration of the flash memory cell array takes no consideration of a memory area which stores timing data for adjusting an operating characteristic of the flash memory cell array and which stores data for redundancy substitution in bad cell repair. When utilizing an MRAM cell array as a memory cell array in particular, a current-induced magnetic field is utilized for data writing. Therefore, when a PROM area is arranged near the MRAM cell array which stores the ordinary data and when data for setting various operating states (operating environment) is stored in the PROM area, disturbance occurs to the data of the PROM area due to a leakage magnetic field of a magnetic field induced at the time of writing of the ordinary data into the memory cell array. Therefore, there arises a problem that the held data might be destroyed when influence of the leakage magnetic field is exerted over a long period of time.
Also in Patent Document 1, when data for operating characteristic adjustment and for operating environment setup of the flash memory cell array is stored in the OTP memory area, leakage of a charge accumulated in a floating gate of a flash memory cell makes it difficult to hold the held data over a long period of time. Therefore, there arises a problem that it is difficult to secure the operating characteristic. Patent Document 1 fails to take into consideration the characteristic of data holding over a long period of time.
In a flash memory cell, the stored data is set up corresponding to charge quantity accumulated in a floating gate, and a memory cell transistor is set in either state of a low threshold voltage state or a high threshold voltage state, corresponding to the stored data. When utilizing the present flash memory cell as an OTPROM cell for example, a memory cell of a low threshold voltage can be made to shift to a memory cell of a high threshold voltage state. Therefore, when a charge of a mode-specifying-bit storing cell which stores data for specifying the mode to use the flash memory cell array as an OTPROM decreases due to leakage and when the mode specifying bit changes to a PROM-mode specifying bit, rewriting of data of the flash memory cell array may occur accidentally. In the reverse case, there arises a problem that a PROM mode is specified as an OTPROM mode and it may become impossible to rewrite a rewritable bit.
The present invention has been made in view of the above circumstances and provides a semiconductor device comprising a memory unit which can set up accurately internal operation state setup data corresponding to an internal operation situation and can hold it stably over a long period of time, without increasing a chip layout area.
A semiconductor device according to an embodiment of the present invention comprises a memory array including plural nonvolatile memory cells which are arranged in a matrix and each of which stores data in a nonvolatile manner, and a write control circuit which writes data to the nonvolatile memory cells of the memory array. The write control circuit writes data to the nonvolatile memory cell non-destructively on a rewritable basis in a first operation mode, and writes data to the nonvolatile memory cell destructively on a non-rewritable basis in a second operation mode. The nonvolatile memory cell has a variable magnetoresistive element as a memory device, and stores data in a nonvolatile manner corresponding to a value of resistance of the variable magnetoresistive element.
Writing to a memory array is enabled in the first operation mode and in the second operation mode. Therefore, when there is possibility of a write data correction, data is written in the first operation mode. When rewriting of data becomes unnecessary, the second operation mode is set and data is written. Accordingly, in a normal operation, data is written in a memory cell having a variable magnetoresistive element as a memory cell of a normal memory cell array, however, in the second operation mode, data is written to the memory cell destructively on a non-rewritable basis; therefore, the data in the memory cell can be held stably over a long period of time.
The present invention will become fully understood from the detailed description given hereinafter and the accompanying drawings, wherein:
Hereinafter, with reference to the accompanying drawings, the embodiments of the present invention are explained in detail.
In
Adjoining to the normal array 2, a PROM/OTP-merged circuit block 4 and a main control circuit block 6 are arranged in a rectangle area, respectively. The PROM/OTP-merged circuit block 4 includes a common MRAM cell array and operates as either PROM or OTPROM (hereafter simply called as OTP) corresponding to a operation mode. The PROM/OTP-merged circuit block 4 stores data for setting up an internal operation state (called as internal operation environment setup data), including trimming data for adjusting a reference voltage level and an operation timing in the main control circuit block 6, and repair data for replacing a bad cell in the memory array 2 by a redundant cell, etc.
In the PROM/OTP-merged circuit block 4, data writing is performed in a PROM mode, since it becomes necessary to rewrite later due to change of the internal operation environment setup data for every chip at the time of a wafer-level test. On the other hand, after a final test before shipment, data writing is performed in an OTP mode, since the test is done for a chip as a single body (in a packaged state) and a nondefective article is shipped.
The main control circuit block 6 performs data access to the normal array 2 and control of an operation mode to the PROM/OTP-merged circuit block 4.
As illustrated in
In the chip layout illustrated in
Although
One electrode (upper electrode) of the variable magnetoresistive element VR is coupled to a bit line BL, and a select transistor ST is provided between the other electrode (lower electrode) of the variable magnetoresistive element VR and a source line SL. A gate (control electrode) of the select transistor ST is electrically coupled to a word line WL. A digit line DL is arranged in opposition to the variable magnetoresistive element VR and in parallel with the word line WL.
At the time of data writing, the magnetization direction of the free layer of the variable magnetoresistive element VR is set up by a combined magnetic field of magnetic fields induced by the current flowing through the digit line DL and the current flowing through the bit line BL. At the time of the data writing, the word line WL is in a not-selected state, and a current path from the bit line BL to the source line SL is cut off. Ordinarily, at the time of data writing, current flows through the digit line DL in a fixed direction, and current flows through the bit line BL in a direction corresponding to write data.
At the time of data reading, the digit line DL is maintained in a not-selected state, and the word line WL is driven to a selected state. At this time, the amount of current which flows from the bit line BL to the source line SL changes corresponding to the value of resistance of the variable magnetoresistive element VR. Data is read by detecting the amount of current which flows through the bit line BL (or the amount of current which flows through the source line SL) by a sense amplifier (not shown).
When the MRAM cell MC illustrated in
In
In the PROM mode, the PROM/OTP-merged circuit 22 writes data into the internal MRAM cell on a rewritable basis. In the OTP mode, the PROM/OTP-merged circuit 22 writes data into the MRAM cell on a non-rewritable basis, namely, writes data so that a variable magnetoresistive element of the MRAM may produce dielectric breakdown. Reading operation is performed on the same basis in any of the PROM mode and the OTP mode.
The PROM/OTP-merged circuit 22 writes the same data bit into plural memory cells, and the majority circuit 24 determines, based on a majority decision criterion, the logical value of data stored in the plural memory cells (three memory cells in the present embodiment as explained later) in which the same data bit has been written, and generates the final read-out data. By performing the majority decision, influence of bit error in read due to malfunction can be made minimum, accordingly, it is possible to read out accurately the data set up and to set up the internal environment.
The fuse register 26 stores data for setting up an operating state of the normal array-related circuit 35, and stores data for performing trimming of an internal reference voltage and an internal operation timing, and a repair address (RRAD) of a bad cell in the normal array. According to the data stored in the fuse register 26, an on/off state is set up for a switching transistor which is arranged in place of a fuse element. The present switching transistor is arranged in parallel with a resistance element in the case of trimming setup, and is used in place of a fuse for a bad address bit setup in the case of bad address repair.
The PROM/OTP-related controller 30 is included in the main control circuit block 6 or 16 illustrated in
The mode setting circuit 32 generates the input data selection signal DTSEL and the internal mode instruction signal MDIN, according to the mode instruction signal MODE which specifies one of an OTP mode, a PROM mode, a data write mode, and a data read mode. When the power-on detection signal POR is activated, or at the time of power-on of the MRAM, the address counter 34 generates an internal address and an address for reading data stored in the PROM/OTP-merged circuit 22. The input selection circuit 36 selects externally-supplied address and data at the time of data writing, and selects an internal address from the address counter 34 according to the data selection signal DTSEL, for example, when an OTP mode is set up and the PROM/OTP-merged circuit 22 is utilized as a fixed data storing memory.
According to the internal operation mode instruction signal MDIN, the PROM/OTP control circuit 38 controls the PROM/OTP-merged circuit 22 to operate in one of an PROM mode, an OTP mode, and a data read mode.
The present PROM/OTP control circuit 38 is provided so as to control both the PROM mode and the OTP mode to the PROM/OTP-merged circuit 22, accordingly, the control circuit can be merged corresponding to a PROM-mode circuit and an OTP mode circuit which are included in the PROM/OTP-merged circuit 22. Consequently, it is possible to reduce a layout area of the PROM/OTP-related controller 30 included in the present main control circuit block.
In
The PROM/OTP-merged circuit 22 includes a row decoder 42, a top row driver 44t, and a bottom row driver 44b, in order to select a memory cell row of the PROM/OTP array 40. The row decoder 42 generates a signal which selects a memory cell row of the PROM/OTP array 40, according to a row group control signal RCTL and a row address signal RAD which are supplied by the PROM/OTP control circuit 38. That is, the row decoder 42 generates a signal for selecting a digit line DL at the time of data writing, and generates a signal for selecting a word line WL at the time of data reading.
The top row driver 44t and the bottom row driver 44b are arranged face to face with respect to the projection direction of the digit line DL and the word line WL of the PROM/OTP array 40. The top row driver 44t and the bottom row driver 44b include respectively a driver transistor arranged corresponding to the digit line DL and the word line WL, and drive the digit line DL or the word line WL corresponding to a specified row to a selected state, according to a row selection signal supplied by the row decoder 42.
The PROM/OTP-merged circuit 22 includes further column decoders 46r and 46l, column drivers 48r and 48l, and a sense amplifier 49, as circuits for performing selection of a memory cell column of the PROM/OTP array 40 and read/write of data. The column decoders 46r and 46l are arranged face to face on both sides of the bit line BL of the PROM/OTP array 40, and generate a column selection signal according to a column address signal CAD and a column group control signal CCTL which are supplied by the PROM/OTP control circuit 38.
The right column driver 48r and the left column drivers 48l include bit-line writing drivers for data writing, arranged at both ends of each bit line. The right column driver 48r and the left column driver 48l include a bit-line writing driver for data writing in a PROM mode, and a bit-line writing driver for data writing in an OTP mode.
In the column drivers 48r and 48l, by providing a driver for writing in the PROM mode and a driver for writing in the OTP mode to each bit line, writing in the PROM mode and writing in the OTP mode are selectively executed.
To the right column driver 48r, a read column selecting gate is provided further for selecting a bit line of a read-out column at the time of data reading. At the time of data reading, a sense amplifier 49 is activated selectively according to a sense control signal SACTL supplied by the PROM/OTP control circuit 38, detects data of a memory cell selected by the read column selecting gate, and generates an internal read data. The internal read data read by the sense amplifier 49 is supplied to the majority circuit 24.
The PROM/OTP control circuit 38, the majority circuit 24, and the fuse register 26 have the same configuration as illustrated in
The digit line DL is driven by the top row driver 44t and the bottom row driver 44b. The word line WL is driven by the bottom row driver 44b. A reference voltage VREFDL is supplied to the top row driver 44t from an external circuit tester for example, via a pad PAD0, and the amount of current which flows through the digit line is adjusted. The bottom row driver 44b selects a digit line corresponding to a selection row, according to a row address signal. Therefore, at the time of selecting a digit line DL, current flows from the top row driver 44t toward the bottom row driver 44b.
The bit lines BL<n: 0> and BL_B<n:0> are arranged in pairs, and four-to-one selection is made in which one bit-line pair is selected in four pairs of bit lines. In the bit lines BL<n:0> and BL_B<n:0>, division is made so that 12 pairs of bit lines may correspond to one read/write data bit. In the arrangement illustrated in
Similarly, at the time of read, data reading of three bits is performed in parallel in one IO block. Here, an IO block corresponds to one bit of external data (it corresponds to one input/output pin).
Column decoder+write control circuits 50r and 50l are provided, respectively corresponding to the right column driver 48r and the left column driver 48l. The column decoders in the circuits 50r and 50l correspond to the column decoders 46r and 46l illustrated in FIG. 5, respectively. The write control circuit corresponds to the write controller included in the PROM/OTP control circuit 38 illustrated in
The column decoder+write control circuits 50r and 50l receive a PROM-mode indication signal PROMEN and an OTP-mode indication signal OTPEN from the mode setting circuit 32 illustrated in
According to the write column selection signal CSLW_OTP/PROM <3:0>, the writing driver corresponding to an OTP mode and a PROM mode is selected in the column drivers 48r and 48l. Therefore, in four pairs of bit lines BL<i+3:i> and BL_B<i+3:i>, one pair of bit lines are selected at the time of data writing, and complementary write data is stored to the selected complementary bit-line pair.
The column decoder+write control circuit 50r further generates a read column selection signal CSR <3:0> in a data read mode. The read column selection signal CSR<3:0> specifies one pair of bit lines from four pairs of bit lines BL<i+3:i> and BL_B<i+3:i>.
Read gates RCG0-RCGm are provided corresponding to each of four pairs of bit lines. According to the read column selection signal CSR <3:0>, the read gates RCG0-RCGm select one pair of bit lines among the corresponding four pairs of bit lines. Therefore, the read gate <3:0> includes four read column selecting gates.
Read data from the read gates RCG0-RCGm is transferred to local I/O lines LIO<0> and LIOB<0> through LIO<m> and LIO_B<m>, respectively.
Sense amplifier circuits SA0-SAm included in the sense amplifier 49 are provided, respectively corresponding to the read gates RCG0-RCGm. As for the sense amplifier circuits SA0-SAm, three sense amplifier circuits are arranged in each of the IO blocks IO0-IOk. In each IO block, three-bit data read from the corresponding read gates RCG(i+3)-RCGi is amplified to generate internal read data DATA. In
Majority circuits MJK0-MJKk are provided corresponding to each group of three sense amplifier circuits included in one IO block. By the respective majority decision process, i.e., based on a two-thirds majority decision criterion, the majority circuits MJK0 -MJKk determine a logical value of the internal read data, and generate final read-out data MDATA<0>-MDATA<k>. Here, k is equal to the result of an operation of (m−2) mod 3, and it corresponds to a remainder when (m−2) is divided by 3.
As illustrated in
At the time of data writing, in each of the IO blocks, one pair of bit lines are selected from four pairs of bit lines, and the same data is written to the bit-line pairs, according to the write column selection signal CSLW_OTP/PROM <3:0>.
A reference voltage VREFBL at the time of writing is supplied from the exterior via a pad PAD1 to the left column driver 48l and the right column driver 48r. The bit-line reference voltage VREFBL is supplied from an external circuit tester via the pad PAD1 at the time of data writing in the OTP mode. The bit-line writing voltage having an accurately trimmed level is supplied, and data writing is executed nondestructively.
Therefore, from the 4:1 selection read paths RPT2-RPT0 to the local read-out data lines LIO2 and LIOB2 through LIO0 and LIOB0, complementary data of MRAM cells MC21, MC20, complementary data of MRAM cells MC11, MC10, and complementary data of MRAM cells MC01, MC00 are transferred, respectively. A decision of a logical value of the read data is made in accordance with a majority decision criterion by a majority decision path MJDTP formed by majority circuits MJKj-MJKj−2, and one-bit internal read data MDATA is generated.
On the other hand, also in a write path, 4:1 selection write paths WPT2-WPT0 are provided to groups of four pairs of bit lines. The 4:1 selection write paths WPT2-WPT0 correspond to the column drivers 48l and 48r, illustrated in
The fuse activation signal FUSEN is activated (set to H level) when performing a data access to the PROM/OTP-merged circuit, namely, the fuse activation signal FUSEN is activated at the time of the test mode. While the fuse activation signal FUSEN is activated, a normal array control system which controls a normal array is maintained in a non-active state, and a data access to the normal array is prohibited.
When the fuse activation signal FUSEN is L level, the output signal of the NAND gates 62 and 64 is H level, and the mode enable signal PROMEN from the inverter 63 and the mode enable signal OTPEN from the inverter 65 are both maintained in a non-active state of L level. In this state, both the PROM mode and the OTP mode are set in a not-selected state, and access to the PROM/OTP memory array 40 is prohibited.
When entered into the test mode, the fuse activation signal FUSEN is set to H level. It is assumed here that the mode selection signal MODESEL is set to H level. Correspondingly, the NAND gates 62 and 64 operate as an inverter, the PROM-mode enable signal PROMEN from the inverter 63 becomes H level, and the PROM mode is specified. At this time, the OTP-mode enable signal OTPEN from the inverter 65 is L level. In the present state, read/write of data in the PROM mode are executed.
On the other hand, when the mode selection signal MODESEL is maintained at L level in the present test mode, the output signal of inverter 60 becomes H level and the output signal of inverter 61 becomes L level. Then, the PROM-mode enable signal PROMEN becomes L level, and the OTP-mode enable signal OTPEN becomes H level, and the OTP mode is specified. In the present state, data writing in the OTP mode is executed. Data reading is executed on the same basis in any of the PROM mode and the OTP mode (read/write of data are specified according to a control signal from the PROM/OTP control circuit in response to an external signal (EXIN)).
Bit-line write drive circuits 70R0 and 70L0 are arranged at both sides of the bit line BL, and bit-line write drive circuits 70R1 and 70L1 are arranged at both sides of the bit line BLB, respectively. The bit-line write drive circuits 70L0 and 70L1 are included in the left column driver 48l illustrated in
The bit-line write drive circuit 70R0 includes a P-channel MOS transistor 80R for charging the bit line, an N-channel MOS transistor 84R for discharging the bit line, an N-channel MOS transistor 83R which maintains the MOS transistor 84R in a non-conductive state, and a CMOS transmission gate 82R which transfers the reference voltage VREFBL to a gate of the MOS transistor 84R.
The P-channel MOS transistor 80R couples a power node with the bit line BL according to a cell write control signal ZWDP_CELR generated according to cell write data. The CMOS transmission gate 82R transfers the bit-line writing voltage VREFBL to the gate of the MOS transistor 84R, according to a cell write control signal WDN_CELR inverted by the inverter 81R and a complementary cell write control signal WDN_CELR. The cell write control signals are generated according to the cell write data as explained minutely later.
The N-channel MOS transistor 84R couples the bit line BL with a ground node according to the bit-line writing voltage VREFBL transferred via the CMOS transmission gate 82R. The N-channel MOS transistor 83R couples the gate of the N-channel MOS transistor 84R with the ground node according to an output signal of the inverter 81R.
The bit-line write drive circuit 70R1 includes a P-channel MOS transistor 85R which couples the bit line BLB with the power node according to a reference cell write control signal ZWDP_REFR, an inverter 86R which inverts the reference cell write control signal WDN_REFR, a CMOS transmission gate 87R which transfers the bit-line writing voltage VREFBL according to the write control signal WDN_REFR and an output signal of the inverter 86R, an N-channel MOS transistor 89R which couples the bit line BLB with the ground node according to the bit-line writing voltage VREFBL transferred via the CMOS transmission gate 87R, and an N-channel MOS transistor 88R which couples the gate of the MOS transistor 89R with the ground node according to an output signal of the inverter 86R.
The bit-line write drive circuits 70R0 and 70R1 compose the PROM write driver which performs writing in a PROM mode, and can adjust accurately an amount of current which flows via the bit lines BL and BLB, by supplying the write reference voltage (bit-line writing voltage) VREFBL from an external circuit tester via a pad. The write control signals ZWDP_CELR, WDN_CELR, ZWDP_REFR, and WDN_REFR are generated according to the write data, the write mode, and the write column selection signal.
The left bit-line write driver circuit 70L0 includes, similarly to the right bit-line write driver circuit 70R0, a P-channel MOS transistor 80L for charging the bit line BL, an N-channel MOS transistor 84L for discharging the bit line BL, a CMOS transmission gate 82L which transfers the bit-line writing voltage VREFBL, an N-channel MOS transistor 83L which adjusts gate potential of the MOS transistor 84L, and an inverter 81L which generates a signal for controlling conduction of the CMOS transmission gate 82L.
A cell write control signal ZWDP_CELL is supplied to a gate of the P-channel MOS transistor 80L, and the CMOS transmission gate 82L is selectively conducted according to a cell write control signal WDN_CELL. At the time of data writing, the cell write control signals ZWDP_CELL and ZWDP_CELR become as a complementary signal with each other, and the cell write control signals WDN_CEL and WDN_CELR become as a complementary signal with each other.
The left bit-line write driver circuit 70L0 further includes a CMOS transmission gate 90 which transfers the bit-line writing voltage VREFBL according to OTP-mode cell write control signals TGEN_CELL and ZTGEN_CELL, and an N-channel MOS transistor 91 which transfers the bit-line writing voltage VREFBL from the CMOS transmission gate 90 to the bit line BL according to the OTP-mode write-in column selection signal CSLW_OTP. An OTP write driver which performs a data writing in the OTP mode is formed by the CMOS transmission gate 90 and the MOS transistor 91.
The left bit-line write driver circuit 70L1 includes, similarly to the right bit-line write driver circuit 70R1, a P-channel MOS transistor 85L for charging the bit line BLB, an N-channel MOS transistor 89L for discharging the bit line BLB, an N-channel MOS transistor 88L which couples a gate of the MOS transistor 89L with the ground potential, an inverter 86L which inverts an OTP mode write control signal WDN_REFL, and a CMOS transmission gate 87L which supplies the bit-line writing voltage VREFBL to a gate of the MOS transistor 89L according to a write control signal WDN_REFL. The MOS transistor 85L is selectively conducted according to a cell write control signal ZWDP_REFL. The write control signals ZWDP_REFL and ZWDP_REFR are a complementary signal with each other at the time of data writing, and the write control signals WDN_REFL and WDN_REFR are a complementary signal with each other at the time of data writing. The write control signals are also generated according to the write data, the write column selection signal, and the write mode.
The left bit-line write driver circuit 70L1 further includes a CMOS transmission gate 92 which transfers the bit-line writing voltage VREFBL according to the OTP mode write control signals TGEN_REF, ZTGEN_REF, and an N-channel MOS transistor 93 which transfers the bit-line writing voltage VREFBL from the CMOS transmission gate 92 to the bit line BLB according to the OTP-mode write-in column selection signal CSLW_OTP. At the time of data writing in the OTP mode, an OTP mode write control signal OTPW_REF and a write control signal OTPW_CELL become as a complementary signal with each other, and the bit-line writing voltage VREFBL is transferred to one of the bit lines BL and BLB.
Read column selecting gates 72R0 and 72R1 are provided to each of the bit lines BL and BLB. The read column selecting gates 72R0 and 72R1 are respectively provided with N-channel MOS transistors 95 and 96 which are selectively conducted according to a read column selection signal CSLR. When the read column selecting gate transistors 95 and 96 are conducted, the bit lines BL and BLB are coupled with a sense amplifier circuit SA. The sense amplifier circuit SA performs a differential amplifier operation, generates internal read data, and transfers complementary internal read data to the local data lines LIO and LIOB.
At the time of data writing to the memory cells MCC and MCRA, data writing in the PROM mode is performed on the same basis as the data writing to the MRAM cell of the normal array. Namely, current is flowed through the bit line BL in the direction corresponding to write data by the bit-line write drive circuits 70R0 and 70L0, and current is flowed through the digit line DL by the row driver; accordingly, a value of resistance of the variable magnetoresistive element VR is set up. At the same time, current is also flowed through the bit line BLB in an opposite direction to the bit line BL, by the bit-line write drive circuits 70R1 and 70L1; accordingly, a value of resistance of the variable magnetoresistive element VR of the memory cell MCR is set up.
Specifically, when current is flowed through the bit line BL from the right-hand side to the left-hand side, both the write control signal ZWDP_CELR and the write control signal WDN_CELR are set to L level. In the present state, the P-channel MOS transistor 80R becomes in ON state, and supplies current to the bit line BL from the power node. On the other hand, the output signal of the inverter 81R becomes H level, the MOS transistor 83R becomes in ON state; accordingly, the gate potential of the MOS transistor 84R is maintained to the ground potential, and the MOS transistor 84R is maintained in OFF state.
In the left bit-line write driver circuit 70L0, both the cell write control signal ZWDP_CELL and the cell write control signal WDN_CELL are set to H level. Correspondingly, the MOS transistor 80L becomes in OFF state, and the bit-line writing voltage VREFBL is supplied to the gate of the MOS transistor 84L by the CMOS transmission gate 82L. At this time, the MOS transistor 83L is in OFF state according to the output signal of the inverter 81L. Therefore, current flows through the bit line BL from the power node to the ground node, via the MOS transistor 80R and the MOS transistor 84L on both sides of the bit line BL. By adjusting the voltage level of the bit-line writing voltage VREFBL from the exterior, the amount of writing current which flows through the bit line BL can be adjusted reliably.
Data writing to the bit line BLB is performed similarly. When current flows through the bit line BL from the right-hand side to the left-hand side, current flows through the bit line BLB from the left-hand side to the right-hand side. In the present case, the write control signal is set in a complementary state with each other to the memory cell MCC and the memory cell MCR.
On the other hand, at the time of data writing in the OTP mode, in the left bit-line write driver circuits 70L0 and 70L1, one of the transmission gate 90 and the transmission gate 92 becomes in ON state, and the bit-line writing voltage VREFBL is transferred to one of the bit line BL and the bit line BLB. At this time, the word line WL is driven to a selected state, and the select transistor ST is set in ON state. By setting the bit-line writing voltage VREFBL to a voltage level about two times as high as the power supply voltage VDD, for example, the high voltage is applied to the variable magnetoresistive element VR of one of the memory cell MCC and the memory cell MCR, and a barrier film of the variable magnetoresistive element is destroyed; accordingly, the variable magnetoresistive element VR becomes in a short-circuited state, i.e., in a super-low resistance state LL level. In the OTP mode, data writing is performed destructively; therefore, it is not possible to perform rewriting of the stored data of the memory cell in which data writing has been performed.
In the OTP mode, as for the memory cells forming a pair, the bit-line writing voltage VREFBL is not transferred to the corresponding bit line. Therefore, since a high voltage is not applied to the variable magnetoresistive element concerned even if the select transistor becomes in ON state, data writing to the memory cell forming a pair is not performed, and the previous state is maintained.
In data reading from the normal array, the read-out current of the curve I or the curve III is obtained depending on the stored data of a selected memory cell, and the read-out current is compared in magnitude with the reference current illustrated by the curve II, accordingly the data reading is accomplished. Therefore, in the present case, a margin in the sense amplifier of the bit-line read current in a normal array is given by “a” and “b”, respectively.
Complementary data is read from a cell which is written in the PROM mode. Therefore, the curves I and III are transferred to the sense amplifier as the current waveform. In the present case, the read margin in the sense amplifier is “c.” Therefore, in the PROM mode, by reading the complementary data, compared with the configuration in which data of one memory cell in a normal array is read and compared with the reference current, the read margin of the sense amplifier can be enlarged and data reading can be performed more accurately.
In the bottom row driver 44b, N-channel MOS transistors TRB0 -TRBx are provided corresponding to respective digit lines DL0-DLx. Digit-line selection signals DLG0-DLGx are supplied to gates of the MOS transistors TRB0-TRBx from the row decoder 42 illustrated in
In the bottom row driver 44b, word-line driver circuits WLDV0 -WLDVx are provided corresponding to respective word lines WL0-WLx. These word-line driver circuits WLDV0-WLDVx drive the corresponding word line to a selected state according to word-line selection signals WLG0-WLGx from the row decoder 42 (not shown), respectively.
The word lines WL0-WLx are driven to a selected state in a read mode and in writing in the OTP mode. On the other hand, the digit lines DL0-DLx are driven to a selected state in data writing in the PROM mode. Therefore, the digit-line selection signals DLG0 -DLGx are generated according to a PROM-mode enable signal PROMEN, a write-mode instruction signal, and a row address signal. The word-line selection signals WLG0-WLGx are generated, according to a group of an OTP-mode enable signal OTPEN and a write instruction signal, or according to a read instruction signal and a row address signal.
In
To the write control circuit 104, the internal address signal INAD, the internal control signal INCTL, the external control signal EXCTL, an external address signal EXAD, an external write data WD, a PROM-mode enable signal PROMEN, an OTP-mode enable signal OTPEN, and a read/write mode instruction signal W/R are supplied.
In the write control circuit 104, the PROM-mode write control unit 105 generates write control signals ZWDP_CEL, WDN_CEL, ZWDP_REF, and WDN_REF, according to the write data WD and a column address signal. At the time of writing in the OTP mode, the OTP-mode write control unit 107 generates OTP write control signals TGEN_CEL and TGEN_REF, according to the write data, and also generates an OTP-mode write-in column selection signal CSLW_OTP. The PROM-mode write control unit 105 is provided in the column decoder+write control circuits 50r and 50l, illustrated in
First, a data read mode is set up (Step S1). Although any of a PROM mode and an OTP mode may be set up in the present read mode to perform data reading,
When the read mode is turned to ON state (when the read mode is set up), the internal address generating circuit 100 and the internal control signal generating circuit 102 which are illustrated in
Subsequently, the write control circuit 104 becomes in a non-active state when the read/write mode instruction signal W/R specifies a read mode, and each write control signal is maintained in an initial state (non-active state). The column decoder generates a read column selection signal CSLR according to the internal address INAD, and the bottom row decoder drives a word line WL of the selected row to a selected state according to the row address of the internal address signal INAD. Data of a selected memory cell is supplied to the sense amplifier circuit, and internal read of data is executed (Step S3).
The internal read data from the sense amplifier circuit is supplied to the majority circuit, the logical value of the internal read data is determined in accordance with the majority decision criterion, and the majority decision result is stored in a corresponding register of the fuse register 26 (refer to
Subsequently, it is determined whether the most significant bit MSB of the counter address of the address signal generated by the address counter is set to H level (Step S7). When the most significant bit MSB of the address (counter address) generated by the address counter is determined to be H level, the PROM mode is set to OFF state since the stored data of all the reading-target memory cells has been read and stored in the fuse register, and the data reading operation is completed (Step S8).
On the other hand, at Step S7, when the most significant bit MSB of the counter address is determined not to be H level, the address counter will operate again to perform count-up of the address, and henceforth operations from Step S4 to Step S7 are repeated. Operations from Step S2 to Step S7 are repeatedly executed until the most significant bit MSB of the counter address reaches H level, and internal read of necessary data, majority decision, and storing to the fuse register are performed.
By the series of operations, the stored data of the memory cell can be automatically read internally according to the power activation. In the data reading, the internal read and storing in the fuse register may be performed according to the external control signal EXCTL, the external address signal EXAD, and the read/write mode instruction signal W/R. That is, the PROM mode is set up using the mode selection signal MDSEL and the fuse activation signal FUSEN which are supplied by the mode setting circuit, and the PROM-mode enable signal PROMEN is activated. At this time, the read/write mode instruction signal W/R is set to the state which indicates a read mode. In the state, the internal data read is performed in a test mode, and data is stored in the fuse register. It is sufficient that the present mode is used in order to verify whether the internal state is programmed accurately.
First, the PROM mode is set up using the mode selection signal MDSEL and the fuse activation signal FUSEN which are supplied by the mode setting circuit, and the PROM-mode enable signal PROMEN is activated. At this time also, the read/write mode instruction signal W/R is set to the state which indicates a write mode (Step S10).
When the PROM write mode is specified, the write control circuit 104 illustrated in
After the data writing has completed, it is determined whether the address has arrived at the last address (Step S13). It is sufficient that the present determination is performed by determining whether the last address has been arrived at in an external circuit tester. Alternatively, it is also preferable that the last address is stored in a register (not shown) in the main control circuit, and that the current address is compared with the last address stored in the register. A flag is outputted to the external tester when the comparison result is in agreement.
When the current address has not arrived at the last address, the flow returns to Step S12 again. Then, the following address and data are supplied from the exterior and data writing to the new address is performed.
On the other hand, when it is determined that data writing to the last address has completed at Step S13, the external operation mode is reset (Step S14). The reset is performed by deactivating the write-mode instruction signal, for example.
Subsequently, the PROM-mode enable signal PROMEN is deactivated to reset the PROM mode (Step S15). A series of the processes described above can perform data writing in the PROM mode to the memory cell as a write target.
First, in the mode setting circuit 32, the OTP mode is specified by the mode selection signal MODESEL and the fuse activation signal FUSEN which are supplied from the exterior, and the OTP-mode enable signal OTPEN is activated. At this time, the read/write mode instruction signal W/R is set to the state which indicates data writing.
When the read/write mode instruction signal W/R is set to the state which indicates data writing, the internal operation mode is set in the write control circuit 104 (Step S21).
Subsequently, the bit-line writing voltage VREFBL is set to a high voltage level (Step S22). By supplying the present bit-line writing voltage VREFBL from the exterior, it is possible to avoid the necessity of generating the high writing voltage inside the PROM/OTP-merged circuit, accordingly it is possible to reduce the layout area of an otherwise required internal high voltage generation circuit.
Subsequently, an external control signal EXCTL and an external address signal EXAD are supplied together with write data WD (Step S23). In the OTP-mode write control unit 107 in the write control circuit 104 illustrated in
Subsequently after completion of the writing, it is determined whether the address has arrived at the last address (Step S25). When the address has not arrived at the last address, the flow returns to Step S23 again, and destructive writing of data is performed according to the address signal AD, the control signal EXCTL, and write data WD which are supplied next from the exterior.
At Step S25, when it is determined that the last address have been arrived at, the read/write mode instruction signal W/R is set to a non-active state, and the external operation mode is reset (Step S26). Then, the mode selection signal MODESEL and the fuse activation signal FUSEN are deactivated, and the OTP mode is reset (Step S27). Accordingly, data writing in the OTP mode to the necessary memory cell is completed.
First, Step ST20 to Step ST27 illustrated in
Subsequently, the read/write mode instruction signal W/R is set to the state which specifies the read mode, and data reading is performed (Step ST32). In the present case, since the read operation is performed on the same basis in any of the PROM mode and the OTP mode, the OTP mode may not be reset, and the data read operation may be performed in the state where the OTP mode remains still specified.
Subsequently, data read at Step ST32 is stored (Step ST33). As the storing area of the read data at Step ST33, it is also preferable to provide a dedicated data storing region (register) or to use the fuse register 26 illustrated in
Subsequently, after storing all of the read data, the PROM mode is set, and the write mode which performs data writing is set (Step ST34). Since the write mode is set in the present case, data writing is performed according to the externally-supplied address signal under the control of the external tester. In the data writing in the PROM mode, inverted data of the write data which has been written at the time of data writing in the OTP mode is written in the PROM mode (Step ST35). Writing of the inverted data in the PROM mode is based on the following reasons.
Namely, in the data writing in the OTP mode, a variable magnetoresistive element in one memory cell is set to a short-circuit condition and, the other memory cell is maintained in an unfixed state (previous state). Therefore, a memory cell to which the OTP-mode writing is not performed is in a high resistance state or in a low resistance state like a normal cell. By writing the inverted data into a memory cell which has not been written in the OTP mode, the memory cell concerned is set to a fixed resistance state from an unfixed state.
Writing is completed after writing inverted data in all the memory cells as the writing targets. Then, the read/write mode instruction signal W/R is deactivated, and set to the state which specifies the read mode (Step ST36). At the time of the read operation, data reading may be performed according to a control signal and an address signal which are supplied from the exterior, or as explained earlier, data reading may be performed according to an internal address and an internal control signal.
In the read mode, a memory cell is selected according to the address, the internal reading of data is performed by the sensing operation and the majority decision, (Step S36), and the read data is stored (Step ST37). The read data obtained at Step ST37 is stored in a dedicated test data register etc. as an example.
Data read out and stored at Step ST33 and Step ST37 are compared (Step ST38). A memory cell to which OTP writing has been performed and is in a low resistance state is in a state where the value of resistance is still lower than a memory cell in a low resistance state, as illustrated in
When it is determined at Step ST39 that no write error bit exists, the OTP write check is completed and the OTP write verify mode is completed (Step ST40). Accordingly, supply of an address and write data from the external tester is completed, and the OTP mode is reset according to the mode selection signal MODESEL (Step ST41). Accordingly, the write period in the OTP mode is completed.
On the other hand, as illustrated in
On the contrary, when data “0” is written in the OTP mode, the reference cell MCR becomes in a super-low resistance state (LL data), and the memory cell MCC is in an unfixed state. When the inverted data “1” is written in the PROM mode, the memory cell MCC becomes in a low resistance state, and the reference cell MCR becomes in a super-low resistance state. Therefore, in data reading, the memory cell MCC becomes in a fictitiously high resistance state, and data “0” is read.
Therefore, by writing data in the OTP mode and then writing the inverted data in the PROM mode, it is possible to identify externally whether a memory cell as a writing target has been certainly set to the short-circuit condition, and it is possible to identify whether data writing has been accurately performed by the OTP mode. Next, internal configuration of peripheral circuits, such as individual write control circuit, is explained.
The column decoder 50 illustrated in
When the read/write mode instruction signal W/R indicates a write mode, the multiplexer 110 selects the external address signal EXAD and the external control signal EXCTL, and generates the column address signal CAD and the column group control signal CCTL. On the other hand, when the read/write mode instruction signal W/R indicates a read mode, the multiplexer 110 selects the internally-generated address INAD and the internally-generated control signal INCTL, and generates the column address signal CAD and the column group control signal CCTL.
The column decoder circuit 112, of which the decode timing is specified according to the column group control signal CCTL, decodes the column address signal CAD and generates a four-bit column selection signal CSL <3:0>.
The PROM write-in column control circuit 114 receives the PROM-mode enable signal PROMEN and the read/write mode instruction signal W/R. The PROM write-in column control circuit 114 is activated when data writing in the PROM mode is indicated, and generates a PROM write-in column selection signal CSLW_PROM <3:0> according to the column selection signal CSL <3:0> from the column decoder circuit 112.
The OTP write-in column control circuit 116 receives the OTP-mode enable signal OTPEN and the read/write mode instruction signal W/R. The OTP write-in column control circuit 116 is activated when these signals indicate data writing in the OTP mode, and generates an OTP-mode write-in column selection signal CSLW_OTP <3:0>, according to the column selection signal CSL <3:0>.
The read column control circuit 118 is arranged only in the column decoder+write control circuit 50r illustrated in
Therefore, when data writing in the PROM mode and in the OTP mode is performed, a column selection operation is controlled according to the external address signal EXAD and the external control signal EXCTL. In the data read mode, reading operation is controlled according to internally-generated address signal INAD and the internally-generated control signal INCTL.
In
In
The mask indication signal MASK is a signal which instructs masking of the data writing to the PROM/OTP cell array. The data write mask may mask the data writing in units of one bit, or alternatively, may mask the data writing in units of two or more bits.
The write determination circuit 120 drives the write instruction signal WEN to an active state, when the read/write mode instruction signal W/R indicates the data writing and when the mask indication signal MASK indicates a non mask to the data writing,
When the write instruction signal WEN from the write determination circuit 120 is activated, the mode selection circuit 122 activates either the OTP-mode write indication signal OEN or the PROM-mode write indication signal PEN, according to the active state/non-active state of the PROM-mode enable signal PROMEN and the OTP-mode enable signal OTPEN.
The CEL/REF control circuit 124 is provided in common to an IO block <m:0>. When the OTP-mode write indication signal OEN is activated, the CEL/REF control circuit 124 generates OTP-mode write data indication signals OTPW_CEL<m:0> and OTPW_REF<m:0>, according to the write data DATA<m:0>. When the write data bit DATA<i> is H data bit, the CEL/REF control circuit 124 sets the OTP-mode write data indication signal OTPW_CEL<i> as H level, and transfers the writing voltage VREFBL from the exterior to the memory cell MCC. On the other hand, when the write data bit DATA<i> is L data bit, the CEL/REF control circuit 124 sets the OTP-mode write data indication signal OTPW_REF<i> to the reference cell as H level, and transfers the bit-line writing voltage VREFBL to the reference cell MCR.
When the OTP-mode write indication signal OEN is deactivated, the CEL/REF control circuit 124 sets all of the OTP-mode write data indication signals OTPW_CEL<m:0> and OTPW_REF<m:0> as L level, and cuts off the bit-line writing voltage supply path from the exterior.
The ZWDP/WDN control circuit 126 is provided common to the IO block <m:0>. When the PROM-mode write indication signal PEN from the mode selection circuit 122 is activated, the ZWDP/WDN control circuit 126 is activated and generates bit-line write-data indication signals ZWDP<m:0> and WDN<m:0>, according to the write data DATA<m:0>. When the write data bit DATA<i> is H data bit, the ZWDP/WDN control circuit 126 sets the write data instruction signal ZWDP<i> as H level, and sets the write data instruction signal WDN<i> as H level. Accordingly, the transistor for electric discharge to a bit line is conducted. On the other hand, when the write data bit DATA<i> is L data bit, the write data instruction signals ZWDP<i> and WDN<i> are set to L level, and the charging transistor to the bit line is set to ON state. When the PROM-mode write indication signal PEN is deactivated, the ZWDP/WDN control circuit 126 sets the write data instruction signal ZWDP<m:0> as H level, and sets the write data instruction signal WDN<m:0> as L level. Accordingly, in the bit-line writing driver, both the transistors which perform electric charge and electric discharge of the bit line are set to OFF state, and the PROM bit-line writing driver is set to a high output impedance state.
The local write control circuit 130 includes a local PROM write-in column control circuit 132 for controlling data writing in the PROM mode, and a local OTP write-in column control circuit 134 for controlling data writing in the OTP mode.
Upon receiving a four-bit PROM-mode write-in column selection signal CSLW_PROM <3:0> and write data instruction signals ZWDP<i> and WDN<i>, the local PROM write-in column control circuit 132 generates write control signals ZWDP_CEL <3:0>, WDN_CEL <3:0>, ZWDP_REF <3:0>, and WDN_REF <3:0>, which are supplied to the corresponding PROM bit-line write driver. The local PROM write-in column control circuit 132 is arranged in each of the left column driver and the right column driver. In
The write control signals ZWDP_CEL <3:0>, WDN_CEL <3:0>, ZWDP_REF <3:0> and WDN_REF <3:0> are supplied to each of three groups of bit-line pairs of which four pairs of bit lines are included in each of the corresponding IO blocks. Based on the write column selection signal CSLW_PROM <3:0>, one pair of bit lines are selected in each group. According to the write data instruction signals ZWDP<i> and WDN<i> to the selected bit-line pair, a write control signal to the selected bit-line pair is generated, and the direction of the bit-line current is determined. The write control signals ZWDP_CEL <3:0> and WDN_CEL <3:0> control data writing to the memory cell MCC, and the write control signal ZWDP_REF <3:0> and WDN_REF <3:0> control data writing to the reference cell MCR.
Therefore, the write control signal ZWDP_REF <3:0> becomes in a non-active state when the write control signal ZWDP_CEL <3:0> is activated, and the write control signal WDN_REF <3:0> becomes in a non-active state when the write control signal WDN_CEL <3:0> is activated. Accordingly, complementary data can be written into the memory cell MCC and the reference cell MCR.
The local OTP write-in column control circuit 134 is activated when the IO block selection signal IOSEL<i> is activated, receives the OTP-mode write-in column selection signal CSLW_OTP <3:0> and the OTP-mode write data indication signals OTPW_CEL<i> and OTPW_REF<i>, and generates write control signals TGEN_CEL <3:0>, ZTGEN_CEL <3:0>, TGEN_REF <3:0>, and ZTGEN_REF <3:0>, for controlling the conduction of the OTP bit-line write driver and the transmission gate. In data writing in the OTP mode, a bit-line writing voltage from the exterior is transferred to a selected I/O block to perform data writing. Therefore, data writing is sequentially performed for every IO block at the time of data writing in the OTP mode. Accordingly, it is possible to supply voltage with sufficient amplitude by using the bit-line writing voltage VREFBL supplied from the exterior, and it is possible to perform destructive writing by low consumption current.
The OTP mode write control signals TGEN_CELL <3:0> and ZTGEN_CEL <3:0> are activated when performing data writing to the memory cell MCC, and the write control signals TGEN_REF <3:0> and ZTGEN_REF <3:0> are activated when performing data writing to the reference cell MCR. Accordingly, a high writing voltage is transferred to one of the bit line BL and the bit line BLB which are arranged in pairs.
When the write data instruction signal OTPW_CEL<i> is activated, the write control signals TGEN_CEL <3:0> and ZTGEN_CEL <3:0> to a memory cell are selectively activated according to the write column selection signal CSLW_OTP <3:0>. On the other hand, when the write data instruction signal OTPW_REF<i> is activated, the reference cell write control signals TGEN_REF <3:0> and ZTGEN_REF <3:0> are selectively activated according to the OTP write-in column selection signal CSLW_OTP <3:0>.
The read column selection signal CSLR <3:0> is supplied to the corresponding read column selecting gate, bypassing the present local write control circuit 130.
An OTP bit-line write driver is provided in the left column driver 48l. The local OTP write-in column control circuit 134 is provided to the left column driver.
In
Each of the IO blocks IO0-IOk includes a memory cell block MB and a local OTP write driver OTV. The local OTP write driver OTV is included in the left column driver 48l illustrated in
Write data instruction signals WDNL<0> and ZWDPL<0> through WDNL<k> and ZWDPL<k> are supplied individually to the local write control circuits 130(0)l-130(k)l, and write data instruction signals WDNR<0> and ZWDPR<0> through WDNR<k> and ZWDPR<k> are supplied individually to the local write control circuits 130(0)r -130(k)r. Therefore, data writing is performed in parallel to the blocks IO0-IOk at the time of data writing in the PROM mode (when the mask signal MASK is in a non-active state and in a non-masked state to data writing).
The multiplexer 140 selects the external address signal EXAD and the external control signal EXCTL, when the PROM-mode enable signal PROMEN and the OTP-mode enable signal OTPEN are activated and when the read/write mode instruction signal W/R indicates a write mode. On the other hand, the multiplexer 140 selects the internal address signal INAD and the internal control signal INCTL, when either the PROM-mode enable signal PROMEN or the OTP-mode enable signal OTPEN is activated, and when the read/write mode instruction signal W/R indicates a data reading or when the read activation signal READ is in an active state. The read activation signal READ is activated internally at the time of power-on etc., and puts into operation the data reading and the setup of the initial state.
When decode timing is set up according to the row group control signal RCTL, the row decoder circuit 142 decodes the internal row address signal RAD and drives one of the row selection signals RSEL<x:0> to a selected state.
The word-line control circuit 144 generates a word-line selection signal WLG<x:0> according to the row selection signal RSEL<x:0>, when one of the enable signals PROMEN, OTPEN, and EN is activated, and when the read/write mode instruction signal W/R indicates data reading. The enable signal EN is activated in a cell-data read mode in the interior, and activates the word-line control circuit 144. The present word-line control circuit 144 generates also the word-line selection signal WLG<x:0> according to the row selection signal RSEL<x:0>, when the read/write mode instruction signal W/R indicates data writing and when the OTP-mode enable signal OTPEN is in an active state.
When the PROM-mode enable signal PROMEN is activated and when the read/write mode instruction signal W/R indicates data writing, the digit-line control circuit 146 is activated and generates a digit-line selection signal DLG<x:0> according to the row selection signal RSEL<x:0>. When the OTP-mode enable signal OTPEN is in an active state, the digit-line control circuit 146 is maintained in a non-active state even if the read/write mode instruction signal W/R indicates data writing. Accordingly, the digit-line control circuit 146 maintains the digit-line selection signal DLG<x:0> in a non-selection state.
The present row decoder 42 is provided in common to the IO blocks IO0-IOk. The row decoder 42 transfers the word-line selection signal WLG<x:0> and the digit-line selection signal DLG<x:0> respectively to the word-line driver circuit and the digit-line driver circuit which are included in the top row driver (44t) and in the bottom row driver (44b).
The internal state of the frequency divider 150 is set to an initial state in response to the activation of the count reset signal CNTRST. Then, the frequency divider 150 performs the dividing operation while a count enable signal CNTEN from the output Q of the set/reset flip-flop 154 is in an active state, and generates the internal clock signal INTCLK by dividing the external clock signal EXCLK to one half, for example. The count reset signal CNTRST is generated by logical addition of the reset signal POR_RST and the read/write mode instruction signal W/R. The count reset signal CNTRST is activated at the time of power-on, at the time of system reset, or in the data read mode in the test mode.
The count value of the address counter 152 is reset to an initial value in response to the activation of the count reset signal CNTRST. Then, the address counter 152 counts the internal clock signal INTCLK to generate the count value PA<n:0>. An n-bit count PA<n−1:0> of the present count value PA<n:0> is supplied as the internal address INAD to the column decoder and the row decoder.
The set/reset flip-flop 154 is set when the count reset signal CNTRST is activated, and is reset when the most significant count bit PA<n> is set to H level.
The internal control signal generation circuit 156 generates the internal control signal INCTL in a predetermined sequence according to the internal clock signal INTCLK, while the count enable signal CNTEN is in an active state. The internal control signal INCTL includes a control signal INCTLA (a column group control signal CCTL, a row group control signal RCTL), a read activation signal READ, and a read enable signal EN. The read activation signal READ activates the data read mode of data stored in the PROM/OTP-merged circuit at the time of system reset, etc. A sense amplifier is activated according to the present signal, and reading of internal data and storing of data to the fuse register are performed. In addition, the multiplexer 140 is set to the state of selecting the internal signals INCLT and INAD.
Since it is at the time of data read mode that the internal control signal INCTL outputted from the internal control signal generation circuit 156 is utilized, the word-line selection timing, the bit-line selection timing, and the sense amplifier activation timing are set up according to the control signals RCTL, CCTL, and READ, respectively. It is sufficient that given data are sequentially stored in the fuse register on a first-in first-out basis, for example, synchronizing with the internal clock signal INTCLK.
In the configuration illustrated in
First, the count reset signal CNTRST is supplied. The present count reset signal CNTRST is a reset signal by the power-on detection signal POR, for example, or it is a reset signal externally supplied when the data reading starts. The set/reset flip-flop 154 is set by the activation of the count reset signal CNTRST, and sets its output, namely, the count enable signal CNTEN, to H level.
The frequency divider 150 performs dividing of the external clock signal EXCLK according to the activation of the count enable signal CNTEN (driven to H level), and generates the internal clock signal INTCLK.
When the count bit PA<n−1:0> outputted by the address counter 152 increases from 0 to (M-1), access to the memory cell included in the PROM/OTP-merged circuit is completed. In the following clock cycle, when the count value of the address counter 152 is incremented, the most significant count bit PA<n> rises to H level, the set/reset flip-flop 154 is reset, and the count enable signal CNTEN is deactivated. The count bit PA<n−1:0> has all the bits in a state of “0.” Therefore, by utilizing the count reset signal CNTRST and the most significant count bit PA<n>, it is possible to set the internal circuit to a predetermined state at the time of power-on of MRAM, after reading data stored in the interior and storing the data in a fuse register, for example.
The internal control signal generation circuit 156 generates the read activation signal READ and the enable signal EN while the count enable signal CNTEN is in an active state. The internal control signal generation circuit 156 supplies the enable signal EN to the word-line control circuit 144 illustrated in
The present read enable signal EN is supplied to the read column control circuit 118 illustrated in
When the power-on detection signal POR is utilized as the count reset signal CNTRST, it is sufficient that the power-on detection circuit is provided in the main control circuit which controls the operation of the normal array, and that the power-on detection circuit is provided in common to the circuits which control the operation of the PROM/OTP array. It is sufficient to utilize configuration in which, in data reading in the PROM mode, the count reset signal CNTRST is activated according to a read-mode instruction signal (R) supplied from the exterior. Moreover, similarly in data reading in the OTP mode (at the time of an OTP write verifying operation), if it is possible to utilize configuration in which the count reset signal CNTRST is compulsorily activated according to the read-mode instruction signal (W/R) supplied from the exterior, it is possible to generate the address internally at the time of the verifying operation.
In
An input signal INC is supplied to gates of the MOS transistors PQ1, PQ4, and an input signal INB is supplied to gates of the MOS transistors PQ2, PQ3. An input signal INA is supplied to a gate of the MOS transistor PQ5.
The majority circuit MJKi further includes N-channel MOS transistors NQ2, NQ1 coupled in series with each other between the output node 160a and the ground node, an N-channel MOS transistor NQ3 coupled in parallel with the MOS transistor NQ1, and N-channel MOS transistors NQ4, NQ5 coupled in series with each other between the output node 160b and the ground node. The input signal INC is supplied to gates of the MOS transistors NQ1, NQ5, and the input signal INB is supplied to gates of the MOS transistors NQ3, NQ4. The input signal INA is supplied to a gate of the MOS transistor NQ2.
A signal on the output signal line 162 is inverted by an inverter INV, and a majority decision result signal OUT is generated.
That is, in the majority circuit MJKi of
When the input signal INA is L level, and when at least one of the input signal INB and the input signal INC is L level, at least one of the MOS transistor NQ4 and the MOS transistor NQ5 becomes in OFF state, and a discharge path of the output nodes 160a, 160b is cut off. At this time, the MOS transistor PQ5 and at least one of the MOS transistor PQ3 and the MOS transistor PQ4 become in ON state, the output signal line 162 is charged to the level of the power supply voltage VDD, and the output signal OUT from the inverter INV becomes as L level (logical value “0”).
When the input signal INA is H level, the MOS transistor PQ5 becomes in OFF state and the MOS transistor NQ2 becomes in ON state. When both input signal INB and input signal INC are L level, the MOS transistors PQ1, PQ2 are in ON state, all the MOS transistors NQ1, NQ3, NQ4, NQ5 become in OFF state. The output signal line 162 is charged to the level of the power supply voltage VDD, and the output signal OUT from the inverter INV becomes as L level.
When the input signal INA is H level and at least one of the input signal INB and the input signal INC is H level, the MOS transistor PQ5 becomes in OFF state, and at least one of the MOS transistor PQ1 and the MOS transistor PQ2 becomes in OFF state, accordingly, a charge path for charging the output nodes 160a and 160b at both ends of the output signal line 162 is cut off. On the other hand, when the MOS transistor NQ2 becomes in ON state and at least one of the MOS transistor NQ1 and the MOS transistor NQ3 becomes in ON state according to the input signals INB and INC, the output signal line 162 is discharged to the level of the ground voltage VSS. Therefore, the output signal OUT from the inverter INV becomes H level. Accordingly, the majority circuit MJKi illustrated in
By utilizing the majority circuit MJKi illustrated in
In the ordinary MRAM, after performing data writing in a PROM mode, data set up by the final test process is written in an OTP mode. Therefore, when a chip single body is shipped, the PROM/OTP-merged circuit operates in the OTP mode, and only data reading is executed. Therefore, the voltage VREFDL and VREFBL used at the time of writing is not used after shipment. Therefore, the pads (PAD0, PAD1) which transfer the voltage VREFDL and VREFBL should just be fixed to the ground voltage level at the time of shipment. The configuration concerned is realized by providing a switching transistor to a pad which supplies the voltage in question, and by setting internally the switching transistor to ON state with a control signal.
As described above, according to Embodiment 1 of the present invention, a common memory array is operated as a PROM and an OTPROM, and destructive writing is performed in particular to a memory cell at the time of data writing in the OTP mode. Therefore, the layout area can be reduced compared with configuration which provides a PROM and an OTPROM separately, and data rewriting in the PROM mode can be performed. By performing data writing in the OTP mode, the stored data are not destroyed by a leakage magnetic field which the normal array induces at the time of actual use of MRAM, and data can be held stably over a long period of time.
On the other hand, in a bit-line write drive circuit 70, an OTP write drive circuit which performs data writing in an OTP mode is illustrated. In the OTP write drive circuit, a CMOS transmission gate 170 and a write column selection gate 172 are coupled in series between a bit line BL and a node which supplies a high bit-line writing voltage VREFBL. The CMOS transmission gate 170 includes a parallel body of a P-channel MOS transistor PT and an N-channel MOS transistor NT1, and write control signals TGEN_CEL and ZTGEN_CEL are supplied to the respective gates.
The write column selection gate 172 includes an N-channel MOS transistor NT2, and a write column selection signal CSLW_OTP is supplied to the gate. The MOS transistors PT, NT1, and NT2 as well as the select transistor ST have a gate insulating film of a film thickness of Tox1.
The CMOS transmission gate 170 and the write column selection gate 172 correspond to the CMOS transmission gates 90 and 92 and the write column selection gates 91 and 93 which are illustrated in
In a normal array 2, a normal MRAM cell MCM is arranged corresponding to a cross point of a bit line BL with a word line WL and a digit line DL. The MRAM cell MCM includes a variable magnetoresistive element VRM and a select transistor S™. The present variable magnetoresistive element VRM has the same structure as the variable magnetoresistive element VR of the memory cell MC. The select transistor S™ of the MRAM cell MCM has a gate insulating film of a film thickness of Tox2. As for relationship of the film thicknesses Tox1 and Tox2 of the gate insulating films, the film thickness Tox1 of the gate insulating film of the select transistor ST of the memory cell MC included in the PROM/OTP array 40 is made greater than the film thickness Tox2 of the gate insulating film of the select transistor STM of the MRAM cell MCM.
At the time of data writing in an OTP mode, a bit-line writing voltage VREFBL is set as about two times higher voltage level than the power supply voltage. In order to transfer the present bit-line writing voltage VREFBL, the write column selection signal CSLW_OTP is also stepped up to a voltage level higher than the power supply voltage. The write control signal ZTGEN_CEL is also set to a high voltage level. In the select transistor ST, at the time of writing to the variable magnetoresistive element VR, a high voltage is applied and large current flows. The variable magnetoresistive element VR becomes in a super-low resistance state after destruction, and a high voltage is transferred to the select transistor ST. In particular in a memory cell MC of a selected column and a non-selected row, when the memory cell has a variable magnetoresistive element of a super-low resistance state after completion of writing, a high voltage is applied to the gate insulating film of the select transistor ST. Therefore, the film thickness of the gate insulating film of the transistors PT, NT1, NT2, and ST is made thick enough, and the isolation voltage is guaranteed. Accordingly, the development of dielectric breakdown is prevented at the time of data writing in the OTP mode.
Since a high voltage is not applied to the gate insulating film of the select transistor STM in the MRAM cell MCM in the normal array 2, the gate insulating film is made as thin as possible, making the select transistor STM operate at high speed. In order to thicken the gate insulating film of the select transistor in the PROM/OTP array, a pitch of the select transistors is made larger than a pitch of the select transistors of the MRAM array. Hereafter, arrangement of memory cells in the PROM/OTP array and in the normal MRAM array is explained.
(Configuration of a Normal Array)
In
A gate word line 232a composed by polysilicon for example is arranged in an area between the source impurity region 230a and the drain impurity regions 231a and 231b, extending continuously in X direction. A gate word line 232b is arranged in an area between the source impurity region 230a and the drain impurity regions 231c and 231d, extending continuously in X direction. Similarly, gate word lines 232c and 232d are provided, extending continuously in X direction in both sides of the source impurity region 230b.
The gate word lines 232a, 232b, 232c, and 232d have respectively projection parts 233a, 233b, 233c, and 233d which extend to a boundary of the base unit area 200 in Y direction, at a predetermined spacing in X direction. The projection parts 233a, 233b, 233c, and 233d are arranged for every four-bit memory cells in X direction, shifted by two-bit memory cells in the adjoining gate word line (for example, gate word lines 232a and 232b) in Y direction.
The projection parts 233a and 233b of the gate word lines 232a and 232b provided to the same source impurity region 230a are arranged in an opposite Y direction with each other, and the projection parts 233c and 233d of the gate word lines 232c and 232d provided to the source impurity region 230b are also arranged in an opposite Y direction with each other. The projection parts 233a and 233c of the gate word lines 232a and 232c of the every other gate word line are provided in the same position in X direction, and the projection parts 233b and 233d are also provided in the same position in X direction. In the adjoining gate word lines, by arranging the projection parts 233b and 233c in a different position in X direction, it is possible to arrange the word line projection parts with an enough margin. A layered word-line structure is realized using the word line projection parts.
Source contacts 236a and 236b are arranged to the source impurity regions 230a and 230b corresponding to the normal cell boundary region. The source contacts 236a and 236b are arranged in X direction for every two-bit normal memory cells as an example, respectively.
Drain contacts 235a, 235b, 235c, and 235d are provided also to the drain impurity regions 231a-231d, respectively. The drain contacts 235a-235d are arranged in a reflectional symmetry with respect to the boundary region of the base unit area 200 in X direction and Y direction. A shunting contact 234 is provided to each of the projection parts 233a-233d. Electrical coupling with upper layer metal wires explained later is formed via the present shunting contact 234. Each of the drain contacts 235a-235d to the drain impurity region is coupled electrically with a variable magnetoresistive element formed in the upper layer via a plug.
By arranging the gate word line projection part 233a-233d in an area where the distance between the drain impurity regions is large, it is possible to arrange the projection parts with a margin. By extending the projection parts 233a-233d up to the boundary region of the base unit area 200 in Y direction, the distance between each of the drain contacts 235a-235d and the shunting contact 234 can be made large. Therefore, even if misalignment or a pattern shift (patterning failure) at the time of patterning of the projection parts occurs, it is possible to avoid defect generation such as overlap of the drain impurity region and the projection part, contact of the projection part and the drain contact, etc. It is also possible to arrange the shunting contact 234 and the drain contacts 235a-235d with a sufficient margin even at the time of memory cell miniaturization.
A word-line shunting area can be provided in the memory cell forming region, accordingly, an area increase of the memory array (normal array) can be suppressed.
The drain contacts 235a-235d are arranged in a reflectional symmetry with respect to the boundary of a memory cell forming region in X direction. Therefore, the distance in X direction between the drain contacts 235b and 235a can be made large in the area corresponding to the forming region of the source contacts 236a and 236b. Accordingly, in the present area, it is possible to arrange a metal source line, extending continuously in Y direction. The width of the metal source line can be made sufficiently large, and the source-line resistor can be reduced fully.
In
The first middle wiring 240a-240d have the shape of a rectangle long in Y direction, and are arranged so as to cross the corresponding gate word lines 232a and 232b from a boundary of the base unit area 200. The first middle wirings 240a-240d form a part of a middle plug for coupling electrically with a variable magnetoresistive element formed in the upper layer. The drain impurity regions 231a-231d (not shown in
The first middle wirings 240a-240d are arranged repeatedly with the same pattern in X direction and Y direction. Each of the first middle wirings 240a-240d is arranged nearly in a center region of the base unit area 200.
For coupling with an upper-layer wiring, first via holes 242a-242d are provided to the first middle wirings 240a-240d corresponding to the drain contacts 235a-235d, respectively. The first via holes 242a-242d are arranged, nearly in a line in X direction and Y direction. The first via holes 242a and 242b are alternately arranged in X direction, and the first via holes 242c and 242d are alternately arranged in X direction. The first via holes 242a and 242c are alternately arranged in Y direction, and the first via holes 242b and 242d are alternately arranged in Y direction.
First middle wirings 244a and 244c are arranged in a line in Y direction between the first middle wirings 240a and 240b, corresponding to the gate word lines 232a and 232c, respectively. First middle wirings 244b and 244d are arranged in a line in Y direction, corresponding to the gate word lines 232b and 232d and corresponding to the shunting contact 234. The first middle wirings 244a-244d are a middle wiring for realizing word-line shunt structure, and arranged, extending from the corresponding shunting contact 234 to over the corresponding gate word lines 232a-232d. In the adjoining column, a shunting contact 234 is arranged at a pitch of two memory cells, and in the same row, a shunting contact 234 is arranged for a memory cell of every two rows. Therefore, the middle wirings 244a-244d are also arranged with the same pitch as the shunting contact 234.
To the first middle wirings 244a and 244c for shunt, first via holes 246a and 246c are provided in the upper layer of the corresponding gate word lines 232a and 232c. To the first middle wirings 244b and 244d, first via holes 246b and 246d are provided in the upper layer of the corresponding gate word lines 232c and 232d. The first middle wirings 244a-244d for shunt are arranged in a translational symmetry with respect to Y direction.
A metal source line 248 which is formed by a first metal wiring is arranged in the central part corresponding to the source contacts 236a and 236b, and extending continuously in Y direction. The metal source line 248 is electrically coupled to the lower layer source impurity region (not shown in
The first via hole 246a for the word line shunt is arranged in a zigzag pattern with the first via holes 242a and 242b for drain coupling. The first via holes 246b-246d to the first middle wirings 244b-244d for the other word line contacts are arranged also in a zigzag pattern with the first via holes 242a-242d for drain coupling. Accordingly, the distance among the first via holes can be fully secured. Even if the distance between the drain impurity regions is narrow, since the distance between the adjoining drain contacts in X direction, among the drain contacts 235a-235d is large enough, the metal source line 248 can be arranged with sufficient width. Correspondingly, the metal source line 248 with low resistance can be arranged.
By arranging in X direction the drain contacts 235a and 235b positioned in both sides of the source contact 236a, shifted in the direction which separates from the source contact 236a with respect to the center of the drain impurity regions 231a and 231b, it is possible to widen the line width of the metal source line 248 which is formed in the same layer as the first middle wirings 240a and 240b.
In
Over the first via holes 246a-246d provided corresponding to the first middle wirings 244a-244d for shunt illustrated in
The second metal wirings 252a-252d are a metal wiring in the upper layer of the first middle wirings 244a-244d. Therefore, even in a case where the first middle wirings 244a-244d for shunt extend to the boundary of the base unit area 200 in Y direction, the first middle wirings 244a-244d for shunt do not have an adverse influence on arrangement of the second metal wirings 252a-252d at all.
In
Third metal wirings 262a-262d are arranged so as to overlap with the second metal wirings 252a-252d, respectively. The third metal wirings 262a-262d are out of contact with the second metal wiring 252a-252d in the lower layer. The second via holes 246a-246d for word line contact are arranged at the predetermined intervals, respectively. This is for taking an electrical coupling between the second metal wirings 252a-252d and the first middle wirings (250a-250d) in the lower layer.
By arranging the third metal wirings 262a-262d so as to overlap with the second metal wirings 252a-252d, a level difference of arrangement between the variable magnetoresistive element and the write word line (digit line) in the upper layer is made uniform. It is also made possible to form the MRAM cell by the same manufacturing process as the processor (not shown).
In
On the other hand, fourth metal wirings 267a-267d are arranged so as to overlap with the third metal wirings 262a-262d. The fourth metal wirings 267a-267d form write word lines (digit lines).
A variable magnetoresistive element 272 is arranged in a position over the local wiring 270 and corresponding to each of the fourth metal wirings 267a-267d. The present variable magnetoresistive element 272 has a track-like ellipse shape as an example. The variable magnetoresistive element may be formed in a shape which suppresses occurrence of erroneous writing by suppressing magnetization reversal in the adjacent areas.
An upper electrode 274 is arranged in the central part of the variable magnetoresistive element 272. The upper electrode 274 has in addition a function which forms electrical contact to a bit line arranged in the upper layer.
As illustrated in
Fifth metal wirings 280a-280d are arranged at successive intervals, extending continuously in Y direction and corresponding to each memory cell column. The fifth metal wirings 280a-280d respectively form a bit line and are electrically coupled to the upper electrode 274 of the memory cell (variable magnetoresistive element) of the corresponding column. Accordingly, the variable magnetoresistive element 272 is electrically coupled to the corresponding bit line (the fifth metal wirings 280a-280d). According to the present arrangement, a select transistor and a variable magnetoresistive element are arranged in each base unit area 200, and a memory cell is arranged in each base unit area.
The gate word line 232a is formed, through the intermediary of a gate insulating film GI, over a substrate area between the source impurity region 230a and the drain impurity region 231b. The gate word line 232b is formed, through the intermediary of a gate insulating film GI, over a substrate area between the source impurity region 230a and the drain impurity region 231d. The drain contacts 235b and 235d are provided over the drain impurity regions 231b and 231d, respectively. The gate insulating film GI has a film thickness of Tox2, which is made comparatively thin so that high-speed operation may be possible.
Ordinarily, a channel is formed in lower part of the gate word lines 232a and 232b when the access transistor is conducted. Impurity injection is performed in the lower part of the gate word lines 232a and 232b for threshold voltage adjustment etc. In the following explanation, the term an “active area” is used for indicating an area where an impurity is injected, including the source impurity region 230a, the drain impurity regions 231b and 231d, and a channel forming region (the lower part area of the gate word line).
The drain impurity regions 231b and 231d are electrically coupled to the first middle wirings 240b and 240d via the drain contacts 235b and 235d, respectively. The first middle wirings 240b and 240d are electrically coupled to the second middle wirings 250b and 250d via the second via holes 242b and 242d, respectively. The second metal wirings 252a and 252b are arranged, adjoining the second middle wirings 250b and 250d. The second middle wiring 250b and the third middle wiring 260b are arranged in alignment. The fourth middle wiring 265b formed by the fourth metal wiring is arranged in alignment with the third middle wiring 260b. The third middle wiring 260b and the second middle wiring 250b are electrically coupled by the first via hole Vb. The third middle wiring 260b and the fourth middle wiring 265b are electrically coupled by the second via hole VVb.
The third metal wiring 262a and the fourth metal wiring 267a are arranged in alignment over the second metal wiring 252a. The fourth metal wiring 267a forms a digit line (write word line).
Similarly, the third middle wiring 260d and the fourth middle wiring 265d are arranged in alignment over the second middle wiring 250d, and the third metal wiring 262b and the fourth metal wiring 267b are arranged in alignment over the second metal wiring 252b. The second middle wiring 250d and the third middle wiring 260d are electrically coupled each other via the first via hole Vd, and the third middle wiring 260d and the fourth middle wiring 265d are electrically coupled via the second via hole VVd.
The metal wirings 252b, 262b, and 267b are separated each other. The fourth metal wirings 267a and 267b form a digit line, respectively.
By electrically coupling from the first middle wiring formed by the first metal wiring up to the fourth middle wiring formed by the fourth metal wiring with the use of the via holes, it is possible to establish electrical contact surely, even in a case where an aspect ratio of electrical contact/plug to the variable magnetoresistive element formed in the upper layer becomes high.
The third via hole 269 is arranged over each of the fourth middle wirings 265b and 265d. The third via hole 269 is electrically coupled to the corresponding local wiring 270. The variable magnetoresistive element 272 is arranged over the local wiring 270 in alignment with each of the fourth metal wirings 267a and 267b. The variable magnetoresistive element 272 is electrically coupled to the fifth metal wiring 280d in the upper layer via the upper electrode 274. The present fifth metal wiring 280d forms a bit line.
As illustrated in
(a Modified Example of a Plane Layout of an MRAM Cell)
SL0 is arranged between the poly gate lines 232A and 232B, and a first metal wiring 252B which forms a source line SL1 is arranged between the poly gate lines 232C and 232D which form word lines WL2 and WL3, respectively.
In the memory cell MCA, a local wiring 270A in the shape of a rectangle long in Y direction is arranged over the poly gate line 232A and the first metal wiring 252A. Also in the memory cell MCC, a local wiring 270C is arranged so as to overlap with the poly gate line 232C and the first metal wiring 252B which forms the source line SL1. In the memory cell MCB, a local wiring 270B in the shape of a rectangle is arranged so as to overlap with the first metal wiring 252A which forms the source line SL0, and the poly gate line 232B which forms the word line WL1. In the memory cell MCD, a local wiring 270D in the shape of a rectangle is arranged so as to overlap with the first metal wiring 252B and the poly gate line 232D.
In the local wirings 270A-270D, variable magnetoresistive elements 272A-272D are arranged, so as to respectively overlap with third metal wirings 267A and 267B which form digit lines DL0 and DL1 in the lower layer. The local wirings 270A-270D are coupled to a drain impurity region of each access transistor arranged in the lower layer, with the use of plugs 269A-269D arranged in an opposing position, with respect to the variable magnetoresistive elements 272A -272D and the poly gate line which forms the corresponding word line. A fifth metal wiring 280A is arranged corresponding to the memory cells MCA and MCC, and extending continuously in Y direction. A fifth metal wiring 280B is arranged corresponding to the memory cells MCB and MCD, and extending continuously in Y direction. The fifth metal wirings 280A and 280B form bit lines BL0 and BL1, and are electrically coupled to the corresponding variable magnetoresistive elements via an upper electrode.
In the arrangement of the memory cells illustrated in
Although the variable magnetoresistive elements 272A-272D illustrated in
The impurity regions 231A and 231C are electrically coupled to first middle wirings 240A and 240C formed by a first metal wiring via contacts CA1 and CA2, respectively. In the first metal wiring layer, the first metal wiring 252A is arranged over the gate word lines 232A and 232B, and the first metal wiring 252B is arranged over the gate word lines 232C and 232D. The first metal wirings 252A and 252B are electrically coupled to the source impurity regions 231B and 231D, respectively, in a not-shown area, and form the metal source lines SL0 and SL1, respectively.
The first middle wirings 240A and 240C are electrically coupled to second middle wirings 250A and 250C in a second metal wiring layer via first via holes VA1 and VA2, respectively. The second middle wirings 250A and 250C are electrically coupled to third middle wirings 260A and 260C of a third metal wiring layer via second via holes VB1 and VB2, respectively. The third middle wirings 260A and 260C are electrically coupled to the local wirings 270A and 270C via third via holes VC1 and VC2, respectively.
The local wirings 270A and 270C formed by a fourth metal wiring are formed in the shape of a rectangle as shown in
The plugs 269A and 269B illustrated in
In the cross-section structure of the memory cell illustrated in
An MRAM cell may be arranged in the normal array 2 using the layout of the MRAM cell illustrated in
(Configuration of a PROM/OTP Array)
In
The impurity regions 302a and 302c form a drain impurity region, respectively, and a drain contact CA is arranged to each base unit area 200. The impurity regions 302b and 302d form a source impurity region, respectively, and a source contact CS is arranged in each base unit area, at a predetermined spacing. The source contacts CS are arranged in a reflectional symmetry with respect to the line L43-L43 illustrated in
To the poly gate line 304, a word line contact CW is arranged in a boundary part of the base unit area 200. The word line contact CW establishes an electrical coupling with a main word line in a upper layer, and realizes a layered word line. The word line contacts CW are arranged at a predetermined interval.
In the configuration illustrated in
In
A first layer metal wiring 314 is arranged, extending continuously in Y direction, between the second middle wirings 312a and 312b. The first layer metal wiring 314 includes projection parts 314a and 314b arranged corresponding to an area in which the source-line contact CS is formed, and extending in X direction. The first metal wirings 314, 314a, and 314b are electrically coupled to the source impurity regions 302b and 302d arranged in the lower layer via the source-line contact CS in the lower layer.
A second metal wiring 318 is arranged corresponding to the word line contact CW, and extending continuously in X direction. The second metal wiring 318 is electrically coupled to the gate word line (304) formed in the lower layer, via the word line contact CW. The second metal wiring 318 forms a metal word line. By the second metal wiring 318 and the gate word line 304, a layered word-line structure is realized and resistance reduction of the word line is attained.
A second metal wiring 319 is arranged corresponding to the source-line contact CS, extending continuously in X direction. The second metal wiring 319 is electrically coupled to the first metal wiring 314 in the lower layer via a first via hole VS1. The second metal wiring 319 forms a metal source line. The source line is disposed in the shape of a mesh using the first metal wiring 314 and the second metal wiring 319, accordingly, reduction of resistance of the source line and stabilization of the source line voltage are attained.
In
In
In the configuration illustrated in
Over the third metal middle wiring 320a, fourth middle wirings 322a and 322b in the shape of a rectangle which is formed by the fourth metal wiring are arranged with an interval therebetween in X direction. Similarly, over the third metal wiring 320b, fourth middle wirings 322c and 322d in the shape of a rectangle which are formed by the fourth metal wiring are arranged with an interval therebetween in X direction.
Similarly, corresponding to the third metal middle wiring 320c, fourth middle wirings 322e and 322f which are formed by the fourth metal wiring are arranged with an interval therebetween in X direction. Corresponding to the third metal middle wiring 320d, fourth middle wirings 322g and 322h which are formed by the fourth metal wiring are arranged with an interval therebetween in X direction.
The fourth middle wiring 322a is electrically coupled to the third metal wiring 320a via a third via hole VA3. The fourth middle wiring 322b is separated electrically from the third middle wiring 320a. Similarly, the fourth middle wiring 322d is electrically coupled to the third metal middle wiring 320b via the third via hole VA3. On the other hand, the fourth middle wiring 322c is separated from the fourth middle wiring 320b which is formed by the fourth metal wiring.
The fourth middle wiring 322e is electrically coupled to the third metal middle wiring 320c via the third via hole VA3, and the fourth middle wiring 322h is electrically coupled to the third metal wiring 320d via the third via hole VA3. The fourth middle wirings 322f and 322g are electrically separated from the third metal middle wirings 320c and 320d, respectively. Therefore, in the region of four normal cells, one of the fourth metal middle wirings is electrically coupled to the third metal middle wiring in the lower layer. Accordingly, one of the fourth metal middle wirings is electrically coupled to the drain impurity region in the lower layer.
In
In the upper layer of the second metal wirings 318 and 319, the third middle wiring 320d which is formed by the third metal wiring is arranged so as to partially overlap with the second metal wiring 318. The third middle wiring 320d is separated from the lower layer wiring. The third middle wiring 320d is electrically coupled, via the third via hole VA3, to the fourth middle wiring 322h which is formed by the fourth metal wiring.
In
Similarly, the third via hole is not provided between the third middle wiring 320d which is formed by the third metal wiring and the fourth middle wiring 322g which is formed by the fourth metal wiring. Therefore, the fourth middle wiring 322g is electrically separated from the third middle wiring 322d.
As illustrated in
A variable magnetoresistive element 342 is arranged on one side of the local wiring 340. The configuration of the variable magnetoresistive element 342 is the same as the structure of an MRAM cell (normal cell). An upper electrode 344 is provided over the variable magnetoresistive element 342. Corresponding to each column of the variable magnetoresistive elements (340, 342, 344), fifth metal wirings 350a-350d are arranged respectively, extending continuously in Y direction. The fifth metal wirings 350a-350d form bit lines, respectively.
In the present configuration, the upper electrode 344 of the variable magnetoresistive element is coupled to the corresponding one of the fifth metal wirings 350a-350d. However, as for the local wiring 340, a fourth via hole VA4 is provided in each of the unit areas (base unit areas) 200a, 200b, 200g, and 200h, and the local wiring 340 is electrically coupled to the fourth middle wiring (322a, 322e, 322d, 322h) which is formed by the fourth metal wiring in the lower layer. On the other hand, as for the local wiring 340 in each of the base unit areas 200c-200f, no fourth via hole VA4 is provided; accordingly, the local wiring 340 concerned is separated from the lower layer wiring.
By arranging a variable magnetoresistive element in each of the base unit areas, it is possible to maintain the regularity of a pattern of the variable magnetoresistive element, and it is possible to arrange in the PROM/OTP array a variable magnetoresistive element of the same characteristic as the characteristic of a variable magnetoresistive element of the normal cell array.
In the base unit area 200g with reference to
In the case of the configuration illustrated in
In the configuration illustrated in
Therefore, also in the present part, one variable magnetoresistive element out of the total four variable magnetoresistive elements 342 which adjoin each other in X direction and Y direction is coupled to one select transistor. The source impurity region and the drain region of one select transistor are an area corresponding to the arrangement area (base unit area 200) of two variable magnetoresistive elements in X direction. Accordingly, it is possible to enlarge the size of the select transistor sufficiently.
In the present configuration, the variable magnetoresistive element 342 is arranged in the same pitch as the pitch of the variable magnetoresistive element of the normal MRAM cell array, and the size is also the same. Therefore, variation in the characteristic of a variable magnetoresistive element can be suppressed, a variable magnetoresistive element having the same characteristic as the variable magnetoresistive element of the MRAM cell array can be arranged in the PROM/OTP array; accordingly, exact program can be realized.
The layout illustrated in
In a normal MRAM cell array, a word line is arranged corresponding to each of the base unit area rows RO1-RO6. Therefore, the PROM/OTP array has equivalently the configuration in which the word lines WXa-WXd are thinned out in comparison to the arrangement of the normal cell array. That is, since one word line is arranged every two rows, the number of word lines becomes one half, compared with the word line arrangement of the normal MRAM cell array.
On the other hand, in the columns CO0-CO4 of the base unit area 200, one bit line is arranged every two base unit areas in X direction. That is, in
Therefore, one memory cell (reference cell) is arranged at four base unit areas 200 shaded with oblique lines in
As described above, according to Embodiment 2 of the present invention, word lines and bit lines are thinned out in arrangement of the normal cell array, and the layout area of a select transistor is increased. Accordingly, it is possible to arrange a select transistor which has a sufficient gate insulating film thickness and a sufficient current drive power. Furthermore, even if destructive writing with a high voltage is performed at the time of writing in the OTP mode, it is possible to guarantee a sufficiently high withstand voltage of the select transistor, and it is possible to perform accurate and stable data writing in the OTP mode.
After completion of manufacturing process of a semiconductor integrated circuit device, a wafer-level test is conducted (Step SS1). In the wafer-level test, a pad over a chip is exposed, and various characteristic tests are conducted by contacting a test probe to the pad. Detection of a bad cell of a memory cell, etc. are also performed by applying test data. In the first test, a test is carried out according to a default value of operating environment setup data.
In the test, test result data about each test item is collected (Step SS2). After the completion of the wafer-level test, it is determined whether a semiconductor device under test is a nondefective article which satisfies specification values etc., according to the test result data of each test item (Step SS3). Subsequently, at Step SS3, when it is determined that the semiconductor device is defective, it is determined whether the defect is repairable or not (Step SS3, Step SS4). For example, when a bad memory cell exists and the bad memory cell is not repaired by redundancy substitution by a spare cell, or when an electrical property is largely shifted from a correctable range to the specification values, it is determined that the bad memory cell is unrepairable. In the present case, the semiconductor device is processed as a defective article (Step SS6).
Even if it is determined to be repairable, when correction has been made a prescribed number of times until then, the semiconductor device may be determined to be unrepairable and may be processed as a defective article.
At Step SS4, when it is determined to be repairable, correction data is generated in an external tester etc., based on analysis of the test result data, and the correction data (defect repair/trimming data) will be written in the PROM/OTP array 40 in the PROM mode (Step SS5).
Flow returns to Step SS1 again. According to the correction data, a test of an electrical property etc. is carried out (after reading the correction data in the PROM read mode and setting up the internal state). Subsequently, the present operation is executed for the necessary number of times.
At Step SS3, when it is determined to be nondefective, the wafer-level test is completed (Step SS7).
When the wafer-level test is completed, processing proceeds to a slicing process, and a wafer undergoes dicing and is divided into chips. A nondefective chip is sorted out among the chips, and the nondefective chip is encapsulated into a package (Step SS8). To a semiconductor device after packaging, test data and voltage can be applied only via a pin terminal from the exterior.
To a chip or a semiconductor device after packaging, a final test (chip-level test) before product shipment is carried out (Step SS9). At the time of the chip-level test, data based on the result of the wafer-level test is stored in a PROM/OTP array as a default value. After the internal state (operating environment) is set up based on the stored data, the chip-level test is carried out (internal read of the stored data and storing into a fuse register).
In the chip-level test, the contents of the test differs from the item of the wafer-level test, due to a limitation that voltage/data is applied from a pin terminal. However, also in the chip-level test, a test item specified by the same operation is executed, and the test-result data is collected (Step SS10).
According to the collected test-result data, it is determined whether it is a nondefective article, as in the wafer-level test (Step SS11). Subsequently, when it is defective, it is determined whether the detected defect is repairable (Step SS12). When it is determined to be unrepairable based on the degree of the defect, the number of times of tests, etc., the semiconductor device is processed as a defective article (Step SS14).
On the other hand, when it is determined to be repairable at Step SS12, defect repairing/trimming data are written in the PROM/OTP array in the PROM mode, according to the test-result data (Step SS13). Flow returns to Step SS9 again, and the chip-level test is executed according to the correction data.
When it is determined to be nondefective at Step SS11, the correction data (PROM correction nonvolatile data) stored in the PROM/OTP array are converted into perfect nonvolatile data (OTP data) (Step SS15). In the perfect non-volatization of the nonvolatile data, data written in the PROM/OTP array in the PROM mode is read internally, and is stored again in the OTP mode. When the perfect non-volatization (writing in the OTP mode) of the internal state setup data (operating environment setup data) is completed, the chip-level test process is completed.
Then, the semiconductor device as a nondefective article is transported to a shipment process which performs a process necessary for shipment, and is shipped.
In a PROM/OTP array (40), according to a test result in a chip-level test process, operating environment setup data, such as trimming data, are generated and stored in a PROM mode.
First, a data read mode is set up according to a perfect non-volatization specifying command from the exterior (Step SP1). In the read mode which performs data reading, any of a PROM mode and an OTP mode may be set up. However,
When the read mode is rendered ON state (when set up), the internal address generating circuit 100 and the internal control signal generating circuit 102 which are illustrated in
The read/write mode instruction signal W/R is set as the state of specifying a read mode, and the write control signal is maintained in the initial state (non-active state). The column decoder (50l, 50r) illustrated in
The internal read data from the sense amplifier circuits are supplied to the majority circuit (24:MJK0-MJKk) illustrated in
Subsequently, it is determined whether the most significant bit MSB of the counter address of the address signal generated from the address counter is set as H level (Step SP7). When the most significant bit MSB of the address (counter address) generated by the address counter is determined to be H level, the PROM mode is set to OFF state since all the stored data of memory cells as reading targets have been read and stored in the fuse register, and the data reading operation is completed (Step SP8).
On the other hand, at Step SP7, when the most significant bit MSB of the counter address is determined not to be H level, the address counter will operate again to perform count-up of the address, and henceforth operations from Step SP4 to Step SP7 are repeated. Operation from Step SP2 to Step SP7 are repeatedly executed until the most significant bit MSB of the counter address reaches H level, and internal read of necessary data, majority decision, and storing in a register, such as a fuse register are performed.
By a series of the operations, the test-result data in the chip final process is stored in a register. At the time of a product shipment, it is necessary to write the operating environment setup data in the OTP mode, and to store them permanently. At the time of data writing in the OTP mode, by performing internal read and internal writing of data, external supply of data is not necessary and external data writing which is different for every semiconductor device is also not necessary at the time of data writing in the OTP mode. Accordingly, control of data writing is simplified.
At Step SP8, when internal read of data in the PROM mode is completed (PROM mode becomes OFF), the OTP mode and the write mode indicating data writing are set internally. The control circuit may be formed so that, in the internal setup of a write mode, count-up of an address counter is detected in the interior, and the mode may shift to the OTP write mode (the present configuration is explained later). In the present case, it is necessary to output to the exterior a signal which indicates that the data reading in the PROM mode has completed. It is necessary to secure sufficient write time at the time of data writing in the OTP mode, because it is necessary to externally control the row/column selection.
As is the case with Embodiment 1, the setup of the OTP write mode may be performed in the mode setting circuit (32) illustrated in
When the internal control signal is set as the state which indicates data writing in the OTP mode, an internal operation mode is set in the write control circuit 104 illustrated in
Subsequently, a bit-line writing voltage (VREFBL) is set to a high voltage level (Step SP12). By supplying the bit-line writing voltage VREFBL from the exterior, the necessity of generating a high writing voltage in the interior of the PROM/OTP-merged circuit is abolished as is the case with Embodiment 1, and the layout area otherwise to be occupied by the internal high voltage generation circuit is reduced.
Subsequently, the operating environment setup data after correction is read from the fuse register of the storage destination, and an address and a control signal are supplied from the exterior (Step SP13). At the time of the writing, data internally read from the fuse register as the write data is supplied instead of the external data. Time necessary for the OTP writing is secured by controlling the address externally.
In the present case, an internal address obtained from the address counter may be used instead of the external address. However, it is necessary to set a count operation cycle of the address counter as a period necessary for writing in the OTP mode, and it is also necessary to make the count cycle of the address counter longer than that of the PROM read mode in the interior.
At the time of the external operation in the OTP mode, a bit-line writing voltage and a digit-line writing voltage are applied from the exterior.
At the time of the external operation, an external control signal EXCTL and an external address signal EXAD are supplied. In the OTP-mode write control unit 107 of the write control circuit 104 illustrated in
After the data writing has completed, it is determined whether the write address has arrived at the last address (Step SP15). The determination should just be performed in an external device (tester) by determining whether a bit corresponding to the most significant bit of the address counter is set to H level.
When the address has not arrived at the last address, flow returns to Step SP13 again, and the destructive writing of data is executed according to the external address signal EXAD, the external control signal EXCTL, and the write data WD, which are supplied from the exterior.
When the internal address from the address counter is utilized in the OTP-mode writing, an external device may perform determining of whether the most significant bit MSB of the internal address is H level and determining of whether the OTP-mode writing to all the addresses has been carried out. Alternatively, when the address counter is used, the most significant bit of the counter address may be utilized as a write completion flag.
At Step SP15, when it is determined that the address has arrived at the last address, the read/write mode instruction signal W/R is set to a non-active state, and the external operation mode is reset (Step SP16). Then, the mode selection signal MODESEL and the fuse activation signal FUSEN are deactivated, and the OTP mode is reset (Step SP17). Accordingly, the internal writing of data in the OTP mode to the necessary memory cells is completed.
When the OTP-mode data write in the interior is completed at Step SP17, the OTP write verify mode illustrated in
At the time of data writing in the OTP mode, the input selection circuit 410 selects the data read from the fuse register 426 in lieu of the data included in the external signal EXIN, and supplies the selected data to the PROM/OTP control circuit 38.
A path selection of the input selection circuit 410 and a data storing operation of the fuse register are controlled by a mode setting circuit 400. When the operation mode instruction signal MODE specifies perfect non-volatization of the stored data, the mode setting circuit 400 activates the address counter 34 to generate an internal address in a predetermined sequence. In the present case, the address counter 34 performs an address increment according to a signal of a logical addition of the power-on detection signal POR and the perfect non-volatilization mode instruction signal from the mode setting circuit 400.
The most significant bit PA<n> of the internal address (counter address) generated by the address counter 34 is externally outputted as a flag indicating access completion in all addresses to an external device.
The other configuration of the semiconductor device illustrated in
In the configuration illustrated in
In
The mode decoder 430 decodes a control signal (command) MODE from the exterior, and generates internal operation mode instruction signals RGSEL, MODESEL, and FUSEN which correspond to the specified operation mode. The control signal RGSEL is a register selection signal, and sets up the data input path of the fuse register 426. The control signals MODESEL and FUSEN are equivalent respectively to the mode selection signal and the fuse activation signal which are illustrated in
The external device (tester) sets the OTP write mode, when the most significant bit PA<n> of the counter address becomes H level. That is, the external device (tester) monitors the most significant bit PA<n> of the counter address, and changes the operation mode from the PROM read mode to the OTP write mode.
The mode setting signal generation circuit 432 has the same configuration as the mode setting circuit illustrated in
Therefore, in reading and writing of the internal data in Embodiment 3 of the present invention, the internal control is performed as is the case with Embodiment 1 and the internal reading and internal writing of data are performed.
The multiplexer 440 selects the data read from the fuse register 426 when the register selection signal RGSEL is in a deassertion (negation) state, and selects the internal read data from the majority circuit when the register selection signal RGSEL is in an assertion state (when set to H level of “1”).
The fuse shift register circuit 442 performs a shift operation according to a column group control signal CCTL from the multiplexer 110 illustrated in
The input selection circuit 416 includes a data multiplexer 445 which selects one of external data DATAEX (EXIN) and data read from the fuse register 426, according to the register selection signal RGSEL.
The data multiplexer 445 selects the external data when the register selection signal RGSEL is in a negation state, and selects data read from the fuse register 426 when the register selection signal RGSEL is in an assertion state. According to the selected data, the data multiplexer 445 generates complementary internal write data DATA<k:0> and ZDATA<k:0>, and supplies the data to the control circuits 124 and 126 illustrated in
The mode control signal (mode specifying command) MODE is first set as the PROM read mode. Correspondingly, the fuse activation signal FUSEN supplied from the mode decoder 430 of the mode setting circuit 400 illustrated in
At this time, the register selection signal RGSEL is in a negation state of L level, and the multiplexer 440 in the fuse register 426 illustrated in
As illustrated in
The address counter is activated and an address and a control signal are generated internally. According to the address and the control signal which are generated internally, read of the PROM-mode data is performed, and according to the column selection control signal, the fuse shift register 442 performs a shift operation for each column cycle to store the internal read data sequentially.
When the most significant bit PA<n> of the address outputted from the counter reaches H level, read of necessary data is completed. In response to the shift to H level of the most significant bit PA<n>, the external tester issues the mode specifying command again, and specifies an OTP mode. At this time, the fuse activation signal FUSEN and the OTP-mode enable signal OTPEN are asserted, and data writing in the OTP mode is performed. The register selection signal RGSEL is set to H level, and the multiplexers 440 and 445 select the output signal of the fuse shift register circuit 442. The read/write instruction signal W/R (not shown) is set in a state of data writing.
The fuse shift register circuit 442 shifts according to the column group control signal CCTL. At this time, the external address and the external control signal are selected, and the data writing in the OTP mode is performed under the external control. A shift operation of the fuse register is also performed (as illustrated in
Therefore, the data stored in the PROM mode is written in the OTP mode, and the perfect non-volatization of the stored data is accomplished. The reason why the re-writing of the read data of the fuse shift register circuit 442 is performed by the multiplexer 440 in the fuse register 426 is to prevent an unfixed data from being written in the fuse shift register circuit 442 with the result of unstable operation of the fuse shift register circuit.
When all the stored data of the fuse register 426 are written in the PROM/OTP array, the verifying operation as illustrated in
(An Example of Modification)
The mode decoder latch 450 maintains the fuse activation signal FUSEN at H level, when the operation mode specification signal MODE indicates the perfect non-volatization of data. When the most significant bit PA<n> of the address (counter address) from the address counter is L level, the mode decoder latch 450 sets the mode selection signal MODESEL to H level, and maintains the state. When the most significant address bit PA<n> rises to H level, the mode decoder latch 450 sets the mode selection signal MODESEL to L level, and maintains the state even if the most significant bit PA<n> falls to L level.
The other configuration of the mode setting circuit 400 illustrated in
At time T1, the operation mode instruction command MODE from the exterior is set as the state which specifies the perfect non-volatization of data. At this time, the most significant bit PA<n> of the internal counter address is L level, and the mode decoder latch 450 sets the mode selection signal MODESEL to H level and the fuse activation signal FUSEN to H level. Accordingly, the PROM mode is specified. The address counter operates internally, and the data read mode is specified by the internal control signal generation circuit. The register selection signal RGSEL is at L level, and data from the majority circuit is sequentially stored in the fuse register. Accordingly, data written in nondestructively is read in the PROM mode internally and is stored in the fuse register.
At time T2, when the most significant bit PA<n> of the counter address rises to H level, the mode decoder latch 450 sets the mode selection signal MODESEL to L level, maintaining the fuse activation signal FUSEN at H level. At time T3, the OTP-mode enable signal OTPEN becomes H level. Accordingly, the OTP write mode which performs destructive writing of data written nondestructively is set up. The internal address counter is reset and maintained in a non-active state. Even if the most significant bit PA<n> of the counter address is reset to L level, the mode decoder latch 450 maintains the mode selection signal MODESEL at L level and the fuse activation signal FUSEN at H level, respectively.
Responding to the most significant bit PA<n> of the counter address rising to H level, the external device (tester) generates an address signal and a control signal, and performs selection operation of a column and a row of the memory cell. At this time, the input selection circuit is set in the state which selects the control signal and the address signal from the exterior according to the write-mode instruction. As write data, read data from the fuse register is selected according to the register selection signal RGSEL. Accordingly, the data from the fuse register is destructively written in the PROM/OTP array, and the perfect non-volatization of the data is performed.
When the destructive writing of data is completed to the required address at time T4, the external device sets the mode instruction command MODE as a destructive write completion state, and the final test process at chip-level of the semiconductor device is completed.
Internal read and internal write of data are performed according to the same operation as in the case explained with reference to
As an alternative, at time T1, a command to specify the mode which performs destructive writing of non-destructively stored data may be supplied in a single shot mode, and after performing data reading and writing internally, the external device may supply a single-shot pulse indicative of a write-mode completion command at time T4. The external device has supplied the address externally at the time of data writing in the OTP mode, accordingly, the external device can identify the issue time of the last address.
As described above, according to Embodiment 3 of the present invention, by storing the chip-level test data nondestructively and writing the stored data destructively, the perfect non-volatization of the stored data is performed. Accordingly, it is possible to perform the perfect non-volatization of the operating environment setup data after the completion of the chip-level test, furthermore, it is possible to maintain the internal operation state of the semiconductor device in the predetermined state stably over a long period of time.
In Embodiments 1, 2, and 3, a cell is illustrated as an MRAM cell which sets up a magnetization direction of the free layer of the variable magnetoresistive element by a current-induced magnetic field. However, even if the cell is a spin torque transfer MRAM in which data writing by spin injection is performed to the variable magnetoresistive element, the present invention can be applied. In the spin torque transfer MRAM based on the spin injection method, current is flowed between a bit line and a source line in the direction determined by the logical value of write data, and the magnetization direction of the free layer is set up by spin torque transfer to the variable magnetoresistive element. The spin injection is performed at the time of data writing in the PROM mode, and a high voltage is applied between a bit line and a source line at the time of data writing in the OTP mode.
Generally, the nonvolatile memory unit of the semiconductor device according to the present invention is applicable to a memory unit, if the memory unit has circuit configuration in which the internal operation is set by programming operation internally. The memory unit may be used as a memory incorporated in a processor, and may be used as a memory single body. In this case, data writing in the PROM mode is performed at the time of a test mode, and after the completion of the test, operation is performed in the OTPROM mode at the time of the final test in commercial production, and the final data is programmed on a uncorrectable basis. Accordingly, satisfactory data storing characteristics can be realized, allowing accurate holding of data/parameters.
It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and alterations may occur depending on design requirements and other factors insofar as they are within the scope of the appended claims or the equivalents thereof.
Number | Date | Country | Kind |
---|---|---|---|
2009-045815 | Feb 2009 | JP | national |
2009-208331 | Sep 2009 | JP | national |