blob: 469305010b3ded901e1ab9919a5bb53a53bffacd (
plain)
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
|
/*--------------------------------------------------------------*/
/* qconfig.h -- general purpose autorouter */
/* configuration file read/writer */
/*--------------------------------------------------------------*/
/* Written by Steve Beccue, 2003 */
/*--------------------------------------------------------------*/
/* Modified by Tim Edwards, June 2011, to separate Pitch */
/* information in X and Y dimensions. */
/*--------------------------------------------------------------*/
#ifndef QCONFIG_H
extern int Num_layers;
extern double PathWidth[MAX_LAYERS]; // width of the paths
extern int GDSLayer[MAX_LAYERS]; // GDS layer number
extern int GDSCommentLayer; // for dummy wires, etc.
extern char CIFLayer[MAX_LAYERS][50]; // CIF layer name
extern double PitchX[MAX_LAYERS]; // horizontal wire pitch of layer
extern double PitchY[MAX_LAYERS]; // vertical wire pitch of layer
extern int NumChannelsX[MAX_LAYERS];
extern int NumChannelsY[MAX_LAYERS];
extern int Vert[MAX_LAYERS]; // 1 if verticle, 0 if horizontal
extern int Numpasses; // number of times to iterate in route_segs
extern char StackedContacts; // Number of vias that can be stacked together
extern char ViaPattern; // Type of via patterning to use
extern double Xlowerbound; // Bounding Box of routes
extern double Xupperbound;
extern double Ylowerbound;
extern double Yupperbound;
extern int SegCost;
extern int ViaCost;
extern int JogCost;
extern int XverCost;
extern int BlockCost;
extern int OffsetCost;
extern int ConflictCost;
extern char *ViaX[MAX_LAYERS];
extern char *ViaY[MAX_LAYERS];
int read_config(FILE *configfileptr, int is_info);
void post_config(void);
#define QCONFIG_H
#endif
/* end of qconfig.h */
|