You can find a lot of good examples in www.opencores.org.
Be careful though, if you are starting to learn in this field, a good starting point is very important.
Make sure your first "example code" are written by professionals.. which saves you time to re-do your coding style once entering a company.