TXL / LTXT Pattern Data Format Reference



List of Statements:

TEXTLIB 9.0.0
UNIT unit
RESOLVE dbunit
B x,y x2,y2 x3,y3 [...] ENDB
C radius center_x,center_y [ start_angle end_angle num_points ] ENDC
CP radius center_x,center_y [ start_angle end_angle num_points ] ENDCP
P x,y x2,y2 x3,y3 [...] ENDP
SREF sname x,y
AREF sname (x,y) col_ct (col_incr_x, col_incr_y) row_ct (row_incr_x, row_incr_y)
STRUCT sname
ENDSTRUCT
! comment
LAYER layer_number
DATATYPE datatype_number
ANGLE degrees
MAG scale_factor
WIDTH width


Format Details

Header:

TEXTLIB 9.0.0
UNIT MICRON
RESOLVE 0.001
BEGLIB

UNIT is one of: NM, UM, MICRON, MM, METER, MIL, INCH
RESOLVE is db unit, in UNITs.

Footer:

ENDLIB

Comments after an exclamation point “!”


PATH - options: PR = round end
CIRCLEPATH options: CPE = extended end, and CPR = round end

Statement Examples


TEXTLIB 9.0.0
UNIT MICRON
RESOLVE 0.001
BEGLIB
!
STRUCT boundary
LAYER 2
DATATYPE 0
B -5.000,-5.000 5.000,-5.000 5.000,5.000 -5.000,5.000 ENDB
C 5.000 -200.000,0.000 (0.000 75.000 5) ENDC
WIDTH 1
CP 15 100,0 0 270 ENDCP
CPE 15 150,0 0 180 40 ENDCP
CPR 15 200,0 0 180 20 ENDCP

ENDSTRUCT
!
STRUCT extended_path
LAYER 1
DATATYPE 2
WIDTH 1.000
P 0.000,0.000 10.000,0.000 ENDP
PR 0.000,5.000 10.000,5.000 ENDP
ENDSTRUCT
!
STRUCT rev_boundary
SREF boundary -175.000,-200.000
ENDSTRUCT
!
STRUCT arrayed_boundary
LAYER 10
DATATYPE 1
AREF boundary (-200.000,-100.000) 5 (15.000,0.000) 3 (0.000,15.000)
ENDSTRUCT
!
ANGLE 45
MAG 1.5
LAYER 100
DATATYPE 22
WIDTH 3.5
!
ENDLIB




Complete Examples


Example 1 - A hexagonal array.