I have a question which asks to design a circuit to convert from binary to gray code, using a boolean expression.
Now I understand you have to use XOR to achieve this. And I understand that XOR means that only one or the other can be true, if both are true thats just nomral OR.
I also understanding how to convert between gray code and binary and vise versa through addition, with this video: Binary to Gray code video
I'm just having trouble understand how to do this using XOR. Below is the task I've been set and they've gave me some examples to start with, but I don't understand them.
If anyone could explain to me how these examples work I would be greatful.