Added function for generation of entity code in vhdl class.