Skip to main content

Logik

Regression Lint License

Logik is an open source FPGA tool chain with support for high level language parsing, synthesis, placement, routing, bitstream generation, and analysis. Users enter design sources, constraints, and compile options through a simple SiliconCompiler Python API. Once setup is complete, automated compilation can be initiated with a single line run command. Logik relies on the Logiklib project for all architecture and device descriptions.

logik_flow

Logik supports most of the features you would expect in a commercial proprietary FPGA tool chain.

Feature Status
Design languages SystemVerilog, Verilog, VHDL
DSP synthesis Supported
RAM synthesis Supported
Timing constraints (SDC) Supported
Pin Constraints (PCF) Supported
Bitstream generation Supported
IP management Supported
Remote compilation Supported
Multi-clock designs Supported
Supported devices Logiklib devices

Getting Started

The Logik tool chain is available through PyPi and can be installed using pip.

python -m pip install --upgrade logik

All open source FPGA pre-requisites can be installed via the SiliconCompiler sc-install utility.

sc-install -group fpga

The following example illustrates some essential Logik features. For complete documentation of all options available, see the SiliconCompiler project.

import siliconcompiler
from logik.flows.logik_flow import LogikFlow
from logiklib.zeroasic.z1000 import z1000

# 1. Create a Design object to hold source files and constraints.
design = siliconcompiler.Design('adder')
design.add_file('adder.v', fileset="rtl")
design.set_topmodule('adder', fileset="rtl")

# Create an FPGA project
project = siliconcompiler.FPGA(design)

# Assign file sets to use for elaboration
project.add_fileset('rtl')

# Select the rtl2bits flow to use
project.set_flow(LogikFlow())

# Load FPGA part settings and associated flow and libraries.
project.set_fpga(z1000.z1000())

# User defined options
project.option.set_quiet(True)

# Run compilation
project.run()

# Display summary of results
project.summary()

Examples

  • Ethernet: Ethernet MAC compiled for the z1000 architecture.
  • Adder: Small adder example compiled for the z1000 architecture.
  • Picorv32: picorv32 RISC-V CPU example compiled for the z1062 architecture.

Documentation

Installation

Logik is available as wheel packages on PyPI for macOS, Windows and Linux platforms. For working Python >= 3.10 environments, just use pip to install.

python -m pip install --upgrade logik

Running natively on your local machine will require installing a number of prerequisites:

  • Silicon Compiler: Hardware compiler framework
  • Slang: SystemVerilog Parser
  • Yosys: Logic synthesis platform
  • Wildebeest: High-performance synthesis yosys plugin
  • VPR: FPGA place and route
  • FASM: FPGA assembly parser and generator
  • OpenSTA: Production-grade static timing analysis engine

We recommend using the SiliconCompiler sc-install utility to automatically install the correct versions of all open source FPGA tool dependencies.

sc-install -group fpga

Detailed installation instructions can be found in the SiliconCompiler Installation Guide.

License

The Logik project is licensed under the open source Apache License 2.0. For licensing terms of all dependencies, visit dependency repository.

Issues / Bugs

We use GitHub Issues for tracking requests and bugs.

Metadata

Release files for logik 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for logik 0.3.1
File Size Uploaded
logik-0.3.1.tar.gz 2.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for logik 0.3.1
File Interpreter ABI Platform
logik-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 2.3 MB

Release files / logik-0.3.1.tar.gz

Download URL logik-0.3.1.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
9ba74f41e1e3687de87bfb7b9a8b17a491f7877fae1db6e6e294c615baa77f2d
BLAKE2b-256 checksum
How to use checksums
dddf9ec6c069a115f36cba97d00efd3b4ed8c6674a3e07c7ddf1e772e1dc011b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 10, 2026.

Transparency log

Release files / logik-0.3.1-py3-none-any.whl

Download URL logik-0.3.1-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e68b8150f085cd467639ff1b973eef9d1ab17ee7ce660ce03b524143aaf244a
BLAKE2b-256 checksum
How to use checksums
427744ba4be02cc05658bd6ab311950e90f4a0b47a0372d4c3a6ec4017e7b61d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page