diff options
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/scala/firrtlTests/InlineInstancesTests.scala | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/test/scala/firrtlTests/InlineInstancesTests.scala b/src/test/scala/firrtlTests/InlineInstancesTests.scala index 36b007e8..92ed1195 100644 --- a/src/test/scala/firrtlTests/InlineInstancesTests.scala +++ b/src/test/scala/firrtlTests/InlineInstancesTests.scala @@ -49,11 +49,7 @@ class InlineInstancesTests extends LowTransformSpec { | wire i$b : UInt<32> | i$b <= i$a | b <= i$b - | i$a <= a - | module Inline : - | input a : UInt<32> - | output b : UInt<32> - | b <= a""".stripMargin + | i$a <= a""".stripMargin val writer = new StringWriter() val aMap = new AnnotationMap(Seq(InlineAnnotation(ModuleName("Inline", CircuitName("Top"))))) execute(writer, aMap, input, check) @@ -87,11 +83,7 @@ class InlineInstancesTests extends LowTransformSpec { | i1$b <= i1$a | b <= i1$b | i0$a <= a - | i1$a <= i0$b - | module Simple : - | input a : UInt<32> - | output b : UInt<32> - | b <= a""".stripMargin + | i1$a <= i0$b""".stripMargin val writer = new StringWriter() val aMap = new AnnotationMap(Seq(InlineAnnotation(ModuleName("Simple", CircuitName("Top"))))) execute(writer, aMap, input, check) @@ -166,10 +158,6 @@ class InlineInstancesTests extends LowTransformSpec { | b <= i1.b | i0$a <= a | i1.a <= i0$b - | module A : - | input a : UInt<32> - | output b : UInt<32> - | b <= a | module B : | input a : UInt<32> | output b : UInt<32> @@ -183,7 +171,6 @@ class InlineInstancesTests extends LowTransformSpec { execute(writer, aMap, input, check) } - // ---- Errors ---- // 1) ext module "External module" should "not be inlined" in { |
