spatial
spatial copied to clipboard
Potential asBits issue in VCS
I have a few unit tests that I thought should expose this, but apparently they don't. I noticed in SHA1 that
sha_data(i) = cat(buffer(base + i*4+3).as[U8].asBits, buffer(base + i*4+2).as[U8].asBits, buffer(base + i*4+1).as[U8].asBits, buffer(base + i*4).as[U8].asBits).as[U32]
works
sha_data(i) = cat(buffer(base + i*4+3).asBits, buffer(base + i*4+2).asBits, buffer(base + i*4+1).asBits, buffer(base + i*4).asBits).as[U32]
does not work. buffer
is an I8
RegFile
Need to look into this at some point