diff options
| author | Jack | 2016-02-23 00:24:33 -0800 |
|---|---|---|
| committer | Jack | 2016-02-23 00:24:33 -0800 |
| commit | 6ec6edea9a60f8aab80ee287547160ffaf73aaf7 (patch) | |
| tree | 8910f279d7085461cee012c53ad1c72dac4edbe7 | |
| parent | b49add5a991b0f8f6fc25ffdcb4876f4ae19b794 (diff) | |
Change FIRRTL Compiler to remove CHIRRTL and Check High FIRRTL Form
| -rw-r--r-- | src/main/scala/firrtl/Compiler.scala | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/main/scala/firrtl/Compiler.scala b/src/main/scala/firrtl/Compiler.scala index 34776cf3..782d43cb 100644 --- a/src/main/scala/firrtl/Compiler.scala +++ b/src/main/scala/firrtl/Compiler.scala @@ -38,8 +38,16 @@ trait Compiler extends LazyLogging { } object FIRRTLCompiler extends Compiler { + val passes = Seq( + CInferTypes, + CInferMDir, + RemoveCHIRRTL, + ToWorkingIR, + CheckHighForm + ) def run(c: Circuit, w: Writer) = { - FIRRTLEmitter.run(c, w) + val highForm = PassUtils.executePasses(c, passes) + FIRRTLEmitter.run(highForm, w) } } |
