Some VHDL exercises and examples