I invite you to use free code of a USB full speed project as final work for diploma.
The site includes some description of the functionality and main state machines.
The code is based on some free cores 8051 and USB function. The PHY is my own code.
Pinhas
snipped-for-privacy@hotmail.com
formatting link