From 1e114d03558089789b5391675dee933e2175c18a Mon Sep 17 00:00:00 2001 From: Abraham Gonzalez Date: Thu, 7 Nov 2019 10:17:24 -0800 Subject: [PATCH] Match inner variables --- tapeout/src/main/scala/transforms/Generate.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tapeout/src/main/scala/transforms/Generate.scala b/tapeout/src/main/scala/transforms/Generate.scala index 6a9e7823..eb10503e 100644 --- a/tapeout/src/main/scala/transforms/Generate.scala +++ b/tapeout/src/main/scala/transforms/Generate.scala @@ -219,7 +219,7 @@ sealed trait GenerateTopAndHarnessApp extends LazyLogging { this: App => dump(x, tapeoutOptions.topFir, tapeoutOptions.topAnnoOut) x.circuitState.circuit.modules.collect{ case e: ExtModule => e } case x => - throw new Exception(s"executeTop failed while executing FIRRTL!\n${e}") + throw new Exception(s"executeTop failed while executing FIRRTL!\n${x}") } } @@ -243,7 +243,7 @@ sealed trait GenerateTopAndHarnessApp extends LazyLogging { this: App => val harnessResult = firrtl.Driver.execute(optionsManager) harnessResult match { case x: FirrtlExecutionSuccess => dump(x, tapeoutOptions.harnessFir, tapeoutOptions.harnessAnnoOut) - case x => throw new Exception(s"executeHarness failed while executing FIRRTL!\n${e}") + case x => throw new Exception(s"executeHarness failed while executing FIRRTL!\n${x}") } } }