summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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