Peter-van-Tol / LiteX-CNC

Generic CNC firmware and driver for FPGA cards which are supported by LiteX
GNU General Public License v3.0
58 stars 22 forks source link

[Feature request]: Add vexriscv #114

Open romanetz opened 1 month ago

romanetz commented 1 month ago

Initial Checks

Description

I started to investigate a possibility to integrate vexriscv processor core into the firmware. This allows to add modbus RTU support over RS-485, SPI master to interact with external ADCs and DACs, provide a kind of autonomous functionality such as electronic cam and support of modbus TCP to ease integrations with industrial process automation.

Affected Components

Peter-van-Tol commented 1 month ago

Do you have any references to a specific board that utilizes this processor?

Tonadd a new board, the following steps are required:

romanetz commented 1 month ago

As a first step, I added i9 board into litexcnc python sources and built a new firmware for the board. Some changes in configurations were done: I changed pin names like "jx:y" to "pmodx:y" as stated in platform definition. Next step will be to add vexriscv cpu into the configuration.

romanetz commented 1 month ago

The board is documented here: https://github.com/wuxx/Colorlight-FPGA-Projects