summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman2019-01-17 15:45:37 -0800
committerAndrew Waterman2019-01-17 15:46:19 -0800
commit62879d16563896baecd469df98bd08298c430252 (patch)
tree5357eaf76400eaadd5b51173b9ef88dd7de154c8
parentcc21e9cd9509563bc952d37294e08812a283ca9f (diff)
Unary_- is truncating
-rw-r--r--chiselFrontend/src/main/scala/chisel3/core/Bits.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/chiselFrontend/src/main/scala/chisel3/core/Bits.scala b/chiselFrontend/src/main/scala/chisel3/core/Bits.scala
index 4ba5aed4..abc7b583 100644
--- a/chiselFrontend/src/main/scala/chisel3/core/Bits.scala
+++ b/chiselFrontend/src/main/scala/chisel3/core/Bits.scala
@@ -655,7 +655,7 @@ sealed class UInt private[core] (width: Width) extends Bits(width) with Num[UInt
/** Unary negation (expanding width)
*
* @return a $coll equal to zero minus this $coll
- * $expandingWidth
+ * $constantWidth
* @group Arithmetic
*/
final def unary_- (): UInt = macro SourceInfoTransform.noArg
@@ -969,7 +969,7 @@ sealed class SInt private[core] (width: Width) extends Bits(width) with Num[SInt
/** Unary negation (expanding width)
*
* @return a hardware $coll equal to zero minus this $coll
- * $expandingWidth
+ * $constantWidth
* @group Arithmetic
*/
final def unary_- (): SInt = macro SourceInfoTransform.noArg