diff options
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/scala/firrtlTests/FlattenTests.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/scala/firrtlTests/FlattenTests.scala b/src/test/scala/firrtlTests/FlattenTests.scala index 77a221be..82c3ebdc 100644 --- a/src/test/scala/firrtlTests/FlattenTests.scala +++ b/src/test/scala/firrtlTests/FlattenTests.scala @@ -224,4 +224,14 @@ class FlattenTests extends LowTransformSpec { | b <= a""".stripMargin execute(input, check, Seq(flatten("Inline1"))) } + "The Flatten transform" should "do nothing if no flatten annotations are present" in{ + val input = + """|circuit Foo: + | module Foo: + | input a: UInt<1> + | output b: UInt<1> + | b <= a + |""".stripMargin + execute(input, input, Seq.empty) + } } |
