Fixes test for CI
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -32,7 +32,7 @@ trait TapeoutCli {
|
||||
parser.note("Tapeout specific options")
|
||||
|
||||
Seq(
|
||||
OutAnnoAnnotation,
|
||||
OutAnnoAnnotation
|
||||
).foreach(_.addOptions(parser))
|
||||
}
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user