A Guide to VHDL