From 5c32cd87b85e2607e558f286cb1f8fd9604e4c83 Mon Sep 17 00:00:00 2001 From: Richard Lin Date: Wed, 4 Jul 2018 17:13:04 -0500 Subject: Change wording of internal failure --- chiselFrontend/src/main/scala/chisel3/core/Bits.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chiselFrontend') diff --git a/chiselFrontend/src/main/scala/chisel3/core/Bits.scala b/chiselFrontend/src/main/scala/chisel3/core/Bits.scala index b54b5e11..b67c3fe3 100644 --- a/chiselFrontend/src/main/scala/chisel3/core/Bits.scala +++ b/chiselFrontend/src/main/scala/chisel3/core/Bits.scala @@ -94,7 +94,7 @@ sealed abstract class Bits(width: Width) case Some(ElementLitBinding(litArg)) => litArg case Some(BundleLitBinding(litMap)) => litMap.get(this) match { case Some(litArg) => litArg - case _ => throwException(s"internal error: DontCare should be caught before connect") + case _ => throwException(s"internal error: DontCare should be caught before getting ref") } case _ => super.ref } -- cgit v1.2.3