Mux Issue

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Mux Issue

zdog629
I have used the canonical representation idea to create a formula for what I assume is the PLD implementation of the MUX chip. The formula being x = (a!b!c) + (ab!c) + (!abc) + (abc) where c equals sel input and ! is not.

I cannot seem to bridge the connection betweeen the PLD and the impementation. Or rather if I am even on the right track.
Reply | Threaded
Open this post in threaded view
|

Re: Mux Issue

cadet1620
Administrator
You are on the right track. There is a great tool called Karnaugh Maps that helps you simplify canonical form. See this post. In this case you can reduce your 4 three-input Ands to 2 two-input Ands.

--Mark
Reply | Threaded
Open this post in threaded view
|

Re: Mux Issue

zdog629
Thank you very much, that was the push I needed in the right direction. However I seem to have run into another road block trying to ensure my output is A or B.

How can I assign A or B to the out pin using the HDL language?
Reply | Threaded
Open this post in threaded view
|

Re: Mux Issue

cadet1620
Administrator
zdog629 wrote
Thank you very much, that was the push I needed in the right direction. However I seem to have run into another road block trying to ensure my output is A or B.

How can I assign A or B to the out pin using the HDL language?
You don't "assign" things in HDL, you "connect them together".

See this post.

If you want to, email me your simplified canonical expression and the HDL you are trying to write and I'll give you some hints.

--Mark