This repository was archived by the owner on Aug 20, 2024. It is now read-only.
This repository was archived by the owner on Aug 20, 2024. It is now read-only.
Strobe writes broken in TileTester. #56
Open
Description
The way that strobe writes are implemented in TileTester.scala
is broken. As it is now, it creates a Wire
70 bits long and writes junk data to the testing memory. I fixed with the following lines of code:
val blastBytes = nasti.dataBits / 8
val write = (VecInit.tabulate(blastBytes)(byte => (Mux(dut.io.nasti.w.bits.strb(byte), dut.io.nasti.w.bits.data, _mem(addr + off)))(8 * (byte + 1) - 1, 8 * byte))).asUInt
I don't know if this would be the preferred fix, but I just wanted to let you all know.
Metadata
Metadata
Assignees
Labels
No labels