Forum Discussion
Altera_Forum
Honored Contributor
14 years agohow to describe same block in Demux in VHDL
I am having problem in describing a 1 to 2**n Demux. I wrote code first for 1 to 2 demux,and use it to buid 1 to 4 demux and then 1 to 8. At the end I want to get a 1 to 2**n demux. they are shows on...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- that's a nice little reference PDF --- Quote End --- I was getting confused with the indexing, so needed to draw a couple of examples to see what the patterns were. The geometric and algebraic series indexing shows up in adder trees and count-ones (bit-error-rate counters) too. The indexing is much more obvious if you count from the output back to the input. For the original poster's demux application, the indexing order would probably be reversed, to reuse the same scheme. Cheers, Dave