Skip to main content

Welcome to LiteX-CNC!

This project aims to make a generic CNC firmware and driver for FPGA cards which are supported by LiteX. Configuration of the board and driver is done using json-files. The supported boards are the Colorlight boards 5A-75B and 5A-75E, as these are fully supported with the open source toolchain.

Supported Python version
LitexCNC is not (yet) supported on Python 3.13. This is due to an issue in a dependency. As soon as this dependency has been fixed, the Python requirement will be eased.

RV901T
Although the RV901T is also supported by Litex, the firmware cannot be automatically build with LitexCNC, as it requires the Xilinx-software to compile the Verilog to a bit-stream. LitexCNC can be used to create the Verilog and the driver will work when the bit-stream is loaded on the board. However, there is a gap in the toolchain not covered. There are known issues with the compantibility of Litex with Xilinx.

The idea of this project was conceived by ColorCNC by romanetz on the official LinuxCNC and the difficulty to obtain a MESA card.

Acknowledgements

This project would not be possible without:

  • ColorCNC by romanetz link;
  • HostMot2 (MESA card driver) as the structure of the driver has been adopted.

Quick start

LitexCNC can be installed using pip:

pip install litexcnc

NOTE: Suffix [cli] deprecated!
In previous versions the suffix [cli] was required. This requirement has been removed since version 1.2 and deprecated since version 1.3. The suffix will be removed in version 1.4.

After installation of LitexCNC the following scripts are available to the user:

litexcnc install_driver
litexcnc install_litex
litexcnc install_toolchain
litexcnc build_driver

For a full overview on how to use the commands, please refer to the documentation.

Metadata

Release files for litexcnc 1.3.4

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

Source distribution (sdist)

Source distribution for litexcnc 1.3.4
File Size Uploaded
litexcnc-1.3.4.tar.gz 101.2 kB Details

Built distribution (wheel)

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

Total release size: 255.1 kB

Release files / litexcnc-1.3.4.tar.gz

Download URL litexcnc-1.3.4.tar.gz
Size 101.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7b10497e68f1d252b40e5611182a3a5c3636ec162ad1ed266209030f2b8491d9
BLAKE2b-256 checksum
How to use checksums
0e7aebe69c9bb43027d55ea89bc121a8f81d1588f6febf7b51c5c6b1d10586ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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 Feb 6, 2025.

Transparency log

Release files / litexcnc-1.3.4-py3-none-any.whl

Download URL litexcnc-1.3.4-py3-none-any.whl
Size 153.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f85e303e994b32f46034f244cafc5a3d611dd4c6d42222d44a70c4e2a0cb0266
BLAKE2b-256 checksum
How to use checksums
4241a766bd915e8c0bb16ce9bd6f4a2ab2cad0f52773e2c7dc0a50ca8ea6f76b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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 Feb 6, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.3.4 This release

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

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