siliconcompiler-0.9.6
توضیحات
A compiler framework that automates translation from source code to silicon.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | siliconcompiler-0.9.6 |
| نام | siliconcompiler |
| نسخه کتابخانه | 0.9.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Zero ASIC |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/siliconcompiler/ |
| مجوز | Apache License 2.0 |

[](https://github.com/siliconcompiler/siliconcompiler/actions/workflows/python_ci.yml)
[](https://github.com/siliconcompiler/siliconcompiler/actions/workflows/tools_ci.yml)
[](https://github.com/siliconcompiler/siliconcompiler/actions/workflows/daily_ci.yml)
[](https://github.com/siliconcompiler/siliconcompiler/actions/workflows/wheels.yml)
[](https://github.com/siliconcompiler/siliconcompiler/actions/workflows/lint.yml)
[](https://docs.siliconcompiler.com/en/latest/?badge=latest)
[](https://codecov.io/github/siliconcompiler/siliconcompiler)
[](https://pepy.tech/project/siliconcompiler)
# Introduction
SiliconCompiler is a modular hardware build system ("make for silicon"). The project philosophy is to "make the complex possible while keeping the simple simple".
# Supported Technologies
| Type | Supported|
|------|----------|
|**Design Languages**| C, Verilog, SV, VHDL, Chisel, Migen/Amaranth, Bluespec, [MLIR](https://en.wikipedia.org/wiki/MLIR_(software))
|**Simulation Tools**| Verilator, Icarus, GHDL, Xyce
|**Synthesis**| Yosys, Vivado, Synopsys, Cadence
|**ASIC APR**| OpenROAD, Synopsys, Cadence
|**FPGA APR**| VPR, nextpnr, Vivado
|**Layout Viewer**| Klayout, OpenROAD, Cadence, Synopsys
|**DRC/LVS**| Klayout, Magic, Synopsys, Siemens
|**PDKs**| sky130, ihp130, gf180, asap7, freepdk45, gf12lp, gf22fdx, intel16
# Getting Started
SiliconCompiler is available as wheel packages on PyPI for macOS, Windows and
Linux platforms. For working Python 3.9-3.14 environment, just use pip.
```sh
pip install --upgrade siliconcompiler
```
Converting RTL into DRC clean GDS takes 13 lines of simple Python code.
```python
from siliconcompiler import ASIC, Design # import python package
from siliconcompiler.targets import skywater130_demo
design = Design("heartbeat") # create design object
design.set_topmodule("heartbeat", fileset="rtl") # set top module
design.add_file("heartbeat.v", fileset="rtl") # add input sources
design.add_file("heartbeat.sdc", fileset="sdc") # add input sources
project = ASIC(design) # create project
project.add_fileset(["rtl", "sdc"]) # enable filesets
skywater130_demo(project) # load a pre-defined target
project.set('option','remote', True) # enable remote execution
project.run() # run compilation
project.summary() # print summary
project.show() # show layout
```
> [!NOTE]
> The required files can be found at: [heartbeat example](https://github.com/siliconcompiler/siliconcompiler/tree/main/examples/heartbeat)
# Why SiliconCompiler?
* **Ease-of-use**: Programmable with a simple [Python API](https://docs.siliconcompiler.com/en/stable/reference_manual/core_api.html)
* **Portability:** Powerful dynamic JSON [schema](https://docs.siliconcompiler.com/en/stable/reference_manual/schema.html) supports ASIC and FPGA design and simulation
* **Speed:** Flowgraph [execution model](https://docs.siliconcompiler.com/en/stable/user_guide/execution_model.html) enables cloud scale execution.
* **Friction-less:** [Remote execution model](https://docs.siliconcompiler.com/en/stable/development_guide/remote_processing.html) enables "zero install" compilation
* **Modularity:** [Tool abstraction layer](https://docs.siliconcompiler.com/en/latest/development_guide/tools.html) makes it easy to add/port new tools to the project.
* **Provenance:** [Compilation manifests](https://docs.siliconcompiler.com/en/stable/user_guide/data_model.html) created automatically during execution.
* **Documented:** An extensive set of auto-generated high quality [reference documents](https://docs.siliconcompiler.com/).
* **In-use:** Actively used by Zero ASIC for commercial tapeouts at advanced process nodes.
# Documentation
The full reference manual and tutorials can be found [HERE](https://docs.siliconcompiler.com/).
# License
[Apache License 2.0](LICENSE)
# How to Cite
If you want to cite our work, please use the following paper:
A. Olofsson, W. Ransohoff, N. Moroze, "[Invited: A Distributed Approach to Silicon Compilation](docs/papers/sc_dac2022.pdf)", 59th Design Automation Conference (DAC), 10-14 July 2022, San Francisco, CA, USA. Published, 7/2022.
Bibtex:
```
@inproceedings{10.1145/3489517.3530673,
author = {Olofsson, Andreas and Ransohoff, William and Moroze, Noah},
title = {A Distributed Approach to Silicon Compilation: Invited},
year = {2022},
booktitle = {Proceedings of the 59th ACM/IEEE Design Automation Conference},
pages = {1343–1346},
location = {San Francisco, California}
}
```
# Installation
Complete installation instructions are available in the [Installation Guide](https://docs.siliconcompiler.com/en/stable/user_guide/installation.html).
To install the project from source (recommended for developers only).
```bash
git clone https://github.com/siliconcompiler/siliconcompiler
cd siliconcompiler
python3 -m venv .venv # Setup virtual environment
source .venv/bin/activate
pip install --upgrade pip # Update pip
pip install -e . # Required install step
pip install -e .[test,lint] # Optional install step for running tests and lint
pip install -e .[docs] # Optional install step for generating docs
```
# EDA Tool Installation
Installation instructions for all external tools can be found in the
[External Tools](https://docs.siliconcompiler.com/en/stable/user_guide/installation.html#external-tools) section
of the user guide. We have included shell setup scripts (Ubuntu) for most of the supported tools, which can be accessed via [sc-install](https://docs.siliconcompiler.com/en/latest/reference_manual/apps.html#apps-sc-install-ref).
See the [./siliconcompiler/toolscripts](./siliconcompiler/toolscripts) directory for a complete set of scripts and [./siliconcompiler/toolscripts/_tools.json](./siliconcompiler/toolscripts/_tools.json) for the currently recommended tool versions.
# Contributing
SiliconCompiler is an open-source project and welcomes contributions. To find out
how to contribute to the project, see our
[Contributing Guidelines](./CONTRIBUTING.md).
# Issues / Bugs
We use [GitHub Issues](https://github.com/siliconcompiler/siliconcompiler/issues)
for tracking requests and bugs.
# More information
| Resources | Link|
|-----------|-----|
| **Website**| https://www.siliconcompiler.com
| **Documentation**| https://docs.siliconcompiler.com
| **Sources**| https://github.com/siliconcompiler/siliconcompiler
| **Issues**| https://github.com/siliconcompiler/siliconcompiler/issues
| **RFCs**| https://github.com/siliconcompiler/rfcs
| **Discussion**| https://github.com/siliconcompiler/siliconcompiler/discussions
نیازمندی
| مقدار | نام |
|---|---|
| - | aiohttp<3.14.0,>=3.10.11 |
| - | distro<2.0.0,>=1.9.0 |
| - | docker<8.0.0,>=7.1.0 |
| - | fastjsonschema<2.22.0,>=2.20.0 |
| - | graphviz<0.22,>=0.20 |
| - | orjson<4,>=3.11.0 |
| - | packaging<26,>=21.3 |
| - | requests<2.33.0,>=2.32.0 |
| - | Pillow<11.4.0,>=11.3.0 |
| - | PyYAML<7.0.0,>=6.0.0 |
| - | GitPython<3.2,>=3.1.44 |
| - | PyGithub<2.9.0,>=2.8.0 |
| - | urllib3>=1.26.0 |
| - | lambdapdk>=0.2.7 |
| - | fasteners>=0.20 |
| - | pandas>=1.1.5 |
| - | psutil>=5.8.0 |
| - | Jinja2>=2.11.3 |
| - | pyslang==10.0.0 |
| ython_versio | importlib_metadata; |
| ython_full_versio | streamlit==1.46.1; |
| ython_full_versio | streamlit_agraph==0.0.45; |
| ython_full_versio | streamlit-antd-components==0.3.2; |
| ython_full_versio | streamlit_javascript==0.1.5; |
| ython_full_versio | streamlit-autorefresh==1.0.1; |
| - | rich<15.0.0,>=14.0.0 |
| xtr | pytest==8.4.2; |
| xtr | pytest-xdist==3.8.0; |
| xtr | pytest-timeout==2.4.0; |
| xtr | pytest-asyncio==1.2.0; |
| xtr | pytest-cov==7.0.0; |
| xtr | responses==0.25.8; |
| xtr | PyVirtualDisplay==3.0; |
| xtr | flake8==7.3.0; |
| xtr | tclint==0.7.0; |
| xtr | codespell==2.4.1; |
| xtr | Sphinx<8.3,>=7.4; |
| xtr | pip-licenses==5.5.0; |
| xtr | pydata-sphinx-theme==0.16.1; |
| xtr | sc-leflib>=0.2.0; |
| ython_versio | google-vizier[jax]==0.1.21; |
| python_versio | cocotb<2.1.0,>=2.0.1; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl siliconcompiler-0.9.6:
pip install siliconcompiler-0.9.6.whl
نصب پکیج tar.gz siliconcompiler-0.9.6:
pip install siliconcompiler-0.9.6.tar.gz