About Scan D Flip Flops
About Scan D Flip Flops
Digital Assignment - 2
Analysis and Design of Low Power Scan D Flip Flop Based on Positive Edge
Trigger
Question 1:
Explain how the selected paper related to COA syllabus/curriculum.
A flip flop is an electronic circuit with two stable states that can be used to store
binary data. The stored data can be changed by applying varying inputs.
Flip-flops and latches are fundamental building blocks of digital electronics
systems used in computers, communications, and many other types of systems.
Flip-flops and latches are used as data storage elements.
It is the basic storage element in sequential logic.
D Flip Flop:
Clock D Q Q’
↓»0 0 0 1
↑»1 0 0 1
↓»0 1 0 1
↑»1 1 1 0
In a D flip flop, the output can be only changed at the clock edge, and if the
input changes at other times, the output will be unaffected.
The change of state of the output is dependent on the rising edge of the clock.
The output (Q) is same as the input and can only change at the rising edge of the
clock.
Question 2.
Draw the Existing architectures discussed in the paper using Microsoft VISIO
and Adobe Photoshop software in Encapsulated PostScript (EPS) file format.
Scan-D Flip Flop:
Clocked Scan:
LSSD:
MUX-DFF:
DFT Advisor, the Mentor Graphics internal scan synthesis tool, supports the
insertion of mux-DFF (mux-scan), clocked-scan, and LSSD architectures.
Additionally, DFT Advisor supports all standard scan types or combinations
therefore, in designs containing pre-existing scan circuitry. You can use the
type of scan architecture you want inserted in your design. Each scan style
provides different benefits. Mux-DFF or clocked-scan are generally the best
choice for designs with edge-triggered flip-flops. Additionally, clocked-scan
ensures data hold for non-scan cells during scan loading. LSSD is most
effective on latch-based designs. The following subsections detail the mux-
DFF, clocked-scan, and LSSD architectures.
Clocked-Scan:
operation, the system clock (sys_clk) clocks system data (data) into the circuit
and through to the output (Q). In scan mode, the scan clock (sc_clk) clocks
scan input data (sc_in) into the circuit and through to the output (sc_out).
In normal mode, the master latch captures system data (data) using the
system clock (sys_clk) and sends it to the normal system output (Q). In test
mode, the two clocks (Aclk and Bclk) trigger the shifting of test data through
both master and slave latches to the scan output (sc_out). There are several
varieties of the LSSD architecture, including single latch, double latch, and
clocked LSSD.
MUX-DFF:
A mux-DFF cell contains a single D flip-flop with a multiplexed input line that
allows selection of either normal system data or scan data. In normal
operation (sc_en = 0), system data passes through the multiplexer to the D
input of the flip-flop, and then to the output Q. In scan mode (sc_en = 1), scan
input data (sc_in) passes to the flip-flop, and then to the scan output
(sc_out).
Question 7. List the advantage of the proposed design over existing design.
Adding more features into a single chip also increases the complexity which
demands highly testable circuitries.
During the test mode a known set of test vectors are loaded into the scan
chain to test the combinational logic between pipeline stages.
If there was no scan chain in the circuit the entire chip would have had to run
for multiple cycles to send the test results to the chip boundary.
Stitching flops makes it possible to serialize the test results and send them
through the scan chain.
An important FLIP FLOP function for ASIC testing is called SCAN capability.
The idea is to be able to drive the FLIP FLOPs.
D input with an alternate source of the data during drive testing. When all
the flip flops put into the testing mode, a test pattern can be scanned in to
the ASIC using the flip flops alternative data inputs. After the test pattern is
loaded, the flip-flops are put back into normal mode, and all of the flip flops
are clocked normally.
After one or more clock ticks, the flip-flops are back into test mode and the
test result are “scanned out”.
In scan architectures the scan MUX-DFF is easy to test the circuit compare to the
other two architectures. This is due to the reason that the scan MUX-DFF
contains only one clock, but Clocked-scan contains two clocks.
The LSSD is level sensitive, if any change in the transition the circuit output will
change. The circuit complexity also less compare to the Clocked-scan and LSSD.
So, Scan MUX-DFF is better than the other architectures and the designs.
Question 8. List the merits and demerits of the proposed and existing
techniques/hardware.
Merits of MUX-DFF are
Merits of LSSD:
1) Correct operation independent of AC charactristics is guaranteed.
2) FSM is reduced to combinational lofic as far as testing is concerned.
3) Hazards and races are eliminated, which simplifies test generation and
fault simulation.
Demerits of LSSD:
1) If the path is a critical timing path, performance of the whole system is
affected.
2) When Compared to some other DFT techniques, scan chain takes very
long.
3) Shifting test vectors and result vectors out takes a large fraction of the
test time, so the system cannot be tested at full operational speed.
4) Complex Design.
5) Asynchronous designs are not allowed in this approach.
6) Not good for memory intensive designs.