summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/OneHotMuxSpec.scala
diff options
context:
space:
mode:
authorRichard Lin2017-08-17 17:24:02 -0700
committerJack Koenig2017-08-17 17:24:02 -0700
commit6e12ed9fd7a771eb30f44b8e1c4ab33f6ad8e0a6 (patch)
tree0ff452193d515adc32ecccacb2b58daa9a1d95cb /src/test/scala/chiselTests/OneHotMuxSpec.scala
parent802cfc4405c28ae212a955a92c7a6ad2d2b6f0c2 (diff)
More of the bindings refactor (#635)
Rest of the binding refactor
Diffstat (limited to 'src/test/scala/chiselTests/OneHotMuxSpec.scala')
-rw-r--r--src/test/scala/chiselTests/OneHotMuxSpec.scala16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/test/scala/chiselTests/OneHotMuxSpec.scala b/src/test/scala/chiselTests/OneHotMuxSpec.scala
index c2efb6f8..9495703d 100644
--- a/src/test/scala/chiselTests/OneHotMuxSpec.scala
+++ b/src/test/scala/chiselTests/OneHotMuxSpec.scala
@@ -126,10 +126,10 @@ object Agg1 extends HasMakeLit[Agg1] {
val (d: Double, e: Double, f: Double, g: Double) = (x, x * 2.0, x * 3.0, x * 4.0)
val w = Wire(new Agg1)
- w.v(0) := Wire(d.F(4.BP))
- w.v(1) := Wire(e.F(4.BP))
- w.a.f1 := Wire(f.F(3.BP))
- w.a.f2 := Wire(g.F(5.BP))
+ w.v(0) := d.F(4.BP)
+ w.v(1) := e.F(4.BP)
+ w.a.f1 := f.F(3.BP)
+ w.a.f2 := g.F(5.BP)
w
}
}
@@ -147,10 +147,10 @@ object Agg2 extends HasMakeLit[Agg2] {
val (d: Double, e: Double, f: Double, g: Double) = (x, x * 2.0, x * 3.0, x * 4.0)
val w = Wire(new Agg2)
- w.v(0) := Wire(d.F(4.BP))
- w.v(1) := Wire(e.F(4.BP))
- w.a.f1 := Wire(f.F(3.BP))
- w.a.f2 := Wire(g.F(5.BP))
+ w.v(0) := d.F(4.BP)
+ w.v(1) := e.F(4.BP)
+ w.a.f1 := f.F(3.BP)
+ w.a.f2 := g.F(5.BP)
w
}
}