This file is indexed.

/etc/xsch.par is in alliance 5.1.1-1.1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
# /*------------------------------------------------------------\
# |                                                             |
# | Title      :       Parameters File for Xsch                 |
# |                                                             |
# | Author     :           Ludovic Jacomme                      |
# |                                                             |
# | Date       :             03.29.2000                         |
# |                                                             |
# \------------------------------------------------------------*/
# /*------------------------------------------------------------\
# |                                                             |
# |                           Unit                              |
# |                                                             |
# \------------------------------------------------------------*/

DEFINE XSCH_UNIT  64

# /*------------------------------------------------------------\
# |                                                             |
# |               Lower Grid Step in pixel by unit              |
# |                                                             |
# \------------------------------------------------------------*/

DEFINE XSCH_LOWER_GRID_STEP 50

# /*------------------------------------------------------------\
# |                                                             |
# |                        Xsch Color                           |
# |                                                             |
# \------------------------------------------------------------*/

DEFINE XSCH_CURSOR_COLOR_NAME      Black
DEFINE XSCH_BACKGROUND_COLOR_NAME  Black
DEFINE XSCH_FOREGROUND_COLOR_NAME  White
DEFINE XSCH_ACCEPT_COLOR_NAME      magenta
DEFINE XSCH_CONNECT_COLOR_NAME     magenta 

# /*------------------------------------------------------------\
# |                                                             |
# |                  Xsch Cursor Size in pixel                  |
# |                                                             |
# \------------------------------------------------------------*/

DEFINE XSCH_CURSOR_SIZE 10 

# /*------------------------------------------------------------\
# |                                                             |
# |                     Xsch Layer Color                        |
# |                                                             |
# \------------------------------------------------------------*/

TABLE XSCH_LAYER_NAME

  0   Gates           cyan              Black      0070ff
  1   Inputs          red               Black      ff0000
  2   Outputs         light_blue        Black      00ff00
  3   Signals         pink              Black      0000ff
  4   Debug           spring_green      Black      00a000
  5   Layer_0         #0000ff           Black      0000ff           
  6   Layer_1         #0020ff           Black      0020ff           
  7   Layer_2         #0040ff           Black      0040ff           
  8   Layer_3         #0060ff           Black      0060ff           
  9   Layer_4         #0080ff           Black      0080ff           
 10   Layer_5         #00a0ff           Black      00a0ff           
 11   Layer_6         #00c0ff           Black      00c0ff           
 12   Layer_7         #00e0ff           Black      00e0ff           
 13   Layer_8         #00ffff           Black      00ffff           
 14   Layer_9         #00ffe0           Black      00ffe0           
 15   Layer_10        #00ffc0           Black      00ffc0           
 16   Layer_11        #00ffa0           Black      00ffa0           
 17   Layer_12        #00ff80           Black      00ff80           
 18   Layer_13        #00ff60           Black      00ff60           
 19   Layer_14        #00ff40           Black      00ff40           
 20   Layer_15        #00ff20           Black      00ff20           
 21   Layer_16        #00ff00           Black      00ff00           
 22   Layer_17        #20ff00           Black      20ff00           
 23   Layer_18        #40ff00           Black      40ff00           
 24   Layer_19        #60ff00           Black      60ff00           
 25   Layer_20        #80ff00           Black      80ff00           
 26   Layer_21        #a0ff00           Black      a0ff00           
 27   Layer_22        #c0ff00           Black      c0ff00           
 28   Layer_23        #e0ff00           Black      e0ff00           
 29   Layer_24        #ffff00           Black      ffff00           
 30   Layer_25        #ffe000           Black      ffe000           
 31   Layer_26        #ffc000           Black      ffc000           
 32   Layer_27        #ffa000           Black      ffa000           
 33   Layer_28        #ff8000           Black      ff8000           
 34   Layer_29        #ff6000           Black      ff6000           
 35   Layer_30        #ff4000           Black      ff4000           
 36   Layer_31        #ff2000           Black      ff2000           
 37   Layer_32        #ff0000           Black      ff0000           

END 

# /*------------------------------------------------------------\
# |                                                             |
# |                     Xsch Icon Cell Buffer                   |
# |                                                             |
# \------------------------------------------------------------*/

TABLE XSCH_ICON_CELL_BUFFER

# model  inputs output not_in not_out

# SXLIB

  buf_x2 i  q 0 0
  buf_x4 i  q 0 0
  buf_x8 i  q 0 0

  inv_x1 i nq 0 1
  inv_x2 i nq 0 1
  inv_x4 i nq 0 1
  inv_x8 i nq 0 1

# SCLIB

  b1_y     i  t 0 0
  d1_y     i  t 0 0
  p1_y     i  t 0 0

  n1_y     i  f 0 1
  np1_y    i  f 0 1
  ndrv_y   i  f 0 1
  ndrvp_y  i  f 0 1

# DP_SXLIB

  dp_rom2_buf i nix 0 1

# RFLIB

   rf_out_buf_2 nck xcks 0 1
   rf_out_buf_4 nck xcks 0 1
   rf_dec_nbuf  i   nq   0 1

END

# /*------------------------------------------------------------\
# |                                                             |
# |                     Xsch Icon Cell And                      |
# |                                                             |
# \------------------------------------------------------------*/

TABLE XSCH_ICON_CELL_AND

# model  inputs output number_in not_in not_out

# SXLIB

  a2_x2   i0,i1         q  2 0 0
  a2_x4   i0,i1         q  2 0 0
  a3_x2   i0,i1,i2      q  3 0 0
  a3_x4   i0,i1,i2      q  3 0 0
  a4_x2   i0,i1,i2,i3   q  4 0 0
  a4_x4   i0,i1,i2,i3   q  4 0 0

  na2_x1   i0,i1        nq  2 0 1
  na2_x4   i0,i1        nq  2 0 1
  na3_x1   i0,i1,i2     nq  3 0 1
  na3_x4   i0,i1,i2     nq  3 0 1
  na4_x1   i0,i1,i2,i3  nq  4 0 1
  na4_x4   i0,i1,i2,i3  nq  4 0 1

  an12_x1  i0,i1         q  2 2 0
  an12_x4  i0,i1         q  2 2 0

# SCLIB

  a2_y     i0,i1         t 2 0 0
  a2p_y    i0,i1         t 2 0 0
  a3_y     i0,i1,i2      t 3 0 0
  a3p_y    i0,i1,i2      t 3 0 0
  a4_y     i0,i1,i2,i3   t 4 0 0
  a4p_y    i0,i1,i2,i3   t 4 0 0

  na2_y    i0,i1         f 2 0 1
  na2p_y   i0,i1         f 2 0 1
  na3_y    i0,i1,i2      f 3 0 1
  na3p_y   i0,i1,i2      f 3 0 1
  na4_y    i0,i1,i2,i3   f 4 0 1
  na4p_y   i0,i1,i2,i3   f 4 0 1

# RFLIB

  rf_dec_nand2 i0,i1       nq 2 0 1
  rf_dec_nand3 i0,i1,i2    nq 3 0 1
  rf_dec_nand4 i0,i1,i2,i3 nq 4 0 1

END

# /*------------------------------------------------------------\
# |                                                             |
# |                     Xsch Icon Cell Or                       |
# |                                                             |
# \------------------------------------------------------------*/

TABLE XSCH_ICON_CELL_OR 

# model  inputs output number_in not_in not_out

# SXLIB

  o2_x2   i0,i1         q  2 0 0
  o2_x4   i0,i1         q  2 0 0
  o3_x2   i0,i1,i2      q  3 0 0
  o3_x4   i0,i1,i2      q  3 0 0
  o4_x2   i0,i1,i2,i3   q  4 0 0
  o4_x4   i0,i1,i2,i3   q  4 0 0

  no2_x1   i0,i1        nq  2 0 1
  no2_x4   i0,i1        nq  2 0 1
  no3_x1   i0,i1,i2     nq  3 0 1
  no3_x4   i0,i1,i2     nq  3 0 1
  no4_x1   i0,i1,i2,i3  nq  4 0 1
  no4_x4   i0,i1,i2,i3  nq  4 0 1

  on12_x1  i0,i1         q  2 2 0
  on12_x4  i0,i1         q  2 2 0

# SCLIB

  o2_y     i0,i1         t 2 0 0
  op2_y    i0,i1         t 2 0 0
  o3_y     i0,i1,i2      t 3 0 0
  op3_y    i0,i1,i2      t 3 0 0

  no2_y    i0,i1         f 2 0 1
  nop2_y   i0,i1         f 2 0 1
  no3_y    i0,i1,i2      f 3 0 1
  nop3_y   i0,i1,i2      f 3 0 1

# RFLIB

  rf_dec_nor3 i0,i1,i2        nq    3 0 1
  rf_fifo_inc ckm,nreset,nval inc   3 1 0

END

# /*------------------------------------------------------------\
# |                                                             |
# |                     Xsch Icon Cell Xor                      |
# |                                                             |
# \------------------------------------------------------------*/

TABLE XSCH_ICON_CELL_XOR 

# model  inputs output number_in not_in not_out

# SXLIB

  xr2_x1    i0,i1         q  2 0 0
  xr2_x4    i0,i1         q  2 0 0

  nxr2_x1   i0,i1        nq  2 0 1
  nxr2_x4   i0,i1        nq  2 0 1

# SCLIB

  xr2_y     i0,i1         t  2 0 0
  nxr2_y    i0,i1         f  2 0 1

END

# /*------------------------------------------------------------\
# |                                                             |
# |                     Xsch Icon Cell Tristate                 |
# |                                                             |
# \------------------------------------------------------------*/

TABLE XSCH_ICON_CELL_TRISTATE 

# model  inputs output not_in not_out

# SXLIB

  nts_x1    cmd,i        nq  0 1
  nts_x2    cmd,i        nq  0 1

  ts_x4     cmd,i         q  0 0
  ts_x8     cmd,i         q  0 0

# SCLIB

  ts_y      v,i           t  0 0
  tsp_y     v,i           t  0 0

  tsn_y     v,i           f  0 1
  
END

# /*------------------------------------------------------------\
# |                                                             |
# |                     Xsch Icon Cell Register                 |
# |                                                             |
# \------------------------------------------------------------*/

TABLE XSCH_ICON_CELL_REGISTER 

# model  inputs output number_in not_in clock_in not_out edge

# SXLIB

  sff1_x4   i,ck                      q 2 0 1  0  1
  sff2_x4   cmd,i0,i1,ck              q 4 0 1  0  1
  sff3_x4   cmd0,cmd1,i0,i1,i2,ck     q 6 0 1  0  1

# SCLIB

  ms_y      i,l                       t 2 0 1  0  2
  msdp2_y   di,ck                     t 2 0 1  0  2
  msdp4_y   di,ck                     t 2 0 1  0  2

  ms2dp2_y  di,si,se,ck               t 4 0 1  0  2
  ms2dp4_y  di,si,se,ck               t 4 0 1  0  2

# RFLIB

  rf_out_mem rbus,xcks          dataout 2 0 1 0 0
  
END

# /*------------------------------------------------------------\
# |                                                             |
# |                     Xsch Icon Cell One                      |
# |                                                             |
# \------------------------------------------------------------*/

TABLE XSCH_ICON_CELL_CONSTANT 

# model  outputs number_out value

# SXLIB
  one_x0    q  1 1
  zero_x0  nq  1 0

# SCLIB
  one_y     t  1 1
  zero_y    f  1 0
  
END

# /*------------------------------------------------------------\
# |                                                             |
# |                     Xsch Icon Cell Or_And                   |
# |                                                             |
# \------------------------------------------------------------*/

TABLE XSCH_ICON_CELL_ORAND 

# model      inputs  output number_in  not_in not_out

# SXLIB

  ao22_x2    i0,i1,i2     q  3          0     0
  ao22_x4    i0,i1,i2     q  3          0     0
  ao2o22_x2  i0,i1,i2,i3  q  4          0     0
  ao2o22_x4  i0,i1,i2,i3  q  4          0     0
                          
  nao22_x1   i0,i1,i2    nq  3          0     1
  nao22_x4   i0,i1,i2    nq  3          0     1
  nao2o22_x1 i0,i1,i2,i3 nq  4          0     1
  nao2o22_x4 i0,i1,i2,i3 nq  4          0     1

# SCLIB

  mx2_y      i0,l0,i1,l1              t  4   0   0
  mx2p_y     i0,l0,i1,l1              t  4   0   0
  mx3_y      i0,l0,i1,l1,i2,l2        t  6   0   0
  mx4_y      i0,l0,i1,l1,i2,l2,i3,l3  t  8   0   0
  nmx2_y     j0,i0,j1,i1              t  4   0   1
  nao3_y     i0,i1,i2                 f  3   0   1

# RFLIB

  rf_dec_nao3 i0,i1,i2               nq  3   0   1
  
END

# /*------------------------------------------------------------\
# |                                                             |
# |                     Xsch Icon Cell And_Or                   |
# |                                                             |
# \------------------------------------------------------------*/

TABLE XSCH_ICON_CELL_ANDOR

# model      inputs  output number_in  not_in   not_out

# SXLIB

  noa22_x1         i0,i1,i2                 nq  3  0 1
  noa22_x4         i0,i1,i2                 nq  3  0 1
  noa2a22_x1       i0,i1,i2,i3              nq  4  0 1
  noa2a22_x4       i0,i1,i2,i3              nq  4  0 1
  noa2a2a23_x1     i0,i1,i2,i3,i4,i5        nq  6  0 1
  noa2a2a23_x4     i0,i1,i2,i3,i4,i5        nq  6  0 1
  noa2a2a2a24_x1   i0,i1,i2,i3,i4,i5,i6,i7  nq  8  0 1
  noa2a2a2a24_x4   i0,i1,i2,i3,i4,i5,i6,i7  nq  8  0 1

  oa22_x2          i0,i1,i2                  q  3  0 0
  oa22_x4          i0,i1,i2                  q  3  0 0
  oa2a22_x2        i0,i1,i2,i3               q  4  0 0
  oa2a22_x4        i0,i1,i2,i3               q  4  0 0
  oa2a2a23_x2      i0,i1,i2,i3,i4,i5         q  6  0 0
  oa2a2a23_x4      i0,i1,i2,i3,i4,i5         q  6  0 0
  oa2a2a2a24_x2    i0,i1,i2,i3,i4,i5,i6,i7   q  8  0 0
  oa2a2a2a24_x4    i0,i1,i2,i3,i4,i5,i6,i7   q  8  0 0


# SCLIB

   noa3_y          i0,i1,i2                  f  3  0 1
   annup_y         i1,i2,i3,i4               f  4  0 1

# RFLIB

   rf_fifo_orand4  a0,b0,a1,b1           rippleout   4  0 0
   rf_fifo_orand5  a0,b0,a1,b1,ripplein  rippleout   5  0 0

END

# /*------------------------------------------------------------\
# |                                                             |
# |                     Xsch Icon Cell Mux                      |
# |                                                             |
# \------------------------------------------------------------*/

TABLE XSCH_ICON_CELL_MUX 

# model  inputs               output number_sel number_in not_in not_out
                              
# SXLIB                       
                              
  mx2_x2 cmd,i0,i1            q      1          2         0      0
  mx2_x4 cmd,i0,i1            q      1          2         0      0
                              
  mx3_x2 cmd0,cmd1,i0,i1,i2   q      2          3         0      0
  mx3_x4 cmd0,cmd1,i0,i1,i2   q      2          3         0      0

  nmx2_x1 cmd,i0,i1          nq      1          2         0      1
  nmx2_x4 cmd,i0,i1          nq      1          2         0      1
                             
  nmx3_x1 cmd0,cmd1,i0,i1,i2 nq      2          3         0      1
  nmx3_x4 cmd0,cmd1,i0,i1,i2 nq      2          3         0      1

# DP_SXLIB

  dp_mux_x2  sel0,sel1,i0,i1  q      2          2         0      0
  dp_mux_x4  sel0,sel1,i0,i1  q      2          2         0      0
  dp_nmux_x1 sel0,sel1,i0,i1 nq      2          2         0      1

# RFLIB

  rf_inmux_mem sel0,sel1,datain0,datain1 dinx 2 2         0      0

END