Virtual I/O for FPGAs
This project enables FPGA designs to use virtual LED, hexadecimal display and button I/O through a web interface, over WebSerial and UART.
The UI can be launched by opening the web/index.html using a web browser which supports WebSerial (Chrome or Edge work). Pressing the "Connect" button in the top-left corner opens the port selector.
This repository provides an example for the Colorlight 5A-75B V8.2 board, synthesized using Yosys and nextpnr.
To use Violet in your own project, you must include all of the files in the violet folder into your design, and instantiate the Violet module as shown in the example.
The UI makes use of the DSEG font by keshikan, p5.js and p5.webserial by Gottfried Haider.