International Journal of Engineering Inventions
ISSN: 2278-7461, www.ijeijournal.com
Volume 1, Issue 8 (October2012) PP: 76-80


             AN OPTIMAL APPROACH FOR TESTING EMBEDDED
                          MEMORIES IN SOCS
                                           B.Prathap Reddy1                P.RameshYadav2
                                                 1
                                               M.Tech (pursuing), VITS, Proddatur
                              2
                               M.Tech, (Ph D), Asst. Professor, Department of ECE, VITS, Proddatur


   Abstract:––In general, RAM’s are playing very important roles in design of SOC’s, by improving the yield of RAM’s we can
   improves the yield of SOC. yield of the chip is improves by repairing the RAM’s in SOC. so many techniques are came to improve
   the yield of the SOC. the current paper presents the efficient technique for improves the yield of the SOC, which is called
   Reconfigurable Built-in self Repair scheme for RAM’s in SOC(Re-BISR).in the technique we are using the spare cells (Spare
   rows/Spare columns) for eliminating the faults in the RAM’s. The proposed repair scheme is increasing the repair rate and
   reconfigurable for less area, used to repair multiple RAM’s with different sizes and redundancy. The experimental results show that
   proposed Re-BISR technique reduces the area and increases the yield of the RAM’s.

   Keywords:––Built-in self-test, Built-in self-repair, Built-in redundancy-analysis, memory testing, semiconductor memory.

                                                       I. INTRODUCTION
             The VLSI manufacturing technology advances has made possible to put millions of transistors on a single die. A complex
   IC that integrates the major functional elements of a complete end product into a single chip is known as System on Chip (SOC). It
   enables the designers to move everything from board to chip. Reduction in size, lower power consumption, higher performance,
   higher reliability, reuse capability and lower cost are the benefits of using SOC. Redundancy increases the silicon area and thus has a
   negative impact on yield. To maximize the yield, redundancy analysis is necessary. embedded memories are harder to deal with
   Automatic Test Equipment (ATE). The BISR (Built in Self Repair) technique is a promising and popular solution for enhancing the
   yield of memories with the redundancy logic.
             RAMs in an SOC usually have various sizes, different number of redundancies, and even different types of redundancy
   organizations. If each repairable RAM uses one self contained BISR circuit, then the area cost of BISR circuits in an SOC becomes
   high. To reduce the area cost, several processor based BISR schemes are also proposed. Therefore, a time efficient and area efficient
   BISR scheme is needed to improve the yield of RAMs in SOCs economically. The solution to the above problem is reconfigurable
   BISR (Re BISR) scheme, which is implemented in this thesis. The Built-in self diagnosis method presented for repairable SRAMs uses
   a reduced-instruction-set processor to determine a repair solution. The Re-BISR can be shared by multiple RAMs with different sizes
   and redundancy organizations. This can reduce the area cost of the BISR circuits in an SOC. Also, an efficient reconfigurable BIRA
   (Re BIRA) scheme is used to allocate 2D redundancies of multiple RAMs.

                                            II. OVERVIEW OF BIST SCHEME
              The various components of BIST hardware shown in fig 2.1.They are test pattern generator (TPG), test controller; circuit
   under test (CUT), input isolation circuitry and the output response analyzer (ORA).The memory BISR (MBISR) concept contains an
   interface between memory BIST (MBIST) logic and redundancy wrapper for storing faulty addresses.
   Test Pattern Generator (TPG): Responsible for generating the test vectors according to the desired technique (i.e. depending upon the
   desired fault coverage and the specific faults to be tested for) for the CUT. Linear feedback shift register (LFSR) and pseudo random
   pattern generator (PRPG) are the most widely used TPGs.
              Test Controller: Responsible for controlling the other components to perform the self test. The test controller places the
   CUT in test mode and allows the TPG to drive the circuit’s inputs directly. During the test sequence, the controller interacts with the
   ORA to ensure that the proper signals are being compared. The test controller asserts its single output signal to indicate that testing
   has completed, and that the ORA has determined whether the circuit is faulty or fault-free.
   Output Response Analyzer (ORA): Responsible for validating the output responses i.e. the response of the system to the applied test
   vectors needs to be analyzed. Also, a decision is made about the system being faulty or fault-free. LFSR and multiple input signature
   register (MISR) are the most widely used ORAs.




 ISSN: 2278-7461                                      www.ijeijournal.com                                                  P a g e | 76
AN OPTIMAL APPROACH FOR TESTING…




                                                    Fig 2.1: Basic BIST Architecture

  2.1 Redundancy organization




                                                   Fig 2.2: Redundancy Organization

           The fig 2.2 shows an example of 8x8 main memory modules along with 1 spare row, 1 spare column and spare cells.
  Since most of the memory faults are single cell defects, here spare cells are used for better utilization of spare elements. The
  row/column having multiple defects is remapped with corresponding spare row/column. The single defects in the main memory are re
  mapped with spare cells. By this redundancy organization the area of spare is efficiently utilized.

  1.2 Repairable RAM
             A RAM with redundancies and reconfiguration circuit is called as a repairable RAM. Fig 2.2 depicts an example of an 8*8
  bit-oriented RAM with 1 spare row and 1 spare column. If a spare row is allocated to replace a defective row, then the row address of
  the defective row is called row repair address (RRA). Then a decoder decodes the RRA into control signals for switching row
  multiplexers to skip the defective row if the row address enable (RAE) signal is asserted. The reconfiguration of the defective column
  and the spare column is performed in a similar way, i.e., give a column repair addresses (CRA) and assert the column address enable
  signal to repair the defective column using the spare column.




ISSN: 2278-7461                                      www.ijeijournal.com                                                 P a g e | 77
AN OPTIMAL APPROACH FOR TESTING…




                                                         DEMUX
                                 write_data                                     Spare Rows




                                                                                                         Spare Columns
                                                                                    RAM



                                                        MUX
                                 read_data


                                                                                                                           wr
                                     clk                                                                                   rd
                                                   Address Decoder                                                       addr
                                     rst

                                                 Row Repair Registers               Column Repair Registers


                                                rep_reg_wr           rep_reg_data         rep_reg_addr

                                                                 Fig 2.3: Repairable RAM

                                           III. THE PROPOSED RE-BISR SCHEME
             The block RAM details table is used for storing the configurations of RAMs which includes the memory data width,
  memory depth, number of spare rows and number of spare columns. RAM details table is of size 4*16. FSM is the main block that
  acts as a controller for generating the control signals during testing and repairing processes.

  3.1Architecture of Re-BISR
             The overall RAM Re-BISR flow is described as follows. Before the BIST circuit and the Re-BIRA circuit start testing and
  repairing the RAMs, the RAM configurations (details) should be known by these two circuits. This is done by the FSM, where it
  generates the necessary control signals that are required for sending the RAM configurations from RAM details table to BIST and Re-
  BIRA circuits. Because, the memory depth and memory data width are required by the BIST circuit for testing the RAM and the
  number of spare rows and number of spare columns are required by the Re-BIRA circuit to perform the analysis before repairing. The
  process of entering the RAM configurations into the RAM details table is described as follows.
             When reset is high, all the locations in the RAM details table are filled with zeroes. Else, if the signal program_ram_details
  is high, the RAM details are entered into RAM details table through the pin ram_details using the write pointer. As the details are
  entered one by one, the write pointer is incremented by 1.Once the RAM details table is full, the write pointer stops incrementing and
  holds the value. Once the RAM details table is full, the BIST and Re-BIRA circuits start the testing and repairing processes of RAMs
  one by one. If the BIST circuit detects a fault, then the fault information is exported to the Re-BIRA circuitry, and then the Re-BIRA
  performs redundancy allocation on the fly using the rules of the implemented redundancy algorithm. The redundancy algorithm
  implemented in our scheme is Range Checking First Algorithm (RCFA). The Re-BIRA allocating redundancy on the fly means that
  the redundancy allocation process and the BIST process are performed concurrently. The proposed Re-BIRA scheme uses a local
  bitmap (i.e., a small bitmap) to store fault information of the faults detected by the BIST circuit. The bitmap or the fault table present
  in the Re-BIRA circuitry is of size 4*64 in our proposed Re-BISR scheme. Once the local bitmap is full, the BIST is paused and the
  Re-BIRA allocates redundancies according to the faulty information. After the Re-BIRA allocates a redundancy to repair a
  corresponding faulty row or column, the local bitmap is updated and the BIST is resumed. This process is iterated until the test and
  repair process is completed. The repair signatures from the Re-BIRA circuit are then sent to the repair registers that are present in the
  repairable RAMs. Repair signatures include repair register data (defective row/column address), repair register address and repair
  register write signal. The repairing procedure involves the entering of the repair register data in the repair registers. When the repair
  register write signal is high, then the repair register data is written in the repair registers at the address location specified by the repair
  register address. The BIST tests the RAMs once again (after the testing and repairing processes) to ensure that there are no faults
  present.



ISSN: 2278-7461                                          www.ijeijournal.com                                                     P a g e | 78
AN OPTIMAL APPROACH FOR TESTING…




                               clk
                                                  RAM 0           RAM 1         RAM 2      RAM 3



                               rst
                                                                         MUX / DEMUX



                               start                                                                   ram no
                                                    BIST           REBIRA

                                                                                           FSM
                                                                                                       irrepairable


                                                   RAM DETAILS TABLE                                   done



                                       program _ram_details      ram_details


                          Fig 3.1: Block diagram of the proposed Re-BISR scheme for repairing multiple RAMs

             Whenever the memory is accessed later i.e. after repairing, when the defective address is arrived, then the address decoder
  decodes the row/column repair address to control signals for switching row/ column multiplexers to skip the defective row/column.
  And, the control is immediately transferred to the relevant location either in the spare row/spare column since there is one to one
  correspondence between repair registers and spare elements. This is nothing but the address mapping procedure. The Re-BISR FSM is
  shown in the below figure and the Re-BISR flow using states is roughly described as follows. The Fig 3.1 shows the simplified block
  diagram of the proposed Re-BISR scheme for repairing multiple RAMs in an SOC. Four repairable RAMs with various sizes having
  different number of redundancies are considered in our proposed Re BISR scheme. All these RAMs are word oriented memories and
  their configurations are as listed in the table 3.1.

                                                           Table 3.1: Configurations of RAMs
                                             RAM              Data Width *         No. of     No. of
                                               No            Memory Depth          Spare      Spare
                                                                                   Rows      Columns
                                            RAM0                  16 * 32             2         2
                                            RAM 1                 32 * 64             2         3
                                            RAM 2                128 * 64             3         2
                                            RAM 3                256 * 64             0         0

  The table 3.2 shows the stuck-at-faults in the four repairable RAMs at their respective fault row and fault column locations.


                                                       Table 3.2: Location of stuck-at-faults
                                                   RAM         Fault        Fault        Stuck-at-
                                                    No          Row        Column           Fault
                                                  RAM 0         6,7           18              0
                                                                 14         28, 29           1,1
                                                  RAM 1        15, 16         43             1,1
                                                                 28           61              0
                                                  RAM 2              -           -           -

                                                  RAM 3            243           31         0



  3.2 RCFA: A Range-Checking First Algorithm for allocating 2D redundancy
            One major feature of the RCFA is that the algorithm first checks the number of row entries and the number of column
  entries with fault information in the local bitmap. Then if the number of row entries with fault information is larger than the number
  of column entries with fault information, the algorithm allocates a spare column to replace the corresponding faulty column with the

ISSN: 2278-7461                                               www.ijeijournal.com                                          P a g e | 79
AN OPTIMAL APPROACH FOR TESTING…



  largest number of faulty bits. Otherwise, the algorithm allocates a spare row to replace the corresponding faulty row with the largest
  number of faulty bits. As figure shown above shows, the number of row entries (N FRE) with fault information is 4. Also, the number
  of column entries with fault information in the left sub-bitmap and in the right sub-bitmap is 2 and 4, i.e., NFCEL=2and NFCER=4, where
  NFECL and NFCER denote the number of column entries with fault information in the left sub-bitmap and the right sub-bitmap,
  respectively.
  Major steps of the redundancy allocation procedure of RCFA are shown in Algorithm.
  1. Run BIST; pause and jump to Step 2 when it detects a fault.
  2. Check whether the detected fault has been repaired. If so, go tostep1.Otherwise,go to Step3.
  3. Check whether the local bitmap is full. If so, go to the next step. Otherwise,go to Step 1.
  4. If NFRE > NFCEL(NFCER), allocate an available spare column to replace the CMF.
  (If available spare column is exhausted, allocate an available spare row to replace the R MF); else if NFRE< NFCEL(NFCER), allocate an
  available spare row to replace the RMF (if available spare row is exhausted, allocate an available spare column to replace the C MF);
  else NFRE = NFCEL(NFCER) , replace the faulty element with the largest number of faulty bits with a corresponding available spare
  element. If spare elements are exhausted, the RAM is irreparable.
  5. Check whether the BIST is done. If so, go to the next step. Otherwise, go to Step 1 when the local bitmap is not full; go to Step 4
  when the local bitmap is still full.
  6. Check whether the local bitmap is empty. If so, export the repaired addresses and then stop.Otherwise,go to Step 4.

                                               IV. SIMULATION RESULTS




                                                 Fig 4.1: Reconfigurable BISR waveform

               The RAM details are entered one by one and the RAM details for the RAM3 are 16’hfe00. The RAM details table write
  pointer is 4 as shown in the figure. When ram number is 0 and when run_mbist is 1, the faults are detected and given as the fault row
  in RAM0 is 10’h007 and fault column is 64’h0000000000040000 as shown in the figure. The repair signatures are repair_reg_wr is
  1’b1, repair_reg_addr is 4’h2 and repair_reg_addr is 11’h412 for repairing fault at fault column 18.

                                                       V. CONCLUSION
             A reconfigurable built in self repair circuit is efficiently implemented in this paper. The redundancy algorithm for 2D
  redundancy allocation is introduced. The BIRA is reconfigurable to support for multiple memories with different redundancies. So the
  area of the repair circuit is effectively reduced, i.e. nearly 60% of repair circuit area is reduced compare to individual repair
  circuits for 16x16, 32x32 and64x64 bits memory modules. Since the yield of memory plays major role in SOC designs, the proposed
  Re-BISR effectively increases compared to traditional yield.

                                                           REFERENCES
    1.     S. E. Schuster, Multiple word/bit line redundancy for semiconductor memories IEEE Journal of Solid- State Circuits, vol. 13,
           no. 5, pp.698–703.
    2.     M.Horiguchi,J.Etoh, M. Masakazu, K. Itoh, and T. Matsumoto, A flexible redundancy technique for high-density DRAM’s
           ,IEEE Journal of Solid-State Circuits, vol. 26, no. 1, pp. 12–17.
    3.     T. Yamagata, H.Sato, K. Fujita, Y.Nishimura and K. Anami, A distributed globally replaceable redundancy scheme for
           sub-half-micron ULSI memories, IEEE Journal of Solid-State Circuits,vol,31, no. 2, pp. 195–201, Feb. 1996.
    4.      Kim, Y. Zorian,G. Komoriya, H. Pham, F. P. Higgins, and J. L. Lweandowski, “Built in self repair for embedded high
           density SRAM,” in Proc. Int. Test Conf. (ITC), Oct. 1998, pp. 1112–1119.
    5.     M. Nicolaidis, N. Achouri, and S.Boutobza, “Optimal reconfiguration functions for column or data-bit built-in self-
           repair,” in Proc. Conf. Des., Autom., Test Eur. (DATE), Munich, Germany, Mar. 2003, pp. 590–595.
    6.      M. Nicolaidis, N. Achouri, and S. Boutobza, “Dynamic data-bit memory built-in self-repair,” in Proc. IEEE/ACM Int.
           Conf. Comput-Aided Des. (ICCAD), San Jose, CA, Nov. 2003, pp. 588–594.
ISSN: 2278-7461                                      www.ijeijournal.com                                                  P a g e | 80

More Related Content

PDF
Memory hir
PDF
Built-in Self Repair for SRAM Array using Redundancy
PDF
Ip2616541659
PDF
Design and Simulation Low power SRAM Circuits
DOCX
301378156 design-of-sram-in-verilog
PDF
Project Report Of SRAM Design
PDF
Low power sram
DOCX
Evaluation of Branch Predictors
Memory hir
Built-in Self Repair for SRAM Array using Redundancy
Ip2616541659
Design and Simulation Low power SRAM Circuits
301378156 design-of-sram-in-verilog
Project Report Of SRAM Design
Low power sram
Evaluation of Branch Predictors

What's hot (18)

PDF
Implementation of High Reliable 6T SRAM Cell Design
PDF
PDF
SRAM Design
PDF
Power minimization of systems using Performance Enhancement Guaranteed Caches
PPT
Class12
PDF
Sram technology
PDF
International Journal of Engineering Research and Development
PDF
Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...
PDF
Bharat gargi final project report
PDF
Project Report Multilevel Cache
PDF
The International Journal of Engineering and Science (The IJES)
PDF
An improvised design implementation of sram
PDF
Instruction, interrupts & io processing
PDF
Fj3110731078
PDF
Sram memory design
PDF
Single Ended Schmitt Trigger Based Robust Low Power SRAM Cell
PDF
250nm Technology Based Low Power SRAM Memory
Implementation of High Reliable 6T SRAM Cell Design
SRAM Design
Power minimization of systems using Performance Enhancement Guaranteed Caches
Class12
Sram technology
International Journal of Engineering Research and Development
Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...
Bharat gargi final project report
Project Report Multilevel Cache
The International Journal of Engineering and Science (The IJES)
An improvised design implementation of sram
Instruction, interrupts & io processing
Fj3110731078
Sram memory design
Single Ended Schmitt Trigger Based Robust Low Power SRAM Cell
250nm Technology Based Low Power SRAM Memory
Ad

Viewers also liked (9)

PDF
An application specific reconfigurable architecture
PDF
Loc, los and loes at speed testing methodologies for automatic test pattern g...
PDF
A novel approach on gate delay transition based path delay fault model
PDF
International Journal of Engineering Research and Development
PDF
PDF
Concurrent Online Test of RFID Memories Using MBIST
PDF
Optimal and Power Aware BIST for Delay Testing of System-On-Chip
PPT
cellular automata as a test pattern generator and output response compactor f...
PDF
40120140506006
An application specific reconfigurable architecture
Loc, los and loes at speed testing methodologies for automatic test pattern g...
A novel approach on gate delay transition based path delay fault model
International Journal of Engineering Research and Development
Concurrent Online Test of RFID Memories Using MBIST
Optimal and Power Aware BIST for Delay Testing of System-On-Chip
cellular automata as a test pattern generator and output response compactor f...
40120140506006
Ad

Similar to International Journal of Engineering Inventions (IJEI) (20)

PDF
A Built In Self-Test and Repair Analyser for Embedded Memories
PDF
Kj2417641769
PDF
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDL
PDF
Design and Performance Evaluation of a 64-bit SRAM Memory Array Utilizing Mod...
PDF
Iaetsd fpga implementation of fault tolerant embedded
PDF
A Simplied Bit-Line Technique for Memory Optimization
PDF
IRJET- Deisgn of Low Power 16x16 Sram with Adiabatic Logic
PPT
Chapter5 the memory-system-jntuworld
PPT
memory systems-module 3 presentation ppt
PDF
An improvised design implementation of sram
PPTX
ARM introduction registers architectures
PPT
computer chapter5-the memory system (1) (2).ppt
PPT
Memory system in computer architecture system
PPT
chapter5-the memory system chapter .ppt
PDF
Time and Low Power Operation Using Embedded Dram to Gain Cell Data Retention
PDF
Complex Test Pattern Generation for high speed fault diagnosis in FPGA based ...
PDF
Using CMOS Sub-Micron Technology VLSI Implementation of Low Power, High Spee...
PDF
Using CMOS Sub-Micron Technology VLSI Implementation of Low Power, High Speed...
PDF
An Innovative Design solution for minimizing Power Dissipation in SRAM Cell
DOCX
2017 18 ieee vlsi titles,IEEE 2017-18 BULK NS2 PROJECTS TITLES,IEEE 2017-18...
A Built In Self-Test and Repair Analyser for Embedded Memories
Kj2417641769
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDL
Design and Performance Evaluation of a 64-bit SRAM Memory Array Utilizing Mod...
Iaetsd fpga implementation of fault tolerant embedded
A Simplied Bit-Line Technique for Memory Optimization
IRJET- Deisgn of Low Power 16x16 Sram with Adiabatic Logic
Chapter5 the memory-system-jntuworld
memory systems-module 3 presentation ppt
An improvised design implementation of sram
ARM introduction registers architectures
computer chapter5-the memory system (1) (2).ppt
Memory system in computer architecture system
chapter5-the memory system chapter .ppt
Time and Low Power Operation Using Embedded Dram to Gain Cell Data Retention
Complex Test Pattern Generation for high speed fault diagnosis in FPGA based ...
Using CMOS Sub-Micron Technology VLSI Implementation of Low Power, High Spee...
Using CMOS Sub-Micron Technology VLSI Implementation of Low Power, High Speed...
An Innovative Design solution for minimizing Power Dissipation in SRAM Cell
2017 18 ieee vlsi titles,IEEE 2017-18 BULK NS2 PROJECTS TITLES,IEEE 2017-18...

More from International Journal of Engineering Inventions www.ijeijournal.com (20)

International Journal of Engineering Inventions (IJEI)

  • 1. International Journal of Engineering Inventions ISSN: 2278-7461, www.ijeijournal.com Volume 1, Issue 8 (October2012) PP: 76-80 AN OPTIMAL APPROACH FOR TESTING EMBEDDED MEMORIES IN SOCS B.Prathap Reddy1 P.RameshYadav2 1 M.Tech (pursuing), VITS, Proddatur 2 M.Tech, (Ph D), Asst. Professor, Department of ECE, VITS, Proddatur Abstract:––In general, RAM’s are playing very important roles in design of SOC’s, by improving the yield of RAM’s we can improves the yield of SOC. yield of the chip is improves by repairing the RAM’s in SOC. so many techniques are came to improve the yield of the SOC. the current paper presents the efficient technique for improves the yield of the SOC, which is called Reconfigurable Built-in self Repair scheme for RAM’s in SOC(Re-BISR).in the technique we are using the spare cells (Spare rows/Spare columns) for eliminating the faults in the RAM’s. The proposed repair scheme is increasing the repair rate and reconfigurable for less area, used to repair multiple RAM’s with different sizes and redundancy. The experimental results show that proposed Re-BISR technique reduces the area and increases the yield of the RAM’s. Keywords:––Built-in self-test, Built-in self-repair, Built-in redundancy-analysis, memory testing, semiconductor memory. I. INTRODUCTION The VLSI manufacturing technology advances has made possible to put millions of transistors on a single die. A complex IC that integrates the major functional elements of a complete end product into a single chip is known as System on Chip (SOC). It enables the designers to move everything from board to chip. Reduction in size, lower power consumption, higher performance, higher reliability, reuse capability and lower cost are the benefits of using SOC. Redundancy increases the silicon area and thus has a negative impact on yield. To maximize the yield, redundancy analysis is necessary. embedded memories are harder to deal with Automatic Test Equipment (ATE). The BISR (Built in Self Repair) technique is a promising and popular solution for enhancing the yield of memories with the redundancy logic. RAMs in an SOC usually have various sizes, different number of redundancies, and even different types of redundancy organizations. If each repairable RAM uses one self contained BISR circuit, then the area cost of BISR circuits in an SOC becomes high. To reduce the area cost, several processor based BISR schemes are also proposed. Therefore, a time efficient and area efficient BISR scheme is needed to improve the yield of RAMs in SOCs economically. The solution to the above problem is reconfigurable BISR (Re BISR) scheme, which is implemented in this thesis. The Built-in self diagnosis method presented for repairable SRAMs uses a reduced-instruction-set processor to determine a repair solution. The Re-BISR can be shared by multiple RAMs with different sizes and redundancy organizations. This can reduce the area cost of the BISR circuits in an SOC. Also, an efficient reconfigurable BIRA (Re BIRA) scheme is used to allocate 2D redundancies of multiple RAMs. II. OVERVIEW OF BIST SCHEME The various components of BIST hardware shown in fig 2.1.They are test pattern generator (TPG), test controller; circuit under test (CUT), input isolation circuitry and the output response analyzer (ORA).The memory BISR (MBISR) concept contains an interface between memory BIST (MBIST) logic and redundancy wrapper for storing faulty addresses. Test Pattern Generator (TPG): Responsible for generating the test vectors according to the desired technique (i.e. depending upon the desired fault coverage and the specific faults to be tested for) for the CUT. Linear feedback shift register (LFSR) and pseudo random pattern generator (PRPG) are the most widely used TPGs. Test Controller: Responsible for controlling the other components to perform the self test. The test controller places the CUT in test mode and allows the TPG to drive the circuit’s inputs directly. During the test sequence, the controller interacts with the ORA to ensure that the proper signals are being compared. The test controller asserts its single output signal to indicate that testing has completed, and that the ORA has determined whether the circuit is faulty or fault-free. Output Response Analyzer (ORA): Responsible for validating the output responses i.e. the response of the system to the applied test vectors needs to be analyzed. Also, a decision is made about the system being faulty or fault-free. LFSR and multiple input signature register (MISR) are the most widely used ORAs. ISSN: 2278-7461 www.ijeijournal.com P a g e | 76
  • 2. AN OPTIMAL APPROACH FOR TESTING… Fig 2.1: Basic BIST Architecture 2.1 Redundancy organization Fig 2.2: Redundancy Organization The fig 2.2 shows an example of 8x8 main memory modules along with 1 spare row, 1 spare column and spare cells. Since most of the memory faults are single cell defects, here spare cells are used for better utilization of spare elements. The row/column having multiple defects is remapped with corresponding spare row/column. The single defects in the main memory are re mapped with spare cells. By this redundancy organization the area of spare is efficiently utilized. 1.2 Repairable RAM A RAM with redundancies and reconfiguration circuit is called as a repairable RAM. Fig 2.2 depicts an example of an 8*8 bit-oriented RAM with 1 spare row and 1 spare column. If a spare row is allocated to replace a defective row, then the row address of the defective row is called row repair address (RRA). Then a decoder decodes the RRA into control signals for switching row multiplexers to skip the defective row if the row address enable (RAE) signal is asserted. The reconfiguration of the defective column and the spare column is performed in a similar way, i.e., give a column repair addresses (CRA) and assert the column address enable signal to repair the defective column using the spare column. ISSN: 2278-7461 www.ijeijournal.com P a g e | 77
  • 3. AN OPTIMAL APPROACH FOR TESTING… DEMUX write_data Spare Rows Spare Columns RAM MUX read_data wr clk rd Address Decoder addr rst Row Repair Registers Column Repair Registers rep_reg_wr rep_reg_data rep_reg_addr Fig 2.3: Repairable RAM III. THE PROPOSED RE-BISR SCHEME The block RAM details table is used for storing the configurations of RAMs which includes the memory data width, memory depth, number of spare rows and number of spare columns. RAM details table is of size 4*16. FSM is the main block that acts as a controller for generating the control signals during testing and repairing processes. 3.1Architecture of Re-BISR The overall RAM Re-BISR flow is described as follows. Before the BIST circuit and the Re-BIRA circuit start testing and repairing the RAMs, the RAM configurations (details) should be known by these two circuits. This is done by the FSM, where it generates the necessary control signals that are required for sending the RAM configurations from RAM details table to BIST and Re- BIRA circuits. Because, the memory depth and memory data width are required by the BIST circuit for testing the RAM and the number of spare rows and number of spare columns are required by the Re-BIRA circuit to perform the analysis before repairing. The process of entering the RAM configurations into the RAM details table is described as follows. When reset is high, all the locations in the RAM details table are filled with zeroes. Else, if the signal program_ram_details is high, the RAM details are entered into RAM details table through the pin ram_details using the write pointer. As the details are entered one by one, the write pointer is incremented by 1.Once the RAM details table is full, the write pointer stops incrementing and holds the value. Once the RAM details table is full, the BIST and Re-BIRA circuits start the testing and repairing processes of RAMs one by one. If the BIST circuit detects a fault, then the fault information is exported to the Re-BIRA circuitry, and then the Re-BIRA performs redundancy allocation on the fly using the rules of the implemented redundancy algorithm. The redundancy algorithm implemented in our scheme is Range Checking First Algorithm (RCFA). The Re-BIRA allocating redundancy on the fly means that the redundancy allocation process and the BIST process are performed concurrently. The proposed Re-BIRA scheme uses a local bitmap (i.e., a small bitmap) to store fault information of the faults detected by the BIST circuit. The bitmap or the fault table present in the Re-BIRA circuitry is of size 4*64 in our proposed Re-BISR scheme. Once the local bitmap is full, the BIST is paused and the Re-BIRA allocates redundancies according to the faulty information. After the Re-BIRA allocates a redundancy to repair a corresponding faulty row or column, the local bitmap is updated and the BIST is resumed. This process is iterated until the test and repair process is completed. The repair signatures from the Re-BIRA circuit are then sent to the repair registers that are present in the repairable RAMs. Repair signatures include repair register data (defective row/column address), repair register address and repair register write signal. The repairing procedure involves the entering of the repair register data in the repair registers. When the repair register write signal is high, then the repair register data is written in the repair registers at the address location specified by the repair register address. The BIST tests the RAMs once again (after the testing and repairing processes) to ensure that there are no faults present. ISSN: 2278-7461 www.ijeijournal.com P a g e | 78
  • 4. AN OPTIMAL APPROACH FOR TESTING… clk RAM 0 RAM 1 RAM 2 RAM 3 rst MUX / DEMUX start ram no BIST REBIRA FSM irrepairable RAM DETAILS TABLE done program _ram_details ram_details Fig 3.1: Block diagram of the proposed Re-BISR scheme for repairing multiple RAMs Whenever the memory is accessed later i.e. after repairing, when the defective address is arrived, then the address decoder decodes the row/column repair address to control signals for switching row/ column multiplexers to skip the defective row/column. And, the control is immediately transferred to the relevant location either in the spare row/spare column since there is one to one correspondence between repair registers and spare elements. This is nothing but the address mapping procedure. The Re-BISR FSM is shown in the below figure and the Re-BISR flow using states is roughly described as follows. The Fig 3.1 shows the simplified block diagram of the proposed Re-BISR scheme for repairing multiple RAMs in an SOC. Four repairable RAMs with various sizes having different number of redundancies are considered in our proposed Re BISR scheme. All these RAMs are word oriented memories and their configurations are as listed in the table 3.1. Table 3.1: Configurations of RAMs RAM Data Width * No. of No. of No Memory Depth Spare Spare Rows Columns RAM0 16 * 32 2 2 RAM 1 32 * 64 2 3 RAM 2 128 * 64 3 2 RAM 3 256 * 64 0 0 The table 3.2 shows the stuck-at-faults in the four repairable RAMs at their respective fault row and fault column locations. Table 3.2: Location of stuck-at-faults RAM Fault Fault Stuck-at- No Row Column Fault RAM 0 6,7 18 0 14 28, 29 1,1 RAM 1 15, 16 43 1,1 28 61 0 RAM 2 - - - RAM 3 243 31 0 3.2 RCFA: A Range-Checking First Algorithm for allocating 2D redundancy One major feature of the RCFA is that the algorithm first checks the number of row entries and the number of column entries with fault information in the local bitmap. Then if the number of row entries with fault information is larger than the number of column entries with fault information, the algorithm allocates a spare column to replace the corresponding faulty column with the ISSN: 2278-7461 www.ijeijournal.com P a g e | 79
  • 5. AN OPTIMAL APPROACH FOR TESTING… largest number of faulty bits. Otherwise, the algorithm allocates a spare row to replace the corresponding faulty row with the largest number of faulty bits. As figure shown above shows, the number of row entries (N FRE) with fault information is 4. Also, the number of column entries with fault information in the left sub-bitmap and in the right sub-bitmap is 2 and 4, i.e., NFCEL=2and NFCER=4, where NFECL and NFCER denote the number of column entries with fault information in the left sub-bitmap and the right sub-bitmap, respectively. Major steps of the redundancy allocation procedure of RCFA are shown in Algorithm. 1. Run BIST; pause and jump to Step 2 when it detects a fault. 2. Check whether the detected fault has been repaired. If so, go tostep1.Otherwise,go to Step3. 3. Check whether the local bitmap is full. If so, go to the next step. Otherwise,go to Step 1. 4. If NFRE > NFCEL(NFCER), allocate an available spare column to replace the CMF. (If available spare column is exhausted, allocate an available spare row to replace the R MF); else if NFRE< NFCEL(NFCER), allocate an available spare row to replace the RMF (if available spare row is exhausted, allocate an available spare column to replace the C MF); else NFRE = NFCEL(NFCER) , replace the faulty element with the largest number of faulty bits with a corresponding available spare element. If spare elements are exhausted, the RAM is irreparable. 5. Check whether the BIST is done. If so, go to the next step. Otherwise, go to Step 1 when the local bitmap is not full; go to Step 4 when the local bitmap is still full. 6. Check whether the local bitmap is empty. If so, export the repaired addresses and then stop.Otherwise,go to Step 4. IV. SIMULATION RESULTS Fig 4.1: Reconfigurable BISR waveform The RAM details are entered one by one and the RAM details for the RAM3 are 16’hfe00. The RAM details table write pointer is 4 as shown in the figure. When ram number is 0 and when run_mbist is 1, the faults are detected and given as the fault row in RAM0 is 10’h007 and fault column is 64’h0000000000040000 as shown in the figure. The repair signatures are repair_reg_wr is 1’b1, repair_reg_addr is 4’h2 and repair_reg_addr is 11’h412 for repairing fault at fault column 18. V. CONCLUSION A reconfigurable built in self repair circuit is efficiently implemented in this paper. The redundancy algorithm for 2D redundancy allocation is introduced. The BIRA is reconfigurable to support for multiple memories with different redundancies. So the area of the repair circuit is effectively reduced, i.e. nearly 60% of repair circuit area is reduced compare to individual repair circuits for 16x16, 32x32 and64x64 bits memory modules. Since the yield of memory plays major role in SOC designs, the proposed Re-BISR effectively increases compared to traditional yield. REFERENCES 1. S. E. Schuster, Multiple word/bit line redundancy for semiconductor memories IEEE Journal of Solid- State Circuits, vol. 13, no. 5, pp.698–703. 2. M.Horiguchi,J.Etoh, M. Masakazu, K. Itoh, and T. Matsumoto, A flexible redundancy technique for high-density DRAM’s ,IEEE Journal of Solid-State Circuits, vol. 26, no. 1, pp. 12–17. 3. T. Yamagata, H.Sato, K. Fujita, Y.Nishimura and K. Anami, A distributed globally replaceable redundancy scheme for sub-half-micron ULSI memories, IEEE Journal of Solid-State Circuits,vol,31, no. 2, pp. 195–201, Feb. 1996. 4. Kim, Y. Zorian,G. Komoriya, H. Pham, F. P. Higgins, and J. L. Lweandowski, “Built in self repair for embedded high density SRAM,” in Proc. Int. Test Conf. (ITC), Oct. 1998, pp. 1112–1119. 5. M. Nicolaidis, N. Achouri, and S.Boutobza, “Optimal reconfiguration functions for column or data-bit built-in self- repair,” in Proc. Conf. Des., Autom., Test Eur. (DATE), Munich, Germany, Mar. 2003, pp. 590–595. 6. M. Nicolaidis, N. Achouri, and S. Boutobza, “Dynamic data-bit memory built-in self-repair,” in Proc. IEEE/ACM Int. Conf. Comput-Aided Des. (ICCAD), San Jose, CA, Nov. 2003, pp. 588–594. ISSN: 2278-7461 www.ijeijournal.com P a g e | 80