Read and write .vhd format data