aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorJack Koenig2018-11-27 12:57:30 -0800
committerGitHub2018-11-27 12:57:30 -0800
commit82f62e04ed71d4507b72f784b3c230dda1262340 (patch)
tree93d4632d9c60dfe32608bfb5394c350a892c8bc9 /src/test
parentbeba4398edeb67624ad010b7ee13f8b863f8478f (diff)
Add "none" compiler (#953)
Where the high form compiler removes Chirrtl (and runs some checks), this compiler does nothing but read in the circuit and then emit it
Diffstat (limited to 'src/test')
-rw-r--r--src/test/scala/firrtlTests/DriverSpec.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/scala/firrtlTests/DriverSpec.scala b/src/test/scala/firrtlTests/DriverSpec.scala
index 4cc7bc90..049547ac 100644
--- a/src/test/scala/firrtlTests/DriverSpec.scala
+++ b/src/test/scala/firrtlTests/DriverSpec.scala
@@ -364,6 +364,7 @@ class DriverSpec extends FreeSpec with Matchers with BackendCompilationUtilities
"To a single file with file extension depending on the compiler by default" in {
Seq(
+ "none" -> "./Top.fir",
"low" -> "./Top.lo.fir",
"high" -> "./Top.hi.fir",
"middle" -> "./Top.mid.fir",
@@ -383,6 +384,7 @@ class DriverSpec extends FreeSpec with Matchers with BackendCompilationUtilities
}
"To a single file per module if OneFilePerModule is specified" in {
Seq(
+ "none" -> Seq("./Top.fir", "./Child.fir"),
"low" -> Seq("./Top.lo.fir", "./Child.lo.fir"),
"high" -> Seq("./Top.hi.fir", "./Child.hi.fir"),
"middle" -> Seq("./Top.mid.fir", "./Child.mid.fir"),