To utilize the USB port in a FPGA board via VHDL code, what are the .vhds/code that I need? I suppose there is some type of template/pre-written code for treating output and input data; honestly, I can't imagine there is not one, writting the entire code each time must be tedious. Can somebody pass them to me¿?
Which FPGA Board? Is the USB really connected to FPGA IOs or to another IC?
: Edited by User
It is a Basys 3. It is connected to the FPGA's USB port. I would like to know how I should configure the .vhds to enable input and output of data.
: Edited by User
No. The Micro USB is connected to the FTDI FT2232HQ which acts as JTAG and UART. The UAB-A Port is connected to the PIC24F Mikrocontroller. http://store.digilentinc.com/basys-3-artix-7-fpga-trainer-board-recommended-for-introductory-users/ There are Datasheet and Schematic.
Gustl B. wrote: > The Micro USB I'm trying to use the actual USB port on the board, not the micro USB, to send data to a transmitter that is connected to the board by an USB to DB9 cable. What do I need to configure for doing that? PD: Sorry if I'm being stubborn but it is the first time I'm trying to input/output data from the board.
For this task, I would use the micro-USB because it is an UART. This is very simple to move Data. The Big USB-A Port is connected to an Microcontroller, not to the FPGA. I am not sure if you can use this Port for arbitrary USB Devices. This Port is i think for just Mouse/Keyboard and the Microcontroller also handles the SD-Card im the Basys has an SD-Card-Slot. Oh and ... if you put an USB-Stick in this Port FAT32 formatted with an FPGA Bitstream at its root, then you can configure the FPGA from there (boot the FPGA). For moving Data you should use the micro-USB. It can go up to 12 MBaud.