Fixes test for CI
This commit is contained in:
@@ -11,7 +11,7 @@ import firrtl.transforms.BlackBoxResourceFileNameAnno
|
|||||||
import logger.LazyLogging
|
import logger.LazyLogging
|
||||||
|
|
||||||
private class GenerateModelStageMain(annotations: AnnotationSeq) extends 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 {
|
val annoFiles: List[String] = annotations.flatMap {
|
||||||
case InputAnnotationFileAnnotation(f) => Some(f)
|
case InputAnnotationFileAnnotation(f) => Some(f)
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ trait TapeoutCli {
|
|||||||
parser.note("Tapeout specific options")
|
parser.note("Tapeout specific options")
|
||||||
|
|
||||||
Seq(
|
Seq(
|
||||||
OutAnnoAnnotation,
|
OutAnnoAnnotation
|
||||||
).foreach(_.addOptions(parser))
|
).foreach(_.addOptions(parser))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ class GenerateSpec extends AnyFreeSpec {
|
|||||||
val targetDir = "test_run_dir/generate_spec"
|
val targetDir = "test_run_dir/generate_spec"
|
||||||
generateTestData(targetDir)
|
generateTestData(targetDir)
|
||||||
|
|
||||||
GenerateTop.main(
|
GenerateModelStageMain.main(
|
||||||
Array(
|
Array(
|
||||||
"-i",
|
"-i",
|
||||||
s"$targetDir/GenerateExampleTester.fir",
|
s"$targetDir/GenerateExampleTester.fir",
|
||||||
|
|||||||
Reference in New Issue
Block a user