Referring to the drawings, an embodiment of the present invention will be described herein below.
The memory 101 has memory banks 150A, 150B, 151A, 151B, 152A, 152B, 153A, and 153B. To specify a vertical position, any of bank numbers 0, 1, 2, and 3 is used, while either of bank columns 1 and 0 is used to specify a horizontal position. By specifying any of the bank numbers and either of the bank columns, one of the memory banks is selected.
The memory banks 150A, 150B, 151A, 151B, 152A, 152B, 153A, and 153B have respective redundant regions 160A, 160B, 161A, 161B, 162A, 162B, 163A, and 163B.
The address conversion circuit 107 converts the input address 106 received thereby to a redundant address 108 specifying any of the redundant regions 160A to 163B and outputs the redundant address 108. The memory 101 is accessed with the input address 106 and with the redundant address 108 and data accessed with the respective addresses can be read therefrom independently of each other.
The bank conversion circuit 109 converts the input address 106 to a bank selection address 110 for accessing the defective address register 111 and outputs the bank select address 110. The defective address register 111 holds defective addresses indicating defective portions repaired with the respective redundant regions 160A to 163B. The hit signal generation circuit 112 compares the defective address read from the defective address register 111 with a predetermined portion of the input address 106 and outputs a hit signal 113, which is valid when there is a coincidence therebetween or invalid when there is no coincidence therebetween.
The sequential process of generating the bank select address 110, reading the defective address from the defective address register 111, and outputting the hit signal 113 is performed independently of the processes of reading the data from the memory 101.
The selector 114 receives the data read with the input address 106 and the redundant address 108, selects the data read from the memory 101 with the redundant address 108 when the hit signal 113 is valid or selects the data read from the memory 101 with the input address 106 when the hit signal 113 is invalid, and outputs the selected data.
When a defect occurs in the memory 101, the memory system 10 repairs the defect by preferentially using a fusing method in the memory bank having the defect as long as it is possible. Since the fusing method physically disconnects a signal line in a fuse circuit and changes a region to which an address signal is given from a defective region to a redundant region, it prevents a reduction in the speed of a memory access.
When the redundant region provided in the memory bank with the defects is already used as a result of repairing another defective region by using the fusing method, the memory system 10 performs a repair by using the redundant region of the other memory bank preliminarily associated with the memory bank with the defects. In this case, it is assumed that the redundant region of the other preliminarily associated memory bank is not used (i.e., another defect is not repaired with the redundant region by using the fusing method).
Based on the foregoing assumption, a detailed description will be given herein below to each of the processes.
The flag bit 201 indicates whether or not any of the redundant regions 160A to 163B is to be accessed. When the flag bit 201 is set to 1, it indicates that any of the redundant regions is to be accessed. It is assumed that the flag bit 201 cannot be set to 1 by means of software such as a program. The entry select bits 202 indicate the entries in the memory bank. The bank select bits 203 indicate the bank number of the memory bank. The upper/lower select bit 204 indicates which one of the bank columns the memory bank belongs to.
It is assumed that, in the memory 101, the number of entries in each of the memory banks is 128 and the number of entries in each of the redundant regions is 4. It is also assumed that four entries amount to one repair size unit in the present embodiment, “0—1001100—00—1” of
The address conversion circuit 107 sets 1 to the flag bit 301. When the redundant region of the memory bank indicated by the input address 106 is already used, the address conversion circuit 107 converts the bank select bits 203 and the upper/lower select bit 204 such that they specify the other memory bank preliminarily associated to repair a new defect and sets the resulting values respectively to the bank select bits 303 and the upper/lower select bit 304. By thus converting the input address 106, the address conversion circuit 107 generates the redundant address 108.
In the present embodiment, it is assumed that a defect is repaired by using the redundant region of an adjacent bank belonging to the same bank column in the memory 101. Accordingly, when the redundant region 160A of the memory bank 150A is already used as a result of repairing another defective region by using the fusing method, a defect is repaired by using the redundant region 162A of the memory bank 152A. As a result, when “0—1001100—00—1” is given as the input address 106 as shown in
The bank conversion circuit 109 converts the bank select bit 203 and the upper/lower select bit 204 in the received input address 106 in the same manner as the address conversion circuit 107. Specifically, when the redundant region of the memory bank indicated by the input address 106 is already used, the bank conversion circuit 109 sets the bank select bit 401 and the upper/lower select bit 402 such that they specify the other memory bank preliminarily associated to repair a new defect. When “0—1001100—00—1” is given as the input address 106 as shown in
The defective address register 111 holds the defective addresses indicating the defective portions repaired with the respective redundant regions of the memory banks. When the redundant region of the memory bank with a defect is already used, an address repaired with another memory bank is held in the defective address register 111. In the present embodiment, the number of entries in each of the redundant region is 4 and four entries amount to the repair size unit so that the defective address register 111 holds one defective address for each of the memory banks.
For example, according to
When the bank select address 110 is “10—1” as shown in
When the defective address read from the defective address register is “10011”, the regions indicated by the entries “10011—00” to “10011—11” are already repaired, since the number of the entries in each of the memory banks is 128. Therefore, as shown in
In the memory 101, data is read from the memory bank 150A indicated by the address “0—1001100—00—1” as the input address 106 and from the redundant region 162A indicated by the address “1—1001100—10—1” as the redundant address 108. Since the hit signal 113 is valid, the region indicated by the input address 106 is a region where a defect has occurred and is repaired so that the selector 114 selects the data read with the redundant address 108.
By thus predetermining the bits to be converted in the address conversion circuit 107, the number of bits to be converted can be reduced so that it is possible to minimize a reduction in the speed of a memory access and reduce the circuit scale.
In addition, a memory bank having a redundant region capable of repairing a defect when it occurs in a specified memory bank may be predetermined and activated. As a result, it is possible to control the number of the memory banks to be simultaneously activated and reduce power consumption.
In the present embodiment, the memory 101 has the eight memory banks, the number of entries in each of the redundant regions is 4, and four entries amount to the repair size unit so that the number of entries in the defective address register 111 is 8. In the case where a defect is repaired by setting the number of memory banks to Na, setting the number of entries in each of the redundant regions to Nb, and using Nc entries in the memory as a repair size unit (Na is an integer of not less than 2 and each of Nb and Nc is a natural number), the defective address register 107 has Na*Nb/Nc entries.
By thus predetermining the repair size unit and the memory bank having the redundant region which repairs a region where a defect has occurred, the number of entries in the defective address register 111 is determined. Accordingly, by adjusting the number of entries in the defective address register 111, it is also possible to reduce the circuit area of the defective address register 111 and reduce a time required for address conversion.
In addition, the sequential process of generating the bank select address 110, reading the defective address from the defective address register 111, and outputting the hit signal 113 and the process of reading data from the memory 101 are performed independently of each other. As a result, it is possible to minimize the influence of each of the address conversion and the comparison between the input address and the defective address on the speed of a memory access.
Although the address conversion circuit 107 and the bank conversion circuit 109 are constructed as separate and discrete circuits in the present embodiment, it is also possible to cut out a part of the redundant address 108 resulting from the conversion by the address conversion circuit 107 and use it as the bank select address 110. This obviates the necessity for the bank conversion circuit 109 and allows a further reduction in circuit scale.
The other memory banks may be preliminarily associated with the memory bank indicated by the input address 106 to repair a new defect when the redundant region of the memory bank is already used. In this case, the address conversion circuit 107 generates a plurality of the redundant addresses 108 by converting the input address 106 received thereby and outputs the generated redundant addresses 108. The memory 101 is accessed with the input address 106 and with the plurality of redundant addresses 108 so that the data corresponding thereto is read from the memory 101. It is also possible to independently read the data accessed with the respective addresses.
As described above, since the present invention reduces the area of the circuit for holding defective addresses and minimizes a reduction in the speed of a memory access, it is useful for a system of which a reduction in circuit scale and a high-speed memory access are required.
Number | Date | Country | Kind |
---|---|---|---|
2006-203856 | Jul 2006 | JP | national |