Skip to content

Latest commit

 

History

History
106 lines (56 loc) · 1.35 KB

README.rst

File metadata and controls

106 lines (56 loc) · 1.35 KB

layout2svg

This is a simple tool to convert an integrated circuit layout saved in OASIS / GDSII file format to a .SVG image file. The tool supports direct export of the SVG file into the Inkscape desktop app. This tool was written with the goal of rendering any layout in a desktop or web application.

Installation

MacOS, Linux, Windows

pip install layout2svg

Usage - Command Line Interface

layout2svg -i <input_file_path [.gds/.oas]> -o <output_file_path [.svg]>

Examples

Running the example with the mock layerstack file and layout provided in the examples directory, by running the following command:

layout2svg -i examples/crossed_metal.gds -t examples/mock_layers.lys.yml -o examples/crossed_metal.svg

can generate the following SVG image: