ichi4096 / vivado-on-silicon-mac

Installs Vivado on M1/M2 macs
Creative Commons Zero v1.0 Universal
217 stars 26 forks source link

USB connection #34

Closed mohay3069 closed 3 months ago

mohay3069 commented 5 months ago

USB connection "A drawback of the Apple Virtualization framework is that there is no implementation for USB forwarding as of when I'm writing this. Therefore, these scripts set up the Xilinx Virtual Cable protocol. Intended to let a computer connect to an FPGA plugged into a remote computer, it allows for the host system to run an XVC server (in this case a software called xvcd by Felix Domke), to which the docker container can connect.

xvcd is contained in this repository, but with slight changes to make it compile on modern day macOS (compilation requires libusb and libftdi installed via homebrew, though there is a compiled version included). It runs continuously while the docker container is running.

This version of xvcd only supports the FT2232C chip. There are forks of this software supporting other boards such as xvcserver by Xilinx."

Will we ever see USB connection work on mac? i have a usb adapter on my mac and was wondering if it would work

Thank you!

ichi4096 commented 3 months ago

It is theoretically possible to have support to directly forward the USB connection to the Docker container but as of now there is no implementation of that. In the mean time, we're stuck with xvcd.