Support fp16 input, fp32 output in TensorDPU

TODO could see improvement towards handling raw format as much as
possible.
This commit is contained in:
Hansung Kim
2024-08-01 21:59:41 -07:00
parent ee79fdaa05
commit d8674b753e
2 changed files with 80 additions and 34 deletions

View File

@@ -85,7 +85,7 @@ class TensorDotProductUnitTest extends AnyFlatSpec with ChiselScalatestTester {
// 4-cycle latency + stalls
c.io.out.valid.expect(true.B)
c.io.out.bits.data.expect(0x56d0.U)
c.io.out.bits.data.expect(0x42da0000L.U)
c.clock.step()