Skip to content

Commit 053f53f

Browse files
committed
Bug fix of vtypes.Sign.
1 parent a6713d7 commit 053f53f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

veriloggen/core/vtypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1755,7 +1755,7 @@ def Complement2(var):
17551755
if isinstance(var, (int, bool, float)):
17561756
return abs(var)
17571757

1758-
return Ulnot(var) + Int(1)
1758+
return Unot(var) + Int(1)
17591759

17601760

17611761
def Abs(var):

0 commit comments

Comments
 (0)