Adding new layers.

This commit is contained in:
Franck Wajsburt 2003-10-02 10:13:12 +00:00
parent f8d13777ed
commit ec7aad2222
1 changed files with 258 additions and 153 deletions

View File

@ -82,76 +82,133 @@
# define RDS_LAYER_NWELL 0
# define RDS_LAYER_PWELL 1
# define RDS_LAYER_NIMP 2
# define RDS_LAYER_PIMP 3
# define RDS_LAYER_ACTIV 4
# define RDS_LAYER_NDIF 5
# define RDS_LAYER_PDIF 6
# define RDS_LAYER_NTIE 7
# define RDS_LAYER_PTIE 8
# define RDS_LAYER_POLY 9
# define RDS_LAYER_GATE 10
# define RDS_LAYER_VPOLY 11
# define RDS_LAYER_TPOLY 12
# define RDS_LAYER_POLY2 13
# define RDS_LAYER_CONT 14
# define RDS_LAYER_TPOLY2 15
# define RDS_LAYER_TCONT 16
# define RDS_LAYER_CONT2 17
# define RDS_LAYER_ALU1 18
# define RDS_LAYER_VALU1 19
# define RDS_LAYER_TALU1 20
# define RDS_LAYER_VIA1 21
# define RDS_LAYER_TVIA1 22
# define RDS_LAYER_ALU2 23
# define RDS_LAYER_VALU2 24
# define RDS_LAYER_TALU2 25
# define RDS_LAYER_VIA2 26
# define RDS_LAYER_TVIA2 27
# define RDS_LAYER_ALU3 28
# define RDS_LAYER_VALU3 29
# define RDS_LAYER_TALU3 30
# define RDS_LAYER_VIA3 31
# define RDS_LAYER_TVIA3 32
# define RDS_LAYER_ALU4 33
# define RDS_LAYER_VALU4 34
# define RDS_LAYER_TALU4 35
# define RDS_LAYER_VIA4 36
# define RDS_LAYER_TVIA4 37
# define RDS_LAYER_ALU5 38
# define RDS_LAYER_VALU5 39
# define RDS_LAYER_TALU5 40
# define RDS_LAYER_VIA5 41
# define RDS_LAYER_TVIA5 42
# define RDS_LAYER_ALU6 43
# define RDS_LAYER_VALU6 44
# define RDS_LAYER_TALU6 45
# define RDS_LAYER_VIA6 46
# define RDS_LAYER_TVIA6 47
# define RDS_LAYER_ALU7 48
# define RDS_LAYER_VALU7 49
# define RDS_LAYER_TALU7 50
# define RDS_LAYER_VIA7 51
# define RDS_LAYER_TVIA7 52
# define RDS_LAYER_ALU8 53
# define RDS_LAYER_VALU8 54
# define RDS_LAYER_TALU8 55
# define RDS_LAYER_VIA8 56
# define RDS_LAYER_TVIA8 57
# define RDS_LAYER_ALU9 58
# define RDS_LAYER_CPAS 59
# define RDS_LAYER_REF 60
# define RDS_LAYER_USER0 61
# define RDS_LAYER_USER1 62
# define RDS_LAYER_USER2 63
# define RDS_LAYER_USER3 64
# define RDS_LAYER_USER4 65
# define RDS_LAYER_USER5 66
# define RDS_LAYER_USER6 67
# define RDS_LAYER_USER7 68
# define RDS_LAYER_USER8 69
# define RDS_LAYER_USER9 70
# define RDS_LAYER_ABOX 71
# define RDS_LAYER_RADJ0 2
# define RDS_LAYER_RADJ1 3
# define RDS_LAYER_RADJ2 4
# define RDS_LAYER_RADJ3 5
# define RDS_LAYER_RADJ4 6
# define RDS_LAYER_LADJ0 7
# define RDS_LAYER_LADJ1 8
# define RDS_LAYER_LADJ2 9
# define RDS_LAYER_LADJ3 10
# define RDS_LAYER_LADJ4 11
# define RDS_LAYER_CADJ0 12
# define RDS_LAYER_CADJ1 13
# define RDS_LAYER_CADJ2 14
# define RDS_LAYER_CADJ3 15
# define RDS_LAYER_CADJ4 16
# define RDS_LAYER_NADJ0 17
# define RDS_LAYER_NADJ1 18
# define RDS_LAYER_NADJ2 19
# define RDS_LAYER_NADJ3 20
# define RDS_LAYER_NADJ4 21
# define RDS_LAYER_PADJ0 22
# define RDS_LAYER_PADJ1 23
# define RDS_LAYER_PADJ2 24
# define RDS_LAYER_PADJ3 25
# define RDS_LAYER_PADJ4 26
# define RDS_LAYER_TADJ0 27
# define RDS_LAYER_TADJ1 28
# define RDS_LAYER_TADJ2 29
# define RDS_LAYER_TADJ3 30
# define RDS_LAYER_TADJ4 31
# define RDS_LAYER_NISO 32
# define RDS_LAYER_SIPROT 33
# define RDS_LAYER_NIMP 34
# define RDS_LAYER_PIMP 35
# define RDS_LAYER_ACTIV 36
# define RDS_LAYER_NDIF 37
# define RDS_LAYER_PDIF 38
# define RDS_LAYER_NTIE 39
# define RDS_LAYER_PTIE 40
# define RDS_LAYER_POLY 41
# define RDS_LAYER_GATE 42
# define RDS_LAYER_VPOLY 43
# define RDS_LAYER_TPOLY 44
# define RDS_LAYER_POLY2 45
# define RDS_LAYER_CONT 46
# define RDS_LAYER_TPOLY2 47
# define RDS_LAYER_TCONT 48
# define RDS_LAYER_CONT2 49
# define RDS_LAYER_OBS0 50
# define RDS_LAYER_ALU1 51
# define RDS_LAYER_VALU1 52
# define RDS_LAYER_TALU1 53
# define RDS_LAYER_VIA1 54
# define RDS_LAYER_TVIA1 55
# define RDS_LAYER_OBS1 56
# define RDS_LAYER_ALU2 57
# define RDS_LAYER_VALU2 58
# define RDS_LAYER_TALU2 59
# define RDS_LAYER_VIA2 60
# define RDS_LAYER_TVIA2 61
# define RDS_LAYER_OBS2 62
# define RDS_LAYER_ALU3 63
# define RDS_LAYER_VALU3 64
# define RDS_LAYER_TALU3 65
# define RDS_LAYER_VIA3 66
# define RDS_LAYER_TVIA3 67
# define RDS_LAYER_OBS3 68
# define RDS_LAYER_ALU4 69
# define RDS_LAYER_VALU4 70
# define RDS_LAYER_TALU4 71
# define RDS_LAYER_VIA4 72
# define RDS_LAYER_TVIA4 73
# define RDS_LAYER_OBS4 74
# define RDS_LAYER_ALU5 75
# define RDS_LAYER_VALU5 76
# define RDS_LAYER_TALU5 77
# define RDS_LAYER_VIA5 78
# define RDS_LAYER_TVIA5 79
# define RDS_LAYER_OBS5 80
# define RDS_LAYER_ALU6 81
# define RDS_LAYER_VALU6 82
# define RDS_LAYER_TALU6 83
# define RDS_LAYER_VIA6 84
# define RDS_LAYER_TVIA6 85
# define RDS_LAYER_OBS6 86
# define RDS_LAYER_ALU7 87
# define RDS_LAYER_VALU7 88
# define RDS_LAYER_TALU7 89
# define RDS_LAYER_VIA7 90
# define RDS_LAYER_TVIA7 91
# define RDS_LAYER_OBS7 92
# define RDS_LAYER_ALU8 93
# define RDS_LAYER_VALU8 94
# define RDS_LAYER_TALU8 95
# define RDS_LAYER_VIA8 96
# define RDS_LAYER_TVIA8 97
# define RDS_LAYER_OBS8 98
# define RDS_LAYER_ALU9 99
# define RDS_LAYER_OBS9 100
# define RDS_LAYER_DEF0 101
# define RDS_LAYER_DEF1 102
# define RDS_LAYER_DEF2 103
# define RDS_LAYER_DEF3 104
# define RDS_LAYER_DEF4 105
# define RDS_LAYER_DEF5 106
# define RDS_LAYER_DEF6 107
# define RDS_LAYER_DEF7 108
# define RDS_LAYER_DEF8 109
# define RDS_LAYER_DEF9 110
# define RDS_LAYER_CBOTALU 111
# define RDS_LAYER_ALUCAP 112
# define RDS_LAYER_TOPCAP 113
# define RDS_LAYER_BOTCAP 114
# define RDS_LAYER_VIACAP 115
# define RDS_LAYER_CPAS 116
# define RDS_LAYER_REF 117
# define RDS_LAYER_USER0 118
# define RDS_LAYER_USER1 119
# define RDS_LAYER_USER2 120
# define RDS_LAYER_USER3 121
# define RDS_LAYER_USER4 122
# define RDS_LAYER_USER5 123
# define RDS_LAYER_USER6 124
# define RDS_LAYER_USER7 125
# define RDS_LAYER_USER8 126
# define RDS_LAYER_USER9 127
# define RDS_LAYER_ABOX 128
# define RDS_ALL_LAYER ( RDS_LAYER_ABOX + 1 )
@ -165,6 +222,38 @@
# define RDS_NWELL RDS_DYNAMIC_LAYER[ RDS_LAYER_NWELL ]
# define RDS_PWELL RDS_DYNAMIC_LAYER[ RDS_LAYER_PWELL ]
# define RDS_RADJ0 RDS_DYNAMIC_LAYER[ RDS_LAYER_RADJ0 ]
# define RDS_RADJ1 RDS_DYNAMIC_LAYER[ RDS_LAYER_RADJ1 ]
# define RDS_RADJ2 RDS_DYNAMIC_LAYER[ RDS_LAYER_RADJ2 ]
# define RDS_RADJ3 RDS_DYNAMIC_LAYER[ RDS_LAYER_RADJ3 ]
# define RDS_RADJ4 RDS_DYNAMIC_LAYER[ RDS_LAYER_RADJ4 ]
# define RDS_LADJ0 RDS_DYNAMIC_LAYER[ RDS_LAYER_LADJ0 ]
# define RDS_LADJ1 RDS_DYNAMIC_LAYER[ RDS_LAYER_LADJ1 ]
# define RDS_LADJ2 RDS_DYNAMIC_LAYER[ RDS_LAYER_LADJ2 ]
# define RDS_LADJ3 RDS_DYNAMIC_LAYER[ RDS_LAYER_LADJ3 ]
# define RDS_LADJ4 RDS_DYNAMIC_LAYER[ RDS_LAYER_LADJ4 ]
# define RDS_CADJ0 RDS_DYNAMIC_LAYER[ RDS_LAYER_CADJ0 ]
# define RDS_CADJ1 RDS_DYNAMIC_LAYER[ RDS_LAYER_CADJ1 ]
# define RDS_CADJ2 RDS_DYNAMIC_LAYER[ RDS_LAYER_CADJ2 ]
# define RDS_CADJ3 RDS_DYNAMIC_LAYER[ RDS_LAYER_CADJ3 ]
# define RDS_CADJ4 RDS_DYNAMIC_LAYER[ RDS_LAYER_CADJ4 ]
# define RDS_NADJ0 RDS_DYNAMIC_LAYER[ RDS_LAYER_NADJ0 ]
# define RDS_NADJ1 RDS_DYNAMIC_LAYER[ RDS_LAYER_NADJ1 ]
# define RDS_NADJ2 RDS_DYNAMIC_LAYER[ RDS_LAYER_NADJ2 ]
# define RDS_NADJ3 RDS_DYNAMIC_LAYER[ RDS_LAYER_NADJ3 ]
# define RDS_NADJ4 RDS_DYNAMIC_LAYER[ RDS_LAYER_NADJ4 ]
# define RDS_PADJ0 RDS_DYNAMIC_LAYER[ RDS_LAYER_PADJ0 ]
# define RDS_PADJ1 RDS_DYNAMIC_LAYER[ RDS_LAYER_PADJ1 ]
# define RDS_PADJ2 RDS_DYNAMIC_LAYER[ RDS_LAYER_PADJ2 ]
# define RDS_PADJ3 RDS_DYNAMIC_LAYER[ RDS_LAYER_PADJ3 ]
# define RDS_PADJ4 RDS_DYNAMIC_LAYER[ RDS_LAYER_PADJ4 ]
# define RDS_TADJ0 RDS_DYNAMIC_LAYER[ RDS_LAYER_TADJ0 ]
# define RDS_TADJ1 RDS_DYNAMIC_LAYER[ RDS_LAYER_TADJ1 ]
# define RDS_TADJ2 RDS_DYNAMIC_LAYER[ RDS_LAYER_TADJ2 ]
# define RDS_TADJ3 RDS_DYNAMIC_LAYER[ RDS_LAYER_TADJ3 ]
# define RDS_TADJ4 RDS_DYNAMIC_LAYER[ RDS_LAYER_TADJ4 ]
# define RDS_NISO RDS_DYNAMIC_LAYER[ RDS_LAYER_NISO ]
# define RDS_SIPROT RDS_DYNAMIC_LAYER[ RDS_LAYER_SIPROT ]
# define RDS_NIMP RDS_DYNAMIC_LAYER[ RDS_LAYER_NIMP ]
# define RDS_PIMP RDS_DYNAMIC_LAYER[ RDS_LAYER_PIMP ]
# define RDS_ACTIV RDS_DYNAMIC_LAYER[ RDS_LAYER_ACTIV ]
@ -177,60 +266,76 @@
# define RDS_VPOLY RDS_DYNAMIC_LAYER[ RDS_LAYER_VPOLY ]
# define RDS_TPOLY RDS_DYNAMIC_LAYER[ RDS_LAYER_TPOLY ]
# define RDS_POLY2 RDS_DYNAMIC_LAYER[ RDS_LAYER_POLY2 ]
# define RDS_TPOLY2 RDS_DYNAMIC_LAYER[ RDS_LAYER_TPOLY2 ]
# define RDS_CONT RDS_DYNAMIC_LAYER[ RDS_LAYER_CONT ]
# define RDS_TPOLY2 RDS_DYNAMIC_LAYER[ RDS_LAYER_TPOLY2 ]
# define RDS_TCONT RDS_DYNAMIC_LAYER[ RDS_LAYER_TCONT ]
# define RDS_CONT2 RDS_DYNAMIC_LAYER[ RDS_LAYER_CONT2 ]
# define RDS_OBS0 RDS_DYNAMIC_LAYER[ RDS_LAYER_OBS0 ]
# define RDS_ALU1 RDS_DYNAMIC_LAYER[ RDS_LAYER_ALU1 ]
# define RDS_VALU1 RDS_DYNAMIC_LAYER[ RDS_LAYER_VALU1 ]
# define RDS_TALU1 RDS_DYNAMIC_LAYER[ RDS_LAYER_TALU1 ]
# define RDS_VIA1 RDS_DYNAMIC_LAYER[ RDS_LAYER_VIA1 ]
# define RDS_TVIA1 RDS_DYNAMIC_LAYER[ RDS_LAYER_TVIA1 ]
# define RDS_OBS1 RDS_DYNAMIC_LAYER[ RDS_LAYER_OBS1 ]
# define RDS_ALU2 RDS_DYNAMIC_LAYER[ RDS_LAYER_ALU2 ]
# define RDS_VALU2 RDS_DYNAMIC_LAYER[ RDS_LAYER_VALU2 ]
# define RDS_TALU2 RDS_DYNAMIC_LAYER[ RDS_LAYER_TALU2 ]
# define RDS_VIA2 RDS_DYNAMIC_LAYER[ RDS_LAYER_VIA2 ]
# define RDS_TVIA2 RDS_DYNAMIC_LAYER[ RDS_LAYER_TVIA2 ]
# define RDS_OBS2 RDS_DYNAMIC_LAYER[ RDS_LAYER_OBS2 ]
# define RDS_ALU3 RDS_DYNAMIC_LAYER[ RDS_LAYER_ALU3 ]
# define RDS_VALU3 RDS_DYNAMIC_LAYER[ RDS_LAYER_VALU3 ]
# define RDS_TALU3 RDS_DYNAMIC_LAYER[ RDS_LAYER_TALU3 ]
# define RDS_VIA3 RDS_DYNAMIC_LAYER[ RDS_LAYER_VIA3 ]
# define RDS_TVIA3 RDS_DYNAMIC_LAYER[ RDS_LAYER_TVIA3 ]
# define RDS_OBS3 RDS_DYNAMIC_LAYER[ RDS_LAYER_OBS3 ]
# define RDS_ALU4 RDS_DYNAMIC_LAYER[ RDS_LAYER_ALU4 ]
# define RDS_VALU4 RDS_DYNAMIC_LAYER[ RDS_LAYER_VALU4 ]
# define RDS_TALU4 RDS_DYNAMIC_LAYER[ RDS_LAYER_TALU4 ]
# define RDS_VIA4 RDS_DYNAMIC_LAYER[ RDS_LAYER_VIA4 ]
# define RDS_TVIA4 RDS_DYNAMIC_LAYER[ RDS_LAYER_TVIA4 ]
# define RDS_OBS4 RDS_DYNAMIC_LAYER[ RDS_LAYER_OBS4 ]
# define RDS_ALU5 RDS_DYNAMIC_LAYER[ RDS_LAYER_ALU5 ]
# define RDS_VALU5 RDS_DYNAMIC_LAYER[ RDS_LAYER_VALU5 ]
# define RDS_TALU5 RDS_DYNAMIC_LAYER[ RDS_LAYER_TALU5 ]
# define RDS_VIA5 RDS_DYNAMIC_LAYER[ RDS_LAYER_VIA5 ]
# define RDS_TVIA5 RDS_DYNAMIC_LAYER[ RDS_LAYER_TVIA5 ]
# define RDS_OBS5 RDS_DYNAMIC_LAYER[ RDS_LAYER_OBS5 ]
# define RDS_ALU6 RDS_DYNAMIC_LAYER[ RDS_LAYER_ALU6 ]
# define RDS_VALU6 RDS_DYNAMIC_LAYER[ RDS_LAYER_VALU6 ]
# define RDS_TALU6 RDS_DYNAMIC_LAYER[ RDS_LAYER_TALU6 ]
# define RDS_VIA6 RDS_DYNAMIC_LAYER[ RDS_LAYER_VIA6 ]
# define RDS_TVIA6 RDS_DYNAMIC_LAYER[ RDS_LAYER_TVIA6 ]
# define RDS_OBS6 RDS_DYNAMIC_LAYER[ RDS_LAYER_OBS6 ]
# define RDS_ALU7 RDS_DYNAMIC_LAYER[ RDS_LAYER_ALU7 ]
# define RDS_VALU7 RDS_DYNAMIC_LAYER[ RDS_LAYER_VALU7 ]
# define RDS_TALU7 RDS_DYNAMIC_LAYER[ RDS_LAYER_TALU7 ]
# define RDS_VIA7 RDS_DYNAMIC_LAYER[ RDS_LAYER_VIA7 ]
# define RDS_TVIA7 RDS_DYNAMIC_LAYER[ RDS_LAYER_TVIA7 ]
# define RDS_OBS7 RDS_DYNAMIC_LAYER[ RDS_LAYER_OBS7 ]
# define RDS_ALU8 RDS_DYNAMIC_LAYER[ RDS_LAYER_ALU8 ]
# define RDS_VALU8 RDS_DYNAMIC_LAYER[ RDS_LAYER_VALU8 ]
# define RDS_TALU8 RDS_DYNAMIC_LAYER[ RDS_LAYER_TALU8 ]
# define RDS_VIA8 RDS_DYNAMIC_LAYER[ RDS_LAYER_VIA8 ]
# define RDS_TVIA8 RDS_DYNAMIC_LAYER[ RDS_LAYER_TVIA8 ]
# define RDS_OBS8 RDS_DYNAMIC_LAYER[ RDS_LAYER_OBS8 ]
# define RDS_ALU9 RDS_DYNAMIC_LAYER[ RDS_LAYER_ALU9 ]
# define RDS_OBS9 RDS_DYNAMIC_LAYER[ RDS_LAYER_OBS9 ]
# define RDS_DEF0 RDS_DYNAMIC_LAYER[ RDS_LAYER_DEF0 ]
# define RDS_DEF1 RDS_DYNAMIC_LAYER[ RDS_LAYER_DEF1 ]
# define RDS_DEF2 RDS_DYNAMIC_LAYER[ RDS_LAYER_DEF2 ]
# define RDS_DEF3 RDS_DYNAMIC_LAYER[ RDS_LAYER_DEF3 ]
# define RDS_DEF4 RDS_DYNAMIC_LAYER[ RDS_LAYER_DEF4 ]
# define RDS_DEF5 RDS_DYNAMIC_LAYER[ RDS_LAYER_DEF5 ]
# define RDS_DEF6 RDS_DYNAMIC_LAYER[ RDS_LAYER_DEF6 ]
# define RDS_DEF7 RDS_DYNAMIC_LAYER[ RDS_LAYER_DEF7 ]
# define RDS_DEF8 RDS_DYNAMIC_LAYER[ RDS_LAYER_DEF8 ]
# define RDS_DEF9 RDS_DYNAMIC_LAYER[ RDS_LAYER_DEF9 ]
# define RDS_CBOTALU RDS_DYNAMIC_LAYER[ RDS_LAYER_CBOTALU ]
# define RDS_ALUCAP RDS_DYNAMIC_LAYER[ RDS_LAYER_ALUCAP ]
# define RDS_TOPCAP RDS_DYNAMIC_LAYER[ RDS_LAYER_TOPCAP ]
# define RDS_BOTCAP RDS_DYNAMIC_LAYER[ RDS_LAYER_BOTCAP ]
# define RDS_VIACAP RDS_DYNAMIC_LAYER[ RDS_LAYER_VIACAP ]
# define RDS_CPAS RDS_DYNAMIC_LAYER[ RDS_LAYER_CPAS ]
# define RDS_REF RDS_DYNAMIC_LAYER[ RDS_LAYER_REF ]
# define RDS_USER0 RDS_DYNAMIC_LAYER[ RDS_LAYER_USER0 ]