Logic Design For Single On-Chip Test Clock Generation For N Clock Domain - Impact On SOC Area and Test Quality
Logic Design For Single On-Chip Test Clock Generation For N Clock Domain - Impact On SOC Area and Test Quality
and Communication Technology (IJRECT 2016) Vol. 3, Issue 3 July - Sept. 2016 ISSN : 2349 - 3143 (Print)
Abstract
This paper proposes a design technique for single On-Chip test Clock (OCC) generation logic to use multiple clock domain, to
reduce significant area overhead of using multiple OCC. It reduces test vector count and increases test quality that is discussed
with ATPG results. The area comparison data reported in this work shows that almost 50% to 70% area overhead reduced by the
proposed OCC than using regular OCC for N clock domains. The proposed design techniques are easy to implement with any kind
of existing OCC structure.
Keywords
DFT-Design For Testability, OCC, SOC-System On Chip, Area Reduction, ATPG (Automatic Test Pattern Generation)
Test clock staggering approach reduces the test pattern count which scan_clk Q0 Qn-2 Qn-1
Q3 Qn
Q4
sync_flop
increases the test quality [9-11]. The proposed OCC generates
0
the test clock in staggered manner for transition and stuck-at test,
which are discussed in the upcoming sections.
1
The paper is structured as follows; the next section discusses TFT
the logic design of OCC used for per clock domain and the area pll_clk_en
consumption. Section three addresses implementation details of pll_clk CG 0
PLL
the OCC for N clock domain and area comparison. Three pulse cg_out
clk_out
discusses the transition test and stuck-at test generation with ATPG
results. Finally, the work is concluded in sixth section.
Fig. 1: Regular OCC structure
shift register
scan_en To counter clk input
scan_clk Q0 Qn-2 Qn-1 Qn
TFT
pll_clk_en
pll_clk1
pll_clk2 4 pll_clk CG
pll_clk3 4 clk_out1
pll_clk4 cg_out 4 clk_out2
clk_out3
clk_out4
2
2
2-bit counter
From shift register Qn output
scan_en
TFT
pll_clk1
TFT
pll_clk2
TFT
pll_clk3
TFT
pll_clk4
Fig. 2: Regular OCC behaviour - (a) For Transition Test, (b) For TFT
pll_clk_en
Stuck-at Test
cg_out
t2 t4 t6 t8
entire shift-register and Qn-2 is time delay for shifting ‘1’ to flops. (For example, In Table.2 excluding last 4 instances)
Qn-2 bit position. N-1*(2) = Number of 2:1 Mux for pll_clk + 1:2 Demux
4. The behavior of step3 follows for pll_clk3 and pll_clk4. for clk_out
5. Delay timing for all the pll_clk’s in transition test can be log2N = Number of flops in counter
defined as follows,
scan_en low to the launch pulse of pll_clk1 (t1) = (tQn- Tabel 3 : Area Comparison between Regular OCC and Proposed
2)*pll_clk1 OCC for 4 to 32 Clock Domains
scan_en low to the capture pulse of pll_clk1 (t2) = (tQn-
1)*pll_clk1
pll_clk1 capture pulse to pll_clk2 launch pulse (t3) =
(tQn+(Qn-2))*pll_clk2
pll_clk1 capture pulse to pll_clk2 capture pulse (t4) =
(tQn+(Qn-1))*pll_clk2
pll_clk2 capture pulse to pll_clk3 launch pulse (t5) =
(tQn+(Qn-2))*pll_clk3
pll_clk2 capture pulse to pll_clk3 capture pulse (t6) =
(tQn+(Qn-1))*pll_clk3 450
pll_clk3 capture pulse to pll_clk4 launch pulse (t7) = 400
(tQn+(Qn-2))*pll_clk4
Area (# Instance)
350
pll_clk3 capture pulse to pll_clk4 capture pulse (t8) = 300
(tQn+(Qn-1))*pll_clk4 250
6. The capture pulse behavior of the transition test is similar 200
for stuck-at. 150
The area detail of the proposed OCC structure is shown in 100
Table 2. There are 2 Inverters used in the design, where in 50
one at scan_en path and another one at shift-register feedback 0
path. Regular OCC 4 8 16 32
Proposed OCC Number of clock domian
Table 2 : Area Count of Proposed OCC for 4 Clock Domain
Fig. 5: Performance of Proposed OCC than Regular OCC for 4
to 32 Clock Domains
The comparison results are clearly shows that the area of the
proposed OCC structure is reduced 50%, 63%, 69% and 73% than
regular OCC for 4,8,16 and 32 clock domains respectively.
Regular OCC = N * 13
Proposed OCC = 14 + ((N-1)*2) + N + log2n
Where,
N = Number of clock domain
13= Area of regular OCC for one clock domain
14= Number of instances in the proposed OCC excluding 2:1
Mux for clk_out, 2:1 Mux for pll_clk, 1:2 Demux and counter
Author Profile
Ramkumar Balasubramanian working in DFT (Design For
Testability) domain in Altran India Technologies, Bangalore,
India. He received Ph.D degree from VIT University, Vellore in
2014. He completed Master of Engineering in VLSI design, 2006
and Bachelor of Engineering in Electronics & Communication,
2004.