spatial icon indicating copy to clipboard operation
spatial copied to clipboard

Potential asBits issue in VCS

Open mattfel1 opened this issue 6 years ago • 0 comments

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

mattfel1 avatar Dec 01 '18 17:12 mattfel1