Skip to content

Commit

Permalink
Add missing finishWrapper call in TesterDriver (#1496) (#1498)
Browse files Browse the repository at this point in the history
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit a1edc8f)

Co-authored-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
  • Loading branch information
mergify[bot] and seldridge authored Jun 24, 2020
1 parent 4e783e2 commit cc2971f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/chisel3/testers/TesterDriver.scala
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ object TesterDriver extends BackendCompilationUtilities {
Dependency[Emitter],
Dependency[Convert]))

val annotationsx = pm.transform(ChiselGeneratorAnnotation(t) +: annotations)
val annotationsx = pm.transform(ChiselGeneratorAnnotation(finishWrapper(t)) +: annotations)

val target: String = annotationsx.collectFirst { case FirrtlCircuitAnnotation(cir) => cir.main }.get
val path = annotationsx.collectFirst { case TargetDirAnnotation(dir) => dir }.map(new File(_)).get
Expand Down

0 comments on commit cc2971f

Please sign in to comment.