Difference between revisions of "How to GDSII for EBeam"

From Applied Optics Wiki
Jump to: navigation, search
(Created page with "==GDSII== There are a number of different software solutions for producing GDSII files for the EBeam machine. A good free programs is Klayout [http://www.klayout.de/rba_exam...")
 
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==GDSII==
 
==GDSII==
  
There are a number of different software solutions for producing GDSII files for the EBeam machine.
+
There are a number of different software solutions for producing GDSII files for the EBeam machine / Photo Masks.
  
A good free programs is Klayout [http://www.klayout.de/rba_examples.html|see here]. This is unrestricted and has a scripting system based on the Ruby Language.
+
A good free programs is Klayout [http://www.klayout.de/rba_examples.html see here]. This is unrestricted and has a scripting system based on the Ruby Language.
Another popular program is Layout Editor. [http://layouteditor.net/|see here], for simple things the free version of this is fine, but it has limitations on the number of allowed objects. The full version (expensive) is very good with simple and intuitive scripting.
+
Another popular program is Layout Editor. [http://layouteditor.net/ see here], for simple things the free version of this is fine, but it has limitations on the number of allowed objects. The full version (expensive) is very good with simple and intuitive scripting.
  
 
I have recently used a Matlab plug-in to script layouts, which are then viewed with Klayout.
 
I have recently used a Matlab plug-in to script layouts, which are then viewed with Klayout.
The plug in can be found [https://sites.google.com/site/ulfgri/numerical/gdsii-toolbox|here].  
+
The plug in can be found [https://sites.google.com/site/ulfgri/numerical/gdsii-toolbox here] at Ulf's Cyber Attic.  
  
 
== To install ==
 
== To install ==
 
*Extract the zip to where you want the plug in located.
 
*Extract the zip to where you want the plug in located.
*in Matlab move to the path ./Matlab GDSII Toolbox/GDSII Library and run makemex.m
+
*In Matlab move to the path ./Matlab GDSII Toolbox/GDSII Library and run makemex.m
*this will compile the toolbox for your Matlab. This is straightforward in Linux but can be a pain in Windows as there is not a default C compiler for Matlab available. In which case you need to install one, follow Mathworks help pages on this.
+
*This will compile the toolbox for your Matlab. This is straightforward in Linux but can be a pain in Windows as there is not a default C compiler for Matlab available. In which case you need to install one, follow Mathworks help pages on this.
*once installed add the above path and sub folders to your matlab path so the toolbox is available from anywhere and save the path.
+
*Once installed add the above path and sub folders to your matlab path so the toolbox is available from anywhere and save the path.
  
 
==To test==
 
==To test==
*go to ../Matlab GDSII Toolbox/M and GDS files/ and run default.m this should complete and write a default.gds file with two squares in it.
+
*Go to ../Matlab GDSII Toolbox/M and GDS files/ and run default.m this should complete and write a default.gds file with two squares in it.
*load the default.gds in Klayout or Layout Editor to check the design.
+
*Load the default.gds in Klayout or Layout Editor to check the design.
  
 
==Additional help==
 
==Additional help==
*[https://sites.google.com/site/ulfgri/numerical/gdsii-toolbox|here] is the page where the gdsii_dos.zip can be found, this has some documentation and more example files, be warned though that these example seem to be old and don’t always run. it seems some of the function names have changed over time.
+
*[https://sites.google.com/site/ulfgri/numerical/gdsii-toolbox Here] is the page where the gdsii_docs26.zip can be found, this has some documentation and more example files, be warned though that these example seem to be old and don’t always run. It seems some of the function names have changed over time. But you can get some useful tips on how to do things from these.
* I have some examples of text to poly conversion for auto labelling of arrays of structures and am happy to share if they are of use.
+
* I ([[Richard Smith]]) have some examples of text to poly conversion for auto labelling of arrays of structures and am happy to share if they are of use. the examples below show the output of one of my scripts in Klayout (full design and zoom showing labelling).
 +
 
 +
[[File:Test mask.png|500px]]
 +
[[File:Test_mask_zoom.png|500px]]

Latest revision as of 07:45, 21 February 2017

GDSII

There are a number of different software solutions for producing GDSII files for the EBeam machine / Photo Masks.

A good free programs is Klayout see here. This is unrestricted and has a scripting system based on the Ruby Language. Another popular program is Layout Editor. see here, for simple things the free version of this is fine, but it has limitations on the number of allowed objects. The full version (expensive) is very good with simple and intuitive scripting.

I have recently used a Matlab plug-in to script layouts, which are then viewed with Klayout. The plug in can be found here at Ulf's Cyber Attic.

To install

  • Extract the zip to where you want the plug in located.
  • In Matlab move to the path ./Matlab GDSII Toolbox/GDSII Library and run makemex.m
  • This will compile the toolbox for your Matlab. This is straightforward in Linux but can be a pain in Windows as there is not a default C compiler for Matlab available. In which case you need to install one, follow Mathworks help pages on this.
  • Once installed add the above path and sub folders to your matlab path so the toolbox is available from anywhere and save the path.

To test

  • Go to ../Matlab GDSII Toolbox/M and GDS files/ and run default.m this should complete and write a default.gds file with two squares in it.
  • Load the default.gds in Klayout or Layout Editor to check the design.

Additional help

  • Here is the page where the gdsii_docs26.zip can be found, this has some documentation and more example files, be warned though that these example seem to be old and don’t always run. It seems some of the function names have changed over time. But you can get some useful tips on how to do things from these.
  • I (Richard Smith) have some examples of text to poly conversion for auto labelling of arrays of structures and am happy to share if they are of use. the examples below show the output of one of my scripts in Klayout (full design and zoom showing labelling).

Test mask.png Test mask zoom.png