Referring to
The circuit device 20 is derived from the basic structure illustrated in
Differently from the prior art, a logic gate structure 8 is upstream provided with respect to the NAND-NAND structure 17. More specifically, one input of the first NAND gate 22 is connected to the output of a logic gate 16, in particular, a NOR gate. This NOR gate 16 has a first input receiving a command signal TR (Test Reset) and a second input connected through a link 18 to the output of the second NAND gate 23.
Similarly, a second logic gate 15 is upstream provided with respect to the second NAND gate 23. In particular, this second logic gate 15 is a second NOR gate having a first input receiving a command signal TS (Test Set) and a second input connected through a link 19 to the output of the first NAND gate 22. The output of the NOR gate 15 is linked to one input of the second NAND gate 23.
The second input of the first NAND gate 22 receives a reset signal RN while the second input of the second NAND gate 23 receives a set signal SN. Both the outputs of the first and the second NAND gates 22, 23 are linked to a selective and inverting Multiplexer 21 providing a single output Q for the circuit device 20. A connection 11 is provided between the multiplexer 21 and the first input of the NOR gate 16 for providing the signal TR also to the multiplexer 21.
As may be appreciated by the person of ordinary skill in the art, the feedback loop between the NAND gates 2 and 3 (
Two new command test signal have been added to the circuit device 20: they are the signal TR (Test Reset) and TS (Test Set). The final test coverage of this cell 20 is the following: test coverage=97.6% (42 faults, 28 MOS) where 28 MOS is just an indicative number of the transistors used. The two test signals TR, TS are forced to GND during the normal functioning of the circuit device 20.
It worth while to note that there could be a fault not covered by the ATPG tool and represented by a stuck-at 0 on input of the NOR gate 16 connected to TR pin (marked by a larger dot in
The intrinsic high value of the test coverage of the cell formed by the circuit device 20 may allow for improving the whole test coverage of the input/output logic core. If compared to the original code (including 12 MOS), it has been the logic portion of the gates 15 and 16 that allow conversion of the basic and not testable cell of
The control test signals TS and TR may have to be directly controlled by external PADs (this is the simplest controllability approach) or they can be managed by a dedicated Test Block circuit 25 like the one illustrated in
This logic network 24 includes a couple of NOR gates 26, 27 having both a couple of inputs, terminal one of which is linked to a corresponding output Q1, Q2 of a flip-flop cell 13, 14. Both the second inputs of the first and the second NAND gates 32, 33 are receiving a same command signal TM. An inverter may be provided between the first input of the first NOR gate 26, the one connected to the output Q1, and the other first input of the second NOR gate 27, the one connected to the output Q2.
The other second inputs of both the NOR gates 26, 27 are linked together. The first input of the NOR gate 26 is connected to the output Q1 of a flip-flop cell 13. This cell 13 has four inputs D, CP, TI, TE and receive a reset signal Reset. However, the number of inputs of this cell may not be mandatory and other possible alternative approach may be adopted for the flip-flip cell, for example, a cell having a set and an inverter on output could operate in the same manner.
The first input of the second NOR gate 27 is connected to the output Q2 of another flip-flop cell 14. This second cell 14 has four inputs D, CP, TI, TE and receive a reset signal Reset. The circuit behaves in the following way:
1) User Mode (TM=0)
In this operating mode, both the control signal TS and TR may be forced to GND to keep the original functionality of the Set-Reset asynchronous component 20 working as a latch.
2) Test Mode (TM=1)
In this operating mode, two scan flip-flops 13, 14 may be used to control the status of the TS, TR signals. If Ctl_1 has the value ‘1’ both the control signals TS, TR are forced to VDD while when Ctl_1 has the value ‘0’ the TS and TR values depend on the Ctl_0 status: TR is equivalent to Ctl_0 while TS has opposite value. In this way, the ATPG tool may be able to break in any possible conditions the internal feedback of the Set-Reset asynchronous latch.
Test Case Results
In order to check the quality of this approach, it has been applied on a real Test Case (the digital control block of an ADC) which was designed with the known basic LR1QLL cells of
The test coverage has been evaluated applying the three different models described:
First case) the LR1QLL library cell with high level Verilog description.
Second case) the LR1QLL cell at gate level with internal structure.
Third case) the LR1QLL cell has been modified applying by the circuit device of this embodiment.
An important improvement in the test coverage has been noted in the passage from the first to the second and the third case. So, according to this embodiment, and without performing any modification from the functional point of view, the test coverage may be improved in a great percentage, and moreover, it may reduce the global time of the design activity used in case redesign of the design to be fully scan ready.
The person of ordinary skill in the art may understand that this asynchronous set-reset device may be implemented even with minor modifications all falling within the scope of the appended claims. For example, the NAND-NAND structure may be formed by a couple of NOR gates, and the associated logic network could be modified accordingly without departing from the principle of the invention.
Number | Date | Country | Kind |
---|---|---|---|
06011821.3 | Jun 2006 | EP | regional |