Re: GRAY CODE
Gray code is mainly used in digital design for data path synchronization. If there is a data path synchronizer circuit, in order to avoid the random data availability (due to metastability issues) at the output of the synchronizer side, binary data which is being synchronized will be converted to gray code before synchronization. This will ensure that only one bit changes at a time and after synchronization is performed there will be a gray-to-binary converter to convert the data to its actual value. (Hope this explains well !!)