Implementing the Mask Function on two variable numbers

Thread Starter

pr1mal0ne

Joined Oct 30, 2009
1
I need to implement a OR mask function.
So like if A=0 0 1 1 and B = 1 0 1 0
then I am using A as a mask on B, I would get 1 0 1 1. Tell me if this does not make since so far, as this is just the definition of OR mask and not actually my question.

My question is how can I implement this with only 4 muxes and 4 Full Adders. Both the numbers used in the mask are 4 bits.

Any generic information on how Masks are implemented at logic/chip level would be appreciated too.
 
Top