Memory and its addressing method
By introducing a decoding selection instruction in the memory to control address decoding, the problems of low memory addressing test efficiency and insufficient accuracy in the existing technology are solved, and a more efficient and accurate test process is achieved.
Patent Information
- Application Number
- CN201910904486.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-24
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2039-09-24
AI Technical Summary
In the existing technology, memory addressing test efficiency is low, requiring frequent switching of test paths and timing, which easily introduces human errors and reduces test accuracy.
A memory and its addressing method are designed. Through the input module, control module and selection module, the decoding selection instruction is used to control the address/command input signal for redundant decoding or normal decoding, reducing the switching of the signal input interface and ensuring the address signal path. and timing consistency.
It improves memory testing efficiency and accuracy, reduces human testing errors, and achieves a more flexible and convenient testing process.
Smart Images

Figure CN112634960B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of memory technology, and in particular to a memory and an addressing method thereof. Background Art
[0002] The design of DRAM memory generally adds redundant cells internally to repair defective row storage locations and column storage locations at normal storage locations during the manufacturing process.
[0003] Please refer to Figure 1 , is a schematic diagram of the layout position of normal and redundant storage of the DRAM memory of the prior art of the present invention.
[0004] Among them, only word lines (WL) and bit lines (BL) are shown, wherein 16 rows of redundant storage are set for every 1024 horizontal word lines WLs, corresponding to 16 redundant word lines RedWLs, and 16 columns of redundant storage are set for every 512 vertical bit lines BL, corresponding to 16 redundant bit lines RedBLs.
[0005] During the memory chip testing phase, normal memory cells need to be accessed to test whether each normal memory cell is valid. If invalid, the address of the invalid memory cell needs to be recorded and replaced with a redundant memory cell for data storage.
[0006] Therefore, during the chip testing phase, it is necessary to test the normal storage cells and the redundant storage cells separately. Since the addresses of the normal storage cells and the redundant storage cells are decoded in different ways, in the prior art, the normal storage cells and the redundant storage cells are usually tested separately through different paths and timing controls to access the corresponding addresses. During the testing process, it is necessary to frequently switch between the two tests, which increases the testing time. Furthermore, due to the differences in the testing paths and timings, it is also easy to introduce human testing errors, resulting in reduced testing accuracy.
[0007] Therefore, in the prior art, the efficiency of addressing test for memory needs to be further improved. Summary of the invention
[0008] The technical problem to be solved by the present invention is to provide a memory and an addressing method thereof, so as to improve the test efficiency of the memory.
[0009] In order to solve the above problems, the present invention provides a memory, comprising: an input module, for receiving an address / command input signal at least including an access address, a command and a decoding selection instruction, wherein the access address includes a block address, a row address and a column address; a storage array, comprising a plurality of storage blocks, each storage block including a plurality of storage cells arranged in an array; a control module, comprising a plurality of storage block local control units, each storage block local control unit being connected to each storage block, respectively, for decoding an address / command input signal having a corresponding block address to select a storage cell corresponding to the access address, wherein the storage block local control unit comprises: at least one decoding unit, wherein the decoding unit is used to perform redundant decoding or normal decoding on the address / command input signal, wherein the input end of the decoding unit is coupled to the input module, and the output end of the decoding unit is coupled to the storage cell; a selection module, wherein the input end of the selection module is coupled to the input module, and the output end of the selection module is coupled to the decoding unit, and wherein the first enable signal is output to the decoding unit according to the decoding selection instruction in the address / command input signal, so as to control the decoding unit to perform redundant decoding or normal decoding on the address / command input signal corresponding to the decoding selection instruction.
[0010] Optionally, the decoding unit includes a redundant pre-decoding unit, a normal pre-decoding unit and a secondary decoding unit; the output end of the selection module is coupled to the enable end of the redundant pre-decoding unit and the enable end of the normal pre-decoding unit; the output ends of the redundant pre-decoding unit and the normal pre-decoding unit are both coupled to the input end of the secondary decoding unit.
[0011] Optionally, the storage block local control unit also includes an address comparison unit, wherein an input end of the address comparison unit is coupled to the input module, and an output end of the address comparison unit is coupled to the decoding unit. The address comparison unit is used to store defect address information, and compare the access address in the address / command input signal with the defect address information, and output a second enable signal based on the comparison result, which is used to control the decoding unit to perform redundant decoding or normal decoding on the address / command input signal.
[0012] Optionally, the input module includes: an input interface, a buffer unit coupled to the input interface, a logic control unit coupled to an output end of the buffer unit, and a normal address latch unit coupled to an output end of the logic control unit.
[0013] Optionally, the storage block local control unit further includes: a first local latch unit, an input end of the first local latch unit is coupled to an output end of a normal address latch unit of the input module.
[0014] Optionally, the input interface includes multiple input pins, and the address / command input signal includes multiple groups of digital signals, each group of digital signals includes multiple level signals input through the multiple input pins, wherein the decoding selection instruction is a level signal input by one pin in one group of digital signals, and the decoding selection instruction corresponds to the decoding method of the address / command input signal.
[0015] Optionally, the selection module includes: a multiplexer, a first input terminal of the multiplexer is coupled to the input module, a second input terminal is connected to a reference level, and a control terminal is connected to a test control signal, and the test control signal is used to control the multiplexer to output a signal corresponding to the first input terminal or the second input terminal.
[0016] Optionally, the selection module further includes: a test enable latch unit, wherein an input end of the test enable latch unit is coupled to an output end of the multiplexer.
[0017] Optionally, the decoding unit further includes: a second local latch unit, an input end of the second local latch unit being coupled to an output end of the test enable latch unit of the selection module.
[0018] Optionally, the storage block local control unit includes two decoding units, which are respectively used to decode the row address and the column address in the access address.
[0019] The technical solution of the present invention also provides a method for addressing a memory, comprising: receiving an address / command input signal comprising at least an access address, a command and a decoding selection instruction, wherein the access address comprises a block address, a row address and a column address; performing redundant decoding or normal decoding on the address / command input signal corresponding to the decoding selection instruction according to the decoding selection instruction in the address / command input signal; and selecting a storage unit corresponding to the access address according to the address obtained after decoding.
[0020] Optionally, the redundant decoding includes redundant pre-decoding and secondary decoding; and the normal decoding includes normal pre-decoding and secondary decoding.
[0021] Optionally, it also includes: during normal use of the memory, comparing the access address in the address / command input signal with the defect address information, and performing redundant decoding or normal decoding on the address / command input signal based on the comparison result.
[0022] Optionally, the address / command input signal is received through multiple input pins, and the address / command input signal includes multiple groups of digital signals, wherein each group of digital signals includes multiple level signals input through the multiple input pins, wherein the decoding selection instruction is a level signal input by one pin in one group of digital signals, and the decoding selection instruction corresponds to a decoding method for the address / command input signal.
[0023] Optionally, the above method is used to decode the row address and column address in the address / command input signal respectively.
[0024] The memory of the present invention can control the corresponding redundant decoding or normal decoding of the address / command input signal by setting the decoding selection instruction, so that the test process is more flexible without switching the signal input interface. The path and timing of the address signal input are consistent with the path and timing of the first enable signal generation, which can reduce human test errors, thereby improving the accuracy and convenience of the test. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a structural schematic diagram of a storage array of a memory of the prior art of the present invention;
[0026] Figure 2 A schematic diagram of the structure of a memory according to a specific embodiment of the present invention;
[0027] Figure 3 A schematic diagram of the structure of a memory according to a specific embodiment of the present invention;
[0028] Figure 4 A schematic diagram of the structure of a memory according to a specific embodiment of the present invention;
[0029] Figure 5 A memory addressing method according to a specific embodiment of the present invention. DETAILED DESCRIPTION
[0030] The specific implementation of a memory and an addressing method thereof provided by the present invention will be described in detail below with reference to the accompanying drawings.
[0031] Please refer to Figure 2 , which is a schematic diagram of the structure of a memory according to a specific embodiment of the present invention.
[0032] The memory 200 includes: an input module 201 , a storage array 202 , a control module 203 and a selection module 204 .
[0033] The storage array 202 may include multiple storage blocks (Banks), such as Bank1 to Bankn. Each Bank may include multiple storage cells distributed in an array, and each storage cell has a row address and a column address. Therefore, each storage cell in the storage array 202 has a block address, a row address, and a column address. When addressing a storage cell, first find the storage block where the storage cell is located according to the block address, and then find the specific location of the storage cell in the storage block according to the row address and the column address. Each storage block includes normal storage cells and redundant storage cells arranged in an array, and the address decoding of the normal storage cells and the address decoding of the redundant storage cells need to adopt different decoding methods respectively.
[0034] The input module 201 is used to receive an address / command input signal including at least an access address, a command and a decoding selection instruction, wherein the access address includes a block address, a row address and a column address. The decoding selection instruction corresponds to the address decoding mode and is used to indicate whether to perform redundant decoding or normal decoding on the address.
[0035] The control module 203 includes multiple storage block local control units, such as storage block local control unit 1 to storage block local control unit n, which are respectively connected to corresponding storage blocks Bank1 to storage block Bankn, and are used to decode address / command input signals with corresponding block addresses to select the storage unit corresponding to the access address.
[0036] The input module 201 is connected to the control module 203. The address / command input signal received by the input module 201 is processed and then input into the storage block local control unit corresponding to the block address in the control module 203 for decoding. The storage block local control unit includes: at least one decoding unit, the decoding unit is used to perform redundant decoding or normal decoding on the address / command input signal, the input end of the decoding unit is coupled to the input module, and the output end of the decoding unit is coupled to the storage block. Usually, each storage block local control unit includes two decoding units, namely a row decoding unit for row address decoding and a column decoding unit for column address decoding.
[0037] The input end of the selection module 204 is coupled to the input module 201, and the output end of the selection module 204 is coupled to the decoding unit in the local control unit of the storage block, and is used to output a first enable signal to the decoding unit in the local control unit of the corresponding storage block according to the decoding selection instruction in the address / command input signal, so as to control the decoding unit to perform redundant decoding or normal decoding on the address / command input signal.
[0038] Please refer to Figure 3, is a schematic diagram of the structure of the memory according to a specific embodiment of the present invention.
[0039] In this specific implementation, only the circuit structure schematic diagram related to column decoding is shown.
[0040] The input module 303 includes: an input interface, a buffer unit 3031 coupled to the input interface, a logic control unit 3032 coupled to an output end of the buffer unit 3031 , and a normal address latch unit 3033 coupled to an output end of the logic control unit 3032 .
[0041] In this specific implementation, taking LPDDR4 as an example, the input interface includes 6 pins, namely pins CA0 to CA5, which are respectively used to input high and low level signals, forming a group of digital signals as address / command input signals CA<5:0>. The complete address / command input signal can be input once or multiple times, and the address / command input signal includes: block address, column address, row address and command information, and the command can be an operation instruction such as row address decoding or column address decoding, read operation, write operation or refresh. The address / command input signal CA<5:0> also includes a decoding selection instruction, which is used to select redundant decoding or normal decoding of the address / command input signal.
[0042] Usually, multiple groups of digital signals need to be transmitted at multiple clock edges to complete the transmission of complete command and address information to form a complete address / command input signal. Among the address / command input signals input at a specific clock edge, there will be an input signal of a pin that is a useless signal for the address and command information. For example, the input pin CA3 of LPDDR4 will not be used as a command or address input at a specific clock edge. Therefore, in a specific embodiment of the present invention, a decoding selection instruction can be input at the specific clock edge. The decoding selection instruction received by the pin CA3 at the specific clock edge is only used as a selection instruction for the subsequent decoding method, and will not affect the final address decoding result.
[0043] In a specific embodiment of the present invention, when one of the pins of the input interface does not serve as a valid address / command input pin at a certain clock edge, the pin is used to input a decoding selection instruction at the clock edge, thereby eliminating the need to add additional pins for the decoding selection instruction and eliminating the need to change the timing and path of the address / command input signal, thereby enabling flexible and efficient implementation of the selection of the decoding method.
[0044] In this specific implementation, the address / command input signal CA<5:0> is buffered by the buffer unit 3031 and subjected to certain logic processing by the logic control unit 3032, and then sent to the normal address latch unit 3033 to latch the required column address signal ColAdr0<9:4>, and then the column address signal ColAdr0<9:4> is sent to the storage block local control unit 301 corresponding to the block address in the address / command input signal for column address decoding.
[0045] In other specific implementations of the present invention, the specific structure of the input module 303 can adopt various technical solutions known to ordinary technicians in the field, which will not be described in detail here.
[0046] In this specific implementation, the storage block local control unit 301 includes a column decoding unit, and the storage block 302 is coupled to the output end of the column secondary decoding unit 3013, and selects the storage unit corresponding to the access address according to the decoded access address output by the column secondary decoding unit 3013.
[0047] The column decoding unit further includes a column normal pre-decoding unit 3011, a column redundant pre-decoding unit 3012, and a column secondary decoding unit 3013; the output ends of the column redundant pre-decoding unit 3012 and the column normal pre-decoding unit 3011 are coupled to the input end of the column secondary decoding unit 3012, and the address / command input signal enters the column secondary decoding unit 3013 for secondary decoding after column redundant decoding or column normal pre-decoding to obtain the final column address information. For example, after decoding by the column normal pre-decoding unit 3011 and the column secondary decoding unit 3013, the column address of the normal storage unit is obtained, so that a column storage unit corresponding to the column address in the storage block 302 can be selected. For another example, after decoding by the column redundant pre-decoding unit 3012 and the column secondary decoding unit 3013, the column address of the redundant storage unit is obtained, so that a column redundant storage unit corresponding to the column address in the storage block 302 can be selected.
[0048] In this specific implementation, the storage block local control unit 301 also includes a first local latch unit 3015, the input end of the first local latch unit 3015 is coupled to the output end of the normal address latch unit 3033, and the output end of the first local latch unit 3015 is coupled to the input ends of the column redundancy pre-decoding unit 3012 and the column normal pre-decoding unit 3011.
[0049] The column address signal ColAdr0<9:4> outputted from the normal address latch unit 3033 is outputted to the column redundancy pre-decoding unit 3012 and the column normal pre-decoding unit 3011 after passing through the first local latch unit 3015 .
[0050] The memory further includes a selection module 304, the output end of the selection module 304 is coupled to the enable end of the column redundancy pre-decoding unit 3012 and the enable end of the column normal pre-decoding unit 3011. The input end of the selection module 304 is coupled to the input module 303, and is used to receive the decoding selection instruction in the address / command input signal at the corresponding clock edge, and control the column redundancy pre-decoding unit 3012 to enable or control the column normal pre-decoding unit 3011 to enable according to the decoding selection instruction in the address / command input signal. For example, if the decoding selection instruction is 1 (high level), the selection module 304 outputs the first enable signal RedColEn=1, controls the column redundant pre-decoding unit 3012 to be enabled, performs column redundant decoding on the address / command input signal ColAdr0<9:4>, and obtains the column address of the redundant storage unit; if the decoding selection instruction is 0 (low level), the selection module 304 outputs the first enable signal RedColEn=0, controls the column normal pre-decoding unit 3011 to be enabled, performs column normal decoding on the address / command input signal ColAdr0<9:4>, and obtains the column address of the normal storage unit.
[0051] In this specific implementation, the selection module 304 includes: a multiplexer MUX, a first input end of the multiplexer MUX is coupled to the input module 303, and a second input end is connected to a reference level. In this specific implementation, the reference level is a low level 0. The control end of the selection module 304 is connected to a test control signal Cm0_ts_RedTest, and the test control signal Cm0_ts_RedTest is used to control the multiplexer MUX to output a signal corresponding to the first input end or the second input end. The selection module 304 also includes a test enable latch unit 3041, and the input end of the test enable latch unit 3041 is coupled to the output end of the multiplexer MUX.
[0052] When the test control signal Cm0_ts_RedTest=1, the multiplexer MUX outputs the decoding selection instruction inputted from the first input terminal to the test enable latch unit 3041, and after passing through the test enable latch unit 3041, outputs the first enable signal RedColEn0 to the storage block local control unit 301, so as to enable the column normal pre-decoding unit 3011 or the column redundant pre-decoding unit 3012.
[0053] The storage block local control unit 301 also includes a second local latch unit 3016, the input end of the second local latch unit 3016 is coupled to the output end of the selection module 304, and is used to latch the first enable signal RedColEn0; the output end of the second local latch unit 3016 is coupled to the enable ends of the column redundant pre-decoding unit 3012 and the column normal pre-decoding unit 3011.
[0054] After the address / command input signal input by the input module 303 passes through the buffer unit 3031 and the logic control unit 3032, the required address information ColAdr<9:4> is latched by the normal address storage 3033; at the same time, the selection module 304 outputs the first enable signal RedColEn0 according to the decoded selection instruction in the acquired address / command input signal, and the column address signal ColAdr<9:4> and the first enable signal RedColEn0 respectively reach the storage block local control unit 301, and then are latched by the first local latch unit 3015 and the second local latch unit 3016 respectively. When the second local latch unit 3016 outputs the first enable signal RedColEn=1, the decoding of the normal path will be stopped and the column redundancy pre-decoding unit 3012 will be enabled; when the first enable signal RedColEn=0, the column redundancy pre-decoding unit 3012 will be stopped, and the normal decoding path will not be affected. In a specific implementation, when the decoding selection instruction is 1, the first enable signal RedColEn=1; when the decoding selection instruction is 0, the first enable signal RedColEn=0.
[0055] When performing column tests on redundant storage cells and normal storage cells, the decoding selection instruction can be set to control the storage block local control unit 301 to perform corresponding redundant decoding or normal decoding, thereby making the test process more flexible without switching the signal input interface.
[0056] When switching between normal storage units and redundant storage units before testing, only the decoding selection instruction needs to be controlled. Each latch unit is controlled by the same clock signal CLK. The control timing and path of the column address signal ColAdr0<9:4> and the first enable signal RedColEn are completely consistent, which can reduce human testing errors and thus improve the accuracy and convenience of the test.
[0057] In this specific implementation, the local storage block control unit 3014 also includes a column address comparison unit 3014, the input end of the column address comparison unit 3014 is coupled to the input module 303, and the output end of the column address comparison unit 3014 is coupled to the enable end of the column normal pre-decoding unit 3011 and the column redundant pre-decoding unit 3011.
[0058] The address comparison unit 3014 is used to store the defect address information obtained during the test process. When the memory is read and written normally, the address comparison unit 3014 compares the column address signal ColAdr<9:4> with the defect address information, and outputs the second enable signal RedColRepair according to the comparison result to control the decoding unit to perform corresponding redundant decoding or normal decoding on the address / command input signal. Specifically, when the access address matches the defect address, the second enable signal RedColRepair=1, the access address is invalid, and thus the column redundant pre-decoding unit 3012 is enabled to perform column redundant pre-decoding on the input signal to obtain the column address of the redundant storage unit that replaces the defect address; when the access address does not match the defect address, the access address is valid, and the second enable signal RedColRepair=0, the column normal pre-decoding unit 3011 is enabled to perform column normal pre-decoding on the input signal to obtain the column address of the normal storage unit.
[0059] When performing normal read and write operations on the memory, the test control signal Cm0_ts_RedTest=0 may be set so that the selection module 304 does not obtain a decoding selection instruction, and stops the selection module 304 from selecting a redundant decoding path.
[0060] Please refer to Figure 4 , is a schematic diagram of the structure of a memory according to another specific embodiment of the present invention.
[0061] Figure 4 Only the circuit structure schematic diagram related to column decoding is shown.
[0062] The input module 303 includes: an input interface, a buffer unit 3031 coupled to the input interface, a logic control unit 3032 coupled to the output end of the buffer unit 3031, and a normal address latch unit 4033 coupled to the output end of the logic control unit 3032. After the address / command input signal CA<5:0> is buffered by the buffer unit 3031 and subjected to certain logic processing by the logic control unit 3032, it is sent to the normal address latch unit 3033 to latch the required row address signal RowAdr0<15:0>, and then the row address signal RowAdr0<15:0> is sent to the row decoding unit in the storage block local control unit 301 corresponding to the block address in the address / command input signal for row address decoding.
[0063] The row decoding unit in the storage block local control unit 301 includes: a row normal pre-decoding unit 4011, a row redundant pre-decoding unit 4012 and a row secondary decoding unit 4013; the output ends of the row redundant pre-decoding unit 4012 and the row normal pre-decoding unit 4011 are coupled to the input end of the row secondary decoding unit 4012, and the address / command input signal enters the row secondary decoding unit 4012 for secondary decoding after row redundant decoding or row normal pre-decoding to obtain the final row address information.
[0064] In this specific implementation, the storage block local control unit 301 further includes a first local latch unit 4015, which is used to locally latch the row address signal RowAdr0<15:0>. The input end of the first local latch unit 4015 is coupled to the output end of the normal address latch unit 3033, and the output end of the first local latch unit 4015 is coupled to the input ends of the row redundancy pre-decoding unit 4012 and the row normal pre-decoding unit 4011.
[0065] The storage block local control unit 301 also includes a second local latch unit 4016, the input end of the second local latch unit 4016 is coupled to the output end of the selection module 304, and is used to latch the first enable signal RedRowEn0; the output end of the second local latch unit 4016 is coupled to the enable ends of the row redundant pre-decoding unit 4012 and the row normal pre-decoding unit 4011.
[0066] When the test control signal Cm0_ts_RedTest=1, the multiplexer MUX outputs the decoding selection instruction inputted from the first input terminal to the test enable latch unit 3041, and after passing through the test enable latch unit 3041, outputs the first enable signal RedRowEn0 to the storage block local control unit 301, which is used to enable the row normal pre-decoding unit 4011 or the row redundant pre-decoding unit 4012. When the locally latched first enable signal RedRowEn=1, the decoding of the normal path is stopped, and the row redundant pre-decoding unit 4012 is enabled; when the first enable signal RedRowEn=0, the row redundant pre-decoding unit 4012 is stopped, and the normal decoding path is not affected.
[0067] Corresponding to the column test, when performing the row test, the decoding selection instruction in the address / command input signal can be used to control whether the row address signal is subjected to redundant decoding or normal decoding.
[0068] In this specific implementation, the local storage block control unit 301 also includes a row address comparison unit 4014, the input end of the row address comparison unit 4014 is coupled to the input module 303, and the output end of the row address comparison unit 4014 is coupled to the enable end of the row normal pre-decoding unit 4011 and the row redundant pre-decoding unit 4011.
[0069] The row address comparison unit 4014 is used to store the defect address information obtained during the test process. When the memory is read and written normally, the row address comparison unit 4014 compares the row address signal RowAdr<15:0> with the defect address information, and outputs the second enable signal RedRowRepair according to the comparison result to control the decoding unit to perform corresponding redundant decoding or normal decoding on the address / command input signal. Specifically, when the access address matches the defect address, the second enable signal RedRowRepair=1, the access address is invalid, and thus the row redundant pre-decoding unit 4012 is enabled to perform row redundant pre-decoding on the input signal to obtain the row address of the redundant storage unit that replaces the defect address; when the access address does not match the defect address, the access address is valid, and the second enable signal RedRowRepair=0, the row normal pre-decoding unit 4011 is enabled to perform row normal pre-decoding on the input signal to obtain the row address of the normal storage unit.
[0070] When performing normal read and write operations on the memory, the test control signal Cm0_ts_RedTest can be set to 0, so that the selection module 304 does not obtain the decoding selection instruction, and stops the selection function of the selection module 304 for the redundant decoding path. At this time, the decoding selection instruction may not be set.
[0071] A specific embodiment of the present invention also provides a memory addressing method.
[0072] Please refer to Figure 5 , the addressing method of the memory comprises the following steps:
[0073] Step S501: receiving an address / command input signal including at least an access address, a command and a decoding selection instruction, wherein the access address includes a block address, a row address and a column address.
[0074] The address / command input signal can be received through multiple input pins, and the address / command input signal includes multiple groups of digital signals, wherein each group of digital signals includes multiple level signals input through the multiple input pins, wherein the decoding selection instruction is a level signal input by one pin in one group of digital signals, and the decoding selection instruction corresponds to the decoding method of the address / command input signal.
[0075] Step S502: According to the decoding selection instruction in the address / command input signal, perform redundant decoding or normal decoding corresponding to the decoding selection instruction on the address / command input signal.
[0076] The redundant decoding includes redundant pre-decoding and secondary decoding; the normal decoding includes normal pre-decoding and secondary decoding.
[0077] The decoding selection instruction can be set to select a corresponding decoding mode for the address / command input signal. For example, when the decoding selection instruction is 1, normal decoding is performed; when the decoding selection instruction is 0, redundant decoding is performed.
[0078] Step S503: According to the address obtained after decoding, a storage unit corresponding to the access address is selected.
[0079] The above steps can be used to decode the row address and the line address respectively.
[0080] By setting the corresponding decoding selection instructions, the access to the redundant storage unit and the normal storage unit can be switched, which is more flexible in the test process and the control timing is consistent, which can avoid human test errors and improve test accuracy and flexibility.
[0081] The addressing method of the memory of the present invention further includes: in normal use, comparing the access address in the address / command input signal with the defect address information, and performing corresponding redundant decoding or normal decoding on the address / command input signal according to the comparison result. Specifically, when the access address matches the defect address, the access address is invalid, and the input signal is redundantly pre-decoded to obtain the address of the redundant storage unit that replaces the defect address; when the access address does not match the defect address, the access address is valid, and the input signal is normally decoded to obtain the address of the normal storage unit.
[0082] The above is only a preferred embodiment of the present invention. It should be pointed out that ordinary technicians in this technical field can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A memory, characterized in that: include: An input module, configured to receive an address / command input signal including at least an access address, a command, and a decoding selection instruction, wherein the access address includes a block address, a row address, and a column address; A storage array, comprising a plurality of storage blocks, each storage block comprising a plurality of storage cells arranged in an array; a control module, comprising a plurality of storage block local control units, each storage block local control unit being connected to each storage block, and being used to decode an address / command input signal having a corresponding block address to select a storage cell corresponding to the access address, the storage block local control unit comprising: at least one decoding unit, the decoding unit being used to perform redundant decoding or normal decoding on the address / command input signal, the input end of the decoding unit being coupled to the input module, and the output end of the decoding unit being coupled to the storage cell; a selection module, wherein an input end of the selection module is coupled to the input module, and an output end of the selection module is coupled to the decoding unit, and is used to output a first enable signal to the decoding unit according to a decoding selection instruction in the address / command input signal during testing, so as to control the decoding unit to perform redundant decoding or normal decoding on the address / command input signal corresponding to the decoding selection instruction; The input module comprises a normal address latch unit, and the normal address latch unit is used to send the address / command input signal to the decoding unit; The selection module further includes a test enable latch unit, wherein the test enable latch unit is used to output the first enable signal to the decoding unit, and the test enable latch unit and the normal address latch unit are controlled by a same clock signal.
2. The memory according to claim 1, characterized in that: The decoding unit includes a redundant pre-decoding unit, a normal pre-decoding unit and a secondary decoding unit; the output end of the selection module is coupled to the enable end of the redundant pre-decoding unit and the enable end of the normal pre-decoding unit; the output ends of the redundant pre-decoding unit and the normal pre-decoding unit are both coupled to the input end of the secondary decoding unit.
3. The memory according to claim 1, characterized in that: The storage block local control unit also includes an address comparison unit, an input end of the address comparison unit is coupled to the output end of the input module, and an output end of the address comparison unit is coupled to the decoding unit. The address comparison unit is used to store defect address information, and during normal use of the memory, compares the access address in the address / command input signal with the defect address information, and outputs a second enable signal based on the comparison result, which is used to control the decoding unit to perform redundant decoding or normal decoding on the address / command input signal.
4. The memory according to claim 1, characterized in that: The input module includes: an input interface, a buffer unit coupled to the input interface, a logic control unit coupled to an output end of the buffer unit, and the normal address latch unit coupled to an output end of the logic control unit.
5. The memory according to claim 4, characterized in that: The storage block local control unit further includes: a first local latch unit, an input end of the first local latch unit is coupled to an output end of a normal address latch unit of the input module.
6. The memory according to claim 4, characterized in that: The input interface includes multiple input pins, and the address / command input signal includes multiple groups of digital signals, each group of digital signals includes multiple level signals input through the multiple input pins, wherein the decoding selection instruction is a level signal input by one pin in one group of digital signals, and the decoding selection instruction corresponds to the decoding method of the address / command input signal.
7. The memory according to claim 1, characterized in that: The selection module includes: a multiplexer, a first input end of the multiplexer is coupled to the input module, a second input end is connected to a reference level, and a control end is connected to a test control signal, and the test control signal is used to control the multiplexer to output a signal corresponding to the first input end or the second input end.
8. The memory according to claim 7, characterized in that: An input terminal of the test enable latch unit is coupled to an output terminal of the multiplexer.
9. The memory according to claim 8, characterized in that: The decoding unit further includes: a second local latch unit, an input end of the second local latch unit is coupled to an output end of the test enable latch unit of the selection module.
10. The memory according to claim 1, characterized in that: The storage block local control unit includes two decoding units, which are respectively used to decode the row address and the column address in the access address.
11. A memory addressing method, characterized in that: include: receiving an address / command input signal including at least an access address, a command, and a decode selection instruction, wherein the access address includes a block address, a row address, and a column address; The received address / command input signal is sent to a decoding unit through a normal address latch unit, and the decoding unit is used to perform redundant decoding or normal decoding on the address / command input signal; During testing, according to the first enable signal generated by the decoding selection instruction in the address / command input signal, the address / command input signal is subjected to redundant decoding or normal decoding corresponding to the decoding selection instruction, the first enable signal is output by a test enable latch unit to the decoding unit, and the test enable latch unit and the normal address latch unit are controlled by the same clock signal; according to the address obtained after decoding, the storage unit corresponding to the access address is selected.
12. The memory addressing method according to claim 11, characterized in that: The redundant decoding includes redundant pre-decoding and secondary decoding; the normal decoding includes normal pre-decoding and secondary decoding.
13. The memory addressing method according to claim 11, characterized in that: Also includes: During normal use of the memory, the access address in the received address / command input signal is compared with the defect address information through the normal address latch unit, and the address / command input signal is redundantly decoded or normally decoded according to the comparison result.
14. The memory addressing method according to claim 11, characterized in that: The address / command input signal is received through multiple input pins, and the address / command input signal includes multiple groups of digital signals, wherein each group of digital signals includes multiple level signals input through the multiple input pins, wherein the decoding selection instruction is a level signal input by one pin in one group of digital signals, and the decoding selection instruction corresponds to the decoding method of the address / command input signal.
15. The memory addressing method according to claim 11, characterized in that: The addressing method described in any one of claims 11 to 14 is used to decode the row address and the column address in the address / command input signal respectively.
