diff options
| author | Henry Cook | 2015-08-12 19:32:43 -0700 |
|---|---|---|
| committer | Henry Cook | 2015-08-12 19:32:57 -0700 |
| commit | 85d7403f9bf7bc2b3520f924736c237f21f70ebd (patch) | |
| tree | 64560f779063a419395a2fb8a31ea52c52af4404 /src/test/scala/ChiselTests/VecApp.scala | |
| parent | 7e69966362b1dbd9835695250494857f3a3767c8 (diff) | |
being to convert tests to scala-test; tests compile and run
Diffstat (limited to 'src/test/scala/ChiselTests/VecApp.scala')
| -rw-r--r-- | src/test/scala/ChiselTests/VecApp.scala | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/test/scala/ChiselTests/VecApp.scala b/src/test/scala/ChiselTests/VecApp.scala deleted file mode 100644 index fef3518d..00000000 --- a/src/test/scala/ChiselTests/VecApp.scala +++ /dev/null @@ -1,23 +0,0 @@ -package ChiselTests -import Chisel._ -import Chisel.testers._ - -class VecApp(n: Int, W: Int) extends Module { - val io = new Bundle { - val a = UInt(INPUT, n) - val i = Vec(Bits(INPUT, W), n) - // val o = Vec.fill(n){ Bits(OUTPUT, W) } - val d = Bits(OUTPUT, W) - } - // for (j <- 0 until n) - // io.o(j) := io.i(j) - // val w = Wire(Vec.fill(n){ Bits(width = W) }) - // w := io.i - // io.o := w - // io.d := w(io.a) - io.d := io.i(io.a) - // io.o := io.i -} - -class VecAppTester(c: VecApp) extends Tester(c) { -} |
