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) - } - } - } -}