Sol:
- Gray coding is designed to reduce power, because only one bit changes whenincrementing or decrementing.
- Program counters usually increment, rather than jump to completely different values.So, using gray coding should reduce power consumption.
- The downside is that the memory system probably doesn’t use gray-coded addresses,so additional circuitry would be needed to convert between gray andbinary codes. This will increase area and likely decrease performance.
- Additionally, the extra circuitry to do the translation might require more power than
is saved by using gray coding.
If the program counter/ program memory is implemented using grey code it would consume less power as typically not more than one line would switch for every new instruction.
ReplyDeleteIt will use xor gates which will consume more area than noraml counter but there will be power savings as well as it will help in avoiind race conditions based bad/garbage data.
ReplyDelete