Deterministic testing of edge-triggered logic
First Claim
Patent Images
1. A method for deterministic testing of edge-triggered logic, the method comprising:
- setting a test signal in a test state so as to form a first scan chain that is responsive to a logic transition of a first clock signal and a second scan chain that is responsive to a logic transition of a second clock signal, the first and second scan chains each having an input for receiving scan data and an output for respectively providing the scan data; and
operating a third clock to control a latch interposed between the output of the first scan chain and the input of the second scan chain causing the latch to experience a hold state or a follow state, the hold state being experienced during a time period prior to the logic transition of the first clock signal and subsequent to the logic transition of the second clock signal such that data present at the output of the first scan chain prior to the logic transition of the first clock signal is held in the latch until after the logic transition of the second clock, the follow state being experienced outside the time period.
4 Assignments
0 Petitions
Accused Products
Abstract
A digital system having multiple clock domain, each including at least one edge-triggered device, such as a flip-flop, is structured to be submitted to scan testing. Each data path from one clock domain to another includes a latch that is operated by a test clock. During scan testing, when the digital system is logically reconfigured to form one or more scan chains for receiving a test vector, the latches are operated to ensure that the test vector is passed from one domain to another.
54 Citations
25 Claims
-
1. A method for deterministic testing of edge-triggered logic, the method comprising:
-
setting a test signal in a test state so as to form a first scan chain that is responsive to a logic transition of a first clock signal and a second scan chain that is responsive to a logic transition of a second clock signal, the first and second scan chains each having an input for receiving scan data and an output for respectively providing the scan data; and
operating a third clock to control a latch interposed between the output of the first scan chain and the input of the second scan chain causing the latch to experience a hold state or a follow state, the hold state being experienced during a time period prior to the logic transition of the first clock signal and subsequent to the logic transition of the second clock signal such that data present at the output of the first scan chain prior to the logic transition of the first clock signal is held in the latch until after the logic transition of the second clock, the follow state being experienced outside the time period.
-
-
2. A circuit comprising:
-
a first clock domain comprising;
a first edge triggered memory device configured to receive a first data input signal, and configured to produce a first output signal in response to a first clock signal;
a first latch configured to receive the first output signal from the first edge triggered memory device and configured to produce a second output signal in response to a test clock signal;
combinatorial logic configured to receive each of a functional data signal and the second output signal from the first latch and configured to produce a combinatorial logic output signal; and
a multiplexor configured to receive each of the combinatorial output signal and a scan data input signal;
a second clock domain configured to receive the second output signal from the first clock domain and comprising;
a second edge triggered memory device configured to receive a second data input signal, and configured to produce a third output signal in response to a second clock signal; and
a second latch configured to receive the third output signal from the second edge triggered memory device and configured to produce a fourth output signal in response to the test clock signal. - View Dependent Claims (3, 4, 5, 6, 7, 8)
-
-
9. A circuit comprising:
-
a plurality of clock domains, wherein each of the plurality of clock domains is coupled to another of the plurality of clock domains via a test path and is configured to receive a respective functional data signal and a respective clock signal and wherein each of the plurality of clock domains comprises;
a test clock input for receiving a test clock;
a test data input for receiving test data;
a test data output for producing output data; and
a test selection input for enabling a test mode; and
a plurality of inter-domain test latches arranged in the test path, wherein each of the plurality of inter-domain test latches is configured to pass data when the test clock is in a first state and configured to hold data when the test clock is in a second state. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A method of testing a circuit comprising a plurality of clock domains each configured to receive a respective clock signal, wherein the circuit is configured to operate in a test mode when a test mode signal is asserted and configured to operate in a functional mode when the test mode signal is de-asserted comprising:
-
executing a first shift cycle in the circuit, wherein executing the shift cycle comprises;
asserting a test mode signal, wherein assertion of the test mode signal configures a first edge-triggered device to receive test data from a test data input and configures each of a plurality of second edge-triggered devices in the system to receive data serially from a respective one of the first and the plurality of second edge-triggered devices;
de-asserting the respective clock signals to each of the respective clock domains;
simultaneously asserting each of the respective clock signals to shift the test data into the first edge-triggered device; and
de-asserting the test mode signal, such that the circuit operates in the functional mode; and
executing a sample cycle in the circuit, wherein executing the sample cycle comprises;
de-asserting each of the respective clock signals;
delivering test data to the first edge-triggered device;
de-asserting the test mode signal, thereby placing the circuit in the functional mode;
delivering test data to the first edge-triggered device and each of the plurality of second edge-triggered devices;
asserting the test clock to hold data on an output of each of the plurality of latches and at an input of each of the plurality of second edge-triggered devices; and
simultaneously asserting each of the respective clock signals. - View Dependent Claims (17, 18)
-
-
19. A circuit comprising:
-
a first clock domain comprising;
a first edge triggered memory device configured to receive a first data input signal, and configured to produce a first output signal in response to a first clock signal; and
a first latch configured to receive the first output signal from the first edge triggered memory device and configured to produce a second output signal in response to a test clock signal;
a second clock domain configured to receive the second output signal from the first clock domain and comprising;
a second edge triggered memory device configured to receive a second data input signal, and configured to produce a third output signal in response to a second clock signal; and
a second latch configured to receive the third output signal from the second edge triggered memory device and configured to produce a fourth output signal in response to the test clock signal, wherein the second clock domain is configured to receive the second output signal from the first latch at a multiplexor. - View Dependent Claims (20, 21, 22, 23, 24, 25)
-
Specification