Re: Creating the HDL code for the OR gate and MUX gate
When figuring out OR, I first thought, "how can I make an OR from a canonical representation that already includes OR itself?!" I looked at different basic boolean proofs, and then I stumbled across DeMorgan's law.
Take a look at DeMorgan's Law, and see what you can apply to each side to isolate "A+B = .....".
This would express that "OR is equivalent to...."