diff options
| author | Albert Magyar | 2020-03-03 08:11:42 -0800 |
|---|---|---|
| committer | GitHub | 2020-03-03 16:11:41 +0000 |
| commit | 498414819f9fb95d85d6de05864ac998374e7e52 (patch) | |
| tree | 615359440d175c8d4125c1b6017c07e53b885d50 /src | |
| parent | c37690f3087fb38f0cd8959dcc65dbad6c75f74c (diff) | |
Fix error message for NegWidthException (#1418)
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/scala/firrtl/passes/Checks.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/firrtl/passes/Checks.scala b/src/main/scala/firrtl/passes/Checks.scala index 06a3368b..934aaed3 100644 --- a/src/main/scala/firrtl/passes/Checks.scala +++ b/src/main/scala/firrtl/passes/Checks.scala @@ -39,7 +39,7 @@ trait CheckHighFormLike { class IncorrectNumConstsException(info: Info, mname: String, op: String, n: Int) extends PassException( s"$info: [module $mname] Primop $op requires $n integer arguments.") class NegWidthException(info: Info, mname: String) extends PassException( - s"$info: [module $mname] Width cannot be negative or zero.") + s"$info: [module $mname] Width cannot be negative.") class NegVecSizeException(info: Info, mname: String) extends PassException( s"$info: [module $mname] Vector type size cannot be negative.") class NegMemSizeException(info: Info, mname: String) extends PassException( |
