klayout/testdata/oasis/t5.2.ot

43 lines
1.1 KiB
Plaintext
Raw Normal View History

# <test>
# <name>t5.2.ot</name>
# <content-description>A single cell with a single huge polygons</content-description>
# <test-intention>Geometrical objects reader capabilities</test-intention>
# <test-intention>POLYGON record reading</test-intention>
# <test-intention>Polygons with many points</test-intention>
# <content>
# begin_lib 0.001
# begin_cell {ABC}
# boundary 2 3 {-1000 0} {-990 20} {-1000 40} {-990 60} {-1000 80} {-990 100} {-1000 120} ... {-990 159980} {-1000 160000} {0 160000} {0 0} {-1000 0}
# end_cell
# end_lib
# </content>
# </test>
header
real 0 1000.0
uint 0 ;# offset table is in start record
for { set i 0 } { $i < 12 } { incr i } { uint 0 }
# Cell ABC
record CELL_STR
str ABC
record XYABSOLUTE
record POLYGON
bits 00110011 ;# 00PXYRDL
uint 2 ;# layer
uint 3 ;# datatype
uint 4 ;# pointlist: g-delta
uint 8002
uint 4003; int 0
for { set i 0 } { $i < 4000 } { incr i } {
uint 41; int 20
uint 43; int 20
}
uint 4001; int 0
int 0 ;# geometry-x (absolute)
tail