Here is some links for some interesting extra info about use and demo of CPLD devices:
PyroEDU - very good site
Starting Electronics - intro to CPLD's and VHDL.