Presentation | AGDS | CIF | DTR | OPENCHAMS | SPICE | Links & Contact |
The Ascii Graphic Database System (AGDS) format is an ascii (text) version of the wellknown and industry standard GDS II binary format. This format hierarchicaly represents geometric shapes, labels and other layout informations (see http://en.wikipedia.org/wiki/GDSII for more informations).
The ascii format has several advantages versus binary format:
The conversion from Ascii GDS to binary GDS and vice versa can be done with OwlVision GDSII Viewer available at http://owlvision.org
Since it has been developped in java, it can be run on all platforms.
Damien Dupuis: damien.dupuis(at)lip6(.)fr
Currently the only supported shape in this driver is the rectangle.
The database conists in for simple objects :
To drive an AGDS file, user has to create one AGDS::Library and add AGDS::Structure objects to it with the AGDS::Library::addStructure() method. Each AGDS::Structure contains at least one AGDS::Element added with AGDS::Structure::addElement() method.
All objects can be independently created as far as they are correctly added to their parent.
Once the library is completely specified, simply call the AGDS::Library::writeToFile() method to drive the database to file.
As said is the global presentation, VLSI SAPD project provides C++ libraries and Python modules for each supported format. In this section we present two simple code examples to drive a AGDS file using C++ or Python. These two examples drive the same file transistor.agds:
Here is the C++ code (driveAgds.cpp
) used to generate the transistor.agds file. (Source is available in examples directory).
Here is the Python code (driveAgds.py
) used to generate the transistor.agds file. (Source is available in examples directory).
driveAgds.py
script, user must ensure that $PYTHONPATH variable points to the directory containing AGDS.so module. Generated by doxygen 1.8.14 on Sun May 26 2019 | Return to top of page |
VLSI SAPD Documentation | Copyright © 2010 - 2011 UPMC All rights reserved |