aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/firrtl/passes/InferWidths.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/firrtl/passes/InferWidths.scala')
-rw-r--r--src/main/scala/firrtl/passes/InferWidths.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/scala/firrtl/passes/InferWidths.scala b/src/main/scala/firrtl/passes/InferWidths.scala
index aa2095fa..56cd4dd2 100644
--- a/src/main/scala/firrtl/passes/InferWidths.scala
+++ b/src/main/scala/firrtl/passes/InferWidths.scala
@@ -110,6 +110,7 @@ class InferWidths extends Transform with ResolvedAnnotationPaths with Dependency
case (AsyncResetType, AsyncResetType) => Nil
case (ResetType, _) => Nil
case (_, ResetType) => Nil
+ case _ => throwInternalError("Shouldn't be here")
}
private def addExpConstraints(e: Expression)(implicit constraintSolver: ConstraintSolver): Expression =