diff options
| author | Schuyler Eldridge | 2020-03-19 14:36:13 -0400 |
|---|---|---|
| committer | GitHub | 2020-03-19 14:36:13 -0400 |
| commit | b8a8d792a0e06520eb1f2acf94e149425234bd3b (patch) | |
| tree | a0eef32ce759a2c98680ff3c2b8fbde37a97e296 /src/main | |
| parent | d83235f635e4b048c063c8314e1340bca2db395f (diff) | |
| parent | 3171cdf8472d50a4bcc6011c9b7786199a780514 (diff) | |
Merge pull request #1374 from freechipsproject/dont-wrap-elaboration-annotations
Don't wrap elaboration annotations
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/scala/chisel3/stage/ChiselAnnotations.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/chisel3/stage/ChiselAnnotations.scala b/src/main/scala/chisel3/stage/ChiselAnnotations.scala index bfce0e8d..11697d7d 100644 --- a/src/main/scala/chisel3/stage/ChiselAnnotations.scala +++ b/src/main/scala/chisel3/stage/ChiselAnnotations.scala @@ -52,7 +52,7 @@ case class ChiselGeneratorAnnotation(gen: () => RawModule) extends NoTargetAnnot } catch { case e @ (_: OptionsException | _: ChiselException) => throw e case e: Throwable => - throw new OptionsException(s"Exception thrown when elaborating ChiselGeneratorAnnotation", e) + throw new ChiselException(s"Exception thrown when elaborating ChiselGeneratorAnnotation", e) } } |
