Skip to main content

Generic CNC firmware and driver for FPGA cards which are supported by LiteX

Project description

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.

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 (the pre-release is only available on https:/test.pypi.org):

pip install --extra-index-url https://test.pypi.org/simple/ litexcnc[cli]

NOTE: Suffix [cli] required!
The suffix [cli] is required to install the command-line interface. Without this suffix the scripts referenced below will not work.

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 <https://litex-cnc.readthedocs.io/en/stable/>_.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

litexcnc-1.0.1.tar.gz (83.3 kB view details)

Uploaded Source

Built Distribution

litexcnc-1.0.1-py3-none-any.whl (121.7 kB view details)

Uploaded Python 3

File details

Details for the file litexcnc-1.0.1.tar.gz.

File metadata

  • Download URL: litexcnc-1.0.1.tar.gz
  • Upload date:
  • Size: 83.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for litexcnc-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2d28f7b992581918802a1fbbd0b6339eeaa8c4de3d5347c9e7fa0481ed22c096
MD5 57a55e8a6a6b48db465295f40f7e2bb5
BLAKE2b-256 10c6fa033ab06b4ef9416961b25f262ca22d4926bbf037ef8b12ef5264e3e216

See more details on using hashes here.

File details

Details for the file litexcnc-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: litexcnc-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 121.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for litexcnc-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d325a2a6c5f3e553fe2deca95a45430940da3c15c5e0db7cf7fab70ba6b54039
MD5 84fbd04af3628d1cd15cd899f1a823fe
BLAKE2b-256 27c9889c82644cef3c30a706ac651c6164189c3f17541dd6c829b5e99c46cd0e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page