Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Commit

Permalink
Preserve annotations from initial FIRRTL pass (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhynes authored and ducky64 committed Dec 27, 2018
1 parent 72bec2c commit cfcef43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/scala/chisel3/tester/TreadleBackend.scala
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ object TreadleExecutive {
firrtlExecutionResult match {
case success: FirrtlExecutionSuccess =>
val dut = getTopModule(circuit).asInstanceOf[T]
optionsManager.firrtlOptions = optionsManager.firrtlOptions.copy(
annotations = success.circuitState.annotations.toSeq.toList
)
val interpretiveTester = new TreadleTester(success.emitted, optionsManager)

val portNames = DataMirror.modulePorts(dut).flatMap { case (name, data) =>
Expand Down

0 comments on commit cfcef43

Please sign in to comment.