aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie2017-02-22 17:46:27 -0800
committerAdam Izraelevitz2017-02-23 14:55:00 -0800
commit7f771d36ea80bb51e5bef6e985e4fb0b600e199e (patch)
treebd4dc20478e6deb85a6dd121bc632ee923ce204d
parentcb48b4dee02abe2080b665b26db9fc2e0c865d4c (diff)
fix bug in blackboxsourcehelper apply -- pointed to wrong transform
-rw-r--r--src/main/scala/firrtl/transforms/BlackBoxSourceHelper.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/firrtl/transforms/BlackBoxSourceHelper.scala b/src/main/scala/firrtl/transforms/BlackBoxSourceHelper.scala
index 94078dc0..aaae284b 100644
--- a/src/main/scala/firrtl/transforms/BlackBoxSourceHelper.scala
+++ b/src/main/scala/firrtl/transforms/BlackBoxSourceHelper.scala
@@ -45,7 +45,7 @@ case class BlackBoxInline(name: String, text: String) extends BlackBoxSource {
object BlackBoxSourceAnnotation {
def apply(targetDir: ModuleName, value: String): Annotation = {
assert(BlackBoxSource.parse(value).isDefined)
- Annotation(targetDir, classOf[DedupModules], value)
+ Annotation(targetDir, classOf[BlackBoxSourceHelper], value)
}
def unapply(a: Annotation): Option[(ModuleName, BlackBoxSource)] = a match {