diff options
| author | Schuyler Eldridge | 2019-01-09 00:04:15 -0500 |
|---|---|---|
| committer | Schuyler Eldridge | 2019-01-22 14:43:45 -0500 |
| commit | ff26f51436cad7ed09fb5e6ee6b8a0241d142055 (patch) | |
| tree | 7479e9d0ba7cecdd0bb48f0ef26b93fe910bf351 /src/main | |
| parent | 26660ff96d323e74c12d3ab0d43883c51188ff7c (diff) | |
Fix BoringUtils deduplication bug
This fixes a bug where BoringUtils non-hierarchical sinks would be
deduplicated even when specified that they should not be.
h/t @ucbjrl for discovering this!
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/scala/chisel3/util/experimental/BoringUtils.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/chisel3/util/experimental/BoringUtils.scala b/src/main/scala/chisel3/util/experimental/BoringUtils.scala index 066e924f..c1bfa240 100644 --- a/src/main/scala/chisel3/util/experimental/BoringUtils.scala +++ b/src/main/scala/chisel3/util/experimental/BoringUtils.scala @@ -177,7 +177,7 @@ object BoringUtils { val annotations = Seq(new ChiselAnnotation with RunFirrtlTransform { def toFirrtl = SinkAnnotation(component.toNamed, name) - def transformClass = classOf[WiringTransform] }) + def transformClass = classOf[WiringTransform] }) ++ maybeDedup annotations.map(annotate(_)) } |
