VHDL code samples