summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/scala/Chisel/Bits.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/scala/Chisel/Bits.scala b/src/main/scala/Chisel/Bits.scala
index b6ee6d1a..e001f864 100644
--- a/src/main/scala/Chisel/Bits.scala
+++ b/src/main/scala/Chisel/Bits.scala
@@ -302,6 +302,7 @@ sealed class UInt private[Chisel] (dir: Direction, width: Width, lit: Option[ULi
def <= (other: UInt): Bool = compop(LessEqOp, other)
def >= (other: UInt): Bool = compop(GreaterEqOp, other)
def != (other: UInt): Bool = compop(NotEqualOp, other)
+ def =/= (other: UInt): Bool = compop(NotEqualOp, other)
def === (other: UInt): Bool = compop(EqualOp, other)
def unary_! : Bool = this === Bits(0)