Scan latch and its operation for structural and performance testing

Abstract: A scan latch is described which comprises a capture half-latch, a release half-latch and an update half-latch. The combination of these half latches allows the circuitry of the scan latch to be simplified. A method of using the scan latch to carry out structural and performance tests of a circuit is also described.

Description: The present invention relates to a scan latch which enables boundary scan testing to be carried out. Boundary scan testing is a well established technique for checking the functionality of logic circuits and the interconnections of integrated circuits. US 4742293 of Koo discloses a circuit for testing for stuck open faults. It uses combinational logic networks utilizing a two-pattern test technique using an initialisation test pattern followed by a second detection test pattern. US 5015875 of Giles, discloses a toggle-free scan flip-flop. The flip-flop has the capability of not toggling its parallel output during test mode scan operation. Automatic test equipment for integrated circuits has evolved over the years. The Proceedings of the IEEE 1992 Custom Integrated Circuits Conference paper "Delay Test Techniques for Boundary Scan Based Architecture" by Chang et al, 3 May 1992, proposes techniques for applying delay tests in a boundary scan environment. US 5130568 of Miller, discloses a scanable latch system comprising a plurality of scanable latches and clock driver circuits that allow at speed testing of integrated circuits. A brief explanation of boundary scan testing follows by way of background to the invention. Figure 1 illustrates schematically an exemplary structure of an integrated circuit (IC) 2 including the basic elements required to perform boundary scan testing. The IC 2 contains functional logic circuitry 4, a plurality of boundary scan cells 6a,6b,6c,6d, and a test access port (TAP) controller 12. For normal functional operation of the IC 2 the functional logic circuitry 4 is linked to the boundary scan cells 6a to6d via respective links 10a to 10d. The boundary scan cells 6a to 6d are also connected to respective external pin connections 8a,8b,8c,8d which allow the functional logic circuitry to be connected to other circuitry including other ICs. For the purpose of performing boundary scan testing the boundary scan cells 6a to 6d each additionally include a scan test circuit, the scan test circuits being connected in a chain via chain connections 14a,14b,14c,14d,14e, the chain beginning and ending at the TAP controller 12. The boundary scan cells 6a to 6d are only provided for the purpose of performing boundary scan testing. In normal functional operation of the IC 2 the boundary scan cells 6a to 6d operate to provide a direct connection between the links 10a to 10d and the external pin connections 8a to 8d. Therefore, as normal function mode is always entered upon reset of the TAP controller, the links 10a to 10d will always be connected directly to the external pin connections 8a to 8d upon reset. A simple boundary scan test is intended to check integrity between each external pin connection 8a to 8d and a corresponding external pin connection on another IC. A simple implementation of a known boundary scan cell for use in a boundary scan test circuit capable of implementing this is illustrated in Figure 2. Such a boundary scan cell is known from IEEE Standard 1149.1-1990. The boundary scan cells 6a to 6d can be constructed to operate such that signals can only be inputted to the functional logic circuitry 4, such that signals can only be outputted from the functional logic circuitry 4, or such that signals can be both inputted to and outputted from the functional logic circuitry 4. The following description considers the implementation where the boundary scan cells 6a to 6d can all only output signals from the functional logic circuitry 4. The boundary scan cell of Figure 2 comprises an input multiplexor 26a, an output multiplexor 18a and two latches 28a,40a. The input multiplexor 26a has as one of its inputs the signal DATAIN on line 10a and as its other input the signal SCANIN on line 14a. The input multiplexor is controlled by a signal TAPCONTROL1 on line 34. The output of the input multiplexor 26a on line 30a forms the input to the capture latch 28a, and the output of the latch 28a on line 16a forms the input to the update latch 40a on line 22a and the signal SCANOUT on line 14b. The latches 28a and 40a are respectively clocked by the signals TAPCLOCK1 and TAPCLOCK2 on lines 36 and 38 respectively. The output multiplexor 18a has as one of its inputs the signal DATAIN on line 10a and as its other input the output of the latch 40a on line 24a. The output multiplexor is controlled by a signal TAPCONTROL2 on line 22 and generates at its output the signal DATAOUT on line 8a. The signals TAPCONTROL1, TAPCONTROL2, TAPCLOCK1 and TAPCLOCK2 are all generated under the control of the TAP controller 12 and are all common to all the boundary scan cells 6a to 6d, although these signals and connections are not shown in Figure 1 for reasons of clarity. Two modes of operation of the IC 2 of Figure 1 will now be described with reference to Figures 1 and 2. It will be appreciated that each of the boundary scan cells 6a to 6d contains a circuit similar to that shown in Figure 2, with the various components and signal lines suffixed b,c,d appropriately. In normal functional operation, the TAP controller 12 is inactive and the output multiplexor 18a will be controlled by the control signal TAPCONTROL2 on line 22 such that the signal DATAIN on line 10a is connected directly to the signal DATAOUT on line 8a. During such normal functional operation the control of the input multiplexor 26a is unimportant, and the clock signals TAPCLOCK1 and TAPCLOCK2 on lines 36 and 38 respectively will both preferably be inhibited. When a boundary scan test is to be performed, the TAP controller 12 on IC2 controls the signal TAPCONTROL2 on line 22 such that the multiplexor 18a connects its input on line 24a from the output of the latch 40a to its output on line 8a. In order to carry out the boundary scan test it is necessary to place a known bit on each of the respective pin connections 8a to 8d. To achieve this the TAP controller controls the multiplexor 26a by means of the control signal TAPCONTROL1 on line 34 such that its output on line 30a is connected to its input on line 14a. The TAP controller 12 then serially outputs a sequence of test bits on line 14a under the control of the clock signal TAPCLOCK1 on line 36 such that the test bits are clocked through the latches 28a to 28d in sequence via the signal lines 14b to 14d. After a plurality of clock cycles (four in the example shown in Figure 1 but normally a much larger number dependent on the number and type of pin connections 8a to 8d) of TAPCLOCK1 each of the nodes 31a to 31d will have a known test bit stored thereat by means of the respective latches 28a to 28d. The TAP controller then clocks the signal TAPCLOCK2 on line 38 such that the test bit on each node 31a to 31d appears on output lines 24a to 24d of latches 40a to 40d. Consequently the test bits appear on the respective external pin connections 8a to 8d. If the IC 2 is connected to similar boundary scan cells being configured to input signals to their respective IC and having a boundary scan test capability, then the TAP controllers controlling these input boundary scan cells can serially read their respective boundary scan cells so that a check can be carried out to ensure that the value written to a boundary scan cell by a particular TAP controller was successfully communicated to another boundary scan cell to which it is connected. In this manner the interconnections between various ICs can be tested. It can be seen that the above technique allows the test to be carried out without the TAP controller 12 needing to account for the actual operation of the functional logic circuitry 4. The TAP controller only needs to know the number and type of boundary scan cells on the IC 2. The boundary scan testing technique is primarily intended for board testing. Figure 3 illustrates the state diagram of the TAP controller 12 of Figure 1 as defined by IEEE Standard 1149.1-1990. The operation of the circuitry of Figure 2 in performing a boundary scan test will now be described with the aid of the state diagram shown in Figure 3. During normal functional operation of the IC 2 the TAP controller 12 is in a test-logic-reset state S0. In this state the test logic is idle and the signal DATAIN on line 10a is connected directly to the signal DATAOUT on line 8a by means of the output multiplexor 18a under control of the signal TAPCONTROL2 on line 22. The TAP controller 12 is controlled by a master clock signal MCLOCK. The master clock MCLOCK is a buffered version of the clock TCK defined in IEEE Standard 1149.1-1990. Upon a test operation commencing, the TAP controller 12 will first move into a run-test/idle state S1. If a boundary scan test is to be carried out the TAP controller 12 will, on the next cycle of MCLOCK, enter a select-scan state S2 and the control signal TAPCONTROL2 on line 22 will change state such that the output signal DATAOUT of the output multiplexor 18a on line 8a is connected directly to the signal on line 24a. On the next clock cycle of MCLOCK the TAP controller will enter a capture state S3. At this stage of the test the capture state is unimportant because no test data has yet been loaded into the scan test circuit. On the next clock cycle of MCLOCK a shift state S4 is entered into. In this state the TAP controller produces a plurality of clock cycles constituting clock signal TAPCLOCK1 on line 36 whilst holding the signal TAPCONTROL1 on line 34 at a level such that the signal SCANIN on line 14a appears at the output 30a of the multiplexor 26a. In this way the test data is serially shifted into the test circuitry such that after a certain number n of clock cycles of TAPCLOCK1 (in this case four) the latches 28a,28b,28c,28d all have a known test bit on their respective outputs on nodes 31a to 31d. Hence for n cycles of the master clock MCLOCK the shift state S4 is retained. On the next cycle of the master clock an exit1 state S5 is entered. The state S5 is a temporary state and the TAP controller will normally move into an update state S8 on the next clock cycle of the master clock. The TAP controller could alternatively enter a pause state S6 followed by an exit2 state S7, but for reasons unconcerned with this invention and which are not explained herein. Whilst in the update state S8 the TAP controller causes the output of the latch 40a to be updated by generating a clock cycle to constitute clocking the clock signal TAPCLOCK2 on line 38a once. The test data bit on the output node 31a of the latch 28a will therefore appear on the output of the latch 40a on the line 24a and consequently as the DATAOUT signal on line 8a. At this point of the test operation all the DATAOUT signals on lines 8a to 8d will have been updated. The pin connections 8a to 8d are, as mentioned previously, connected to respective pin connections on one or more other ICs. Therefore, after a short amount of time to allow for the propagation of the updated signal between the ICs (which may include propagation through buffering logic between the ICs), the updated signals on pin connections 8a to 8d will appear on the respective pin connections on one or more other ICs. The pin connections on the other ICs will be connected to boundary scan cells configured as input or input/output devices. It will be within the scope of a skilled person having reference to IEEE Standard 1149.1-1990 how such an input boundary scan cell will be implemented and such an input boundary scan cell will therefore not be described in detail herein. For the purposes of completing the description of a boundary scan test it will be assumed that the input boundary scan cell on the IC to which the IC 2 is connected is identical to the boundary scan cell of Figure 2, with the difference that the pin connection of such other IC is connected as the DATAIN signal on line 10a. Therefore, for the purposes of the remainder of the description of the circuit of Figure 2, it is assumed that the signal DATAIN on line 10a is a result to be checked. In other words, it will be assumed that after the previously described update operation is performed, a short time afterwards a result will be generated on line 10a. On the next cycle of the master clock the TAP controller will once again enter the select scan state S2 and then on the next cycle will enter the capture state S3. In the capture state the latch 28a will be clocked once by the clock signal TAPCLOCK1 on line 36 whilst the multiplexor is controlled by the signal TAPCONTROL1 on line 34 such that the signal on line 10a appears on its output on line 30a. Thus the result generated in response to the update operation is captured on line 16a. The TAP controller then, on the next master clock cycle, enters the shift state S4 once more and the results captured on the outputs of the flip-flops 28a to 28d are serially clocked out to the TAP controller, under the control of clock signal TAPCLOCK1 on line 36. It can be appreciated that at the same time as the captured result is clocked out of the latches 28a to 28d a new set of test bits can be clocked into the latches 28a to 28d from the TAP controller. Consequently, the above described cycle of states from S2,S3,S4,S5,S8 and back to S2 can be repeated continuously. Referring now to Figure 4, an implementation of the latch 28a of Figure 2 is shown. The latch 28a consists of two half-latches, or transparent latches, 44a and 46a. Each half-latch consists of a respective control node 48a,52a and a respective storage node 50a,54a. The clock signal TAPCLOCK1 on line 36 clocks the control node 52a of half-latch 46a whilst the inverse of the clock signal TAPCLOCK1, NOTTAPCLOCK1, clocks the control node 48a. It will be understood, as is well known in the art, that the clock signals TAPCLOCK1 and NOTTAPCLOCK1 could be non-overlapping clock signals, or alternatively circuitry in the control nodes 48a and 52a could take account of any possible overlap of the two clocks. The latch 40a of Figure 2 similarly comprises two half-latches. It can therefore be seen that the circuit of Figure 2 comprises four half-latches. To provide correct clock operation for both normal functional operation and for test purposes, the circuit of Figure 2 requires a complex clocking scheme as will be understood from the description provided hereinabove with reference to Figures 2 and 3. It is therefore an object of the invention to provide a scan latch with a simpler clocking sequence and with reduced circuitry. According to the present invention there is provided a scan latch comprising a capture half-latch having an input terminal connected to receive an input signal, a control terminal connected to receive a clock signal, and an intermediate output terminal; a release half-latch having an input terminal connected to the intermediate output terminal of the capture half-latch, a control terminal connected to receive a clock signal, and a scan output terminal; and an update half-latch having an input terminal connected to the intermediate output terminal of the capture half-latch, a control terminal connected to receive a clock signal, and a data output terminal. The term half-latch is used herein to denote circuitry which acts in a data transfer state to transmit a signal from its input terminal to its output terminal with the control signal in a first state and in a data holding state to store the signal on the output terminal with the control signal in the second state. A simple implementation of a half-latch is an FET transister having its source/drain channel connected between the input terminal and the output terminal and its gate connected to receive the control signal. There is sufficient capacitance inherent in the transistor to provide the storage requirement at the output terminal. Other implementations of a half-latch are known and any suitable implementation can be used in the circuit of the invention. In one embodiment the clock signals provided to the capture half-latch, release half-latch and update half-latch are different clock signals, the timing of which can be individually controlled. The sequencing of these clock signals is simpler than that for the prior art scan latch of Figure 2. Such a scan latch can be used in place of any full latch where a scan test is to be carried out and where a functional data output should not change while scan data is being shifted in or out. A scan latch according to the invention is also able to carry out a so-called "performance test" (described hereinafter) to test the timing of logic circuitry. This is not possible with the prior art scan latch or the prior art scan cell. An embodiment of the invention particularly suited to carrying out a performance test is a scan latch wherein the clock signals provided to the capture half-latch, release half-latch and update half-latch are derived from a common clock source, the release half-latch and the update half-latch receiving the inverse of the clock signal applied to the capture half-latch. In that embodiment, the release half-latch and the update half-latch each have a further control terminal connected to receive a control signal which determines whether that half-latch is in a data transfer state or a data holding state. This embodiment reduces power consumption and routing overheads etc. by requiring only one clock. As a single clock implies only one clock tree, more accurate performance testing can be carried out. This embodiment of the invention can also be used to carry out structural tests in accordance with the industry standard. For a better understanding of the present invention and to show how the same may be carried into effect, reference will now be made by way of example to Figures 5 to 15 of the accompanying drawings. In the drawings: Figure 1 is a block diagram of an integrated circuit capable of implementing boundary scan testing; Figure 2 is a block diagram of a known boundary scan cell for use in a boundary test circuit; Figure 3 is a partial state diagram for a test access port controller for carrying out a structural test; Figure 4 is an example of an embodiment of a synchronous scan latch using half latches; Figure 5 is a circuit diagram of a boundary scan cell in accordance with one embodiment of the invention; Figure 6 is a circuit diagram of a scan cell in accordance with another embodiment of the invention; Figure 7 is a timing diagram for the scan cell of Figure 6 carrying out a structural test; Figure 8 is a partial state diagram for a test access port controller for carrying out a performance test according to an embodiment of the present invention; Figure 9 is a timing diagram for the scan cell of Figure 6 when carrying out a performance test; Figure 10 is a circuit diagram of a scan cell in accordance with another embodiment of the present invention; Figure 11 is a timing diagram for the scan cell of Figure 10 when used to carry out a structural test; Figures 12a and 12b are timing diagrams for a scan cell according to Figure 10 when used to carry out a performance test; Figure 13 is a circuit implementation of a scan cell used in the circuit of Figure 10; Figure 14 is a schematic of a further circuit implementation of the scan cell of Figure 10; and Figures 15a and 15b illustrate the circuit details of the schematic of Figure 14. Reference is first made to Figure 5 which illustrates a more efficient implementation of the test circuitry shown in Figure 2 according to one aspect of the present invention. Reference numerals are the same as for like parts in Figures 1 to 4. In Figure 5, the two full latches 28a,40a of Figure 2 have been replaced by three half-latches, a capture half-latch 56a, an update half-latch 58a and a release half-latch 60a. The output of the multiplexor 26a on line 62 is connected to the input of the capture half-latch 56a. The output of the capture half-latch 56a on line 64a is connected to an input line 66a of the update half-latch 58a and an input line 68a of the release half-latch 60a. The output of the update half-latch 58a on line 65a forms an input to the output multiplexor 18a. The output of the release half-latch 60a forms the chain connection 14b. The capture half-latch 56a is clocked by the clock signal CAPTURECLK on line 70, the update half-latch is clocked by the clock signal UPDATECLK on line 74, and the release half-latch is clocked by the clock signal RELEASECLK on line 72. Each half-latch has the property that it can be in one of two states, a data transfer state in which a signal on its input is transmitted directly to its output, or a data holding state in which a signal is held on its output node regardless of changes at the input. References in the following to "clocking" of half-latches refer to operations of the data transfer state. It is assumed that, unless "clocked", the half-latch is in the data retention state. Referring back to the state diagram of Figure 3, the same sequence of state changes discussed with reference to Figures 2 and 3 can be used to operate the circuit of Figure 5 to carry out a boundary scan test. The difference lies in the clocking sequences required which are much simpler with the present invention. This will now be described with reference to Figures 3 and 5. During normal functional operation of the IC 2 the TAP controller 12 is in the test-logic-reset state S0. In this state the test logic is idle and the signal DATAIN on line 10a is connected directly to the signal DATAOUT on line 8a by means of the output multiplexor 18a under control of the signal TAPCONTROL2 on line 22. Upon a test operation commencing, the TAP controller 12 will first move into the run-test/idle state S1 under the control of the master clock MCLOCK. If a boundary scan test is to be carried out the TAP controller 12 will enter the select-scan state S2 and the control signal TAPCONTROL2 on line 22 will change state such that the output signal DATAOUT of the output multiplexor 18a on line 8a is connected directly to the signal on line 65a. On the next clock cycle of MCLOCK the TAP controller will enter the capture state S3. At this stage of the test the capture state is unimportant because no test data has yet been loaded into the scan test circuit. On the next clock cycle of MCLOCK the shift state S4 is entered into. In this state the TAP controller produces a plurality of clock cycles constituting the clock signal CAPTURECLK on line 70 and the clock signal RELEASECLK on line 72 whilst holding the signal TAPCONTROL1 on line 34 at a level such that the signal on line 14a appears at the output 62a of the multiplexor 26a. In this way the test data is serially shifted into the test circuitry such that after a certain number n of clock cycles of the clock signals CAPTURECLK and RELEASECLK (in this case four) the half latches 56a to 56d all have a known test bit retained on their respective outputs on nodes 67a to 67d. Hence for n cycles of the master clock MCLOCK the shift state S4 is retained. On the next cycle of the master clock the exit1 state S5 is entered. The state S5 is a temporary state and the TAP controller will normally move into the update state S8 on the next clock cycle of the master clock. The TAP controller could alternatively enter the pause state S6 followed by an exit2 state S7, but for reasons unconcerned with this invention and which are not explained herein. Whilst in the update state S8 the TAP controller causes the output of the half-latch 58a to be updated by generating a clock cycle to constitute clocking the clock signal UPDATECLK on line 74 once. The test data bit on the output node 67a of the capture half latch 56a will therefore appear on the output of the update half-latch 58a on the line 65a and consequently as the DATAOUT signal on line 8a. At this point of the test operation all the DATAOUT signals on lines 8a to 8d will have been updated. The pin connections 8a to 8d are, as mentioned previously, connected to respective pin connections on one or more other ICs. Therefore, after a short amount of time to allow for the propagation of the updated signal between the ICs (which may include propagation through buffering logic between the ICs), the updated signals on pin connections 8a to 8d will appear on the respective pin connection on one or more other ICs. The pin connections on the other ICs will be connected to boundary scan cells configured as input or input/output devices. It will be within the scope of a skilled person having reference to IEEE Standard 1149.1-1990 how such input boundary scan cell will be implemented and such input boundary scan cell will not be described in detail herein. For the purposes of completing the description of a boundary scan test it will be assumed that the input boundary scan cell on the IC to which IC2 is connected is identical to the boundary scan cell of Figure 5, with the difference that the pin connection is connected as the DATAIN signal on line 10a. Therefore, for the purposes of the remainder of the description of the circuit of Figure 5, it is assumed that the signal DATAIN on line 10a is a result to be checked, the result being generated in response to the update previously described. On the next cycle of the master clock the TAP controller will once again enter the select scan state S2 and then on the next cycle will enter the capture state S3. In the capture state the capture half-latch 56a will be clocked once by the signal CAPTURECLK on line 70 whilst the multiplexor 26a is controlled by the signal TAPCONTROL1 on line 34 such that the DATAIN signal on line 10a appears on its output on line 62a. Thus the result is captured on line 64a. The TAP controller then on the next master clock cycle enters the shift state S4 once more and the results captured on the outputs of the capture half-latches 56a to 56d are serially clocked out to the TAP controller. It can be appreciated that at the same time as the captured result is clocked out of the capture half-latch 56a a new set of test bits can be clocked into the capture half-latch 56a from the TAP controller. Consequently, the above described cycle of states from S2,S3,S4,S5,S8 and back to S2 can be repeated continuously. The functional logic circuitry 4 of Figure 1 can be considered to consist of various blocks of combinational logic circuitry of various sizes either interconnected directly or interconnected via latches. It is possible to test the functional aspects of the combinational logic circuitry by placing known test bits on the inputs of the combinational logic circuitry in the functional logic circuitry and capturing the result on the output of the latches in the combinational logic circuitry. This can be achieved by placing boundary scan cells such as that shown in Figure 2 or Figure 5 at the various test points in the functional logic circuitry. However, the boundary scan chain will then have combinational logic and latches between successive boundary scan cells, and these additional latches will cause timing problems during test operations. This problem can be overcome, however, by replacing any functional latch within the functional logic circuitry with the scan latch (i.e. the combination of input multiplexor 26a, and half-latches 56a and 58a) of the boundary scan cell 6a of Figure 5. The latch therefore will operate as a normal functional latch during normal functional mode, and as a scan latch during scan testing. The boundary scan cell 6a of Figure 5 may also be used in scan testing of the combinational logic circuitry to provide additional observable and controllable nodes. Figure 6 illustrates the boundary scan cell 6a of Figure 5 reconfigured as a scan cell 7a to be used in a scan chain which tests combinational logic circuitry. The operation of the scan cell 7a of Figure 6 in performing a test of the structure of the combinational logic will now be described with reference to the timing'diagram of Figure 7. At the beginning of the clock cycle MCLOCK0 of the master clock MCLOCK, the TAP controller is in the reset state S0. At the end of the clock cycle MCLOCK0, a signal ACTIVATETEST goes high so that in the next clock cycle MCLOCK1 of the master clock the TAP controller 12 will enter a run-test-idle state S1 and then on the following clock cycle MCLOCK2 enter a select-scan state S2. At the beginning of the clock cycle MCLOCK3, a capture state S3 is entered and a test clock enable signal TESTCLKEN is set high. This allows the capture clock CAPTURECLK on line 70 to commence running. At the beginning of clock cycle MCLOCK4, a data output bit DOB1 will be present on the data input 10a, which may be the result output from a previous test. At the beginning of clock cycle MCLOCK4, as the TAP controller moves from state S3 into a shift state S4, the capture operation is performed as described hereinafter. Referring to Figure 7, the falling edge 201 of the capture clock signal CAPTURECLK at the beginning of clock cycle MCLOCK4 causes the data output bit DOB1 to be latched on the output node 67a of the half-latch 56a. During this operation the multiplexor 26a is controlled by the control signal TAPCONTROL1 such that its output on line 62a is connected as the DATAIN signal on line 10a. During the clock cycle MCLOCK4, the TAP controller is in the shift state S4. During the second half of the clock cycle MCLOCK4 the release clock signal RELEASECLK (not shown in Figure 7) is provided to the release half-latch 60a such that the data output bit DOB1 at node 67a appears as the SCANOUT signal on line 14b. Once in the shift state S4, test data bits will appear as the SCANIN signal on line 14a, the first of which is represented by the bit TDB1 being placed on line 14a shortly after the start of clock cycle MCLOCK4. On the rising edge 200 of the CAPTURECLK signal in clock cycle MCLOCK4 the capture half-latch 56 adopts its data transfer state. A short time after this the signal TAPCONTROL1 on line 34 changes state as illustrated by edge 202 such that the multiplexor 26a will connect its output on line 62a to its input on the SCANIN signal line 14a. Hence the test data bit TDB1 will appear on the internal node 67a. On the falling edge 204 of the capture clock CAPTURECLK at the beginning of the next cycle MCLOCK5 the TAP controller will, in this example, remain in the shift state S4 to enable a second test data bit TDB2 to be scanned in. A short time after the beginning of clock cycle MCLOCK5 the release clock RELEASECLK on line 72 will clock the half-latch 60a such that the first test data bit TDB1 appears as the SCANOUT signal line 14b. It will be clear that the TAP controller could thus remain in the shift state S4 for as many clock cycles of the TAP controller as required to shift in all the necessary test data bits. In this example only two test data bits are clocked in and the second test data bit TDB2 is placed on the scan in line and shifted into the circuit during clock cycle MCLOCK5 in the same way that the test data bit TDB1 was shifted in during clock cycle MCLOCK4 as before described. At the beginning of clock- cycle MCLOCK6, the TAP controller enters an EXIT1 state S5 and the capture clock goes low and remains low such that the capture half-latch 56a remains in the data holding state and the test data bit TDB2 remains on the internal node 67a . A short time after the beginning of cycle MCLOCK6 the clock signal RELEASECLK clocks the release half-latch 60a such that the test data bit TDB2 also appears as the SCANOUT signal on line 14b. During MCLOCK6, the control signal TAPCONTROL1 on line 34 also changes state on edge 206 such that the multiplexor 26a connects its output on line 62a to its input on line 10a again. At the beginning of clock cycle MCLOCK7, the TAP controller enters an update state S8. At the end of the clock cycle MCLOCK7 during which the TAP controller is in the update state S8, the TAP controller will latch the test data bit TDB2 on the internal node 67a onto the line 8a as the signal DATAOUT by generating edges 208 and 210 of the clock signal UPDATECLK on line 74, thus placing the half-latch 58a in a data transfer state, and then in a data holding state so that the signal line 8a has the test data bit TDB2 latched on it. The latching of the test data bit TDB2 occurs on edge 210 during clock cycle MCLOCK8 after the TAP controller has entered the run-test-idle state S1 again. It can be seen that if the same sequence of operations is performed again, the next capture operation will capture the data outputted on the line 10a as the signal DATAIN, which is the logical result of the test data bit TDB2 (and similar test data bits from other scan latches) being inputted to the combinational logic circuitry 5. During normal functional operation data on line 10a from the combinational logic circuitry passes to the DATAOUT signal line 8a by clocking the capture half-latch with clock signal CAPTURECLK on line 70 followed by clocking the update half-latch 58 with clock signal UPDATECLK on line 74. It can readily be seen that to perform any particular function, the capture half-latch 56a is combined with either the update half-latch 58a or the release half-latch 60a to operate as a full latch. It should be noted that during a shift operation (scan in or scan out) the update half-latch 58a is held in a data holding state so that its output does not change. It can therefore be seen that the invention has provided a scan test circuit requiring less hardware but which can be used to implement boundary scan testing according to the state sequence specified by IEEE Standard 1149.1-1990, and with the functional data output unchanging during a shift operation. Moreover, the sequence of clock signals required is simpler than that in the prior art. The circuit of Figure 6 provides another advantage over the prior art circuit of Figure 2 in allowing a so-called "performance test" to be carried out. A structural test is limited to determining the logical correctness of an output for a particular extant set of inputs. It is also desirable to test the timing aspects of the combinational logic in the functional logic circuitry 4. The performance test enables the performance of the structure of the combinational logic (rather than the performance of the logic function) to be tested. In order to carry out a performance test it is necessary to sensitise the inputs of the combinational logic with one set of sensitise bits and allow the output of the combinational logic to settle. The inputs are then changed to a set of activation bits. The time taken for the output to change from the value set in response to the sensitise input to the value set in response to the activation input is a measure of the performance of a circuit. There follows a description of how such a test can be carried out using the circuit of Figure 6 in accordance with the present invention. Referring to the state diagram of Figure 3, it can be clearly seen that after an update operation is performed during the time the TAP controller is in the state S8, two clock cycles of the TAP controller clock must elapse before a capture operation can be performed during state S3 to capture the result. It is an attribute of the performance test that a result can be quickly captured after an input is activated, to check that the speed at which the circuit operates is within design constraints. The performance test is thus arranged so that a capture occurs in the clock cycle after the update. Using the circuit of the present invention according to Figure 5 or Figure 6, the state diagram can be modified, as shown in Figure 8, to enable performance testing. The performance test can be implemented using the TAP controller 12 discussed above and the state diagram of Figure 3 merely by modifying the operation performed by each state, as shown in Figure 8. The transition between subsequent states remains the same. Figure 9 illustrates a timing diagram for the control of the scan test circuit of Figure 6 to carry out a performance test. A performance test according to the present invention will now be described with reference to Figures 6, 8 and 9. The TAP controller 12 is assumed to be in the select scan state S2 prior to setting it to carry out a performance test, as opposed to a structural test. MCLOCK denotes the TAP controller clock as before. On the first clock cycle MCLOCKN of MCLOCK an exit0 state S3 is entered and then on the subsequent clock cycle MCLOCKN+1 of the master clock a shift state S4 is entered. During this state, the multiplexor is connected to the scan in line 14a by changing the state of TAPCONTROL1 as illustrated by edge 221. A shift operation is carried out by clocking the capture half-latch 56a and then the release half-latch 60a for as many clock cycles as is required to clock all the sensitise bits into the chain of scan latches. These sensitise bits are denoted as SB1,SB2. During this operation the capture half-latch 56a and release half-latch 60a are clocked by clock signals CAPTURECLK on line 70 and RELEASECLK on line 72 respectively. Clocking of the capture half-latch places the sensitise bit SB1 onto the internal node on line 67a. Clocking the release half-latch places the sensitise bit SB1 on the scan out line 14b. Bit SB2 is shifted in the same way. In the last shift clock cycle MCLOCKN+2 the sensitise bit SB2 is shifted from the signal line 14a as the SCANIN signal to the signal line 14b as the SCANOUT signal. At the end of clock cycle MCLOCKN+2 the CAPTURECLK signal on line 70 goes low, as illustrated by edge 220, and remains low such that the capture half-latch 56a is in the data-retention state. The RELEASECLK signal continues to clock but as the signal on the internal node 67a is latched the signal on line 14b does not change. The TAP controller then enters an exit1 state S5 during clock cycle MCLOCKN+3 and a shift-update state S6 during clock cycle MCLOCKN+4. At the end of clock cycle MCLOCKN+4 the UPDATECLK signal on line 74 goes high, as illustrated by edge 222, causing the sensitise bit SB2 on the internal node 67a to appear on line 8a as the DATAOUT signal. After the UPDATECLK signal goes high at the end of clock cycle MCLOCKN+4, the TAP controller will enter the capture state S7. At this stage the operation of the capture state is not important since a result to be captured has not yet been generated. However, during this capture state S7 the signal DATAIN on line 10a will change state in response to the sensitise bit SB2 having been placed on the DATAOUT signal line 8a. The TAP controller then proceeds from the capture state S7 back to the shift state S4, and the same sequence of operations is carried out. However, this time in the shift state S4 during clock cycles MCLOCKN+1 and MCLOCKN+2 activation bits AB1,AB2 are shifted such that at the end of clock cycle MCLOCKN+4 the activation bit AB2 is the signal DATAOUT on line 8a. It is the result of this transition from sensitise bit SB2 to the activation bit AB2 on DATAOUT line 8a, after propagation through the combinational logic circuitry 5, which must be captured after a short, measurable time delay on the DATAIN signal line 10a. During the next clock cycle MCLOCKN+5, the TAP controller is in. its capture state S7. In this state, the master clock MCLOCK pulse width is reduced in width to a pulse width d and an advanced clock signal ADVANCECLK is produced having a positive edge 224 at a measured time location which is a predetermined time t from the positive edge 235 of MCLOCK. The reduced pulse width d has no effect on timing measurement. At some time after the activation bit AB2 has been placed on the input 8a to the combinational logic a data output bit DOB resulting from the activation input bit AB2 on line 8a is available on the line 10a to the multiplexor 26a. The line 10a is connected to the multiplexor by altering the state of TAPCONTROL1 on the negative edge 226 of the reduced cycle d of MCLOCK. The change of state of the multiplexor is represented by the falling edge 228 on line 34. An aspect of the clocking sequence of Figure 9 is the provision of the advance clock ADVANCECLK which independently produces the negative clock edge 232 of the clock CAPTURECLK in the capture period at time t from the positive edge 235 of the clock MCLOCK. This avoids the need to generate a "high frequency" clock on the master clock MCLOCK in the capture cycle, it also avoids having to clock the TAP controller at such a higher frequency. The only purpose of the reduced pulse width d is to provide the positive edge 230 of the CAPTURECLK signal on line 70 from the negative edge 226 of the reduced pulse. The only requirement for the pulse width d is therefore that it must be less than the predetermined time t. Once the CAPTURECLK has gone high on edge 230 it can then be taken low on edge 232 under control of the advanced clock signal ADVANCECLK as discussed hereinabove. After the multiplexor is switched on the falling edge 228 on line 34 the CAPTURECLK signal on line 70 goes high, represented by edge 230, causing the data output bit DOB to appear on the internal node 67a a short time afterwards. It is assumed that edge 230 occurs before the data output bit DOB settles and therefore does not play any part in the subsequent timing measurement and capture at the data output bit DOB on the edge 232 of the CAPTURECLK. When the capture clock signal CAPTURECLK goes low on edge 232 the capture half-latch is in the data-retention mode and the data output bit DOB is retained on internal node 67a. The advanced clock signal ADVANCECLK may also be used to provide the early positive edge 234 of the RELEASECLK signal on line 72. After the RELEASECLK signal goes high on edge 234 the data output bit DOB retained on the internal node will appear on the line 14b as the SCANOUT signal. However, the timing of this release is not important. The TAP controller again enters, on the next clock cycle MCLOCKN+6, the shift state S4. New sensitise or activation bits SB4/AB4,SB5/AB5 can then be shifted in on the SCANIN signal line 14a, and the data output bit DOB can be shifted out on the SCANOUT signal line 14b. Preferably, the sensitise bit pattern supplied to the chain of scan latches activates a critical timing path on the transition of the inputs of the combinational logic circuitry 5 between the sensitise and activation patterns. It will readily be appreciated that the point of a performance test is to measure the time between placing the activation input bits on the inputs 8a,8b etc. of the combinational logic circuit and the appearance of the data output bit at line 10a. The performance test sequence can be repeated for different patterns to exercise different timing paths. It can be seen that the time delay from the sensitise update to the capture of the corresponding result is the period t in the capture state. This period t may be adjusted to determine the smallest delay possible which still results in the correct output data for a particular set of inputs. The scan cell illustrated in Figure 6 can therefore perform either a structural test or a performance test. However it does have features which make it inefficient in certain aspects, particularly for carrying out a performance test. Firstly, three clocks are required which consume more power than would a single clock. Secondly, because the three clocks are independent, the clock trees (i.e. derived clocks) are separate, and the accuracy of performance testing is compromised. To overcome these disadvantages a new half-latch is provided which incorporates an enable function to effectively gate a clock signal supplied to it. This may be constructed in a number of ways using two transmission gates in series, inserting a gating function in the clock path, or using a complex gate which merges the clock gating function with the storage node. It is expected that other ways of implementing such a half-latch will be apparent to a person skilled in the art. Figure 10 shows the circuit of Figure 6 with the release and update half-latches 58a and 60a replaced by two half-latches 82a and 84a of the type discussed above, i.e. each having a transmission gate TGE with an enable input, and a storage node SN. The arrangement of Figure 10 has the advantage over Figure 6 of requiring only one clock signal COMMONCLK supplied to all the half-latches leading to reduced power consumption and a reduced number of clock signal lines. The capture half-latch 56a receives the inverse of the clock signal applied to the release half-latch 84a and the update half-latch 82a. Because there is only one clock signal there is only one clock tree which leads to more accurate performance testing. A further control signal TAPCONTROL3 is provided to the release half-latch 84a and, inverted, to the update half-latch 82a. The two control signals TAPCONTROL1 and TAPCONTROL3 are generated from within the TAP controller and are inactive during normal functional operation. For normal functional operation of the IC 2 the control signal TAPCONTROL1 is low and the control signal TAPCONTROL3 is low. For an update operation (which inherently incorporates a shift) TAPCONTROL1 is high, and TAPCONTROL3 is low. For a capture operation (which inherently incorporates a shift) TAPCONTROL1 is low and TAPCONTROL3 is high. For a shift operation (scan in or scan out) TAPCONTROL1 is high and TAPCONTROL3 is high. Additionally, an asynchronous update operation (with no inherent shift) may be achieved while the clock COMMONCLK is kept high and a negative edge occurs on TAPCONTROL3, as will be described hereinbelow. Figure 11 shows a timing diagram for the circuit of Figure 10 for carrying out a structural test. Reference is also made to the state diagram of Figure 3. At the beginning of the clock cycle MCLOCK0 of the master clock MCLOCK, the TAP controller is in the reset state S0. At the end of the clock cycle MCLOCK0, a signal ACTIVATE TEST goes high so that in the next clock cycle MCLOCK1 of the TAP controller 12 it will enter a run-test-idle state S1 and then on the following clock cycle MCLOCK2 enter a select-scan state S2. At the beginning of the clock cycle MCLOCK3, a capture state S3 (with inherent shift) is entered and a test clock enable signal TESTCLKEN is set high. This allows the common clock COMMONCLK on line 86 to commence running. At the beginning of clock cycle MCLOCK4, a data output bit DOB1 will be present on the data input 10a, which may be the result output from a previous test. At the beginning of clock cycle MCLOCK4, as the TAP controller moves from state S3 into a shift state S4, the capture operation is performed, and the bit captured on line 90a is also shifted on the SCANOUT line 14b. Although this shift operation is caused by the capture operation of clock cycle MCLOCK3, its effect is not actually seen until the next clock cycle MCLOCK4. Up to this point the control signal TAPCONTROL1 is low to connect the data on input 10a to the output of the multiplexor 26a, and the control signal TAPCONTROL3 is high to enable the release half latch and to hold the update half-latch in a data retention state. When the clock COMMONCLK goes low on edge 251 the data DOB1 on the output 10a of the combinational logic circuitry 5 is dynamically reflected on the internal node 90a. On the rising edge 252 of the clock COMMONCLK the current data bit on the DATAIN signal line 10a is captured and held on the internal node on line 90a. At the same time the release half-latch is enabled to place the data DOB1 on the node 90a onto the SCANOUT signal line 14b. When the negative edge 254 of COMMONCLK occurs during MCLOCK4, the signal on the SCANOUT line 14b is held or retained. During MCLOCK4, the control signal TAPCONTROL1 switches from low to high as illustrated by edge 256 causing the multiplexor 26a to input the signal on the SCANIN signal input line 14a. Consequently in the two clock cycles MCLOCK4, MCLOCK5, the TAP controller is in shift state S4 and two scan test values TDB1,TDB2 are sequentially shifted onto the SCANOUT signal line 14b. It will be appreciated that there are normally n clock cycles in the shift state as discussed above with reference to Figure 2. At the rising edge of MCLOCK6, the exit1 state S5 is entered, the signal TESTCLKEN is put low and on the falling edge of MCLOCK the signal TAPCONTROL1 is put low as illustrated by edge 258. The positioning of edge 258 is not important since it has no effect, and this edge could therefore be positioned in any subsequent cycle. During MCLOCK7 the update half-latch is enabled by edge 260 of TAPCONTROL3 going low and the test data bit TDB2 on node 90 appears on the input 8a to combinational logic circuitry 5. It will be appreciated that the clock signal COMMONCLK on line 86 at this point is high so that the update half-latch will, when enabled, adopt the data transfer state. The edge 260 is not synchronised to a clock edge of the master clock MCLOCK, and consequently the update operation achieved by the edge 260 is asynchronous and there is no inherent shift operation associated with this update. This is referred to as "asynchronous update". During MCLOCK8 run-test idle state S1 is entered, and TAPCONTROL3 returns to a high state on edge 262. It can be seen that all critical operations are synchronous, taking place on the positive edge of the clock COMMONCLK, with the exception of the operation which occurs when the signal TAPCONTROL3 changes from high to low on edge 260 in MCLOCK7, this operation being asychronous. This asynchronous operation is an important feature of the circuit of Figure 10 which enables the state diagram according to IEEE Standard 1149.1-90 to implement an update during a structural test. In the structural test mode, timing of the update is not critical and the asychronous change on the output line 8a is not significant. Referring to Figures 12a and 12b the operation of the circuit of Figure 10 during a performance test will now be described with reference to the state diagram of Figure 8. Figure 12b is an expanded view of the cycles MCLOCK5 to MCLOCK7 of Figure 12a during which the critical timing paths of the performance test occur. The operation of the circuit of Figure 10 is similar to that of Figure 6 when carrying out a performance test, so the common elements will not be described. The following is a discussion of the differences between the timing sequences for the circuit of Figure 6 and the timing sequences for the circuit of Figure 10. In Figure 12b, the timing of the common clock COMMONCLK produced by combining the master clock MCLOCK and the reference clock ADVANCECLK is shown. Control of the update function is different in the circuit of Figure 12. As shown in Figure 12a, the signal TAPCONTROL3 changes state from high to low, represented by edge 270, on the falling edge of COMMONCLK in TAP clock cycle MCLOCKN+4. This means that when COMMONCLK goes high at the beginning of capture cycle MCLOCKN+5, the update half-latch is put-into its data transfer state and transfers the bit which is then on its input at node 90a to the output on line 8a. This provides the activation input bit for the performance test. The control signal TAPCONTROL3 is then changed from its low to its high state, represented by edge 272, to hold that bit on the output of the update half-latch so that the output is held for subsequent edges of COMMONCLK. The data output from the functional logic circuit 4 as a result of the activation input bits is captured on the rising edge 273 of the clock COMMONCLK on line 86. The timing of edge 273 is controlled by the advanced clock signal ADVANCECLK. Measurement of the performance of the functional logic is carried out in the same way as discussed above with reference to Figure 9. Figure 12b illustrates more clearly the principle underlying the performance test. The arrow p represents the propagation time through the combinational logic circuit 5, or the time taken for the data output to change from one state to another when the input bits are changed from the sensitised pattern to the activation pattern. As explained above, a measure of this time can be gained by alterations of the timing delay t between a positive edge of MCLOCK and positive edge of ADVANCECLK. The advance clock signal ADVANCECLK is introduced because it is desirable to increase the speed of the common clock signal COMMONCLK during the capture cycle MCLOCKN+5. However, it is not desirable to introduce a rapid cycle in the master clock MCLOCK. Furthermore, once the common clock signal COMMONCLK has performed a rapid clock cycle during period MCLOCKN+5, it must be inhibited for the next rising edge of the master clock MCLOCK, otherwise the master clock and common clock will lose synchronisation. If synchronisation between these two clocks is lost, some of the test bits scanned in or out may also be lost. Therefore at the beginning of cycle MCLOCKN+6 the TAP controller receives a positive clock edge, but the COMMONCLK signal does not generate an edge. Figure 13 shows an example of an implementation of the circuit of Figure 10 using known circuit components. The multiplexor 26a consists of two AND gates 92 and 94 and a NOR gate 122. It can be seen that the signal TAPCONTROL1 on line 34 is inputted directly to the AND gate 94, but is inverted on the input of AND gate 92. The half-latch 56 consists of a pass gate comprising two complementary transistors 96 and 98 and a back to back inverter arrangement 100, comprising a strong inverter 100a and a weak inverter 100b. The half-latch 82 comprises a pass gate comprising two complementary transistors 106 and 108, a pair of back to back inverters 116 and an inverter 118. The back to back inverters 116 comprise a strong inverter 116a and a weak inverter 116b. The half-latch 84 comprises a pass gate comprising two complementary transistors 110 and 112, a pair of back to back inverters 114 and an inverter 120. The back to back inverters 114 comprise a strong inverter 114a and a weak inverter 114b. The half-latches 82 and 84 further share a pass gate comprising complementary transistors 102,104. Figure 14 illustrates a further example of how the present invention may be implemented. Figure 14 is an illustrative example of how a scan cell as shown in the schematic diagram of Figure 10 may be implemented. The scan cell of this example consists of an- input stage 320 (corresponding approximately to the multiplexor 26a and the latch 56a of Figure 10) and an output stage 330 (corresponding approximately to the half latches 82a and 84a of Figure 10). The implementation of the invention illustrated in Figure 14 also shows how the invention can be extended by adding an additional multiplexor to the input stage which enables functional selection from one of two data inputs, and by adding a synchronous reset facility. The input stage receives the signals SCANIN on line 14a and TAPCONTROL1 on line 34, together with signals DATAIN1 on line 310a, DATAIN2 on line 312a, SELECTDATAIN on line 314a and RESET on line 318. The illustrated example differs to the schematic of Figure 10 in that it has two data inputs, DATAIN1 and DATAIN2. However, only one data input can be selected at any one time by the select signal SELECTDATAIN. The signal RESET on line 318 is used to reset the input stage 320. The input stage 320 outputs a signal DATA on line 316 which forms an input to the output stage 330. The signal TAPCONTROL3 on line 88 forms a second input to the output stage. The output stage outputs the signal DATAOUT on line 8a and the signal SCANOUT on line 14b. Both the input and the output stages receive the signal NOTCOMMONCLK on line 86b via gate 322 and the signal COMMONCLK on line 86a via gates 322 and 324. The operation of the circuit of Figure 14 can be readily understood with reference to Figure 15a and 15b. Figures 15a and 15b fully illustrate the input stage 320 and the output stage 330 respectively. The input stage 320, as shown in Figure 15a, comprises a number of gates, 332,334,336,350 and 370, a number of transistors 338 to 348 and 354 to 368, and a transmission gate 331. The output stage 330, as shown in Figure 15b, comprises an inverter gate 388, a number of latches 380, 390, 394, two inverters 392,396 and a number of transmission gates 382 to 386. As is well known, each of the latches 380, 390 and 394 comprise a strong inverter 380a, 390a and 394a coupled with a respective relatively weak inverter 380b, 390b and 394b respectively. The transmission gates 330,382,384,386 each comprise a pair of complementary transistors corresponding to the transistor pairs 98,98; 102,104; 108,106; and 110,112 respectively of Figure 13. It should be apparent to a person skilled in the art having reference to the foregoing description of Figure 10 how the circuit implementation of Figures 14, 15a and 15b operates, and this operation will therefore not be further described.

Claims: A scan latch comprising: a capture half-latch (56a) having an input terminal connected to receive an input signal, a control terminal connected to receive a clock signal (70) and an intermediate output terminal (64a); a release half-latch (60a) having an input terminal connected to the intermediate output terminal of the capture half-latch, a control terminal connected to receive a clock signal (72) and a scan output terminal (196); and an update half-latch (58a) having an input terminal connected to the intermediate output terminal of the capture half-latch, a control terminal connected to receive a clock signal (74) and a data output terminal (65a). A scan latch according to claim 1 wherein the clock signals (70, 72, 74) provided to the capture half-latch, release half-latch and update half-latch are different clock signals, the timing of which can be individually controlled. A scan latch according to claim 1 wherein the clock signals provided to the capture half-latch, release half-latch and update half-latch are derived from a common clock source (86) the release half-latch and the update half-latch receiving the inverse of the clock signal applied to the capture half-latch. A scan latch according to claim 3 wherein the combination of the capture half-latch and one of the update half-latch and release half-latch acts as a positive edge triggered flip-flop. A scan latch according to claim 3 or 4, wherein the release half-latch and the update half-latch each have a further control terminal connected to receive a control signal which determines whether that half-latch is in a data transfer state or a data holding state. A scan latch according to any preceding claim which comprises selection circuitry (26a) connected to the input terminal of the capture half-latch and being responsive to a selection signal to select as the input signal to the capture half-latch one of a normal data signal and a scan data signal. A scan latch according to claim 6 wherein the selection circuitry comprises a multiplexer (26a). A scan latch according to any preceding claim when operated in a functional mode in which the capture half-latch is caused to transfer a normal data signal (10a) from its input terminal to its intermediate output terminal, and then the update half-latch is caused to transfer the normal data signal from its input terminal to the data output terminal. A scan latch according to any of claims 1 to 7 when operated in a shift mode in which the capture half-latch is caused to transfer a data signal from its input terminal to its intermediate output terminal, and then the release half-latch is caused to transfer the data signal from its input terminal to the scan output terminal (14b). A scan latch according to claim 9 wherein the data signal is a scan data signal. A scan latch according to claim 9 wherein the data signal is a normal data signal. A scan latch according to any of claims 1 to 7 when operated in an update mode in which the update half-latch is caused to transfer the signal stored at the intermediate output terminal to the data output terminal. A method of operating a scan latch according to any of claims 1 to 6 to perform a structural test of a circuit comprising the steps of: a) providing a predetermined sequence of scan test bits (14a); b) shifting the sequence of scan test bits through the scan latch via the input terminal of the capture half-latch (56a) and out of it via the scan output terminal; c) at the end of shifting said sequence updating the data output terminal (8a) to retain the appropriate scan test bit; d) connecting the scan latch to receive an output data bit from the circuit to be tested; e) shifting the output data bit out of the scan latch via the scan output terminal; and f) comparing the output data bit with an expected output data bit associated with the predetermined sequence of scan test bits and the circuit to be tested. A method according to claim 13 wherein step b) is carried out by: i) selecting a scan data input to be connected to the input terminal of the capture half-latch (56a). ii) causing the capture half-latch to transfer a scan data bit on its input terminal to its intermediate output terminal, and then iii) causing the release half-latch (60a) to transfer that bit to the scan output terminal, said steps ii) and iii) being carried out for said sequence of scan data bits. A method according to claim 13 or 14 wherein step c) is carried out by placing the update half-latch in a data transfer mode. A method according to claim 13, 14 or 15 wherein step e) is carried out by placing the capture half-latch and then the release half-latch in a data transfer mode. A method according to any of claims 13 to 16 wherein step b) is carried out under the control of a clock signal (70) so that in a first portion of a clock period of the clock signal the capture half-latch is placed in a data transfer mode and in a second portion of the clock period the release half-latch is placed in a data transfer mode. A method according to claim 17 wherein the combination of the capture half-latch and the release half-latch controlled by a common clock (36) forms a positive edge triggered flip-flop. A method according to claim 18 wherein the step c) of updating is carried out asynchronously in response to a shift control signal produced independently of the clock signal.

Inventors: WARREN ROBERT, WARREN, ROBERT
Applicants: SGS THOMSON MICROELECTRONICS, STMICROELECTRONICS LIMITED
Application year: 1995
Main classification: G01R31
IPC codes: G01R31, G06F11, H03K3