diff options
| author | azidar | 2016-09-30 11:46:01 -0700 |
|---|---|---|
| committer | Jack Koenig | 2016-11-04 13:29:09 -0700 |
| commit | 1c36656fad15f515543d89a6407b360b4b2ebb87 (patch) | |
| tree | e115e2e565f4af78aa310dae169e2df2e20a9894 /src/test/scala/firrtlTests/PassTests.scala | |
| parent | 8fa9429a6e916ab2a789f5d81fa803b022805b52 (diff) | |
Add a pass to deduplicate modules
Diffstat (limited to 'src/test/scala/firrtlTests/PassTests.scala')
| -rw-r--r-- | src/test/scala/firrtlTests/PassTests.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/scala/firrtlTests/PassTests.scala b/src/test/scala/firrtlTests/PassTests.scala index e574d31f..1aaf77b6 100644 --- a/src/test/scala/firrtlTests/PassTests.scala +++ b/src/test/scala/firrtlTests/PassTests.scala @@ -36,6 +36,7 @@ abstract class SimpleTransformSpec extends FlatSpec with Matchers with Compiler // Utility function def parse(s: String): Circuit = Parser.parse(s.split("\n").toIterator, infoMode = IgnoreInfo) + def squash(c: Circuit): Circuit = RemoveEmpty.run(c) // Executes the test. Call in tests. def execute(writer: Writer, annotations: AnnotationMap, input: String, check: String) = { |
