Contributing modules#

The SiliconCompiler project was designed to encourage contribution. Theoretically, the project could support 100’s of process PDKs, 100’s of tools, and countless flows, but the project maintainers couldn’t possibly manage all of them without community help.

Note

Before making a pull request, make sure you have the right to do so and you are not violating any potential NDAs and copyright law. In general, PDK modules should only be published by foundries and tool modules should only be published by the tool owners.

The process for target contributions is as follows:

  1. Clone the SiliconCompiler project from the GitHub Repository and follow the Installation instructions.

  2. Create a flow, pdk, library, target, or tool using the existing modules as guides. Place the module file in the appropriate location per the directory structure shown below:

.
├── flows
│   ├── asicflow.py
│   ├── dvflow.py
│   └── fpgaflow.py
│   └── ...
├── libs
│   ├── asap7sc7p5t.py
│   ├── nangate45.py
│   └── sky130hd.py
│   └── ...
├── pdks
│   ├── asap7.py
│   ├── freepdk45.py
│   └── skywater130.py
│   └── ...
├── targets
│   ├── asap7_demo.py
│   ├── freepdk45_demo.py
│   └── skywater130_demo.py
│   └── ...
└── tools
    ├── klayout
    │   ├── klayout.py
    │   └── ...
    ├── openroad
    │   ├── openroad.py
    │   ├── sc_apr.tcl
    │   └── ...
    ├── verilator
    │   └── verilator.py
    ├── yosys
    |    ├── yosys.py
    |    ├── sc_syn.tcl
    |    └── ...
    └── <...>
  1. Test the new target by calling use().

import <newpdk>
chip.use(<newpdk>)
  1. Read the contributing guide to learn how to submit a pull request.