I've tried and it's not working.
As I said, I'm supposed to:
Call mXor1.SetInputA() passing mInputA as the param.
Call mXor1.SetInputB() passing mInputB as the param.
Call mXor2.SetInputA() passing the output from mXor1 as the param.
Call mXor2.SetInputB() passing mInputC as the param.
Call mAnd1.SetInputA() passing the output from mXor1 as the param.
Call mAnd1.SetInputB() passing mInputC as the param.
Call mAnd2.SetInputA() passing mInputA as the param.
Call mAnd2.SetInputB() passing mInputB as the param.
Call mOr.SetInputA() passing the output from mAnd1 as the param.
Call mOr.SetInputB() passing the output from mAnd2 as the param.
Set mOutputC to the output from mOr.
Set mOutputS to the output from mXor2.
And right now I have:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
{
mXor1.SetInputA(mInputA);
mXor1.SetInputB(mInputB);
mXor2.SetInputA(mXor1.GetOutput());
mXor2.SetInputB(mInputC);
mAnd1.SetInputA(mXor1.GetOutput());
mAnd1.SetInputB(mInputC);
mAnd2.SetInputA(mInputA);
mAnd2.SetInputB(mInputB);
mOr.SetInputA(mAnd1.GetOutput());
mOr.SetInputB(mAnd2.GetOutput());
mOutputC = mOr.GetOutput();
mOutputS = mXor2.GetOutput();
}
|