Manuscript Offprint
arXiv:2610.35026Detection of Single Stuck-at and Bridging Faults in Cluster-based FPGA Architectures
Abstract
This paper presents a new technique for detecting single stuck-at and bridging faults in cluster-based FPGA architectures, using same set of test vectors generated by a test pattern generator circuitry. This technique is based on configuration of logic elements using test logic structure and the outputs of two separated logic elements are compared to detect a fault. To do this, block under test, TPG and output response analysis circuitry are generated in FPGAs. The configurations of test pattern generation, block under test and output response analysis are also discussed in this paper. The novelty lies in the fact that the same set of test vectors can detect all the stuck-at as well as bridging faults if the test vectors are applied in a particular sequence and analyzing the output results. We presented a detail analysis of results to detect faults as well.
1. Introduction
Nowadays, FPGAs are widely used in many applications such as industrial, spacecraft and embedded applications. They are increasingly used in applications where previously were exclusive territory of ASICs. Today's FPGA looks like as a system on a chip [24]. It has Block RAMs, plenty of configurable logic and software design tools. FPGA is no longer a prototyping business. Electronic designers use FPGA because of its high flexibility in achieving multiple requirements such as high performance, no Non-Recurring-Engineering cost and fast Time-To-Market [19], [20]. It is notable to mention that designers, who preferred ASIC, are now using the mixed FPGA-ASIC solution [26]. FPGA reprogrammability introduces three major interesting aspects: 1) unlike ASIC designs, FPGA-based implementation does not need several manufacturing process; so, the design cycle time is reduced, 2) FPGA utilization decreases the overall design cost as compared to ASIC designs that use several expensive mask manufacturing, and 3) SRAM-based FPGAs are best suited for remote missions because of their ability to being reprogrammed by users as many times as necessary in a very short time.
Cluster-based FPGA architecture can be used to model large design on FPGA. For correctness of the stuck-at and bridging faults we need to test these FPGA architectures so that the design prototypes are totally correct and thus we can detect the above-mentioned faults in the FPGAs. Built in self test (BIST) is one of the good methods to test circuits. BIST techniques can be classified into two categories [1], [12]: 1) on-line BIST, which includes concurrent and non-concurrent techniques, and 2) off-line BIST, which includes functional and structural approaches.
We propose a method that uses BIST based testing by configuring the block under test in such a way that can detect and locate the presence of single stuck-at and bridging faults at the FPGA logic block inputs. The proposed technique will detect the presence of single stuck-at and bridging faults by the application of common test pattern. The proposed method is simulated for detection of stuck-at fault by using HOPE fault simulator [18]. We have used stuck-at fault information to detect the presence of bridging on the input of the logic block of FPGA [2], with the help of common test vector.
The rest of the paper is organized as follows. Section 2 describes related work in the field of fault detection in FPGA and various digital circuits. Section 3 will briefly describe the cluster-based FPGA architecture and the BIST based testing method. The faults that the proposed method can detect are presented in section 4. Section 5 provides the algorithm for detection of stuck-at and bridging faults. The experimental study is presented in section 6. Finally, the conclusion of this study is given in section 7.
A novel technique for using information from the stuck-at fault dictionaries to diagnose bridging faults is presented in [2]. The proposed method consists of the observation that if a test vector detects a bridging fault then it can also detect at least one stuck-at fault on the bridging node. For the test vector in the presence of the bridging fault, the observed failure data will match the failed data of the stuck-at fault. This observation of failing test vector is used to generate bridging fault candidate list, which is further reduced, by reduction of non-failing test vectors.
A differential testing technique to detect and locate the FPGA bridging fault is presented by [9]. In this method no test vector for detecting fault are used. The FPGA was programmed with test configuration which sets the logic values of each interconnect. By interactively partitioning and eliminating interconnects, automated fault location was archived. Another on line testing of FPGA is presented in [12]. They have proposed a non-instructive CLB test method, which can detect any permanent structural fault in the CLB emerging at any stage during the system lifetime. It is able to correct any transient fault affecting the CLB functionality. Since it is completely implemented based on the IEEE 1149.1 infrastructure [16], no FPGA I/O pins are occupied.
BIST-based delay path testing method is described in [14]. In this work only those path that are critical for a particular application are tested. Static timing analysis is used to identify critical path, and the paths are scheduled into test sessions each of which test a set of paths in parallel.
3. Preliminaries
Cluster-based architecture [3] is consisting of array of several Basic Logic Elements (BLE) grouped to form a cluster. Fig. 1 shows the internal structure of a BLE. Each cluster consists of N number of BLEs with I number of inputs. Each cluster are surrounded by interconnects [8], [22]. The interconnect structures are a set of wire segment which can be connected by a set of switches referred to as programmable interconnect points (PIP). The cluster I/O is the input output of the cluster.

Fig. 1. Basic logic element (BLE)

Fig. 2. BISTER test structure
Each cluster-based FPGA [3] consists of several BLEs. Each BLE consists of a Lookup table (LUT), a D Flip-flop and a Multiplexer. We can connect the output of BLE to the input of another BLE and so on to complete the cluster. All the output of BLEs collectively from the cluster outputs.
We are proposing BIST based [1], [13] testing method to test the presence of single stuck-at and bridging faults at the inputs of the LUT of a cluster. In BIST based testing method, the hardware overhead for configuring BIST over head is not the important factor, since BIST in FPGA can be easily reconfigured. To implement BIST we configure the entire FPGA with as many BISTER structures [15], [23] possible, as shown in Fig. 2. Each BISTER consists of test pattern generator (TPG), block under test (BUT) and an output response analyzer (ORA) (See Fig. 2). ORA will compare the output of two BUT in response to the test pattern generator and then it will determine the result. The TPG, ORA and BUT will be discussed latter in this paper. Many BISTER structures have to be implemented in order to cover entire FPGA [13], [15]. We can also merge the TPG and ORA together in order to increase the number of testable cells.

Fig. 3. Block diagram of BUT

Fig. 4. Block diagram of BISTER showing ORA circuit
The clusters, which are dedicated for TPG or ORA logic, cannot be tested since it is used to test other blocks and not itself. In order to test the entire cluster, the FPGA will have to be reconfigured with the shifted BISTER structure. After repeating the shifted BISTER structure, all the LUT of a cluster can be tested except those, which are present on the perimeter of the FPGA. To test the LUT of a cluster present on the perimeter of the FPGA, the layout of the BISTER structure should be reoriented. The BUT in paper [15] was configured as XOR gate, which can only detect stuck-at fault but if we apply the test pattern as described in section 4, the BUT circuitry can also detect the presence of bridging fault. The scheme that we are proposing can detect and also locate the presence of single stuck-at and bridging faults, by the application of test pattern.
4. Detectable faults by the proposed scheme
To detect single stuck-at and bridging fault in a cluster-based FPGA architecture, a single BISTER structure with a common test sequence is used. These faults can be broadly classified as follows: stuck-at-0 (SA0), stuck-at-1 (SA1), AND bridged (AB), and OR bridged (OB) faults.
4.1. Intercluster test configuration
In order to detect the interconnection fault of the FPGA we configure the BUT, TPG and ORA blocks in such a way, that it can detect all the faults that we have discussed by a single configuration.
4.1.1. BUT configuration
We configure BLE/cluster (which will act as BUT), which we are intended to test as shown in Fig. 3. Each BLE/cluster will be configured as combinational circuit as shown in the Fig. 3. The circuit is divided into two blocks: Block1 and Block2. The output of the two blocks are selected by a multiplexer by controlling the select line S. Block1 is an I-input XOR which can detect the present of single fault (SA0, SA1, AB, OB). If there is a presence of a single SA0, SA1 fault it will produce a faulty output in response to a particular sequence of test vectors. We can also locate the faulty node by applying the test vectors in proper sequence, which is described in the next section. If there is any presence of a bridging fault i.e., AB, OR between two nodes it will produce a faulty output. To locate the faulty nodes we have to apply test vectors in a particular order as described in the next section. Block1 cannot tell whether the bridging fault is AB or OB, because test vectors are same for testing AB and OB and it also gives same output if any of the bridging fault is present. But Block1 can distinguish the SA0 and SA1, because the test patterns have one unique test vector each for SA0 and SA1.
To detect the bridging fault we have to detect three separate conditions namely, the fault free condition, the presence of AB and the presence of OB. The presence of fault free and the faulty condition is detected by the Block1. In order to detect the type of fault, we have to give same sequence of test vector to the combinational circuit of Block2. It will give different output for the presence of different type of single bridging faults. Thus by comparing the result of Block1 and Block2 we can tell the presence of a single SA0, SA1, AB, and OB.
4.1.2. ORA configuration
ORA will be configured to take input from two different BUT and compare their outputs. The ORA circuit in the figure consists of a two input XOR gate, which will accept output of two BUT, one of which is considered to be fault free. The ORA in a BISTER structure is shown in Fig.4.
4.2. Test pattern generation
The TPG will generate a single test pattern consisting of a combination of several test sequence. The Boolean difference method [17] is used to determine all the test sets required for testing stuck-at faults. From these test sets only those test sets are taken which can detect both AND, OR bridging faults and stuck-at faults. To differentiate between the faults whether it is stuck-at or bridging fault we will select two test sequence which will uniquely determine single stuck-at faults only. Let a function then boolean difference with respect to is
where and are given by
In order to test SA0 fault in node, we have to assign value of 1 to variable of . This means that
This will give all test vectors which will detect SA0 fault in node . In order to test SA1, we have to assign value of 0 to variable of . This means that
will give the entire test vector which will detect SA1 fault in node . Again in case of bridging fault the two shorted lines will attain the same value. If the two lines have same value in the fault free circuit then it will not detect bridging faults. So to detect a bridging fault between two nodes, the test vector should have complimentary values in those two nodes. The test vector that can detect stuck-at fault can also detect bridging fault if the two nodes have complimentary values [2].
4.3. Test vector selection
From the above discussion of generating test vector, and from Fig. 5, let consider a four input LUT, we have two output functions and from Block1 and Block2 respectively which will pass through multiplexer.
Since Block1 alone can detect stuck-at faults and bridging faults, Block2 is used to distinguish between the types of bridging faults. So we will find the test sequences for Block1 that can detect bridging fault and from those stuck-at fault sequences we will select only those sequences that can detect stuck-at faults [2].
Therefore from the Eq. (5) and Eq. (6) the test vectors that can detect SA1 fault for node are . As test vector can detect the presence of single stuck-at-1 fault in node and (0111) has complimentary value in the node and , so this test vector can detect presence of AND, OR bridge between node and . Similarly all the test vectors have to be found using the method describe above. All the set of test vectors that can detect and locate SA1 faults and bridging fault in all the nodes are .
Similarly we will find all the test vectors that can detect and locate the presence of single SA0 fault and bridging fault by using Eq. (5) and Eq. (7) are .
From the test vectors we got, the test vectors can only detect presence of SA0 and SA1 respectively. The rest of the sequence can detect any of the presence of AND, OR bridging fault and can also locate the location of the fault. The test vector that can locate the presence of SA1 fault in , will not response to the presence of SA0 fault in the node. So if the test vector (1111) detects presence of SA0 fault and if the test vector (0111) does not response to the fault then we can say the faulty node is node . Similarly for all nodes the logic will hold. Now the total number of test vectors that can detect all the mentioned faults will be reduced to . In the same way the test vectors required for I number of input nodes can be found out.

Fig 5. BUT without multiplexer

Fig. 6. Block diagram of BUT (BLOCK UNDER TEST) while simulating with HOPE (more than 4 inputs)
5. Detection of stuck-at and bridging faults
For simulation and finding the Percentage fault-coverage of the stuck-at faults and bridging (AND/OR) faults of the BUT of cluster-based FPGA using ‘HOPE’ (a fault simulator) [18], [2], we have removed the multiplexer from the circuit.
As shown in Fig. 3, the multiplexer is used for just making a selection between the two blocks of the circuit in order to test for the stuck-at fault and the bridging faults. Therefore, for simulation of the circuit using HOPE we can remove the multiplexer, then the circuit will have two outputs. Hence, for multiple LUT the circuit will be as Fig. 5 and Fig. 6. Moreover, The Slices [25] within one configurable logic block (CLB) of a cluster-based FPGA will be tested first for interconnection fault i.e., Intracluster fault detection. Then the interconnection fault between two or more CLBs of the cluster-based FPGA architecture will be tested i.e., Extracluster fault detection.
The number of inputs to a LUT (4-input LUT) of a BLE within slice of CLB will be reduced by one if we test for more than 4 input LUT, which will be formed by combining one or more 4 input LUT together i.e., if we combine N number of LUT with I number of input each, then we can only test inputs of LUT. We have configured LUT as shown in Fig. 6.
Here Block1 is configured as XOR and Block2 is configured as a combinational logic. Let X be zero value such that . Here n = 4 is given by algorithm 1
Algorithm 1 if then else if then end
Algorithm 2 if then else if then
Therefore, for say inputs i.e., the BUT circuit implementation is as shown below and Fig. 7. In the case of , it will follows algorithm 2
From the above figure only , , are testable input and is connected to output of previous stages. Hence it is not controllable. So from the above discussion we can say that one will reduce number of controllable and observable input if we used two LUT. If we use three LUT it will reduce by two inputs that cannot be controlled or observed. Hence for N LUTs of 4 input with total inputs such that , number of controllable and observable inputs will be: .
Procedure. The ORA has two inputs which are the outputs of two BUTs. ORA compare the output of two BUTs, one of the BUT is considered being faulty and another is considered to be fault free. The equation is shown below.
We have developed a set of rules to determine the bridging Faults. The rules are as follows:
5.1. Detection of bridging faults
To test for AND bridge we assumed that the test pattern will be of following form: The targeted input node which is to be tested is made low (say ) and other inputs are kept high, that is to test bridging fault between two node, the two node should have complimentary inputs. As we see from the Fig.4, output from the two BUT are compared for fault, as we assumed that the reference BUT should be fault free.

Fig. 7. Block diagram of BUT with more than 4 inputs to test
5.1.1 Detection of AND bridging fault: Assume the number of input when I is even. From Fig.3 and Algorithm 2 we can say
From Fig. 3 and Eq. (1) can give
However, if an AND-bridging fault is occurred in one of the BUTs, in the same case the results would be different. From Fig. 1 and Algorithm 2 we can say
Similarly from Fig.2 and Eq. (1) can drive
5.1.1 Detection of OR bridging fault: Again, if there is no bridging fault, these following results will be correct. The number of input when I is even. From Fig.3 and Algorithm 2 we can say
From Fig.2 and equation 1
However, if an OR-bridging fault is occurred in one of the BUTs, in the same case the results would be different. The number of input when I is odd. From Fig.7 and Algorithm 2 we can say
Similarly from Fig.2 and Eq. (1)
Hence from the above assumption, number of test vectors required to test I inputs will be I of bit length. Again as we assume that only one fault exist at a time between two consecutive input pins, hence the number of test vectors will be now .
5.2. Detection of stuck-at-1 fault
Assumption: To test stuck-at-1 first input test vector will be all low and to detect the faulty pin we make the input of the targeted node below and the rest of the node all high. Let and . Say is the target node then from Algorithm 1 and Fig.3. Suppose the no stuck-at-1 error is in the BUT. Hence, in the case of S equals to 0, following equations are exists
However, if an stuck-at-1 error happened in a BUT, the following wrong results will be generated
So based on the wrong results generated by the stuck-at-1 error, we can mention a method to detect stuck-at-1 error as show in algorithm 4.
Algorithm 3 /Bridging fault detection/ In the case of S=0 { Result = If Result1 is False then AND/OR bridging fault detected else if Result is False then No AND/OR bridging detected } In the case of S=1 { Result = If Result1 is False and Result2 is False then AND bridging fault detected Else if Result1 is False and Result2 is True then OR bridging fault detected }
Algorithm 4 /Stuck-at-1 fault detection/ In the case of S=0 { Result1 = Result2 = If Result1 is True and Result2 is True then No Stuck-at-1 fault occurred Else if Result1 is False and Result2 is False then Stuck-at-1 fault on the faulty pin is I of occurred }
5.3. Detection of stuck-at-0 fault
Assumption: To test stuck-at-1, first input test vector will be all low and to locate the faulty node we make the input of the targeted pin low and the rest of the pins all high. Let , and .
Before stuck-at-0 happened in the BUT, in the case of S is zero, following results are generated by the circuit shown in Fig. 7.
for
(25)
for , I is odd
(26)
for , I is even
for , I is odd
(27)
for , I is even
However, suppose that a given stuck-at-0 happened in the BUT, so some wrong results may be generated in the case of S is zero, as show in follows:
for
(31)
for , I is odd
(32)
for , I is even
for , I is odd
(33)
for , I is even
Therefore, based on these mentioned equations, when a stuck-at-zero is happened in the BUT, it can be detected by comparing correct results and wrong results as show in the algorithm 5. Therefore, total number of test vector required to test the AND, OR bridging and stuck-at fault shall be where I is the number of inputs of LUT that can be tested.
Algorithm 5 /Stuck-at-0 fault detection/ In the case if S = 0 { Result1 = [(BUT1 , BUT2 )] Result2 = [(BUT1 , BUT2 )] Result3 = [(BUT1 , BUT2 )] If Result1 is True and Result2 is True and Result3 is True then No Stuck-at-0 fault occurred Else if Result1 is False and Result2 is False and Result3 is True then Stuck-at-0 fault an the faulty pin is I of occurred }
6. Experimental results
The proposed circuit is converted in ISCAS89 netlist format. The method described in [2] is used to detect bridging faults using HOPE fault simulation tools [18] and MATLAB Tool. The circuit is applied in .bench format, the faults to be tested are applied in .fault format and the test vectors are applied in .test format. The fault table and the observed table are made as described in the [2]. The algorithm is described in the [2] is implemented using MATLAB. The fault table and observed table are applied as input to the program to know whether the applied test vector detects bridging faults. For detection of stuck-at fault the circuit is applied in .bench format along with .fault and .test. Entire experiment is repeated for various input and the LUT. The results are tabulated in table 1.
The first column denotes the number of input to the circuit. The second column denotes the number of test vectors required. The third column is divided into two parts, one part denotes percentage fault coverage for stuck-at fault and another part for the fault coverage of bridging faults. The fourth column denotes the number of Flip-Flops of BUT. The fault detection coverage is like [13] with 100% however, we can also detect bridging faults with coverage of 100% while work [13] is not proposed for bridging faults.
Faults that are detectable by this method: we are successfully detecting the entire mentioned faults at the testable inputs of the LUT (cluster).
Faults that are not detectable by this method: form the fig-6 this method cannot detect stuck-at 0 fault at the line having cross mark. Since in this portion of the circuits fit inside the LUT of a cluster /slice so it will not affect the total fault coverage. The total number undetected line twenty five inputs are eight, and for seven inputs are two. Hence we are getting total percentage of fault coverage as 100%.
Table1. The experimented results
| No. of Inputs of BUT | Test Pattern | Fault Coverage | No. of FFs in BUT | |
|---|---|---|---|---|
| Bridging | Stuck-at | |||
| 4 | 6 | 100% | 100% | 0 |
| 7 | 9 | 100% | 100% | 0 |
| 13 | 15 | 100% | 100% | 0 |
| 25 | 27 | 100% | 100% | 0 |
7. Conclusions
In this paper, we proposed a new method to detect single stuck-at and bridging faults in the BLE internal routings. These faults are categorized in four different ones stuck-at-0, stuck-at-1, OR bridge and AND bridge faults. A BUT configurations was proposed so that these mentioned faults can be detected based on comparing the results of fault-free and a faulty BLE. Based on the mentioned BLE configuration, several algorithms were presented that can detect and locate these faults inside of BLEs. The experimental results shown that this method can detect internal stuck-at and bridging fault with 100 percent of coverage.
References
[1] M. Abramovic, M. A. Breuer, A. D. Friedman, Digital System Testing and Testable Design, Wiely-Addison, 1994.
[2] B. Arslan, A. Orailoglu, “Extracting Precise Diagnosis of Bridging Faults from Stuck-at Fault Information”, Asian Test Symp., 2003, pp. 290-293.
[3] V. Betz, J. Rose, “Cluster-based logic Block for FPGAs: Area efficiency vs. Input sharing and size,” IEEE Custom Integrated Circuits Conference, 1997, pp 551-554.
[8] V. Betz, J. Rose, “How much logic should go on an FPGA logic block?” IEEE Design and Test of Computers, vol. 15, no.1, 1998, pp 10-15.
[9] E. Chemlar, s. Toutounchi, “FPGA Bridging Fault Detection and Locating via Differential .” IEEE VLSI Test Symposium, 2004, pp. 109-114.
[10] S. Chandrashekar, “Advantages of FPGA Design Methodologies,” Altera Corporation, 2003.
[11] A. Ejlai, S.G. Miremadi, H.R. Zarandi, G. Asadi, S. B. Sarmadi, “A Hybrid Fault Injection Approach Based on Simulation and Emulation Co-Operation,” Proceedings of the IEEE International Conference on Dependable Systems and Networks, June 2003, pp. 479-488.
[12] M.G. Gericota, G.R. Alves, M.L. Silva, J.M. Ferreira “Online Testing of FPGA Logic Block Using Active Replica”, NIK Conference, Nov. 2002.
[13] I. G. Haris, R. Tessier, “Interconnect testing in cluster-based FPGA Architecture,” ACM/IEEE Design Automation Conference, 2000, pp. 49-54.
[14] I. G Harris, P R Menon, R Tessier “BIST-Based Delay Path Testing in FPGA Architectures,” IEEE International Test Conference, 2001, pp. 932-938.
[15] I. G. Haris, R. Tessier “Testing and Diagnosis of Interconnect Faults in Cluster-based FPGA Architecture”, IEEE Transaction on Computer-Aided Design of Integrated Circuits and Systems, 21(11), Nov 2002, pp. 1337-1343.
[16] “IEEE standard test Access Part and Boundary Scan Architecture”, IEEE standard 1149.1, May 1990.
[17] Zvi Kohavi, Switching and Finite Automata Theory, 2 Edition, McGraw-hill, 1978.
[18] H. K. Lee, D.S. Ha, “HOPE: An Efficient Parallel Fault Simulator”, ACM/IEEE Design Automation Conference, 1992, pp. 336-340.
[19] F. Lima, C. Carcamichael, J. Fabula, R. Padovani, R. Reis, “A Fault Injection Analysis of Virtex FPGA TMR Design Methodology,” Proceedings of the Radiation Effects on Components and Systems Conference, 2001.
[20] F. Lima, L. Carro, R. Reis, “Single Event Upset Mitigation Techniques for SRAM-based FPGAs,” Proceedings of the 4 IEEE Latin American Test Workshop, February 2003.
[21] S. Ma, I. Shaik and R.S. Fetherson, "A Comparison of Bridging Fault Simulation Methods," IEEE International Test Conference, 1999, pp 587-595.
[22] M. Renovell, J. M. Portal, J. Figueras, Y. Zorian, “Testing the Interconnect of RAM-Based FPGAs,” IEEE Design and Test of Computers, 15(1), 1998, pp 45-50.
[23] C. Stroud, S. Wijesuriya, C. Hamilton, “Built-In Self Test of FPGA Interconnect,” IEEE International Test Conference, 1998, pp. 404-411.
[24] S. Toutounchi, A. Lai, “FPGA Test and Coverage,” Proceeding of the IEEE International Test Conference, USA, 2002, pp. 599-607.
[25] Xilinx Corp., www.xilinx.com
[26] P. S. Zuchowski, C. B. Reynolds, R. J. Grupp, S. G. Davis, B. Cremen, B. Troxel, “A Hybrid ASIC and FPGA Architecture,” Proceedings of the International Conference on Computer Aided Design, San Jose, USA, Nov. 2002.