You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val blocks = Mem(nSectors, Vec(dataBeats, UInt(dataBitsPerBeat.W)))
...
blocks(dataReq.offset)(dataBeat) := io.data.bits.data
After the rocket-chip chisel bump(from chisel3/bb12fe to chisel3/e2c5c1) the above code no longer behaves as expected (accessing the inner Vec of the Mem) and instead throws the following error.
[error] /home/centos/hwacha-template/testchipip/src/main/scala/BlockDevice.scala:375: type mismatch;
[error] found : chisel3.core.UInt
[error] required: chisel3.core.CompileOptions
[error] blocks(dataReq.offset)(dataBeat) := io.data.bits.data
A simple workaround is below but seems highly unintuitive
With the following chisel
After the rocket-chip chisel bump(from chisel3/bb12fe to chisel3/e2c5c1) the above code no longer behaves as expected (accessing the inner Vec of the Mem) and instead throws the following error.
A simple workaround is below but seems highly unintuitive
If I had more time I'd write a test but alas I do not have more time.
The text was updated successfully, but these errors were encountered: