A compiler framework that automates translation from source code to silicon.
Project description
What is SiliconCompiler?
A modular build system for hardware ("make for silicon"). The project philosophy is to "make the complex possible while keeping the simple simple".
The project foundation is a standardized dynamic JSON schema for configuring and tracking of compile time parameters related to design setup, libraries, tools, Process Design Kits (PDKs), flows, constraints, compiler time options, and run time metrics, advanced projects (like ASICs) are far too complex to be handled manually through markup languages like JSON/YAML, so the project also includes a simple (but powerful) object oriented Python API for compilation setup, run time scheduling, and results analysis. For more information about the project motivation and design philosophy, you can refer to 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.
Why SiliconCompiler?
- Ease-of-use: Programmable with a simple Python API
- Portability: Powerful dynamic JSON schema supports ASIC and FPGA design and simulation
- Speed: Flowgraph execution 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 quality reference documents.
- In-use: Actively used by Zero ASIC for commercial tapeouts at advanced process nodes.
Supported Technologies
Type | Supported |
---|---|
Languages | C, Verilog, SV, VHDL, Chisel, Migen/Amaranth, Bluespec |
Simulation | Verilator, Icarus, GHDL |
Synthesis | Yosys, Vivado, Synopsys, Cadence |
ASIC APR | OpenRoad, Synopsys, Cadence |
FPGA APR | VPR, nextpnr, Vivado |
Layout Viewer | Klayout, OpenRoad, Cadence, Synopsys |
DRC/LVS | Magic, Synopsys, Siemens |
PDKs | sky130, asap7, freepdk45, gf12lp, intel16 |
Getting Started
SiliconCompiler is available as wheel packages on PyPI for macOS, Windows and Linux platforms. For working Python 3.6-3.11 environment, just use pip.
python -m pip install --upgrade siliconcompiler
Converting RTL into DRC clean GDS takes less than 10 lines of simple Python code.
import siliconcompiler # import python package
chip = siliconcompiler.Chip('heartbeat') # create chip object
chip.load_target('skywater130_demo') # load a pre-defined target
chip.input('heartbeat.v') # set input sources
chip.clock('clk', period=10) # set constraints
chip.set('option','remote', True) # enable remote execution
chip.run() # run compilation
chip.summary() # print summary
chip.show() # show layout
To reduce the pain of tool installation, the project supports free remote compilation at siliconcompiler.com.
Simple designs can be compiled using the built in command line 'sc' app:
sc -remote -target "asic_demo"
Documentation
The full reference manual and tutorials can be found HERE.
Installation
Complete installation instructions are available in the Installation Guide.
To install the project from source (recommended for developers only).
git clone https://github.com/siliconcompiler/siliconcompiler
cd siliconcompiler
python -m pip install -e . # Required install step
python -m pip install -e .[docs,test] # Optional install step for generating docs and running tests
Tool Installation
Installation instructions for all external tools can be found in the Tools section of the reference manual. We have included shell setup scripts (Ubuntu) for most of the supported tools. See the ./setup directory for a complete set of scripts and ./setup/_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.
Issues / Bugs
We use GitHub Issues for tracking requests and bugs.
License
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 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for siliconcompiler-0.11.2-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2b58e0498e78246c61ec6833cb9bf6e1c3a8b39d4799766dec30c61b5c5d3a8 |
|
MD5 | c4b2be3b93cc24a18c219fbd349188f5 |
|
BLAKE2b-256 | 0a213e954d3793b30aad9de31daeb8fca8fd234d0be062ffbe262893da9af4c9 |
Hashes for siliconcompiler-0.11.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56e7ea907783ee76ed101635e996e1510e2593d93530f1b4361284532f2aace5 |
|
MD5 | 7e39f2fdd8fdb298d1ab58418e001e1c |
|
BLAKE2b-256 | 4868c0a08a8e99dc0f93130d73f5b3c316640e07b059b1a5b6881a8da7456dc2 |
Hashes for siliconcompiler-0.11.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83b7ff53a345156d576a7df807de3ce91d03769dbe92527e3707b84cc05fe241 |
|
MD5 | 02d8a0130ca4a9856252728c7d35aab8 |
|
BLAKE2b-256 | fd4045e4039a21cc3e5aa13a20823bed946c55b87aa6c13eed6af7c8ca5813f6 |
Hashes for siliconcompiler-0.11.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 447756971c918a270cdde7d534841aa77058efd75b96d2c2c8828faaba140e49 |
|
MD5 | e26a1ed359c3d771c865a53bc7d08231 |
|
BLAKE2b-256 | a96bbeb25b45b617dfbee043696564232461a33f563ed800d163da59bb086343 |
Hashes for siliconcompiler-0.11.2-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8051f6d76f94b59317a0d51ba0e90a97f77e0f6a8588fcc04d2a3e6a82e9c0f5 |
|
MD5 | a33934e0494bf82bcd3f8ec1145c7485 |
|
BLAKE2b-256 | 824d84482cabb63edecea00018e04cd0287a15e246d94fd9b288447cd679d0b7 |
Hashes for siliconcompiler-0.11.2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e564dd7aa57aa6fabcc0155f0d7139daa123cd29c8fa8688660ebe9f70361a7e |
|
MD5 | 24566b1a1872a3eb87c768d72af4fe7e |
|
BLAKE2b-256 | 2fae89fcffb33ad76de26ebe77e493cfa74ee58230e682cf8545e7d0de96b502 |
Hashes for siliconcompiler-0.11.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8ddbef9e2a48e9c00b7df1f81c7b551f924bbbd903442a113eaa03a56d6f71f |
|
MD5 | 5fef586fe47c2fab5658c08d3c53bf65 |
|
BLAKE2b-256 | 697efe159c2062a959c0ca167356f311d82417e067873525c17f18b059593ddd |
Hashes for siliconcompiler-0.11.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a32b2a29c9566b051094006d2821adeaebd90d369c93bc1365d1153431e3436 |
|
MD5 | f259b1a1727eec2b39d48780a7c5ad4e |
|
BLAKE2b-256 | c85fb547cbb4a5b3aa07ebb0de2f92c4e15fe9c46f9a72df24967ca4fab3efbc |
Hashes for siliconcompiler-0.11.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af990e044dbe41ce825cc1680f7699d9565a9b060ee3782323ed4d3f765b234d |
|
MD5 | f3008396a415b1ef9caa62f3b5afe31a |
|
BLAKE2b-256 | 327bd4d59ac3d8b2ee48818d1bec2caf187eaa2f6d01432c9a874298361442e4 |
Hashes for siliconcompiler-0.11.2-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61e3731831a5f9785dfb275bbcc64c95ec5ef5a72c83ca90246bb855d3bdce1f |
|
MD5 | 57897cee26b188dccb6c584d921892de |
|
BLAKE2b-256 | 8aea67a393ce9ac35b77d2fb62a3ef923256830b8a1b59093ded9723c610bdbc |
Hashes for siliconcompiler-0.11.2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | add3e8f0a20a61cf7709fcd55aa1153f537b53c001d6e632ce1aea5eddc80aea |
|
MD5 | 55cfdb137900a3022abce37f4b142750 |
|
BLAKE2b-256 | 3b301441d7c72df776fc964418ac05f31251bbdf1cd69ec905c77e83525565ff |
Hashes for siliconcompiler-0.11.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 058f81e7423b889f90a3b28a1fc2972a513753da837a4feeb83bf60b55eadd1b |
|
MD5 | 021192252d567fb53039d99f51e5de8c |
|
BLAKE2b-256 | 219aa97087e7af29a07b41711988cfc6de13a2d977000044f11d3898241499ad |
Hashes for siliconcompiler-0.11.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80f2aee74c8a11c4a95382d9a0142e3a12b774ee95877ba177b1548fecd203d6 |
|
MD5 | 870bdd7ddadb32dfe1e9bf1c4f4ca612 |
|
BLAKE2b-256 | c159febf6c44f7e76237e34e42f93a855e287821b71b8fb1fe14da0adf43a47b |
Hashes for siliconcompiler-0.11.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f6d63f2512fd6b200ed59b31d5d21d6b24cbb1ccc23b206e7ce00602859d9df |
|
MD5 | 4c14b840e44e6c10d7e732b6ee93583d |
|
BLAKE2b-256 | 934ee05a9cce06fe5eb20ca1c7d290c7ddf6f52c74cfc5c5c30fa6e445903a39 |
Hashes for siliconcompiler-0.11.2-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ca2c7f49a17fdb029b937e1679b54cba8de95a8551e5800098699b3967d9f51 |
|
MD5 | 35968f927ac68209942f92c78d4bd856 |
|
BLAKE2b-256 | d4441f8b85108188bcee2ab863cb7e9e6eef154befd5ac666320ab044ca6ad26 |
Hashes for siliconcompiler-0.11.2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 332642158ba9bf0261df2085f326a652c0661b5b6b7ab97f6a444c8b4389a1f0 |
|
MD5 | ba11b865ca78f684deb9f90b72600dea |
|
BLAKE2b-256 | ebacea44e23c051354c661c228da516c60e12b7296b507dd4b3a54cdb6db6172 |
Hashes for siliconcompiler-0.11.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84f9d0f496776f5ac01abff5fb20c2772c29274bb844f20b71cb0591023a4be0 |
|
MD5 | d0462f7a11d8ee14304a3d40484d7df8 |
|
BLAKE2b-256 | 53d0edf23a280fc88ed6a322cb2c368452f67a59bfba3593baaef9abd61c0f70 |
Hashes for siliconcompiler-0.11.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97304aaefa39a6219555b99f14d66a69568792ef0e010e1fb494f8f035dde73e |
|
MD5 | 42fbf65aba9f19d558b9e895a7350c14 |
|
BLAKE2b-256 | db3ceaf8b3e82f6aa64ee330a9f2f4ea5aba1d95bd8322a02e92414bd3d5d583 |
Hashes for siliconcompiler-0.11.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 765beb5c5b5d736faa3dda280705349a9851f6009417fc9a6d4e25deff19ffb5 |
|
MD5 | 593d6ee5db20071e6e27fbcb3dd3ad0d |
|
BLAKE2b-256 | 8d23fddf4bdef2592b9e5bdf274323a600f9c3c93f6ef9d1e67ad21a3934a404 |
Hashes for siliconcompiler-0.11.2-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11fb167d15515c6cc5dc7c0820304822f3773c865c70139ac791304ed92f5d3a |
|
MD5 | 7260201a28a025f21f0c622d8b301d27 |
|
BLAKE2b-256 | 552d4ba9cbe8e4df5a86a3e42e6d8ecdccaba972215268a97a3562494f49cb85 |
Hashes for siliconcompiler-0.11.2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f607f8b1ebf737afc5ff80dbfe649f2a49128dbcb0ab997e0da87ff0c899e2ce |
|
MD5 | 687e0cf00db473f6f3f007a3c06d5027 |
|
BLAKE2b-256 | 0d21a6f101291907e04ed192ae7d9c3990f66343d9f70cde2570745f3ea7801e |
Hashes for siliconcompiler-0.11.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 844b1aca723d139112c92cffac708ccdb7494f6d1078310e30ec7eb41ceb49c9 |
|
MD5 | 4ec9842b1a74ca7068d12de5cc058745 |
|
BLAKE2b-256 | 66e525ca2fcd31ca7315e3ff57aba818329248fa13560bd55e844f1bd9ae5233 |
Hashes for siliconcompiler-0.11.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 311cb14cbbd0c8bb8364a9ab75b21d4f4f34cd8430f9761947a58329823cbff3 |
|
MD5 | 3e467adcb9299321cd7c96ef25419fb1 |
|
BLAKE2b-256 | 8112d3a36160efff0fd12b9cf6d387ac4ef82e29dab1c6070ccf2cc779aece61 |
Hashes for siliconcompiler-0.11.2-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d48878210484ac22ab2ed19798a923c34e23c20a9fc61b157c2162c07ed8703 |
|
MD5 | 94f399851e2df09a82fbe5a5636c9c31 |
|
BLAKE2b-256 | 49f0d9c247054408dbee7aa7a24e146f83ed6e0266707719386e3efaf1c6b2d0 |
Hashes for siliconcompiler-0.11.2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5c4147ef528dee1fbe4a03885f7a7a74d0bb226ad2a99640b22376b324a0879 |
|
MD5 | 4160387e891dafbc8b312150bb17488a |
|
BLAKE2b-256 | e9a610a68e8434d615411256743ee078a5724db13250b564cbc33e184c199c62 |
Hashes for siliconcompiler-0.11.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e04279606394920bc8ac269d026f49634dc23666066bc644668ee84830a6c6c |
|
MD5 | a904da8a6b02a6d46932ac3cd5cfa634 |
|
BLAKE2b-256 | 70414d528c7117444d6c9099a8bb7e3e0cb9399bee8d766bf8a333c9b19b6548 |
Hashes for siliconcompiler-0.11.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d233e544679676199e951d03d7546153aecc8c9e7ad357c26a3fdadc61752a7b |
|
MD5 | 6f4e462d0f1416ed5773e540ca5c5458 |
|
BLAKE2b-256 | 5bda3c054e3210fb97ffb04e1819ed4de3eb41f5a1bbed6a49544ff075499650 |
Hashes for siliconcompiler-0.11.2-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcb740c035d6a2169c8e0b0c8ef5b42c7162fb2a719e047a02ff5759e3fce62f |
|
MD5 | f9c0f31acf5245fc31f704051af58d82 |
|
BLAKE2b-256 | a1e7e43a29fb21573b7a9cfb8eff919210d06987de5122444357ff0578c85f82 |