xPDK GDS Layer
The typical GDS type of thing, but including some coloring etc. In addition to the basic layer info, there is typical design rule definitions (min/max width, space etc) and derived layers (grow, size, not, xor, …).
Basic definition
<layer name="layer1">
<gds_number>1</gds_number>
<gds_datatype>0</gds_datatype>
<grid>0.001</grid>
<purpose>Waveguide layer</purpose>
<color R="10" G="20" B="30"/>
<visible>true</visible>
<fillstyle>open</fillstyle>
<linestyle>fill</linestyle>
<extend>
<!-- Show extension -->
<myprop>1</myprop>
</extend>
</layer>
name
The
name
must be defined, be unique and be "identifier".