It looks like you're new here. If you want to get involved, click one of these buttons!
Hi, Matthias,
in the following thread,
http://klayout.de/forum/comments.php?DiscussionID=36&page=1#Item_2
I have seen you talking about "properties". Am I correct that this applies to the GDS format?
I tried to attach user properties to instance objects in the layout and saving it as both GDS and GDS Text but these properties don't seem to be preserved.
Am I missing something? Do you know where I can get an exhaustive specification of the GDS format?
Thanks!
Comments
Hi,
use of properties is somewhat restricted within GDS. GDS only allows numeric property "names". In the user properties dialog you have to enter "#xy" for such names. A value of "17" for example is taken as a string and won't be written to GDS. If you follow the "See here for details" link you will find some more details about that notation.
If you use numbers for property names, KLayout should write these properties as expected.
Matthias
Thanks for the hint.
In the (partially incomplete) GDSII format documents I have found, it says that you can have only something around 127 user properties and each one can only be 126 characters long at maximum.
Since this is rather restrictive, I think I wouldn't use that, then.
If you come across any good GDS format reference, you would make me happy if you let me know about it.
Thank you!
Hi,
I don't think there is something like the "GDS standard". The binary syntax of the format is more or less fixed, but the GDS implementations differ in the limitations they impose. Here is an (incomplete) list of aspects that various implementations differ in:
As a rule of thumb, more recent tools have less restrictions. There are some exotic records defined for GDS which are gracefully ignored by most tools. Some extensions are proposed, i.e. the multi-XY polygons which allow bigger polygons to be represented by BOUNDARY.
I hope that leads somewhat further. Speaking of public documentation: These findings are not scientific, so they won't survive Wikipedia's review frenzy. Once my site grows popular enough, I am going to put this there and cite myself :-)
Matthias