US20060090106A1 - Generalized BIST for multiport memories - Google Patents
Generalized BIST for multiport memories Download PDFInfo
- Publication number
- US20060090106A1 US20060090106A1 US10/974,450 US97445004A US2006090106A1 US 20060090106 A1 US20060090106 A1 US 20060090106A1 US 97445004 A US97445004 A US 97445004A US 2006090106 A1 US2006090106 A1 US 2006090106A1
- Authority
- US
- United States
- Prior art keywords
- memory
- bist
- write
- data
- read
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
- G11C29/08—Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
- G11C29/12—Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
- G11C29/1201—Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details comprising I/O circuitry
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
- G11C29/08—Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
- G11C29/12—Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
- G11C29/08—Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
- G11C29/48—Arrangements in static stores specially adapted for testing by means external to the store, e.g. using direct memory access [DMA] or using auxiliary access paths
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C8/00—Arrangements for selecting an address in a digital store
- G11C8/16—Multiple access memory array, e.g. addressing one storage element via at least two independent addressing line groups
Definitions
- the present invention relates to built-in self-testing (BIST) for computer memories, and, in particular, to BIST testing for multiport memories.
- BIST testing refers to testing implemented by on-chip circuitry to verify the proper operation of a computer memory.
- BIST testing typically involves (1) writing known data into specific locations within a computer memory, (2) reading that data from those memory locations, and (3) comparing the read data with the expected (known) data to determine whether they are identical. If the read data does not match the expected data, then something in the computer memory architecture is not working properly.
- BIST testing can be designed to verify the proper operation of each memory cell in the computer memory, each write-address decoder used to write data into the computer memory, and each read-address decoder used to read data from the computer memory.
- different computer memories may have different numbers of bits per entry (i.e., bits per word or row), different numbers of entries, different numbers of write ports through which data can be written into the memories, and/or different numbers of read ports through which data can be read from the memories.
- BIST hardware and a corresponding BIST algorithm would be manually designed on a case-by-case basis for each different type of computer memory having a specific set of configuration characteristics (e.g., bits per entry, number of entries, number of write ports, and number of read ports).
- a typical BIST hardware design relies on a different comparator for each different read port. That is, data read from the computer memory via a particular read port is forwarded to a corresponding comparator that processes data read from the memory via only that read port.
- the present invention is BIST circuitry for testing a memory having multiple read ports.
- the BIST circuitry comprises a multiplexer block and a comparator.
- the multiplexer block receives data from each of the multiple read ports and outputs selected data from one of the multiple read ports.
- the comparator compares the selected data from the multiplexer block with expected data to determine whether the selected data matches the expected data.
- the present invention is a method for designing BIST circuitry for testing a memory having one or more write ports and one or more read ports. According to the method, one or more values are assigned for one or more memory configuration parameters for the memory, and a generic BIST algorithm is compiled based on the one or more memory configuration parameters to generate a design for the BIST circuitry.
- FIG. 1 shows a block diagram of a generalized architecture for computer memories that support BIST testing
- FIG. 2 shows Table I, which presents the relationships between various memory configuration characteristics, according to one possible scheme for implementing the computer memory of FIG. 1 ;
- FIG. 3 shows a flow diagram of an exemplary BIST algorithm for the memory architecture of FIG. 1 ;
- FIG. 4 shows Tables II, III, and IV, which present code for one possible implementation of BIST testing for the three phases of FIG. 3 ;
- FIG. 5 shows a flow diagram of a design tool that can be used to generate specific hardware designs based on the generalized architecture of FIG. 1 and the BIST algorithm of FIGS. 3 and 4 .
- FIG. 1 shows a block diagram of a generalized architecture 100 for computer memories that support BIST testing.
- Architecture 100 enables BIST testing of multiport memories having any number of write ports (i.e., ports via which data can be written to memory block 102 ) and up to four read ports (i.e., ports via which data can be read from memory block 102 ).
- any given port may be either a write-only port, a read-only port, or a read/write port capable of supporting both write and read operations.
- architecture 100 can be extended to support any number of read ports.
- memory block 102 is a two-dimensional (2D) computer memory having up to W rows of data (i.e., words or entries), each row of data (i.e., word or entry) having N bits, where PW is the number of write ports in memory block 102 (numbered write port 0 through write port PW- 1 ), and PR is the number of read ports (numbered read port 0 through read port PR- 1 ).
- Memory block 102 may be implemented as a two-dimensional array of memory cells having W rows and N columns, in which cells are accessed (i.e., written to or read from) using corresponding word (i.e., row) lines and bit (i.e., column) lines. Each different row of memory block 102 can be represented by a unique M-bit address.
- Table I in FIG. 2 shows the relationship between the number of rows of data (W), the number of bits per row (N), and the number of address bits (M) for memory block 102 , according to one possible scheme for implementing memory block 102 .
- memory block 102 can have anywhere from 2 to 72 bits per entry (N).
- the number of entries (W) in memory block 102 can be anywhere from 16 to 4096 in 16-entry increments (i.e., memory block 102 can be implemented with either 16, 32, 48, . . . , or 4096 entries).
- the number of entries can be anywhere from 8 to 2048 in 8-entry increments, and, lastly, when memory block 102 has 37 to 72 bits/entry, the number of entries can be anywhere from 4 to 1024 in 4-entry increments.
- the number of bits per row address ranges from 4 to 12.
- the number of bits per row address ranges from 3 to 11, and, lastly, when memory block 102 has 37 to 72 bits/entry, the number of bits per row address ranges from 2 to 10.
- write address buffers 104 receive write address data AWR(PW- 1 : 0 )[M- 1 : 0 ], where (PW- 1 : 0 ) indicates PW different write addresses, one each for write port 0 through write port PW- 1 , and [M- 1 : 0 ) indicates that each write address is an M-bit value.
- Write address decoder block 106 decodes each M-bit write address value into a signal that energizes a particular word line in memory block 102 to enable data to be written to the cells of that particular row of memory block 102 .
- Input data buffers 108 receive input data DR(PW- 1 )[N- 1 : 0 ] to be written into memory block 102 .
- Write buffers 110 receive write port clock signals CKWR[PW- 1 : 0 ], write chip select signals CSWR[PW- 1 : 0 ], and bit-write enable signals BWR(PW- 1 : 0 )[N- 1 : 0 ].
- Each write port clock signal CKWR controls the timing of the writing of data into memory block 102 through the corresponding write port.
- Each chip select signal CSWR indicates whether or not the corresponding write port is enabled (i.e., turned on) and therefore able to receive input data.
- Each N-bit bit-write enable signal BWR indicates the bits of the corresponding entry that are enabled to be overwritten through the corresponding write port.
- the write port clock signals CKWR and write chip select signals CSWR are also applied and used to control write address buffers 104 and input data buffers 108 .
- Read address buffers 112 receive read address data ARR(PR- 1 : 0 )[M- 1 : 0 ] (i.e., a different M-bit read address ARR for each of the PR different read ports).
- Read port clock signals CKRR[PR- 1 : 0 ] control the timing of the reading of data from memory block 102 for the PR different read ports.
- Read address decoder block 114 decodes each M-bit read address value into a signal that energies a particular word line in memory block 102 to enable data to be read from the cells of that particular row of memory block 102 .
- Output buffers 115 receive output data read from memory block 102 and present two copies of that output data: Q(PR- 1 : 0 )[N- 1 : 0 ] and QR(PR- 1 : 0 )[N- 1 : 0 ], where Q is a copy of the output data that is made available to circuitry external to memory architecture 100 , and QR is an identical copy of that output data, which is used internally in memory architecture 100 , as described below with reference to FIG. 1C .
- FIG. 1B shows a set of seven multiplexer (mux) blocks that are used to provide the above-described data and signals to the different elements shown in FIG. 1A .
- each mux block receives two different sets of inputs: one set associated with “user” data activities of writing and/or reading application data to and from memory block 102 and the other set associated with BIST testing.
- Each mux also receives a one-bit BIST interface enable signal (BIST) from BIST controller 144 of FIG. 1D (e.g., implemented as a finite state machine (FSM)).
- BIST BIST interface enable signal
- FSM finite state machine
- each mux block selects and presents its “BIST” input(s) at its output(s).
- user data and signals are received by memory architecture 100 from circuitry external to memory architecture 100 , while BIST data and signals are generated internally by BIST controller 144 .
- input data mux block 116 receives (i) user data D(PW- 1 :)[N- 1 : 0 ] and (ii) BIST data DM(PW- 1 : 0 )[ 1 : 0 ] and selects and presents one of those sets of data (depending on the value of BIST) as input data DR to input data buffers 108 of FIG. 1A .
- BIST data DM has only two bits of data for each write port.
- the first bit (i.e., bit 0 ) of BIST data DM identifies the value for all even bits of an N-bit input data word, while the second bit (i.e., bit 1 ) of BIST data DM identifies the value for all odd bits.
- a BIST data value DM of (00) represents the 8-bit word value of (00000000)
- a BIST data value DM of (01) represents the 8-bit word value of (01010101)
- a BIST data value DM of (10) represents the 8-bit word value of (10101010)
- a BIST data value DM of (11) represents the 8-bit word value of (11111111), where the right-most bit is the least-significant bit (LSB) in the word (i.e., even bit 0 ) and the left-most bit is the most-significant bit (MSB) (i.e., odd bit N- 1 ).
- LSB least-significant bit
- MSB most-significant bit
- the expansion of the two-bit BIST data values DM to the N-bit data values DR is implemented within input data mux block 116 .
- Alternative implementations of BIST testing do not necessarily need to be constrained in this two-bit manner. In general, other constraints may be applied or even no constraints.
- bit-write enable mux block 118 receives (i) user bit-write enable signals BW(PW- 1 :)[N- 1 : 0 ] and (ii) BIST bit-write enable signals BWM(PW- 1 :)[ 1 : 0 ] and presents bit-write enable signals BWR(PW- 1 :)[N- 1 : 0 ] to the circuitry of FIG. 1A .
- the two-bit BIST bit-write enable signals BWM indicate that, for BIST testing, all of the even bits are enable/disabled together, and all of the odd bits are enabled/disabled together.
- Write address mux block 120 receives (i) user write address data AW(PW- 1 : 0 )[M- 1 : 0 ] and (ii) BIST write address data AWM(PW- 1 : 0 )[M- 1 : 0 ] and presents write address data AWR(PW- 1 : 0 )[M- 1 : 0 ] to write address buffers 104 of FIG. 1A .
- Read address mux block 122 receives (i) user read address data AR(PR- 1 : 0 )[M- 1 : 0 ] and (ii) BIST read address data ARM(PR- 1 : 0 )[M- 1 : 0 ] and presents read address data ARR(PR- 1 : 0 )[M- 1 : 0 ] to read address buffers 112 of FIG. 1A .
- Write clock mux block 124 receives (i) user write clock signals CKW[PW- 1 : 0 ] and (ii) BIST write clock signal BCK and presents write clock signals CKWR[PW- 1 : 0 ] to the circuitry of FIG. 1A .
- the expansion of the single BIST write clock signal BCK to the PW write clock signals CKWR is implemented within write clock mux block 124 .
- Write chip select mux block 126 receives (i) user write chip select signals CSW[PW- 1 : 0 ] and (ii) BIST chip select signals CSWM[PW- 1 : 0 ] and presents write chip select signals CSWR[PW- 1 : 0 ] to the circuitry of FIG. 1A .
- Read clock mux block 128 receives (i) user read clock signals CKR[PR- 1 : 0 ] and (ii) BIST clock signal BCK and presents read clock signals CKRR[PR- 1 : 0 ] to read address buffers 112 of FIG. 1A .
- the expansion of the single BIST clock signal BCK to the PR read clock signals CKRR is implemented within read clock mux block 128 .
- FIG. 1C shows the circuitry used to process the output data QR read from memory block 102 , e.g., during BIST testing.
- architecture 100 supports memory blocks having up to four read ports. This limitation is dictated by the circuitry of FIG. 1C .
- BIST output data mux block 130 has four inputs 0 , 1 , 2 , and 3 , where mux block input 0 receives output data QR( 0 )[N- 1 : 0 ] from read port 0 , mux block input 1 receives output data QR( 1 )[N- 1 : 0 ] from read port 1 , mux block input 2 receives output data QR( 2 )[N- 1 : 0 ] from read port 2 , and mux block input 3 receives output data QR( 3 )[N- 1 : 0 ] from read port 3 .
- BIST output data mux block 130 may be implemented, for example, using N one-bit 4:1 muxes or one N-bit 4:1 mux (although other implementations are also possible).
- BIST output data mux block 130 is controlled by a control signal generated by mux decoder 132 based on two one-bit control signals (RMX 0 and RMX 1 ) received from BIST controller 144 of FIG. 1D .
- RMX 0 and RMX 1 two one-bit control signals
- mux decoder 132 instructs BIST output data mux block 130 to select and present output data QR( 0 )[N- 1 : 0 ] at its output.
- mux decoder 132 instructs BIST output data mux block 130 to select output data QR( 1 )[N- 1 : 0 ].
- a memory architecture analogous to architecture 100 could be implemented with (1) a BIST data mux having one or more additional inputs and (2) a decoder designed to receive one or more additional one-bit control signals.
- the memory architecture could support memory blocks having more than four read ports.
- the output from BIST output data mux block 130 is applied to the data input port D of register (e.g., flip-flop) block 134 .
- register block 134 may be implemented, for example, using N one-bit registers or one N-bit register (although other implementations are also possible).
- the data input port D of register block 140 receives two one-bit expected data values ED 0 and ED 1 from BIST controller 144 of FIG. 1D , where ED 0 identifies the expected value of the even bits in the output data QR read from memory block 102 , and ED 1 identifies the expected value of the odd bits.
- the label “x 2 ” indicates that register block 140 may be implemented using two one-bit registers or one two-bit register.
- Comparator 142 (i) compares the N bits of output data from register block 134 to an N-bit expected data value generated by expanding the two bits of expected data from register block 140 and (ii) generates a one-bit match flag MF.
- the expansion of the two bits of expected data to N-bit expected data values is performed within comparator 142 .
- Match flag MF is 1, when each bit in the N-bit output data word is identical to the corresponding bit in the N-bit expected data word.
- Match flag MF is 0, when at least one bit in the N-bit output data word is different from the corresponding bit in the N-bit expected data word.
- Register blocks 134 and 140 propagate data from their data input ports D to their data output ports Q based on the rising edges (or, alternatively, the falling edges) in signals received at their clock input ports CLK from OR block 138 .
- OR block 138 applies a logical “OR” operation to its two inputs: (1) BIST clock signal BCK and (2) an inverted version of BIST interface enable signal BIST from inverter block 136 .
- BIST testing is disabled, BIST is 0 , and the output of OR block 138 is fixed at 1 (i.e., independent of BCK). In that case, data is not propagated through register blocks 134 and 140 , because the constant signals applied to their clock input ports CLK will not have any rising edges.
- BIST testing is enabled, BIST is 1, and the output of OR block 138 is dictated by BCK. In that case, data will propagate through register blocks 134 and 140 at every rising edge in BIST clock signal BCK.
- bits of output data are sequentially read from memory block 102 via different output ports, with a different output port being read during each different clock cycle.
- These PR output data words QR are applied to the corresponding input ports of BIST output data mux block 130 . For example, if there are four read ports, then it takes four clock cycles to update all of the data applied to BIST output data mux block 130 . Note that, if the number of read ports PR in memory block 102 is less than four, then one or more of the higher numbered ports of BIST output data mux block 130 will not be utilized.
- BIST controller 144 updates the values of RMX 0 and RMX 1 at each clock cycle to sequentially select each of the different output data words QR applied to BIST output data mux block 130 so that each different output data word QR can be compared in comparator 142 to the expected data word generated based on ED 0 and ED 1 .
- architecture 100 could be implemented without BIST output data mux block 130 and mux decoder 132 , where the output data QR from that single read port is applied directly to data input D of register block 134 .
- architecture 100 could be implemented with mux block 130 and mux decoder 132 , where mux decoder 132 always selects the same input (e.g., input 0 ) of mux block 130 to which the single read port is connected.
- comparator 142 performs a word-based comparison between the output data and the expected data. Such a word-based comparison is acceptable for many types of BIST testing (e.g., where BIST testing simply identifies whether the memory has any faults at all or is working perfectly). Where BIST testing needs to identify faults at a sub-word level, BIST testing can be designed to take advantage of the architecture's bit-write enable functionality to identify the location of faults at a sub-word level.
- BIST controller 144 in addition to (1) providing particular inputs to other circuitry within architecture 100 (as described previously) and (2) receiving the match flag MF from comparator 142 , BIST controller 144 also (i) receives control signals BIST and BFC from circuitry external to architecture 100 and (ii) provides output signals BC and BF to that external circuitry.
- the control signal BIST is the same BIST enable signal described previously, and the BIST flag BF is the same as the match flag MF generated by comparator 142 .
- BIST controller 144 generates the BIST complete signal BC to indicate whether the current phase of BIST testing is ongoing (e.g., logical 1 ) or completed (e.g., logical 0 ).
- the BIST function control signal BFC is used to control the duration of BIST retention testing.
- BIST retention testing typically has two phases: one phase for storing high signals (e.g., corresponding to logical 1 s) and one phase for storing low signals (e.g., corresponding to logical 0 s).
- BFC is a logical 1
- BIST controller 144 is able to initiate a phase of BIST retention testing.
- BFC goes from a logical 1 to a logical 0 to inform the BIST controller that the current phase of BIST retention testing is complete and to instruct the BIST controller to output the BIST flag BF to indicate the results of that testing.
- All of the circuitry shown in FIG. 1 may be implemented in hardware on a single integrated circuit.
- one or more of the elements e.g., BIST controller 144
- BIST controller 144 could be implemented in software and/or off-chip.
- Memory architecture 100 of FIG. 1 can be used to implement a variety of different BIST algorithms.
- BIST testing for memory architecture 100 might be designed to verify the proper operation of (a) each cell of memory block 102 , (b) each write port address decoder in block 106 , (c) each read port address decoder in block 114 , (d) the bit-write enabling function in write buffers 110 for each write port, and (e) comparator 142 .
- FIG. 3 shows a flow diagram of an exemplary BIST algorithm for memory architecture 100 of FIG. 1 .
- the exemplary BIST algorithm of FIG. 3 has three phases: Phase 302 in which the memory cells and the read port decoders are tested, Phase 304 in which the write port decoders are tested, and Phase 306 in which bit-write enabling and the comparator are tested.
- Phase 302 in which the memory cells and the read port decoders are tested
- Phase 304 in which the write port decoders are tested
- Phase 306 in which bit-write enabling and the comparator are tested.
- BIST testing could also include other phases, such as retention (hold-time) testing.
- Table II in FIG. 4A presents code for one possible implementation of a BIST algorithm for the memory cell and read port decoder testing of Phase 302 of FIG. 3 .
- the symbol “z, 1 ” indicates that processing proceeds incrementally from row 0 to row W- 1 in memory block 102
- the symbol ”z, 2 indicates that the processing proceeds decrementally from row W- 1 to row 0
- the sequences of addresses might not increment (or decrement) linearly.
- the symbol “ ” represents a particular sequence of addresses associated with the corresponding address generator, while the symbol “z, 2 ” represents the corresponding reverse sequence of addresses.
- the symbol “W j kl ” corresponds to the writing of a specified bit pattern kl via write port j into the current word of memory block 102 .
- the symbol “W i, . . . , j kl ” corresponds to the sequential writing of bit pattern kl via write ports i through j into the current word of memory block 102 .
- the symbol “R j kl ” corresponds to (i) the reading of the data stored at the current word of memory block 102 via read port j and (ii) the comparison (by comparator 142 ) of that data to the specified bit pattern kl to determine whether the stored data matches that bit pattern.
- the symbol “R i, . . . ,j kl ” corresponds to (i) the sequential reading of the data stored at the current word of memory block 102 via read ports i through j and (ii) the comparison (by comparator 142 ) of that data to the specified bit pattern kl to determine whether the stored data matches that bit pattern.
- bit-disturbing corresponds to the writing of a specified bit pattern kl via write port j into the current word of memory block 102 during a bit-disturbing (BD) operation.
- BD bit-disturbing
- One type of bit-disturbing operation is to write data into one row, while reading data from another (e.g., adjacent) row. If a cell in the row being written to is not operating properly, then this simultaneous read/write operation can result in erroneous data being stored in that cell.
- bit pattern 10 is stored in each row of memory block 102 .
- bit pattern 01 is stored in each row of memory block 102 .
- Step 3 of Table II at each row, starting from row W- 1 and decrementing to row 0 , (i) data is read from the current word via read port 0 and compared to bit pattern 01 , (ii) bit pattern 10 is then written into the current word via write port 0 during a BD operation, (iii) data is then read from the current word via read port 0 and compared to bit pattern 10 , and lastly (iv) bit pattern 01 is written into the current word via write port 0 .
- bit pattern 01 is stored in each row of memory block 102 .
- Step 4 of Table II at each row, starting from row W- 1 and decrementing to row 0 , (i) data is read from the current word via read port 0 and compared to bit pattern 01 , (ii) bit pattern 10 is then written into the current word via write port 0 , (iii) data is then read from the current word via read port 0 and compared to bit pattern 10 , (iv) data is then read from the current word via read port 1 and compared to bit pattern 10 , (v) data is then read from the current word via read port 2 and compared to bit pattern 10 , and lastly (vi) data is read from the current word via read port 3 and compared to bit pattern 10 .
- bit pattern 10 is stored in each row of memory block 102 .
- Step 5 of Table II at each row, starting from row 0 and incrementing to row W- 1 , (i) data is read from the current word via read port 0 and compared to bit pattern 10 , (ii) bit pattern 01 is then written into the current word via write port 0 during a BD operation, (iii) data is then read from the current word via read port 0 and compared to bit pattern 01 , and lastly (iv) bit pattern 10 is written into the current word via write port 0 .
- bit pattern 10 is stored in each row of memory block 102 .
- Step 6 of Table II at each row, starting from row 0 and incrementing to row W- 1 , data is read from the current word via read port 0 and compared to bit pattern 10 .
- Phase 302 of Table II the operations of each memory cell and each read port decoder will have been tested, during both normal and BD operations, using both bit patterns 10 and 01 .
- the operations of the decoder for write port 0 will also have been tested.
- Table III in FIG. 4B presents code for one possible implementation of a BIST algorithm for the write port decoder testing of Phase 304 of FIG. 3 .
- Steps 1 and 2 of Table III are implemented sequentially as a loop for each write port. That is, Step 1 is implemented for write port 1 , then Step 2 is implemented for write port 1 , then Step 1 is implemented for write port 2 , then Step 2 is implemented for write port 2 , then Step 1 is implemented for write port 3 , and lastly Step 2 is implemented for write port 3 .
- bit pattern 01 is stored in each row of memory block 102 .
- Step 2 of Table III still using write port 1 , at each row, starting from row W- 1 and decrementing to row 0 , (i) data is read from the current word via read port 0 and compared to bit pattern 01 , and (ii) bit pattern 10 is then written into memory block 102 .
- bit pattern 10 is stored in each row of memory block 102 .
- Table IV in FIG. 4C presents code for one possible implementation of a BIST algorithm for the bit-write enabling and comparator testing of Phase 306 of FIG. 3 .
- Steps 1 - 8 of Table IV are implemented sequentially as a loop for each write port. That is, Steps 1 - 8 are implemented sequentially for write port 0 , then Steps 1 - 8 are implemented sequentially for write port 1 , then Steps 1 - 8 are implemented sequentially for write port 2 , and lastly Steps 1 - 8 are implemented sequentially for write port 3 .
- the steps of Table IV are implemented for only a single row of memory block 102 (e.g., row 0 ).
- bit pattern 10 was stored in row 0 of memory block 102 .
- Step 2 of Table IV data is read from row 0 and compared to bit pattern 11 .
- bit pattern 01 is written into row 0 will all bits enabled.
- Step 4 of Table IV data is read from row 0 and compared to bit pattern 10 .
- comparator 142 should indicate that there is no match between the read data (i.e., bit pattern 01 ) and the “expected” data (bit pattern 10 ).
- bit pattern 01 was stored in row 0 .
- Step 6 of Table IV data is read from row 0 and compared to bit pattern 11 .
- bit pattern 10 is written into row 0 will all bits enabled.
- Step 8 of Table IV data is read from row 0 and compared to bit pattern 01 .
- comparator 142 should indicate that there is no match between the read data (i.e., bit pattern 10 ) and the “expected” data (i.e., bit pattern 01 ).
- the loop of Steps 1 - 8 of Table IV is then repeated using write port 1 , then repeated again using write port 2 , and lastly repeated again using read port 3 .
- Phase 306 of Table IV the operations of (i) bit-write enabling for each write port and ( 2 ) the comparator will have been tested.
- the steps shown in Tables II-IV for Phases 302 - 306 of FIG. 3 correspond to a memory block having four write ports and four read ports. If a particular memory block has different numbers of write and/or read ports, then the algorithm of Tables II-IV should be appropriately modified. For example, if a particular memory block has only two write ports, then the subscripts of Steps 1 - 2 of Table III and Steps 1 , 3 , 5 , and 7 of Table IV should be modified to drop references to write ports 2 and 3 . Similarly, if a particular memory block has only three read ports, then the subscripts of Steps 2 and 4 of Table II should be modified to drop references to read port 3 .
- FIG. 5 shows the flow diagram for such a design tool.
- the parameters that identify the configuration characteristics of a particular computer memory system are specified. These include the number of write ports (PW), the number of read ports (PR), the number of words (W), and the number of bits per word (N) in the memory block.
- the design tool compiles the generic BIST algorithm of Tables II-IV based on the specified memory configuration characteristics to generate the hardware design for that particular memory system.
- the FSM for BIST controller 144 of FIG. 1D is based on a generic FSM design that applies to all supported hardware designs. This generic FSM uses counters to identify the currently selected read and write ports, where the FSM appropriately increments (i) the read-port counter from 1 to the specified value of the parameter PR and (ii) the write-port counter from 1 to the specified value of the parameter PW to control the BIST operations of the particular memory system.
- the compilation performed by the design tool preferably takes into account the specified memory configuration characteristics to generate an efficient hardware design that has little if any excess hardware. Note that, in possible implementations of the design tool, when the memory block has only one read port, mux block 130 and mux decoder 132 might be included in hardware design even though, technically, they are not needed. In other implementations of the design tool, mux block 130 and mux decoder 132 might be excluded from the hardware design when the memory block has only one read port.
- the range of possible memory configurations supported by the design tool could be limited to those having no more than a specified total number of ports (e.g., five).
- a specified total number of ports e.g., five.
- PW write ports
- PR read ports
- PW+PR total number of ports
- FIG. 1 can support different BIST algorithms and (2) that the algorithm of FIGS. 3 and 4 can be implemented using different BIST hardware designs.
- the algorithm of FIGS. 3 and 4 can be implemented using a BIST hardware design that has a different comparator for each different read port (as opposed to the single, multiplexed comparator of FIG. 1C ).
- the present invention may be implemented as circuit-based processes, including possible implementation as a single integrated circuit (such as an ASIC or an FPGA), a multi-chip module, a single card, or a multi-card circuit pack.
- a single integrated circuit such as an ASIC or an FPGA
- a multi-chip module such as a single card, or a multi-card circuit pack.
- various functions of circuit elements may also be implemented as processing steps in a software program.
- Such software may be employed in, for example, a digital signal processor, micro-controller, or general-purpose computer.
- the present invention can be embodied in the form of methods and apparatuses for practicing those methods.
- the present invention can also be embodied in the form of program code embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program code is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
- the present invention can also be embodied in the form of program code, for example, whether stored in a storage medium, loaded into and/or executed by a machine, or transmitted over some transmission medium or carrier, such as over electrical wiring or cabling, through fiber optics, or via electromagnetic radiation, wherein, when the program code is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
- program code When implemented on a general-purpose processor, the program code segments combine with the processor to provide a unique device that operates analogously to specific logic circuits.
Landscapes
- Tests Of Electronic Circuits (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
Abstract
Description
- 1. Field of the Invention
- The present invention relates to built-in self-testing (BIST) for computer memories, and, in particular, to BIST testing for multiport memories.
- 2. Description of the Related Art
- BIST testing refers to testing implemented by on-chip circuitry to verify the proper operation of a computer memory. BIST testing typically involves (1) writing known data into specific locations within a computer memory, (2) reading that data from those memory locations, and (3) comparing the read data with the expected (known) data to determine whether they are identical. If the read data does not match the expected data, then something in the computer memory architecture is not working properly. BIST testing can be designed to verify the proper operation of each memory cell in the computer memory, each write-address decoder used to write data into the computer memory, and each read-address decoder used to read data from the computer memory.
- A wide variety of different types of computer memories are possible. In particular, different computer memories may have different numbers of bits per entry (i.e., bits per word or row), different numbers of entries, different numbers of write ports through which data can be written into the memories, and/or different numbers of read ports through which data can be read from the memories. In the past, BIST hardware and a corresponding BIST algorithm would be manually designed on a case-by-case basis for each different type of computer memory having a specific set of configuration characteristics (e.g., bits per entry, number of entries, number of write ports, and number of read ports).
- A typical BIST hardware design relies on a different comparator for each different read port. That is, data read from the computer memory via a particular read port is forwarded to a corresponding comparator that processes data read from the memory via only that read port.
- In one embodiment, the present invention is BIST circuitry for testing a memory having multiple read ports. The BIST circuitry comprises a multiplexer block and a comparator. The multiplexer block receives data from each of the multiple read ports and outputs selected data from one of the multiple read ports. The comparator compares the selected data from the multiplexer block with expected data to determine whether the selected data matches the expected data.
- In another embodiment, the present invention is a method for designing BIST circuitry for testing a memory having one or more write ports and one or more read ports. According to the method, one or more values are assigned for one or more memory configuration parameters for the memory, and a generic BIST algorithm is compiled based on the one or more memory configuration parameters to generate a design for the BIST circuitry.
- Other aspects, features, and advantages of the present invention will become more fully apparent from the following detailed description, the appended claims, and the accompanying drawings in which like reference numerals identify similar or identical elements.
-
FIG. 1 shows a block diagram of a generalized architecture for computer memories that support BIST testing; -
FIG. 2 shows Table I, which presents the relationships between various memory configuration characteristics, according to one possible scheme for implementing the computer memory ofFIG. 1 ; -
FIG. 3 shows a flow diagram of an exemplary BIST algorithm for the memory architecture ofFIG. 1 ; -
FIG. 4 shows Tables II, III, and IV, which present code for one possible implementation of BIST testing for the three phases ofFIG. 3 ; and -
FIG. 5 shows a flow diagram of a design tool that can be used to generate specific hardware designs based on the generalized architecture ofFIG. 1 and the BIST algorithm ofFIGS. 3 and 4 . - Reference herein to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments necessarily mutually exclusive of other embodiments.
- Generalized BIST Architecture
-
FIG. 1 shows a block diagram of ageneralized architecture 100 for computer memories that support BIST testing.Architecture 100 enables BIST testing of multiport memories having any number of write ports (i.e., ports via which data can be written to memory block 102) and up to four read ports (i.e., ports via which data can be read from memory block 102). Note that any given port may be either a write-only port, a read-only port, or a read/write port capable of supporting both write and read operations. As explained later, in theory,architecture 100 can be extended to support any number of read ports. - Referring to
FIG. 1A ,memory block 102 is a two-dimensional (2D) computer memory having up to W rows of data (i.e., words or entries), each row of data (i.e., word or entry) having N bits, where PW is the number of write ports in memory block 102 (numbered writeport 0 through write port PW-1), and PR is the number of read ports (numbered readport 0 through read port PR-1).Memory block 102 may be implemented as a two-dimensional array of memory cells having W rows and N columns, in which cells are accessed (i.e., written to or read from) using corresponding word (i.e., row) lines and bit (i.e., column) lines. Each different row ofmemory block 102 can be represented by a unique M-bit address. - Table I in
FIG. 2 shows the relationship between the number of rows of data (W), the number of bits per row (N), and the number of address bits (M) formemory block 102, according to one possible scheme for implementingmemory block 102. According to Table I, depending on the particular implementation,memory block 102 can have anywhere from 2 to 72 bits per entry (N). Whenmemory block 102 has 2 to 18 bits/entry, the number of entries (W) inmemory block 102 can be anywhere from 16 to 4096 in 16-entry increments (i.e.,memory block 102 can be implemented with either 16, 32, 48, . . . , or 4096 entries). Similarly, whenmemory block 102 has 19 to 36 bits/entry, the number of entries can be anywhere from 8 to 2048 in 8-entry increments, and, lastly, whenmemory block 102 has 37 to 72 bits/entry, the number of entries can be anywhere from 4 to 1024 in 4-entry increments. - In addition, when
memory block 102 has 2 to 18 bits/entry, the number of bits per row address (M) ranges from 4 to 12. Similarly, whenmemory block 102 has 19 to 36 bits/entry, the number of bits per row address ranges from 3 to 11, and, lastly, whenmemory block 102 has 37 to 72 bits/entry, the number of bits per row address ranges from 2 to 10. - Referring again to
FIG. 1A , writeaddress buffers 104 receive write address data AWR(PW-1:0)[M-1:0], where (PW-1:0) indicates PW different write addresses, one each for writeport 0 through write port PW-1, and [M-1:0) indicates that each write address is an M-bit value. Writeaddress decoder block 106 decodes each M-bit write address value into a signal that energizes a particular word line inmemory block 102 to enable data to be written to the cells of that particular row ofmemory block 102. -
Input data buffers 108 receive input data DR(PW-1)[N-1:0] to be written intomemory block 102. Writebuffers 110 receive write port clock signals CKWR[PW-1:0], write chip select signals CSWR[PW-1:0], and bit-write enable signals BWR(PW-1:0)[N-1:0]. Each write port clock signal CKWR controls the timing of the writing of data intomemory block 102 through the corresponding write port. Each chip select signal CSWR indicates whether or not the corresponding write port is enabled (i.e., turned on) and therefore able to receive input data. Each N-bit bit-write enable signal BWR indicates the bits of the corresponding entry that are enabled to be overwritten through the corresponding write port. The write port clock signals CKWR and write chip select signals CSWR are also applied and used to controlwrite address buffers 104 andinput data buffers 108. - Read
address buffers 112 receive read address data ARR(PR-1:0)[M-1:0] (i.e., a different M-bit read address ARR for each of the PR different read ports). Read port clock signals CKRR[PR-1:0] control the timing of the reading of data frommemory block 102 for the PR different read ports. Readaddress decoder block 114 decodes each M-bit read address value into a signal that energies a particular word line inmemory block 102 to enable data to be read from the cells of that particular row ofmemory block 102.Output buffers 115 receive output data read frommemory block 102 and present two copies of that output data: Q(PR-1:0)[N-1:0] and QR(PR-1:0)[N-1:0], where Q is a copy of the output data that is made available to circuitry external tomemory architecture 100, and QR is an identical copy of that output data, which is used internally inmemory architecture 100, as described below with reference toFIG. 1C . -
FIG. 1B shows a set of seven multiplexer (mux) blocks that are used to provide the above-described data and signals to the different elements shown inFIG. 1A . In general, each mux block receives two different sets of inputs: one set associated with “user” data activities of writing and/or reading application data to and frommemory block 102 and the other set associated with BIST testing. Each mux also receives a one-bit BIST interface enable signal (BIST) fromBIST controller 144 ofFIG. 1D (e.g., implemented as a finite state machine (FSM)). When BIST=0, each mux block selects and presents its “user” input(s) at its output(s). When BIST=1, each mux block selects and presents its “BIST” input(s) at its output(s). In general, user data and signals are received bymemory architecture 100 from circuitry external tomemory architecture 100, while BIST data and signals are generated internally byBIST controller 144. - In particular, input
data mux block 116 receives (i) user data D(PW-1:)[N-1:0] and (ii) BIST data DM(PW-1:0)[1:0] and selects and presents one of those sets of data (depending on the value of BIST) as input data DR to input data buffers 108 ofFIG. 1A . Note that BIST data DM has only two bits of data for each write port. In this particular implementation of BIST testing, the first bit (i.e., bit 0) of BIST data DM identifies the value for all even bits of an N-bit input data word, while the second bit (i.e., bit 1) of BIST data DM identifies the value for all odd bits. For example, for a memory architecture having 8-bit words, a BIST data value DM of (00) represents the 8-bit word value of (00000000), a BIST data value DM of (01) represents the 8-bit word value of (01010101), a BIST data value DM of (10) represents the 8-bit word value of (10101010), and a BIST data value DM of (11) represents the 8-bit word value of (11111111), where the right-most bit is the least-significant bit (LSB) in the word (i.e., even bit 0) and the left-most bit is the most-significant bit (MSB) (i.e., odd bit N-1). The expansion of the two-bit BIST data values DM to the N-bit data values DR is implemented within inputdata mux block 116. Alternative implementations of BIST testing do not necessarily need to be constrained in this two-bit manner. In general, other constraints may be applied or even no constraints. - Similarly, bit-write enable
mux block 118 receives (i) user bit-write enable signals BW(PW-1:)[N-1:0] and (ii) BIST bit-write enable signals BWM(PW-1:)[ 1:0] and presents bit-write enable signals BWR(PW-1:)[N-1:0] to the circuitry ofFIG. 1A . Here, the two-bit BIST bit-write enable signals BWM indicate that, for BIST testing, all of the even bits are enable/disabled together, and all of the odd bits are enabled/disabled together. - Write
address mux block 120 receives (i) user write address data AW(PW-1:0)[M-1:0] and (ii) BIST write address data AWM(PW-1:0)[M-1:0] and presents write address data AWR(PW-1:0)[M-1:0] to writeaddress buffers 104 ofFIG. 1A . - Read
address mux block 122 receives (i) user read address data AR(PR-1:0)[M-1:0] and (ii) BIST read address data ARM(PR-1:0)[M-1:0] and presents read address data ARR(PR-1:0)[M-1:0] to read address buffers 112 ofFIG. 1A . - Write
clock mux block 124 receives (i) user write clock signals CKW[PW-1:0] and (ii) BIST write clock signal BCK and presents write clock signals CKWR[PW-1:0] to the circuitry ofFIG. 1A . The expansion of the single BIST write clock signal BCK to the PW write clock signals CKWR is implemented within writeclock mux block 124. - Write chip
select mux block 126 receives (i) user write chip select signals CSW[PW-1:0] and (ii) BIST chip select signals CSWM[PW-1:0] and presents write chip select signals CSWR[PW-1:0] to the circuitry ofFIG. 1A . - Read
clock mux block 128 receives (i) user read clock signals CKR[PR-1:0] and (ii) BIST clock signal BCK and presents read clock signals CKRR[PR-1:0] to read address buffers 112 ofFIG. 1A . The expansion of the single BIST clock signal BCK to the PR read clock signals CKRR is implemented within readclock mux block 128. -
FIG. 1C shows the circuitry used to process the output data QR read frommemory block 102, e.g., during BIST testing. As mentioned previously,architecture 100 supports memory blocks having up to four read ports. This limitation is dictated by the circuitry ofFIG. 1C . In particular, BIST outputdata mux block 130 has fourinputs mux block input 0 receives output data QR(0)[N-1:0] from readport 0,mux block input 1 receives output data QR(1)[N-1:0] from readport 1,mux block input 2 receives output data QR(2)[N-1:0] from readport 2, andmux block input 3 receives output data QR(3)[N-1:0] from readport 3. As indicated inFIG. 1C by the adjacent label “xN” , BIST outputdata mux block 130 may be implemented, for example, using N one-bit 4:1 muxes or one N-bit 4:1 mux (although other implementations are also possible). - BIST output
data mux block 130 is controlled by a control signal generated bymux decoder 132 based on two one-bit control signals (RMX0 and RMX1) received fromBIST controller 144 ofFIG. 1D . When MRX0=0 and RMX1=0,mux decoder 132 instructs BIST outputdata mux block 130 to select and present output data QR(0)[N-1:0] at its output. Similarly, when MRX0=1 and RMX1=0,mux decoder 132 instructs BIST outputdata mux block 130 to select output data QR(1)[N-1:0]. When MRX0=0 and RMX1=1,mux decoder 132 instructs BIST outputdata mux block 130 to select output data QR(2)[N-1:0]. Lastly, when MRX0=1 and RMX1=1,mux decoder 132 instructs BIST outputdata mux block 130 to select output data QR(3)[N-1:0]. - In alternative embodiments, a memory architecture analogous to
architecture 100 could be implemented with (1) a BIST data mux having one or more additional inputs and (2) a decoder designed to receive one or more additional one-bit control signals. In that case, the memory architecture could support memory blocks having more than four read ports. - The output from BIST output
data mux block 130 is applied to the data input port D of register (e.g., flip-flop) block 134. Here, too, the label “xN” indicates thatregister block 134 may be implemented, for example, using N one-bit registers or one N-bit register (although other implementations are also possible). Similarly, the data input port D ofregister block 140 receives two one-bit expected data values ED0 and ED1 fromBIST controller 144 ofFIG. 1D , where ED0 identifies the expected value of the even bits in the output data QR read frommemory block 102, and ED1 identifies the expected value of the odd bits. Here, the label “x2” indicates thatregister block 140 may be implemented using two one-bit registers or one two-bit register. - The data output ports Q of register blocks 134 and 140 are connected to provide inputs to
comparator 142. Comparator 142 (i) compares the N bits of output data fromregister block 134 to an N-bit expected data value generated by expanding the two bits of expected data fromregister block 140 and (ii) generates a one-bit match flag MF. The expansion of the two bits of expected data to N-bit expected data values is performed withincomparator 142. Match flag MF is 1, when each bit in the N-bit output data word is identical to the corresponding bit in the N-bit expected data word. Match flag MF is 0, when at least one bit in the N-bit output data word is different from the corresponding bit in the N-bit expected data word. - Register blocks 134 and 140 propagate data from their data input ports D to their data output ports Q based on the rising edges (or, alternatively, the falling edges) in signals received at their clock input ports CLK from OR block 138. OR block 138 applies a logical “OR” operation to its two inputs: (1) BIST clock signal BCK and (2) an inverted version of BIST interface enable signal BIST from
inverter block 136. When BIST testing is disabled, BIST is 0, and the output of OR block 138 is fixed at 1 (i.e., independent of BCK). In that case, data is not propagated through register blocks 134 and 140, because the constant signals applied to their clock input ports CLK will not have any rising edges. When BIST testing is enabled, BIST is 1, and the output of OR block 138 is dictated by BCK. In that case, data will propagate through register blocks 134 and 140 at every rising edge in BIST clock signal BCK. - During BIST testing, during successive cycles of BIST clock BCK, words of output data (identified by the corresponding BIST read address value ARM) are sequentially read from
memory block 102 via different output ports, with a different output port being read during each different clock cycle. These PR output data words QR are applied to the corresponding input ports of BIST outputdata mux block 130. For example, if there are four read ports, then it takes four clock cycles to update all of the data applied to BIST outputdata mux block 130. Note that, if the number of read ports PR inmemory block 102 is less than four, then one or more of the higher numbered ports of BIST outputdata mux block 130 will not be utilized.BIST controller 144 updates the values of RMX0 and RMX1 at each clock cycle to sequentially select each of the different output data words QR applied to BIST outputdata mux block 130 so that each different output data word QR can be compared incomparator 142 to the expected data word generated based on ED0 and ED1. - Note that, when
memory block 102 has only one read port,architecture 100 could be implemented without BIST outputdata mux block 130 andmux decoder 132, where the output data QR from that single read port is applied directly to data input D ofregister block 134. Alternatively,architecture 100 could be implemented withmux block 130 andmux decoder 132, wheremux decoder 132 always selects the same input (e.g., input 0) ofmux block 130 to which the single read port is connected. - As described above,
comparator 142 performs a word-based comparison between the output data and the expected data. Such a word-based comparison is acceptable for many types of BIST testing (e.g., where BIST testing simply identifies whether the memory has any faults at all or is working perfectly). Where BIST testing needs to identify faults at a sub-word level, BIST testing can be designed to take advantage of the architecture's bit-write enable functionality to identify the location of faults at a sub-word level. - As shown in
FIG. 1D , in addition to (1) providing particular inputs to other circuitry within architecture 100 (as described previously) and (2) receiving the match flag MF fromcomparator 142,BIST controller 144 also (i) receives control signals BIST and BFC from circuitry external toarchitecture 100 and (ii) provides output signals BC and BF to that external circuitry. The control signal BIST is the same BIST enable signal described previously, and the BIST flag BF is the same as the match flag MF generated bycomparator 142.BIST controller 144 generates the BIST complete signal BC to indicate whether the current phase of BIST testing is ongoing (e.g., logical 1) or completed (e.g., logical 0). - The BIST function control signal BFC is used to control the duration of BIST retention testing. BIST retention testing typically has two phases: one phase for storing high signals (e.g., corresponding to logical 1s) and one phase for storing low signals (e.g., corresponding to logical 0s). When BFC is a logical 1,
BIST controller 144 is able to initiate a phase of BIST retention testing. BFC goes from a logical 1 to a logical 0 to inform the BIST controller that the current phase of BIST retention testing is complete and to instruct the BIST controller to output the BIST flag BF to indicate the results of that testing. - All of the circuitry shown in
FIG. 1 may be implemented in hardware on a single integrated circuit. Alternatively, one or more of the elements (e.g., BIST controller 144) could be implemented in software and/or off-chip. - Generalized BIST Algorithm
-
Memory architecture 100 ofFIG. 1 can be used to implement a variety of different BIST algorithms. For example, BIST testing formemory architecture 100 might be designed to verify the proper operation of (a) each cell ofmemory block 102, (b) each write port address decoder inblock 106, (c) each read port address decoder inblock 114, (d) the bit-write enabling function inwrite buffers 110 for each write port, and (e)comparator 142. -
FIG. 3 shows a flow diagram of an exemplary BIST algorithm formemory architecture 100 ofFIG. 1 . The exemplary BIST algorithm ofFIG. 3 has three phases:Phase 302 in which the memory cells and the read port decoders are tested,Phase 304 in which the write port decoders are tested, andPhase 306 in which bit-write enabling and the comparator are tested. Although not shown inFIG. 3 , BIST testing could also include other phases, such as retention (hold-time) testing. - Table II in
FIG. 4A presents code for one possible implementation of a BIST algorithm for the memory cell and read port decoder testing ofPhase 302 ofFIG. 3 . In this particular code notation, for implementations that use certain types of address generators, such as those associated with binary counters, the symbol “z,1 ” indicates that processing proceeds incrementally fromrow 0 to row W-1 inmemory block 102, while the symbol ”z,2 ” indicates that the processing proceeds decrementally from row W-1 torow 0. For other types of address generators, such as those associated with gray codes or linear feed-back shift registers (LFSRs), the sequences of addresses might not increment (or decrement) linearly. As such, in general, the symbol “” represents a particular sequence of addresses associated with the corresponding address generator, while the symbol “z,2 ” represents the corresponding reverse sequence of addresses. - The symbol “Wj kl” corresponds to the writing of a specified bit pattern kl via write port j into the current word of
memory block 102. Similarly, the symbol “Wi, . . . , j kl” corresponds to the sequential writing of bit pattern kl via write ports i through j into the current word ofmemory block 102. - Analogously, the symbol “Rj kl” corresponds to (i) the reading of the data stored at the current word of
memory block 102 via read port j and (ii) the comparison (by comparator 142) of that data to the specified bit pattern kl to determine whether the stored data matches that bit pattern. Similarly, the symbol “Ri, . . . ,j kl” corresponds to (i) the sequential reading of the data stored at the current word ofmemory block 102 via read ports i through j and (ii) the comparison (by comparator 142) of that data to the specified bit pattern kl to determine whether the stored data matches that bit pattern. - The symbol “Wj kl||BD” corresponds to the writing of a specified bit pattern kl via write port j into the current word of
memory block 102 during a bit-disturbing (BD) operation. One type of bit-disturbing operation is to write data into one row, while reading data from another (e.g., adjacent) row. If a cell in the row being written to is not operating properly, then this simultaneous read/write operation can result in erroneous data being stored in that cell. - During
Step 1 of Table II, at each row, starting fromrow 0 and incrementing to row W-1,bit pattern 10 is written intomemory block 102 viawrite port 0, wherebit pattern 10=( . . . 101010). At the end ofStep 1,bit pattern 10 is stored in each row ofmemory block 102. - During
Step 2 of Table II, at each row, starting fromrow 0 and incrementing to row W-1, (i) data is read from the current word viaread port 0 and compared tobit pattern 10, (ii)bit pattern 01 is then written into the current word viawrite port 0, wherebit pattern 01=( . . . 010101), (iii) data is then read from the current word viaread port 0 and compared tobit pattern 01, (iv) data is then read from the current word viaread port 1 and compared tobit pattern 01, (v) data is then read from the current word viaread port 2 and compared tobit pattern 01, and lastly (vi) data is read from the current word viaread port 3 and compared tobit pattern 01. At the end ofStep 2,bit pattern 01 is stored in each row ofmemory block 102. - During
Step 3 of Table II, at each row, starting from row W-1 and decrementing torow 0, (i) data is read from the current word viaread port 0 and compared tobit pattern 01, (ii)bit pattern 10 is then written into the current word viawrite port 0 during a BD operation, (iii) data is then read from the current word viaread port 0 and compared tobit pattern 10, and lastly (iv)bit pattern 01 is written into the current word viawrite port 0. At the end ofStep 3,bit pattern 01 is stored in each row ofmemory block 102. - During
Step 4 of Table II, at each row, starting from row W-1 and decrementing torow 0, (i) data is read from the current word viaread port 0 and compared tobit pattern 01, (ii)bit pattern 10 is then written into the current word viawrite port 0, (iii) data is then read from the current word viaread port 0 and compared tobit pattern 10, (iv) data is then read from the current word viaread port 1 and compared tobit pattern 10, (v) data is then read from the current word viaread port 2 and compared tobit pattern 10, and lastly (vi) data is read from the current word viaread port 3 and compared tobit pattern 10. At the end ofStep 2,bit pattern 10 is stored in each row ofmemory block 102. - During
Step 5 of Table II, at each row, starting fromrow 0 and incrementing to row W-1, (i) data is read from the current word viaread port 0 and compared tobit pattern 10, (ii)bit pattern 01 is then written into the current word viawrite port 0 during a BD operation, (iii) data is then read from the current word viaread port 0 and compared tobit pattern 01, and lastly (iv)bit pattern 10 is written into the current word viawrite port 0. At the end ofStep 3,bit pattern 10 is stored in each row ofmemory block 102. - During
Step 6 of Table II, at each row, starting fromrow 0 and incrementing to row W-1, data is read from the current word viaread port 0 and compared tobit pattern 10. - By the end of
Phase 302 of Table II, the operations of each memory cell and each read port decoder will have been tested, during both normal and BD operations, using bothbit patterns write port 0 will also have been tested. - Table III in
FIG. 4B presents code for one possible implementation of a BIST algorithm for the write port decoder testing ofPhase 304 ofFIG. 3 .Steps Step 1 is implemented forwrite port 1, thenStep 2 is implemented forwrite port 1, thenStep 1 is implemented forwrite port 2, thenStep 2 is implemented forwrite port 2, thenStep 1 is implemented forwrite port 3, and lastlyStep 2 is implemented forwrite port 3. - More particularly, for the first pass through the loop, using
write port 1, duringStep 1 of Table III, at each row, starting fromrow 0 and incrementing to row W-1, (i) data is read from the current word viaread port 0 and compared tobit pattern 10, and (ii)bit pattern 01 is then written intomemory block 102. At the end ofStep 1,bit pattern 01 is stored in each row ofmemory block 102. DuringStep 2 of Table III, still usingwrite port 1, at each row, starting from row W-1 and decrementing torow 0, (i) data is read from the current word viaread port 0 and compared tobit pattern 01, and (ii)bit pattern 10 is then written intomemory block 102. At the end ofStep 2,bit pattern 10 is stored in each row ofmemory block 102. - The loop of
Steps write port 2, and then repeated again using readport 3. By the end ofPhase 304 of Table III, the operations of each write port decoder will have been tested. - Table IV in
FIG. 4C presents code for one possible implementation of a BIST algorithm for the bit-write enabling and comparator testing ofPhase 306 ofFIG. 3 . As with the steps of Table III, Steps 1-8 of Table IV are implemented sequentially as a loop for each write port. That is, Steps 1-8 are implemented sequentially forwrite port 0, then Steps 1-8 are implemented sequentially forwrite port 1, then Steps 1-8 are implemented sequentially forwrite port 2, and lastly Steps 1-8 are implemented sequentially forwrite port 3. Note that the steps of Table IV are implemented for only a single row of memory block 102 (e.g., row 0). - More particularly, for the first pass through the loop, using
write port 0, duringStep 1 of Table IV,bit pattern 01 is written intorow 0 ofmemory block 102 with bit-write enable signal BW=( . . . 0101), indicating that only the even bits are write-enabled. At the end ofphase 304 of Table III,bit pattern 10 was stored inrow 0 ofmemory block 102. As such, at the end ofStep 1 of Table IV,row 0 containsbit pattern 11=( . . . 1111). - During
Step 2 of Table IV, data is read fromrow 0 and compared tobit pattern 11. - During
Step 3 of Table IV,bit pattern 01 is written intorow 0 will all bits enabled. - During
Step 4 of Table IV, data is read fromrow 0 and compared tobit pattern 10. In this case,comparator 142 should indicate that there is no match between the read data (i.e., bit pattern 01) and the “expected” data (bit pattern 10). - During
Step 5 of Table IV,bit pattern 10 is written intorow 0 with bit-write enable signal BW=( . . . 1010), indicating that only the odd bits are write-enabled. At the end ofStep 4 of Table IV,bit pattern 01 was stored inrow 0. As such, at the end ofStep 5 of Table IV,row 0 containsbit pattern 11=( . . . 1111). - During
Step 6 of Table IV, data is read fromrow 0 and compared tobit pattern 11. - During
Step 7 of Table IV,bit pattern 10 is written intorow 0 will all bits enabled. - During
Step 8 of Table IV, data is read fromrow 0 and compared tobit pattern 01. As inStep 4, inStep 8,comparator 142 should indicate that there is no match between the read data (i.e., bit pattern 10) and the “expected” data (i.e., bit pattern 01). The loop of Steps 1-8 of Table IV is then repeated usingwrite port 1, then repeated again usingwrite port 2, and lastly repeated again using readport 3. By the end ofPhase 306 of Table IV, the operations of (i) bit-write enabling for each write port and (2) the comparator will have been tested. - The steps shown in Tables II-IV for Phases 302-306 of
FIG. 3 , respectively, correspond to a memory block having four write ports and four read ports. If a particular memory block has different numbers of write and/or read ports, then the algorithm of Tables II-IV should be appropriately modified. For example, if a particular memory block has only two write ports, then the subscripts of Steps 1-2 of Table III andSteps ports Steps port 3. By the same token, if a particular memory block has more than four write ports and/or more than four read ports, then the corresponding steps should be modified to add references to those additional ports. Note that, as mentioned earlier, the hardware ofFIG. 1 would also need to be modified to accommodate more than four read ports. - Automatic Design of BIST Hardware
- The generic natures of both the architecture of
FIG. 1 and the algorithm of Tables II-IV enable the hardware design of a particular computer memory system to be generated using an automated (e.g., computer-implemented), off-line design tool.FIG. 5 shows the flow diagram for such a design tool. - At
step 502 ofFIG. 5 , the parameters that identify the configuration characteristics of a particular computer memory system are specified. These include the number of write ports (PW), the number of read ports (PR), the number of words (W), and the number of bits per word (N) in the memory block. - At
step 504, the design tool compiles the generic BIST algorithm of Tables II-IV based on the specified memory configuration characteristics to generate the hardware design for that particular memory system. Although not necessarily required, in a preferred implementation, the FSM forBIST controller 144 ofFIG. 1D is based on a generic FSM design that applies to all supported hardware designs. This generic FSM uses counters to identify the currently selected read and write ports, where the FSM appropriately increments (i) the read-port counter from 1 to the specified value of the parameter PR and (ii) the write-port counter from 1 to the specified value of the parameter PW to control the BIST operations of the particular memory system. - The compilation performed by the design tool preferably takes into account the specified memory configuration characteristics to generate an efficient hardware design that has little if any excess hardware. Note that, in possible implementations of the design tool, when the memory block has only one read port,
mux block 130 andmux decoder 132 might be included in hardware design even though, technically, they are not needed. In other implementations of the design tool,mux block 130 andmux decoder 132 might be excluded from the hardware design when the memory block has only one read port. - Depending on the particular implementation, additional constraints may be applied. For example, the range of possible memory configurations supported by the design tool could be limited to those having no more than a specified total number of ports (e.g., five). Such a constraint is indicated in the last three rows of Table I in
FIG. 2 , where the number of write ports (PW) can be anywhere from one to four, the number of read ports (PR) can be anywhere from one to four, and the total number of ports (PW+PR) can be anywhere from two to five. Note that this particular constraint assumes that each port is either a write-only port or a read-only port. - Although BIST testing has been described in the context of the architecture of
FIG. 1 and the algorithm ofFIGS. 3 and 4 , it should be understood (1) that the architecture ofFIG. 1 can support different BIST algorithms and (2) that the algorithm ofFIGS. 3 and 4 can be implemented using different BIST hardware designs. For example, the algorithm ofFIGS. 3 and 4 can be implemented using a BIST hardware design that has a different comparator for each different read port (as opposed to the single, multiplexed comparator ofFIG. 1C ). - The present invention may be implemented as circuit-based processes, including possible implementation as a single integrated circuit (such as an ASIC or an FPGA), a multi-chip module, a single card, or a multi-card circuit pack. As would be apparent to one skilled in the art, various functions of circuit elements may also be implemented as processing steps in a software program. Such software may be employed in, for example, a digital signal processor, micro-controller, or general-purpose computer.
- The present invention can be embodied in the form of methods and apparatuses for practicing those methods. The present invention can also be embodied in the form of program code embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program code is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention. The present invention can also be embodied in the form of program code, for example, whether stored in a storage medium, loaded into and/or executed by a machine, or transmitted over some transmission medium or carrier, such as over electrical wiring or cabling, through fiber optics, or via electromagnetic radiation, wherein, when the program code is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention. When implemented on a general-purpose processor, the program code segments combine with the processor to provide a unique device that operates analogously to specific logic circuits.
- It will be further understood that various changes in the details, materials, and arrangements of the parts which have been described and illustrated in order to explain the nature of this invention may be made by those skilled in the art without departing from the scope of the invention as expressed in the following claims.
- Although the steps in the following method claims, if any, are recited in a particular sequence with corresponding labeling, unless the claim recitations otherwise imply a particular sequence for implementing some or all of those steps, those steps are not necessarily intended to be limited to being implemented in that particular sequence.
Claims (20)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US10/974,450 US20060090106A1 (en) | 2004-10-27 | 2004-10-27 | Generalized BIST for multiport memories |
US11/775,956 US8201032B2 (en) | 2004-10-27 | 2007-07-11 | Generalized BIST for multiport memories |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US10/974,450 US20060090106A1 (en) | 2004-10-27 | 2004-10-27 | Generalized BIST for multiport memories |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/775,956 Division US8201032B2 (en) | 2004-10-27 | 2007-07-11 | Generalized BIST for multiport memories |
Publications (1)
Publication Number | Publication Date |
---|---|
US20060090106A1 true US20060090106A1 (en) | 2006-04-27 |
Family
ID=36207378
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US10/974,450 Abandoned US20060090106A1 (en) | 2004-10-27 | 2004-10-27 | Generalized BIST for multiport memories |
US11/775,956 Active 2025-12-12 US8201032B2 (en) | 2004-10-27 | 2007-07-11 | Generalized BIST for multiport memories |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/775,956 Active 2025-12-12 US8201032B2 (en) | 2004-10-27 | 2007-07-11 | Generalized BIST for multiport memories |
Country Status (1)
Country | Link |
---|---|
US (2) | US20060090106A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070274142A1 (en) * | 2006-05-11 | 2007-11-29 | Ryota Nishikawa | Method and device of generating test circuit for semiconductor device |
US20080263414A1 (en) * | 2007-04-17 | 2008-10-23 | Tatsuya Saito | Semiconductor device and data processing system |
US20170110204A1 (en) * | 2015-10-16 | 2017-04-20 | Qualcomm Incorporated | Enhanced memory built-in self-test architecture for de-featured memories |
US11100267B1 (en) * | 2020-05-05 | 2021-08-24 | Xilinx, Inc. | Multi dimensional memory compression using bytewide write enable |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110064214A1 (en) * | 2003-09-09 | 2011-03-17 | Ternarylogic Llc | Methods and Apparatus in Alternate Finite Field Based Coders and Decoders |
US8577026B2 (en) | 2010-12-29 | 2013-11-05 | Ternarylogic Llc | Methods and apparatus in alternate finite field based coders and decoders |
US20070088997A1 (en) * | 2005-09-26 | 2007-04-19 | Peter Lablans | Generation and self-synchronizing detection of sequences using addressable memories |
US7797594B1 (en) * | 2007-07-05 | 2010-09-14 | Oracle America, Inc. | Built-in self-test of 3-dimensional semiconductor memory arrays |
JP5186587B1 (en) * | 2011-09-29 | 2013-04-17 | 株式会社アドバンテスト | Test apparatus and test method |
US9653183B1 (en) | 2016-09-01 | 2017-05-16 | Qualcomm Incorporated | Shared built-in self-analysis of memory systems employing a memory array tile architecture |
US10998075B2 (en) | 2019-09-11 | 2021-05-04 | International Business Machines Corporation | Built-in self-test for bit-write enabled memory arrays |
US10971242B2 (en) | 2019-09-11 | 2021-04-06 | International Business Machines Corporation | Sequential error capture during memory test |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6070256A (en) * | 1997-05-29 | 2000-05-30 | Nortel Networks Corporation | Method and apparatus for self-testing multi-port RAMs |
US6486493B2 (en) * | 2000-09-08 | 2002-11-26 | Mitsubishi Denki Kabushiki Kaisha | Semiconductor integrated circuit device having hierarchical test interface circuit |
US6667918B2 (en) * | 2002-05-01 | 2003-12-23 | Mellanox Technologies Ltd. | Self-repair of embedded memory arrays |
US6907555B1 (en) * | 1999-12-17 | 2005-06-14 | Fujitsu Limited | Self-test circuit and memory device incorporating it |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6681358B1 (en) * | 2000-02-22 | 2004-01-20 | Lsi Logic Corporation | Parallel testing of a multiport memory |
JP2002313098A (en) * | 2001-04-12 | 2002-10-25 | Mitsubishi Electric Corp | Semiconductor device |
-
2004
- 2004-10-27 US US10/974,450 patent/US20060090106A1/en not_active Abandoned
-
2007
- 2007-07-11 US US11/775,956 patent/US8201032B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6070256A (en) * | 1997-05-29 | 2000-05-30 | Nortel Networks Corporation | Method and apparatus for self-testing multi-port RAMs |
US6907555B1 (en) * | 1999-12-17 | 2005-06-14 | Fujitsu Limited | Self-test circuit and memory device incorporating it |
US6486493B2 (en) * | 2000-09-08 | 2002-11-26 | Mitsubishi Denki Kabushiki Kaisha | Semiconductor integrated circuit device having hierarchical test interface circuit |
US6667918B2 (en) * | 2002-05-01 | 2003-12-23 | Mellanox Technologies Ltd. | Self-repair of embedded memory arrays |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070274142A1 (en) * | 2006-05-11 | 2007-11-29 | Ryota Nishikawa | Method and device of generating test circuit for semiconductor device |
US20080263414A1 (en) * | 2007-04-17 | 2008-10-23 | Tatsuya Saito | Semiconductor device and data processing system |
US7774667B2 (en) * | 2007-04-17 | 2010-08-10 | Renesas Technology Corp. | Semiconductor device and data processing system |
US20170110204A1 (en) * | 2015-10-16 | 2017-04-20 | Qualcomm Incorporated | Enhanced memory built-in self-test architecture for de-featured memories |
US11100267B1 (en) * | 2020-05-05 | 2021-08-24 | Xilinx, Inc. | Multi dimensional memory compression using bytewide write enable |
Also Published As
Publication number | Publication date |
---|---|
US20080016418A1 (en) | 2008-01-17 |
US8201032B2 (en) | 2012-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8201032B2 (en) | Generalized BIST for multiport memories | |
US20050047260A1 (en) | Semiconductor integrated circuit | |
JPH0287400A (en) | Memory device | |
WO2003025939A3 (en) | Dynamic column block selection | |
US7984344B1 (en) | Techniques for testing memory circuits | |
US6069829A (en) | Internal clock multiplication for test time reduction | |
US6779141B1 (en) | System and method for implementing memory testing in a SRAM unit | |
US20080288836A1 (en) | Semiconductor integrated circuit capable of testing with small scale circuit configuration | |
US20080222460A1 (en) | Memory test circuit | |
US7552368B2 (en) | Systems and methods for simultaneously testing semiconductor memory devices | |
US10007588B2 (en) | Full address coverage during memory array built-in self-test with minimum transitions | |
JP4836435B2 (en) | Semiconductor memory device and test pattern data generation method for the device | |
US7032141B2 (en) | Semiconductor device including test-facilitating circuit using built-in self test circuit | |
US20030110424A1 (en) | System and method for testing a column redundancy of an integrated circuit memory | |
US7184324B2 (en) | Semiconductor memory device having a single input terminal to select a buffer and method of testing the same | |
US11532376B2 (en) | Repair analysis circuit and memory including the same | |
US7450449B2 (en) | Semiconductor memory device and its test method | |
US7117406B2 (en) | Semiconductor memory device and method of testing same | |
US6611929B1 (en) | Test circuit for memory | |
JP2015090719A (en) | Semiconductor device | |
WO2002039458A1 (en) | AT-SPEED BUILT-IN SELF TESTING OF MULTI-PORT COMPACT sRAMs | |
JP2970088B2 (en) | LSI tester | |
JP4659244B2 (en) | Semiconductor memory device | |
JP3746811B2 (en) | Semiconductor integrated circuit | |
JP4113711B2 (en) | Semiconductor memory device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: AGERE SYSTEMS INC., PENNSYLVANIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:EVANS, DONALD A.;KIM, ILYOUNG;REEL/FRAME:015933/0091 Effective date: 20041026 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |
|
AS | Assignment |
Owner name: BELL SEMICONDUCTOR, LLC, ILLINOIS Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.;BROADCOM CORPORATION;REEL/FRAME:044887/0109 Effective date: 20171208 |
|
AS | Assignment |
Owner name: CORTLAND CAPITAL MARKET SERVICES LLC, AS COLLATERA Free format text: SECURITY INTEREST;ASSIGNORS:HILCO PATENT ACQUISITION 56, LLC;BELL SEMICONDUCTOR, LLC;BELL NORTHERN RESEARCH, LLC;REEL/FRAME:045216/0020 Effective date: 20180124 |
|
AS | Assignment |
Owner name: BELL NORTHERN RESEARCH, LLC, ILLINOIS Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:CORTLAND CAPITAL MARKET SERVICES LLC;REEL/FRAME:059720/0223 Effective date: 20220401 Owner name: BELL SEMICONDUCTOR, LLC, ILLINOIS Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:CORTLAND CAPITAL MARKET SERVICES LLC;REEL/FRAME:059720/0223 Effective date: 20220401 Owner name: HILCO PATENT ACQUISITION 56, LLC, ILLINOIS Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:CORTLAND CAPITAL MARKET SERVICES LLC;REEL/FRAME:059720/0223 Effective date: 20220401 |