0

I'm trying to implement a gray code counter using a shift register and a 4-1 MUX. Does anyone have an idea what logic to use?!

Thanks

Melodie Gauthier
  • 685
  • 3
  • 12
  • 35
  • I'm having a hard time not adding the snarky answer of "boolean". Can you describe your approach and how it's failing? – em.eh.kay Jan 14 '13 at 19:43

1 Answers1

1

I am not sure if this satisfies your requirement of "using a shift register and a 4-1 MUX", but here is a small and functional gray counter reference design by Altera:

https://www.altera.com/support/support-resources/design-examples/design-software/vhdl/vhd-gray-counter.html

zennehoy
  • 6,405
  • 28
  • 55