예제 #1
0
파일: bitsVal.py 프로젝트: saislam/hwt
 def __le__(self, other):
     return bitsCmp(self, other, AllOps.LE)
예제 #2
0
파일: bitsVal.py 프로젝트: saislam/hwt
 def __ne__(self, other):
     return bitsCmp(self, other, AllOps.NE)
예제 #3
0
파일: bitsVal.py 프로젝트: saislam/hwt
 def __ge__(self, other):
     return bitsCmp(self, other, AllOps.GE)
예제 #4
0
파일: bitsVal.py 프로젝트: saislam/hwt
 def _eq(self, other):
     return bitsCmp(self, other, AllOps.EQ, eq)
예제 #5
0
파일: bitsVal.py 프로젝트: nilintxc/hwt
 def __le__(self, other):
     return bitsCmp(self, other, AllOps.LE, BIT.from_py(1))
예제 #6
0
파일: bitsVal.py 프로젝트: nilintxc/hwt
 def __gt__(self, other):
     return bitsCmp(self, other, AllOps.GT, BIT.from_py(0))
예제 #7
0
파일: bitsVal.py 프로젝트: nilintxc/hwt
 def __ne__(self, other):
     return bitsCmp(self, other, AllOps.NE, BIT.from_py(0))
예제 #8
0
파일: bitsVal.py 프로젝트: nilintxc/hwt
 def _eq(self, other):
     return bitsCmp(self, other, AllOps.EQ, BIT.from_py(1), eq)