Skip to content

IvanVeloz/oup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OUP: an open source USB core for FPGAs

A work in progress USB device core for FPGAs, using the Wishbone bus and an ULPI physical link. Currently the API is subject to changes.

Developed on the Terasic DE-10-Lite development board, that uses an Intel MAX-10 FPGA. My goal is to make this platform independent.

To initialize and use the repo, run the commands below on an Ubuntu Linux command line (you can use WSL on Windows).

sudo apt-get install make git lua5.1
git clone https://github.com/IvanVeloz/oup
# (or substitute the URL if you're not getting this from my GitHub repo)
cd oup
git submodule update --init --recursive
cd dependencies/oup-wishbone
make

After this, on Linux or Windows, create a new Quartus Prime project from the oup.tcl script as follows:

  1. Open Quartus Prime (don't create or open a project).
  2. Locate the TCL console.
  3. Navigate to the quartus directory by typing cd path/to/oup/quartus.
  4. Create the project by typing source oup.tcl. This will execute the oup.tcl script.
    • At this point Quartus may complain about you not having Cyclone V support installed, and will ask you if you want to remove the current assignemts. Select "No".
  5. Open the project you just created by clicking File > Open Project.

To use the included software, first download a RISCV toolchain for the NEORV32 processor, such as this and add it to your system's PATH variable (just follow the installation instructions in the link above).

About

Open source USB device controller project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published