LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

More
5 months 1 week ago #346552 by Tim Bee
Dear meister:

 


When I add debounce for bitin7, the builder had a error.
Thank you


Tim
The following user(s) said Thank You: meister

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #346558 by meister
many thanks again :)

fixed in main/dev

I recently made a modification that only copies the modifier files to the Gateware directory when necessary,
but I didn’t realise at the time that some of the filenames are slightly different (debounce -> debouncer.v / pwm -> pwmmod.v)

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #346563 by Tim Bee
Dear meister:

My English isn't very good, so I don't know how to say thank you. Please forgive me.



Tim
The following user(s) said Thank You: meister, jpn9900

Please Log in or Create an account to join the conversation.

More
3 months 2 weeks ago #347784 by meister
for the verilog/fpga developer:



Verilator and SDL2 is a good combination :)

PS: also added an pin oscilloscope function:

 

 

Please Log in or Create an account to join the conversation.

More
3 months 2 weeks ago #347823 by meister
Another small milestone:

There is now a PRV32 (PicorV32/RISC-V) plugin that allows one or more soft cores to run in the FPGA.
A few tweaks still need to be made, but it’s already good enough for tinkering :)

* Up to 16 GPIOs
* Multiple 32-bit variables for data exchange with LinuxCNC
* Serial support
* GCC support
* tested on TangNano9k, ICE40up5k, ICE40hx8K

TODO:
* Add I2C and SPI master support
* Add PWM support
* 1-bit variables for LinuxCNC
* Adding support for use as an interface plugin
* Testing and optimize for more platforms

At the moment, I don’t have a practical application for it yet, but one will come along. (Anything that’s too cumbersome in Verilog, or for those who know C)

Furthermore, there’s also a SERV (World’s Smallest RISC-V) plugin,
which is considerably more resource-efficient but currently only offers assembler support and 3 output pins.
The following user(s) said Thank You: viewsat, besriworld, NWE

Please Log in or Create an account to join the conversation.

More
3 months 5 days ago #348087 by meister




the embedded ARM core of the TangNano4K is also supported now :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.331 seconds
Powered by Kunena Forum