B
Bernd Schneider
- Jan 1, 1970
- 0
Hi all,
I am trying to build the following two linear gates from basic boolean
gates (XOR, NOT, AND, OR):
1. Enable gate with the following truth table where u,s,e are the inputs
and w is the output
u s e w
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
Basically what the gate does is if e=0 then it outputs s and if e=1 then it
outputs u.
2. This time I have a gate with 4 inputs r,e,s,t and two outputs c and c'
The outputs are computed as follows:
if e=1 then c=r XOR t and c' = NOT(r XOR t)
if e=0 then c=c'=s
The first gate should not use any non-linear operation (i.e. not AND and
OR) together with the u signal and the second gadget should not involve t
in a non-linear operation.
Both gadgets look pretty linear to me, so I hope this is somehow possible.
How can I "implement" these gadgets?
Regards and thanks a lot,
Bernd
I am trying to build the following two linear gates from basic boolean
gates (XOR, NOT, AND, OR):
1. Enable gate with the following truth table where u,s,e are the inputs
and w is the output
u s e w
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
Basically what the gate does is if e=0 then it outputs s and if e=1 then it
outputs u.
2. This time I have a gate with 4 inputs r,e,s,t and two outputs c and c'
The outputs are computed as follows:
if e=1 then c=r XOR t and c' = NOT(r XOR t)
if e=0 then c=c'=s
The first gate should not use any non-linear operation (i.e. not AND and
OR) together with the u signal and the second gadget should not involve t
in a non-linear operation.
Both gadgets look pretty linear to me, so I hope this is somehow possible.
How can I "implement" these gadgets?
Regards and thanks a lot,
Bernd