예제 #1
0
파일: bitsVal.py 프로젝트: saislam/hwt
 def __or__(self, other):
     return bitsBitOp(self, other, AllOps.OR, vld_mask_for_or, tryReduceOr)
예제 #2
0
파일: bitsVal.py 프로젝트: saislam/hwt
 def __and__(self, other):
     return bitsBitOp(self, other, AllOps.AND, vld_mask_for_and,
                      tryReduceAnd)
예제 #3
0
파일: bitsVal.py 프로젝트: saislam/hwt
 def __xor__(self, other):
     return bitsBitOp(self, other, AllOps.XOR, vld_mask_for_xor,
                      tryReduceXor)
예제 #4
0
파일: bitsVal.py 프로젝트: Ben-401/hwt
 def __or__(self, other):
     return bitsBitOp(self, other, AllOps.OR, vldMaskForOr, tryReduceOr)
예제 #5
0
파일: bitsVal.py 프로젝트: Ben-401/hwt
 def __and__(self, other):
     return bitsBitOp(self, other, AllOps.AND, vldMaskForAnd, tryReduceAnd)
예제 #6
0
파일: bitsVal.py 프로젝트: nilintxc/hwt
 def __xor__(self, other):
     return bitsBitOp(self, other, AllOps.XOR, vld_mask_for_xor,
                      tryReduceXor, self._dtype.from_py(0))