Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: Add vexriscv #114

Open
7 tasks done
romanetz opened this issue Oct 22, 2024 · 3 comments
Open
7 tasks done

[Feature request]: Add vexriscv #114

romanetz opened this issue Oct 22, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@romanetz
Copy link

Initial Checks

  • I have searched Google & GitHub for similar requests and couldn't find anything
  • I have read the documentation and couldn't find anything

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

  • CLI.
  • Supported boards (i.e. 5A-75B, 5A-75E, HUB75HAT, etc.)
  • Supported connections (i.e. SPI, Ethernet, etc.)
  • Modules (i.e. GPIO, PWM, stepgen, encoders, etc.)
  • Documentation
@romanetz romanetz added the enhancement New feature or request label Oct 22, 2024
@Peter-van-Tol Peter-van-Tol changed the title [Feature request]: [Feature request]: Add vexriscv Oct 22, 2024
@Peter-van-Tol
Copy link
Owner

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

Tonadd a new board, the following steps are required:

  • add board name to pyproject.toml (otherwise the compiler cannot find it)
  • add the base firmware to the source code. This can be very similar to the code from the litex package.
  • if the firmware cannot be compiled by Yosys (such as with Zylinx and Gowin) additional steps are required either in the source code or bybthe user using this board. For example, with Zylinx you can generate the code, but it has to be compiled in their software.

@romanetz
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants