- Notifications
You must be signed in to change notification settings - Fork110
Modular hardware build system
License
siliconcompiler/siliconcompiler
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
SiliconCompiler is a modular hardware build system ("make for silicon"). The project philosophy is to "make the complex possible while keeping the simple simple".
Type | Supported |
---|---|
Design Languages | C, Verilog, SV, VHDL, Chisel, Migen/Amaranth, Bluespec,MLIR |
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 |
SiliconCompiler is available as wheel packages on PyPI for macOS, Windows andLinux platforms. For working Python 3.9-3.13 environment, just use pip.
pip install --upgrade siliconcompiler
Converting RTL into DRC clean GDS takes 13 lines of simple Python code.
fromsiliconcompilerimportASIC,Design# import python packagefromsiliconcompiler.targetsimportskywater130_demodesign=Design("heartbeat")# create design objectdesign.set_topmodule("heartbeat",fileset="rtl")# set top moduledesign.add_file("heartbeat.v",fileset="rtl")# add input sourcesdesign.add_file("heartbeat.sdc",fileset="sdc")# add input sourcesproject=ASIC(design)# create projectproject.add_fileset(["rtl","sdc"])# enable filesetsskywater130_demo(project)# load a pre-defined targetproject.set('option','remote',True)# enable remote executionproject.run()# run compilationproject.summary()# print summaryproject.show()# show layout
Note
The required files can be found at:heartbeat example
- Ease-of-use: Programmable with a simplePython API
- Portability: Powerful dynamic JSONschema supports ASIC and FPGA design and simulation
- Speed: Flowgraphexecution model enables cloud scale execution.
- Friction-less:Remote execution model enables "zero install" compilation
- Modularity:Tool abstraction layer makes it easy to add/port new tools to the project.
- Provenance:Compilation manifests created automatically during execution.
- Documented: An extensive set of auto-generated high qualityreference documents.
- In-use: Actively used by Zero ASIC for commercial tapeouts at advanced process nodes.
The full reference manual and tutorials can be foundHERE.
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", 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}}
Complete installation instructions are available in theInstallation Guide.
To install the project from source (recommended for developers only).
git clone https://github.com/siliconcompiler/siliconcompilercd siliconcompilerpython3 -m venv .venv# Setup virtual environmentsource .venv/bin/activatepip install --upgrade pip# Update pippip install -e.# Required install steppip install -e .[test,lint]# Optional install step for running tests and lintpip install -e .[docs]# Optional install step for generating docs
Installation instructions for all external tools can be found in theExternal Tools sectionof the user guide. We have included shell setup scripts (Ubuntu) for most of the supported tools, which can be accessed viasc-install.See the./siliconcompiler/toolscripts directory for a complete set of scripts and./siliconcompiler/toolscripts/_tools.json for the currently recommended tool versions.
SiliconCompiler is an open-source project and welcomes contributions. To find outhow to contribute to the project, see ourContributing Guidelines.
We useGitHub Issuesfor tracking requests and bugs.
About
Modular hardware build system
Topics
Resources
License
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.