Background of the Invention
1. Field of the Invention
The present invention relates in general to multiple-pattern sequence generators based on inverting non-linear autonomous machines. In particular, the present invention relates to multiple-pattern sequence generators based on inverting non-linear autonomous machines, capable of relying on the interdependency between deterministic patterns in a sequence for generating a multiple of patterns in a sequence containing the leading deterministic patterns and followed by pseudo-random patterns. More particularly, the present invention relates to multiple-pattern sequence generators based on inverting non-linear autonomous machines having simplified hardware structural configuration.
2. Technical Background
Sequence generators are widely utilized in digital electronic equipments such as controllers, coders, decoders, and test-pattern generators etc. The principal hardware structural configuration of some of the conventional sequence generators are based on digital counters which enjoy the primary advantage of simplicity in their electronic circuitries. However, they suffer the major limitation in the generation of fixed sequences.
Others of the conventional sequence generator employ finite state machines for the description of the interdependent relationship between the sequences and utilize random logic to construct the circuitry for the generation of the desired sequences. The advantage of this implementation is the ability to generate any specific sequence, but with the obvious disadvantage of the lack of regularity in the constructed circuitries. Such circuitries are also inadequate for the generation of pseudo-random sequences.
Still other conventional sequence generators employ the category of linear feedback shift registers (LFSR) as the primary core for the generation of pseudo-random sequences. Maximum lengths of pseudo-random sequences can be advantageously generated with simple and regular hardware structural configurations. However, the generated sequences are not in arbitrary order, but are restricted by the feedback path in the LFSR's.
Specific deterministic patterns in the generated sequences for practical applications are frequently required to appear as early as possible, or, they may also be required to appear repeatedly, or in specific order in the generated pseudo-random sequences. These conditions are not totally satisfiable with the conventional state-of-the-art and straight-forward LFSR's. With the LFSR being widely employed in the generation of pseudo-random sequences having maximized lengths, reseeding practices of the LFSR's are utilized to change the order of the patterns in the generated sequences, causing the desired pattern to appear as early as possible. Alteration of the feedback paths in the LFSR's can result in the change of the appearing order of the patterns in the generated sequences, thereby generating some of the required specific patterns. However, unless certain stored-pattern procedures are taken to pre-store ordered sequences or specific sequences in memory devices before LFSR's can be used to generate the pseudo-random sequence, current LFSR techniques can only satisfy some of the practical application requirements. Otherwise, instead of simplicity and regularity, huge and complex hardware configuration will be necessary for the generation of the practically arbitrary sequences of repeated and pseudo-random nature.
One important application of multiple-pattern sequence generator is in the testing of very large-scale integrated circuit (VLSI) devices. VLSI technology is advancing rapidly, electronic circuitries with complex functionality and huge scale of integration are being integrated into single IC packages. These VLSI IC packages do not have sufficient lead pins for the arrangement of the connection to external testing equipment for the IC device testing purposes. Internal testing circuitries are therefore included as a portion of the entire IC device for conducting on-board testing from inside the VLSI IC device. This built-in self-test (BIST) technique has being widely accepted not only because it reduces the cost and difficulty of the external testing practice, but also because of its ability to provide the real-time on-line testing of the VLSI device.
In a typical BIST design, a sequence generator is required for the generation of a test sequence containing necessary testing patterns. As is in the case of the above-discussed sequence generators, most BIST sequence generator designs employ LFSR's as the basis for the generation of the test sequences. Several different techniques have been developed for the construction of the test sequence generators of the BIST designs. For example, in the exhaustive testing scheme, all possible input combinations are generated as the test pattern of the BIST-based sequence generator. This scheme, however, is not suitable for circuitries with requiring large amount of inputs.
In another pseudo-exhaustive testing scheme, the electronic circuitry of the BIST test device is partitioned into a number of smaller sub-circuits. Each of the subcircuits performs its own exhaustive testing procedure as in the exhaustive testing scheme described above. This pseudo-exhaustive testing scheme is limited by the fact that it can not generate deterministic sequences or sequences with repeated test patterns. Such limitation prohibits the use of this pseudo-exhaustive testing scheme in sequential circuits or testing schemes concerning delay faults.
In another pseudo-random testing scheme, a pseudo-random pattern generator is utilized to generate the test patterns in sequences. This scheme, however, is restricted in the detection of some random pattern resistant faults, and is neither suitable for use in sequential circuits nor in the testing scheme concerning delay faults.
In still another mixed-mode testing scheme, pseudo-random test patterns are generated first and then certain test patterns of specific arrangement. The hardware structural configuration of this testing scheme, however, requires much more complication.
Summary of the Invention
It is therefore an object of the present invention to provide a process for generating multiple-pattern sequences employing inverting non-linear autonomous machines based on the interdependency between deterministic patterns in the sequence.
It is another object of the present invention to provide a process for generating multiple-pattern sequences containing deterministic patterns followed by pseudo-random patterns employing inverting non-linear autonomous machines based on the interdependency between deterministic patterns in the sequence.
It is still therefore an object of the present invention to provide a multiple-pattern sequence generator based on an inverting non-linear autonomous machine capable of relying on the interdependency between deterministic patterns in a sequence for generating a multiple of patterns in a sequence containing the leading deterministic patterns and followed by pseudo-random patterns.
It is yet another object of the present invention to provide a multiple-pattern sequence generator based on an inverting non-linear autonomous machine that has the simplest possible hardware structural configuration.
The present invention achieves the above identified object by providing a process for generating multiple-pattern sequences utilizing an inverting non-linear autonomous machine based on the interdependency relationship between the bits of the deterministic patterns in the sequences to be generated. The process comprises the steps of (a), setting up a set of dependent equations describing the interdependency between all bits in the width of each of the deterministic patterns utilizing a set of variables that includes the inversion of the bits in the patterns, and the interdependency of the bits in the patterns; (b), resolving the set of dependent equations into a unique set of solutions expressed by the inversion and interdependency variables; and (c), the inversion and interdependency variable solutions are employed for the selection of addition of inverters to outputs of exclusive-OR (XOR) gates, and the selection of programming of the switches in the switch means respectively.
The present invention achieves the above identified object also by providing a sequence generator for generating multiple-pattern sequences utilizing an inverting non-linear autonomous machine. The generation of the sequence is based on the interdependency relationship between the bits of the deterministic patterns in the sequences to be generated. The autonomous machine comprises a number of flip-flop cascades each containing a number of flip-flops. The flip-flops in each of the cascades are connected in a way that the output of one flip-flop is connected to the input of the next flip-flop in each cascade. The autonomous machine further comprises a number of XOR gates each feeding its output to the input of a corresponding one of the cascades of flip-flops. The autonomous machine further comprises a switch device that includes a number of switches for receiving the output of each of the flip-flops in the cascades as feedbacks for outputting to the inputs of the XOR gates. Each of the XOR gates is selectively added with an inverter for inverting its output before connecting to the corresponding one of the cascade of flip-flops. Each of the switches in the switch device is selectively programmed for connecting corresponding one of the feedbacks to the input of the corresponding one of the XOR gates.
Brief Description of the Drawing
Other objects, features and advantages of the present invention will become apparent by way of the following detailed description of the preferred but non-limiting embodiment. The description is made with reference to the accompanied drawings, wherein:
FIG. 1 shows the schematic diagram of a general multiple-pattern sequence generator based on an inverting non-linear autonomous machine in accordance with a preferred embodiment of the present invention; and
FIG. 2 shows the schematic diagram of a specific multiple-pattern sequence generator based on an inverting non-linear autonomous machine in accordance with an exemplified outline of a deterministic pattern designation.
Detailed Description of the Preferred Embodiment
Refer to FIG. 1 of the drawing. FIG. 1 shows the schematic diagram of a multiple-pattern sequence generator based on the inverting non-linear autonomous machine in accordance with a preferred embodiment of the present invention. The multiple-pattern sequence generator of the present invention, as is shown, comprises a number of feedback shift registers, FSR's 33, a number of inverted and non-inverted XOR gates 44, and a switch device 55.
Each of the FSR's 33 may comprise an inverting non-linear two-dimensional feedback shift registers. For example, the FSR 33 can be consisted of at least one flip-flop 333. In the case of more than one flip-flops 333, all the flip-flops 333 are connected in cascade, each having its output connected to both the input of the flip-flop in the next stage and back to the switch device 55. The input of each of the FSR's 33, namely the input of the first stage of the flip-flop 333 in the cascade, is fed by the output of a corresponding one of the number of inverted/non-inverted XOR gates 44.
Each of the inverted/non-inverted XOR gates 44 may be a linear XOR gate 44a, or a linear XOR gate combined by a non-linear inverter 44b, as is shown in FIG. 2, which is to be described later. There is a corresponding number of these inverted/non-inverted XOR gates 44 as there is the number of FSR's 33, and, as is mentioned above, the output of each of these inverted/non-inverted XOR gates 44 is fed to the input of the correspondingly connected FSR 33. The input to each of these inverted/non-inverted XOR gates 44 is, as can be observed in the drawing, connected to the switch device 55.
The switch device 55, which feeds each inputs of the inverted/non-inverted XOR gates 44 and also receives feedbacks from the constituent stages of flip-flops in the FSR's 33, is shown to comprise a grid-work of programmable switches 555. The purpose of the utilization of the switch device 55 is to selectively send the feedback signals of the stages of flip-flop flops in the FSR's 33 back into the inputs of the inverted/non-inverted XOR gates 44 again. The selection of the feedback paths in the switch device 55, which is to be described later in more detail, is based on the interdependency between the deterministic patterns in the sequence to be generated.
The multiple-pattern sequence generator as shown in FIG. 1 generally outlines the hardware structural configuration of a device in accordance with the disclosure of the present invention that can be utilized for the generation of the desired sequences. The object of the present invention, as outlined above, to provide a multiple-pattern sequence generator, capable of implementing the process of the present invention to rely on the interdependency between deterministic patterns in a sequence for generating a multiple of patterns in the sequence containing the leading deterministic patterns and followed by pseudo-random patterns, can be described in other terms. That is, for a given sequence of patterns having a width of N bits and a length of M patterns, a multiple-pattern sequence generator is to be designed based on an inverting non-linear autonomous machine, so as to be able to generate a sequence, containing the first M patterns completely in conformity to the deterministic patterns in the sequence, and followed by the pseudo-random patterns. Moreover, the hardware is required to be of the simplest possible configuration, making use of least possible XOR gates, inverters, and flip-flops.
Thus, in the above-outlined problem, the total of N single-bits in each of the patterns of the sequence can be considered to be independent signals, and may each be generated utilizing one of a total of N independent signal generators, for example, N LFSR's. Basically, it is possible to seek the linear dependency, or inverse linear dependency, between the signals in the patterns. Based on the resolved dependency relationships, it is possible to simplify the configuration of the hardware structure used for the generation of the sequence of patterns. A hardware structure for the multiple-pattern sequence generator requiring the minimum number of XOR gates, inverters, and flip-flops can then be achieved.
A simple example is described below to show that the above-mentioned scheme of seeking the interdependency relationship can substantially be employed to build a sequence generator that is capable of generating a pseudo-random sequence containing the necessary deterministic patterns. For the specified deterministic patterns, a series of shift registers having sufficient length (that is, the length of the deterministic sequence) can be employed to store the entire sequence therein. The shift registers can constitute a random LFSR that is able to generate the pseudo-random patterns followed thereafter by the deterministic patterns. With this minimum length of shift registers, the worst case condition of the multiple-pattern sequence generator can still be met.
In the process of seeking the interdependency of the deterministic patterns in the sequence, a technique of time-frame expansion is employed to gradually increase the length of the cascade of the shift registers in the sequence generator hardware, until the ultimate shift register cascade having the shortest possible length is resolved. The cascade length is increased based on the required delay signals. That is, the shift registers serve to store the individual signals in delay in the cascaded length of the registers, and, further, the delayed signals in the registers can in turn be used again as the new source of incoming signals. When the inverted versions of the signals, as well as of the delayed signals are added into the manipulation of the scheme, the space in which the interdependency is sought is greatly expanded.
Due to the fact that inverting non-linear shift registers allow only the incorporation of linear XOR gate (as well as its inverted version), the above-outlined process of seeking the ultimate shift register cascade can therefore be converted into the problem of resolving non-invertedly signaled binary linear dependent equations and invertedly signaled binary linear dependent equations. The length of the shift register cascade is a parameter dependent on the scale of the dependent equations. The longer the length of the shift register cascade, the more the number of independent signals, and the easier the resolution of the linear dependent equations will become. Therefore, with the resolved interdependency between each of the signals in a pattern and with the delayed signals, the length of the shift register cascade for the sequence generator can be greatly reduced. This is expressed in the following equations:
For a sequence having a length of M patterns and a width of N, if V.sub.i represents the i-th bit sequence in the sequence, then ##EQU1##
Then, for each V.sub.i (l.ltoreq.i.ltoreq.N), there exists an m (0.ltoreq.m.ltoreq.M) such that V.sub.i can be expressed as: ##EQU2## wherein
and
The condition of a.sub.ijk =1 signifies the interdependency between V.sub.i and V.sub.j D.sup.k, and the condition of a.sub.ijk =0 otherwise indicates the non-dependency therebetween. Further, the condition of C.sub.i =1 indicates that V.sub.i is inverted, and the condition of C.sub.i =0 indicates that V.sub.i remains not inverted.
In the equation outlined above, the number m signifies the time-frame expansion index. In the process of a total of m expansions, for every V.sub.i to be resolved, there is (mN+N-1) binary variables a.sub.ijk, and (M-n) dependent equations. As the number m, that is, the time frame index m increases gradually as the resolution process proceeds, the number of variables increases while the number of dependent equations decreases, and the more likely the dependent equations are going to be resolved into a unique set of solutions. However, the larger the number m is, the more the number of flip-flops in the sequence generator hardware is required. It is therefore essential that the solution to the dependent equations be obtained at the minimum possible m number. The inclusion of the inversion factors by the use of inverters in the hardware in this scheme of solving the dependent equations does not substantially add significant complexity to the hardware involved.
To show the practical feasibility of the above-described scheme of finding the hardware combination for the sequence generator, portions of a set of computer program algorithm implementing this scheme has been included herein for reference. The exemplified algorithm serves to read in the desired patterns in the sequence to be generated and produces the dependent equations of equation (1) listed above, with inverted and non-inverted signal variables. The time-frame expansion scheme as described above is then implemented in the exemplified algorithm to seek to resolve into the preferred set of solutions. Due to the fact that the solution to the dependent equations (1) is not unique, the solution produced by the algorithm, based on the establishment of some guide rules, may be set to be optimized at, for example, a solution with a minimum number of flip-flops required, the solution with a minimum feedback, a solution with a minimum number of XOR gates required, and/or the greatest extent in the generated pseudo-random distribution.
Algorithm Listing 1
Specifically, Algorithm Listing 1 shows the algorithm employing the time-frame expansion scheme for the generation of the dependent equations (1) that describe a targeted deterministic patterns characterized by the essential initial patterns:
Listing 2
Algorithm Listing 2, on the other hand, shows the algorithm employing a binary relaxation scheme for the solution of the dependent equations:
A specific example of the procedure of pursuing the mathematical solution to the dependent equations for the construction of the multiple-pattern sequence generator in accordance with the present invention is described below. The dependent equations, as described above, characterize the interdependency of the binary variables for a targeted deterministic sequence characterized by the essential leading deterministic patterns. Table 1 below shows the listing of this deterministic pattern employed herein as an example, featuring a pattern width N of 6, and a pattern length M of 16:
As described above, an algorithm similar to that shown in Algorithm Listing 1 can be employed to generate a set of dependent equations, and in this example, the set of dependent equations as generated can be listed as follows:
The implementation of an algorithm such as that shown in Algorithm Listing 2 can result in a solution that can be employed to construct a sequence generator shown in FIG. 2 of the accompanied drawing. The hardware configuration as outlined in FIG. 2 can then be utilized to generate the pattern sequence as listed in Table 2 that follows. An inspection to Table 2 reveals the fact that the generated pattern sequence contains a leading 16 patterns that conform to the deterministic pattern as listed in Table 1 above. All patterns following the required deterministic patterns are generated pseudo-random patterns. After a cycle of 1,260 patterns in the generated sequence, the deterministic patterns are repeated again.
Thus, for a specifically required deterministic pattern, the present invention makes use of a cascade of inverting non-linear feedback shift registers (namely the inverting non-linear autonomous machine) to constitute a sequence generator capable of generating a sequence of patterns containing a leading deterministic pattern and followed by the pseudo-random patterns of designated length. The constituent registers in the cascade can be selected in accordance with the solution to a set of dependent equations describing the interdependency between the patterns of the deterministic sequence.
The utilization of the time-frame expansion scheme (delayed signaling) allows for the set up of the set of dependent equations, and the implementation of schemes such as binary relaxation allows for the resolution of the dependent equations for an optimized set of solution that can be based to construct the cascade. The constructed cascade of shift registers for the sequence generator constitutes an inverting non-linear autonomous machine that is typically characterized by its simplification and regularity in structural configuration.
The incorporation of the delay signaling and inverse signaling in the set up of the dependent equations allows easily for the close connection of the number of shift registers in a feedback path of selected XOR gates. This establishment of closely-connected shift registers and XOR gates makes it possible to construct the desired sequence generator based on the minimum possible hardware configuration.
As persons skilled in this art can appreciate, the multiple-pattern sequence generator built in accordance with the present invention is suitable for a number of applications. These include the pattern generator for high efficiency built-in self-test sections of VLSI IC devices, coders and decoders as well as compression and decompression sections for digital signal processing equipments. Within the realm of these applications, the sequence generator of the present invention can be constructed to generate test patterns that can verify faults difficult to be pin-pointed by the conventional BIST designs in sequential circuits. With the utilization of the sequence generator of the present invention, memory devices required for the storage of large amount of test patterns can be eliminated to further reduce the overall cost involved in the fault testing procedures.
The above-described preferred embodiments of the present invention is utilized only for the purpose of the description of the present invention. Persons skilled in this art can appreciate the fact that other similar arrangements can be devised from the embodiments disclosed above without departing from the spirit of the present invention, which is recited in the claims that follow.