Beispiel #1
0
 def performGateLogic(self):
     if AndGate.performGateLogic(self) == 1:
         return 0
     else:
         return 1
Beispiel #2
0
 def performGateLogic(self):
     sum = XorGate.performGateLogic(self)
     carry = AndGate.performGateLogic(self)
     return (sum, carry)
Beispiel #3
0
 def performGateLogic(self):
     if AndGate.performGateLogic(self) == 1:
         return 0
     else:
         return 1