From 08ca3da14e6adcd70955ade993917ae7b73e21cb Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Thu, 30 Jan 2020 18:09:43 +1100 Subject: [PATCH] Remove some old tests These modules aren't used any more. Signed-off-by: Anton Blanchard --- src/test/scala/LoadStoreAlign.scala | 19 ------------------- src/test/scala/LoadStoreDeAlign.scala | 19 ------------------- 2 files changed, 38 deletions(-) delete mode 100644 src/test/scala/LoadStoreAlign.scala delete mode 100644 src/test/scala/LoadStoreDeAlign.scala diff --git a/src/test/scala/LoadStoreAlign.scala b/src/test/scala/LoadStoreAlign.scala deleted file mode 100644 index b630ad2..0000000 --- a/src/test/scala/LoadStoreAlign.scala +++ /dev/null @@ -1,19 +0,0 @@ -import org.scalatest._ -import chisel3.tester._ -import chisel3._ - -class AlignStoreTester extends FlatSpec with ChiselScalatestTester with Matchers { - behavior of "AlignStore" - it should "pass a unit test" in { - test(new LoadStoreAlign(64)) { p => - val x = BigInt(0x0102030405060708L) - p.io.in.poke(x.U) - - for (offset <- 0 until 7) { - val y = (x << (offset*8)) & BigInt("FFFFFFFFFFFFFFFF", 16) - p.io.offset.poke(offset.U) - p.io.out.expect(y.U) - } - } - } -} diff --git a/src/test/scala/LoadStoreDeAlign.scala b/src/test/scala/LoadStoreDeAlign.scala deleted file mode 100644 index f195be2..0000000 --- a/src/test/scala/LoadStoreDeAlign.scala +++ /dev/null @@ -1,19 +0,0 @@ -import org.scalatest._ -import chisel3.tester._ -import chisel3._ - -class DeAlignStoreTester extends FlatSpec with ChiselScalatestTester with Matchers { - behavior of "AlignStore" - it should "pass a unit test" in { - test(new LoadStoreDeAlign(64)) { p => - val x = BigInt(0x0102030405060708L) - p.io.in.poke(x.U) - - for (offset <- 0 until 7) { - val y = (x >> (offset*8)) & BigInt("FFFFFFFFFFFFFFFF", 16) - p.io.offset.poke(offset.U) - p.io.out.expect(y.U) - } - } - } -}