Fixes test for CI

This commit is contained in:
joey0320
2022-12-28 23:55:10 -08:00
parent e340f1240a
commit 06db605902
3 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ import firrtl.transforms.BlackBoxResourceFileNameAnno
import logger.LazyLogging
private class GenerateModelStageMain(annotations: AnnotationSeq) extends LazyLogging {
val outAnno: Option[String] = annotations.collectFirst { case OutAnnoAnnotation(s) => s }
val outAnno: Option[String] = annotations.collectFirst { case OutAnnoAnnotation(s) => s }
val annoFiles: List[String] = annotations.flatMap {
case InputAnnotationFileAnnotation(f) => Some(f)

View File

@@ -32,7 +32,7 @@ trait TapeoutCli {
parser.note("Tapeout specific options")
Seq(
OutAnnoAnnotation,
OutAnnoAnnotation
).foreach(_.addOptions(parser))
}

View File

@@ -91,7 +91,7 @@ class GenerateSpec extends AnyFreeSpec {
val targetDir = "test_run_dir/generate_spec"
generateTestData(targetDir)
GenerateTop.main(
GenerateModelStageMain.main(
Array(
"-i",
s"$targetDir/GenerateExampleTester.fir",