Commit 3447f7f1 authored by Jens Korinth's avatar Jens Korinth
Browse files

FifoAxiAdapter: Fix WSTRB field

* WSTRB now correctly adapts to dataWidth (all bytes enabled)
parent 4f3e1b66
......@@ -46,7 +46,7 @@ class FifoAxiAdapter(addrWidth: Int,
io.maxi.writeData.bits.data := data
io.maxi.writeData.bits.last := Bool(true)
io.maxi.writeData.bits.strb := UInt("b1111")
io.maxi.writeData.bits.strb := UInt("b" + ("1" * (dataWidth / 8)))
io.maxi.writeData.valid := !reset && wdata_valid && !data_hs
io.maxi.writeResp.ready := Bool(true)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment