Endianness Confusion Load Inst test #15
Closed
Comments
|
This looks like you don't have Edit: Other way around. It looks like you have |
|
Thanks fixed it :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Clifford,
I build a small RiscV processor to get a bit of practice in the topic. The core is working but I want to verify that the core is really ISA conform. For this purpose, is modified your Picorv32 example to work with my core. The tests are starting and working but the checks for the lb, lbu, lh and lhu do always fail with the assertion assert(spec_rd_wdata == rd_wdata) . By looking at the trace files I do not get why.
The spec says that the read mask for a lb for example should be 0b1000. From my understanding the read mask should be 0b0001 since RiscV is said to be a little-endian machine. With the readmask of 0b1000 the spec says hat for a memory read data of 0x00000001 the write back value should be 0x00000000.
Can you explain me why or point me in the direction of the point I miss?
Attached is the trace file of the missing test
insn_lb_ch0.zip
The text was updated successfully, but these errors were encountered: