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
{{ message }}
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.
When assembling words out of those bytes, it does so using big endian encoding ("All data transfer is big endian. This means for a 2 byte wide FIFO (check the FIFO width with glip_get_fifo_width()) the first byte written will be the MSB in the FIFO, the second byte written will be the LSB." -- http://www.glip.io/group__communication.html#ga7b3737ebb2d1f601f0c987cf50f0c43a)
libopensocdebug uses memcpy() to convert uint16 -> uint8_t[2]. On (little endian) x86 systems, this results in byte[0] = LSB, byte[1] = MSB.
After being transmitted through GLIP, the fifo_out_data[15:0] signal contains fifo_out_data[15:8] = LSB, fifo_out_data[7:0] = MSB.
This swapping in HIM is a workaround which only works on little endian host systems (i.e. libopensocdebug won't work on power pc).
To solve this issue, we should
The text was updated successfully, but these errors were encountered: