FPGA Prototyping by VHDL Examples: Xilinx Spartan-3 Version