Flip-flop circuit with controllable copying between slave and scan latches
AssigneeHewlett-Packard Company
InventorBulent I. Dervisoglu
Life of this patent
Estimating the term…
Abstract
A scannable flip-flop circuit allows data at its data input or its scan input to be stored in the flip-flop at its data output or shifted out of the flip-flop at its scan output. The flip-flop provides control circuitry for selecting the source of the input data and scan data. Data stored at the flip-flop data output may also be shifted out at the scan output. During scan operations, additional control circuitry allows data stored at the data outputs to be preserved.
Claims19
A scannable flip-flop circuit comprising:
- a master latch circuit responsive to a system clock to latch a first input and responsive to a first scan clock to latch a second input;
- a slave latch circuit responsive to the system clock to latch a value from the master latch;
- a scan latch circuit responsive to a second scan clock to latch a value from the master latch;
- and
- a copying circuit by which one of the slave latch and scan latch receives and latches a value from the other.
A scannable flip-flop circuit comprising:
- a data input at which the flip-flop circuit receives input data;
- a scan input at which the flip-flop circuit receives scan data;
- a data output for holding flip-flop data;
- a scan output for holding flip-flop data;
- and
- a controllable coupling circuit between the data output and the scan output, said coupling circuit being controllable by a control signal, said control signal being switchable between two states, in the first state of the control signal, the coupling circuit coupling the data output to the scan output and in the second state of the control signal, the coupling circuit isolating the data output from the scan output.
A scannable flip-flop circuit comprising:
- three latch circuits, a master latch, a slave latch, and a scan latch, each having a first input and a second input and one output, the inputs of the master latch being two inputs of the flip-flop circuit, the output of the slave latch being an output of the flop-flop circuit, and the output of the scan latch being another output of the flip-flop circuit, said latch circuits being arranged such that the output of the master latch is coupled to one input of each of the slave and scan latches, the output of the slave latch is coupled to the other input of the scan latch, and the output of the scan latch is coupled to the other input of the slave latch;
- control and clock functions for selectively controlling the coupling of the latch circuits;
- such that, in a first mode of operation, wherein a first control signal and a second control signal are enabled, a system clock signal is enabled and a first and second scan clock signals are disabled, data at the first input of the master latch is transferred to and latched into the slave latch and the scan latch by the system clock;
- further such that, in a second mode of operation, wherein the first control signal is enabled, the second control signal is disabled, the system clock signal is enabled, and both scan clock signals are disabled, data at the first input of the master latch is transferred to and latched into only the slave latch by the system clock;
- further such that, in a third mode of operation, wherein the first control signal is disabled, the second control signal is enabled, the system clock signal is disabled, and both scan clock signals are enabled, data at the second flip-flop input is transferred to and latched into the scan latch and the slave latch by a pulse of the first scan clock signal followed by a pulse of the second scan clock signal;
- and
- further such that, in a fourth mode of operation, wherein the first and second control signals are disabled, the system clock signal is disabled, and both scan clock signals are enabled, data at the second flip-flop input is transferred to and latched into only the scan latch by a pulse of the first scan clock signal followed by a pulse of the second scan clock signal.
In a scannable flip-flop circuit comprising a slave latch and a scan latch, both of which receive and latch values from a master latch, a method comprising storing a value in the slave latch through the master latch and shifting the contents of the master latch and the contents of the slave latch out of the flip-flop circuit via the scan latch without affecting the contents of the slave latch.
Dependencies are inferred from the claim text.