summaryrefslogtreecommitdiff
path: root/chiselFrontend/src/main/scala/Chisel/Bits.scala
diff options
context:
space:
mode:
authorDucky2016-05-23 14:09:26 -0700
committerAndrew Waterman2016-05-31 19:05:25 -0700
commit2e2e3da0c07cd1dc873c064510f68123cae69059 (patch)
treed56c9d9e7092a07280ef7942b81f7041e83dcd05 /chiselFrontend/src/main/scala/Chisel/Bits.scala
parent3b10267257de7662abbbc235d9bfd8a8b89f69f5 (diff)
Move BitPat out of core/frontend, add implicit conversion
Diffstat (limited to 'chiselFrontend/src/main/scala/Chisel/Bits.scala')
-rw-r--r--chiselFrontend/src/main/scala/Chisel/Bits.scala8
1 files changed, 0 insertions, 8 deletions
diff --git a/chiselFrontend/src/main/scala/Chisel/Bits.scala b/chiselFrontend/src/main/scala/Chisel/Bits.scala
index 2783c160..bc8cc8e2 100644
--- a/chiselFrontend/src/main/scala/Chisel/Bits.scala
+++ b/chiselFrontend/src/main/scala/Chisel/Bits.scala
@@ -464,14 +464,6 @@ sealed class UInt private[Chisel] (dir: Direction, width: Width, lit: Option[ULi
Mux(dat, this | bit, ~(~this | bit))
}
- final def === (that: BitPat): Bool = macro SourceInfoTransform.thatArg
- final def != (that: BitPat): Bool = macro SourceInfoTransform.thatArg
- final def =/= (that: BitPat): Bool = macro SourceInfoTransform.thatArg
-
- def do_=== (that: BitPat)(implicit sourceInfo: SourceInfo): Bool = that === this
- def do_!= (that: BitPat)(implicit sourceInfo: SourceInfo): Bool = that != this
- def do_=/= (that: BitPat)(implicit sourceInfo: SourceInfo): Bool = that =/= this
-
/** Returns this UInt as a [[SInt]] with an additional zero in the MSB.
*/
// TODO: this eventually will be renamed as toSInt, once the existing toSInt