1
0
mirror of https://github.com/antonblanchard/chiselwatt.git synced 2026-01-14 15:46:35 +00:00

Remove some old tests

These modules aren't used any more.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
This commit is contained in:
Anton Blanchard 2020-01-30 18:09:43 +11:00 committed by Anton Blanchard
parent 858ac3281c
commit 08ca3da14e
2 changed files with 0 additions and 38 deletions

View File

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

View File

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