diff options
| author | Ducky | 2016-05-23 14:09:26 -0700 |
|---|---|---|
| committer | Andrew Waterman | 2016-05-31 19:05:25 -0700 |
| commit | 2e2e3da0c07cd1dc873c064510f68123cae69059 (patch) | |
| tree | d56c9d9e7092a07280ef7942b81f7041e83dcd05 /chiselFrontend/src/main/scala/Chisel/Bits.scala | |
| parent | 3b10267257de7662abbbc235d9bfd8a8b89f69f5 (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.scala | 8 |
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 |
