1SCAPIN(1) CAO-VLSI Reference Manual SCAPIN(1)
2
3
4
6 scapin - Scan path insertion
7
8
10 This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM
11 team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris,
12 France.
13
14 Web : http://asim.lip6.fr/recherche/alliance/
15 E-mail : alliance-users@asim.lip6.fr
16
18 scapin [-VRB] [-P file] Input_name Path_name Output_name
19
21 SCAPIN is an automatic scan path generator for gate level netlists.
22 SCAPIN inserts a scan path in the netlist Input_name and drives a new
23 netlist Output_name. This scan path contains all registers specified
24 in the file Path_name.path (see below for the exact syntax). SCAPIN
25 adds also 3 new connectors in the netlist: scan_in, scan_out and
26 scan_test in order to control the scan path. Eventually SCAPIN adds an
27 output buffer before the output connector scan_out (option -B).
28
29
31 MBK_WORK_LIB[24m(1)
32 indicates the path to the read/write directory for the ses‐
33 sion.
34
35 MBK_IN_LO[24m(1)
36 indicates the input netlist file format.
37
38 MBK_OUT_LO[24m(1)
39 indicates the output netlist file format.
40
41 SCAPIN_PARAM_NAME
42 indicates the location of a parameter file (with extention
43 .scapin) containing the properties (ports name, models name
44 etc ...) of all cells needed for the scan path insertion.
45 (see below for the exact syntax)
46
47
49 -V Sets verbose mode on. Each step is displayed on the standard
50 output.
51
52 -R All registers of the scan path are replaced by an equivalent
53 scannable register cell (called reg-mux). (With the default
54 option a simple multiplexor is added just before all regis‐
55 ters of the scan path).
56
57 -B Adds an output buffer before the output connector scan_out.
58
59 -P file Specifies a parameter file (with extention .scapin) contain‐
60 ing the properties of all cells needed for the scan path
61 insertion. (see below for the exact syntax)
62
63 # Example of .scapin file
64
65 BEGIN_MUX
66
67 MUX_MODEL mx2_x2
68 MUX_SEL cmd
69 MUX_INPUT_SEL i1
70 MUX_INPUT_NSEL i0
71 MUX_VDD vdd
72 MUX_VSS vss
73 MUX_OUTPUT q
74
75 END_MUX
76
77
78 BEGIN_REG
79
80 REG_MODEL sff1_x4
81 REG_CLK ck
82 REG_INPUT i
83 REG_VDD vdd
84 REG_VSS vss
85 REG_OUTPUT q
86 REG_MUX mx2_x2
87 REG_REG_MUX sff2_x4
88
89 END_REG
90
91
92 BEGIN_REG_MUX
93
94 REG_MUX_MODEL sff2_x4
95 REG_MUX_SEL cmd
96 REG_MUX_INPUT_SEL i1
97 REG_MUX_INPUT_NSEL i0
98 REG_MUX_CLK ck
99 REG_MUX_VDD vdd
100 REG_MUX_VSS vss
101 REG_MUX_OUTPUT q
102 REG_MUX_MUX mx2_x2
103 REG_MUX_REG sff1_x4
104
105 END_REG_MUX
106
107
108 BEGIN_BUF
109
110 BUF_MODEL buf_x2
111 BUF_INPUT i
112 BUF_VDD vdd
113 BUF_VSS vss
114 BUF_OUTPUT q
115
116 END_BUF
117
118
119
120 Path_name Specifies a parameter file (with extention .path) containing
121 an ordered list of all instances (registers) of the scan
122 path. It contains also the name of the 3 connectors scan_in,
123 scan_out and scan_test. (see below for the exact syntax)
124
125 # Example of .path file
126
127 BEGIN_PATH_REG
128
129 cs_0
130 cs_1
131 cs_2
132
133 END_PATH_REG
134
135 BEGIN_CONNECTOR
136
137 SCAN_IN scin
138 SCAN_OUT scout
139 SCAN_TEST test
140
141 END_CONNECTOR
142
143
144
146 MBK_IN_LO(1). MBK_OUT_LO(1). MBK_WORK_LIB(1).
147
148
149
150
151
152ASIM/LIP6 Juin 29, 2000 SCAPIN(1)