FPGA Prototyping By VHDL Examples : Xilinx Spartan-3 Version