Skip to content

Commit

Permalink
Update ToLoFirrtl in light of annotations refactor. (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
ucbjrl authored Mar 2, 2018
1 parent 7acfb95 commit 44d376e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/firrtl_interpreter/ToLoFirrtl.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ object ToLoFirrtl {
optionsManager: ExecutionOptionsManager with HasFirrtlOptions with HasInterpreterOptions): Circuit = {
val compiler = new LowFirrtlCompiler

val annotationMap = AnnotationMap(optionsManager.firrtlOptions.annotations)
val compileResult = compiler.compileAndEmit(firrtl.CircuitState(c, ChirrtlForm, Some(annotationMap)))
val annotations = optionsManager.firrtlOptions.annotations
val compileResult = compiler.compileAndEmit(firrtl.CircuitState(c, ChirrtlForm, annotations))
compileResult.circuit
}
}

0 comments on commit 44d376e

Please sign in to comment.