File: tech.h

package info (click to toggle)
graywolf 0.1.6-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 6,424 kB
  • sloc: ansic: 84,358; sh: 216; awk: 36; makefile: 22
file content (54 lines) | stat: -rw-r--r-- 1,243 bytes parent folder | download | duplicates (2)
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
/* ----------------------------------------------------------------- 
FILE:	    tech.h                                       
DESCRIPTION:include file for technology lookup.
DATE:	    Oct 13, 1990 
REVISIONS:  
----------------------------------------------------------------- */
#ifndef YTECH_H
#define YTECH_H


#include <yalecad/base.h>

#define TECH_CHARACTERISTIC	(DOUBLE) 1000.0

#define LAYER1		"layer1"
#define LAYER2		"layer2"
#define LAYER3		"layer3"
#define VIA1_2		"via1/2"
#define VIA2_3		"via2/3"


extern void Ytech_init( P1(char *designName ) ) ;
/*
Function:
    Read a technology file for a given design.  Must be called 
    first before using other technology functions.
*/


extern INT Ytech_spacing( P2(char *object1, char *object2 ) ) ;
/*
Function:
    Returns the spacing between the two given objects.
    If it does not exist it defaults to zero.
*/

extern INT Ytech_width( P1(char *object) ) ;
/*
Function:
    Returns the width of the given object.
    If it does not exist it defaults to zero.
*/

extern INT Ytech_pitch( P1(char *object) ) ;
/*
Function:
    Convenience function that returns the pitch of a given object.
    It returns the sum of width and spacing for that object.
*/

#endif /* YTECH_H */