diff options
| author | Jack Koenig | 2021-01-20 13:46:48 -0800 |
|---|---|---|
| committer | Jack Koenig | 2021-01-21 15:36:55 -0800 |
| commit | 5ece5aa8ac2716d66a6ed91e38a978049d8bf250 (patch) | |
| tree | f83353530e836491bb9b770712f1b8ff3dac3942 /src/test/scala/chiselTests/Direction.scala | |
| parent | 616256c35cb7de8fcd97df56af1986b747abe54d (diff) | |
Rename MultiIOModule to Module
Diffstat (limited to 'src/test/scala/chiselTests/Direction.scala')
| -rw-r--r-- | src/test/scala/chiselTests/Direction.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/scala/chiselTests/Direction.scala b/src/test/scala/chiselTests/Direction.scala index 570abc68..39ff1f0e 100644 --- a/src/test/scala/chiselTests/Direction.scala +++ b/src/test/scala/chiselTests/Direction.scala @@ -131,7 +131,7 @@ class DirectionSpec extends ChiselPropSpec with Matchers with Utils { import chisel3.experimental.{DataMirror, Direction} property("Directions should be preserved through cloning and binding of Bundles") { - ChiselStage.elaborate(new MultiIOModule { + ChiselStage.elaborate(new Module { class MyBundle extends Bundle { val foo = Input(UInt(8.W)) val bar = Output(UInt(8.W)) @@ -164,11 +164,11 @@ class DirectionSpec extends ChiselPropSpec with Matchers with Utils { for ((data, dir) <- actualDirs) { DataMirror.directionOf(data) shouldBe (dir) } - }.asInstanceOf[MultiIOModule]) // The cast works around weird reflection behavior (bug?) + }.asInstanceOf[Module]) // The cast works around weird reflection behavior (bug?) } property("Directions should be preserved through cloning and binding of Vecs") { - ChiselStage.elaborate(new MultiIOModule { + ChiselStage.elaborate(new Module { val a = Vec(1, Input(UInt(8.W))) val b = Vec(1, a) val c = Vec(1, Flipped(a)) @@ -197,7 +197,7 @@ class DirectionSpec extends ChiselPropSpec with Matchers with Utils { for ((data, dir) <- actualDirs) { DataMirror.directionOf(data) shouldBe (dir) } - }.asInstanceOf[MultiIOModule]) // The cast works around weird reflection behavior (bug?) + }.asInstanceOf[Module]) // The cast works around weird reflection behavior (bug?) } property("Using Vec and Flipped together should calculate directions properly") { |
