06-26-2013 09:28 AM
Hi to all,
I realized that reading from the register of a device using the OS installed on my ML605, the bit order is reversed. For example I would expect to read 10001101 instead i read 10110001. I'm using Microblaze and a Linux OS.
Please, could someone help me?
07-05-2013 06:24 AM
Which Bus are you using ? PLB or AXI?
Maybe its a Big - Little endian issue.
I'm using a PLB bus which is Big endian and for some registers the bit order reversed.
07-20-2013 11:50 PM
AXI bus should be little endian, but I don't have any experience with it.
Have you tried reading byte by byte and then comparing to reading a 32 bit?
07-20-2013 11:52 PM
Also, have you confirmed this on several addresses?
Could it be that this address is for some HW peripheral that it's internal alignment is Big Endian?
Try reading from other HW ip cores, see what you get.