The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
gds2{600
m=1999-08-11 13:09:15 a=1999-09-15 11:34:10
lib 'testlib' 0.001 1e-9
# lines above need to stay as is (read by other tools)
# http://sourceforge.net/projects/gds2/
# Key: <required> [optional]
# File format:
# gds2{<ver>
# m=<modificationTimeStamp> a=<accessTimeStamp>
# lib '<libName>' <userUnits> <dataUnits>
# <cellDefine>
# }
# - - - - -
# cellDefine is one of more of:
# cell {c=<creationTimeStamp> m=<modificationTimeStamp> '<cellName>'
# <cellStuff>*
# }
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
## <cellStuff>
# cellStuff is one or more of:
# boundary:
# b{<layer> [dt<dataType>] xy(<xyList>) [property]*}
#
# path:
# p{<layer> [dt<dataType>] [pt<pathType>] [w<real>] [bx<real>] [ex<real>] xy(<xyList>) [property]*}
#
# text:
# t{<layer> [tt<textType>] [f<fontType>] [<textJust>] [pt<pathType>] [fx] [w<real>] [m<magification>] [a<angle>] xy(<xyList>) <'text'> [property]*}
#
# sref:
# s{<'cellName'> [fx] [a<angle>] xy(<xyList>) [property]*}
#
# aref:
# a{<'cellName'> [fx] [a<angle>] cr(<columns> <rows>) xy(<xyList>) [property]*}
#   aref xyList: 1st coord: origin, 2nd coord: X of col * xSpacing + origin, 3rd coord: Y of row * ySpacing + origin
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# property : pr{<propAttr> <'propValue'>}
# <text> : ASCII String
# <textJust> : two letter combination of bmt (bottom,middle,top) and rcl (right,center,left) e.g. bl (default is tl)
# <propAttr> : a 2 byte (small) integer
# <propValue> : ASCII String
#
#     _____
#    |    a0      x_________        a180    | x             a270
#    |--                |   |               |        |
#    |                      |             --|        |___|______
#  x |                  a90            _____|                   x
#
#                   fx a90             _____          __________x
#  x |    fx                |               |        |   |
#    |            ______|___|             --|        |
#    |--          x              fx a180    |            fx a270
#    |_____                                 | x
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# # as first character on a line is a comment
cell{c=1998-08-17 14:31:10 m=1998-08-17 14:33:47 'test'
b{6 xy(1.1 4.2 1.1 1.15 3.9 1.15 3.9 4.2)}
s{'testcell' xy(2.5 37.125)}
s{'testcell' fx xy(12.5 37.125)}
s{'testcell2' xy(112.5 37.125)}
}
cell{c=1999-04-20 14:41:04 m=1999-04-22 16:50:39 'testcell'
b{40 xy(0.9 0.9 0 0.9 0 0 0.9 0)}
}
cell{c=1999-08-11 13:00:49 m=1999-08-11 13:00:49 'testcell2'
b{18 xy(-0.3 -0.3 4.7 -0.3 4.7 0.3 -0.3 0.3)}
p{16 pt2 xy(-0.425 -0.1 -0.425 -0.425 4.825 -0.425 4.825 0.425 -0.425 0.425 -0.425 0.1)}
t{59 bl m0.1 xy(89.1 0.9) 'VDD:P'}
t{59 bl m0.1 xy(84.6 0.9) 'IREF'}
t{59 br fx m0.1 a90 xy(80.1 0.9) 'IBIAS'}
}
}