From c4e5f66c5e795c744b7f3be2780f7f2bb15e9e23 Mon Sep 17 00:00:00 2001 From: Albert Magyar Date: Wed, 13 May 2020 10:26:40 -0700 Subject: [PATCH] Provide MidForm circuit to MacroCompilerTransform --- macros/src/main/scala/MacroCompiler.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/src/main/scala/MacroCompiler.scala b/macros/src/main/scala/MacroCompiler.scala index 5d1be9c7..cb24bc9c 100644 --- a/macros/src/main/scala/MacroCompiler.scala +++ b/macros/src/main/scala/MacroCompiler.scala @@ -836,7 +836,7 @@ object MacroCompiler extends App { ) // The actual MacroCompilerTransform basically just generates an input circuit - val macroCompilerInput = CircuitState(circuit, HighForm, annotations) + val macroCompilerInput = CircuitState(circuit, MidForm, annotations) val macroCompiled = (new MacroCompilerTransform).execute(macroCompilerInput)