aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/firrtlTests/RemoveWiresSpec.scala
diff options
context:
space:
mode:
authorKevin Laeufer2020-07-29 13:09:15 -0700
committerGitHub2020-07-29 20:09:15 +0000
commit734e3e462ce74178147d5d6b0b6bdc5557f41103 (patch)
tree02e700a0d6e18dd81a64f9a96b6602e09fc7ca39 /src/test/scala/firrtlTests/RemoveWiresSpec.scala
parent3c561d4125767406f2b069915ba927190b38e8cd (diff)
InferTypes: fix bugs with unknown widths on ports and memories (#1769)
* InferTypesFlowsAndKindsSpec: test the results of InferTypes, ResolveKinds and ResolveFlows * Don't use passes sub-package in tests This changes two test files using the "passes" sub-package to "firrtl.passes". This allows a new "firrtlTests.passes" package to be freely created and used without a name collision. Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com> * ResolveFlows: only depends on types and working ir The types are needed to know the orientation of a bundle field of a SubField node. * InferTypes: fix bugs with unknown widths on ports and memories * LoweringCompileSpec: Uniquify pass moved Co-authored-by: Schuyler Eldridge <schuyler.eldridge@ibm.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Diffstat (limited to 'src/test/scala/firrtlTests/RemoveWiresSpec.scala')
-rw-r--r--src/test/scala/firrtlTests/RemoveWiresSpec.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/scala/firrtlTests/RemoveWiresSpec.scala b/src/test/scala/firrtlTests/RemoveWiresSpec.scala
index dd3155d0..e6b60059 100644
--- a/src/test/scala/firrtlTests/RemoveWiresSpec.scala
+++ b/src/test/scala/firrtlTests/RemoveWiresSpec.scala
@@ -163,7 +163,7 @@ class RemoveWiresSpec extends FirrtlFlatSpec {
|c <= n""".stripMargin
)
// Check declaration before use is maintained
- passes.CheckHighForm.execute(result)
+ firrtl.passes.CheckHighForm.execute(result)
}
it should "order registers with async reset correctly" in {
@@ -180,7 +180,7 @@ class RemoveWiresSpec extends FirrtlFlatSpec {
|""".stripMargin
)
// Check declaration before use is maintained
- passes.CheckHighForm.execute(result)
+ firrtl.passes.CheckHighForm.execute(result)
}
it should "order registers respecting initializations" in {
@@ -195,7 +195,7 @@ class RemoveWiresSpec extends FirrtlFlatSpec {
|bar <= y
|""".stripMargin)
// Check declaration before use is maintained
- passes.CheckHighForm.execute(result)
+ firrtl.passes.CheckHighForm.execute(result)
}
}