Article View: comp.arch.fpga
Article #3996Re: Big-Endian vs Little-Endian
From: yves@px.uk.com (
Date: Mon, 16 Nov 1998 00:00
Date: Mon, 16 Nov 1998 00:00
24 lines
1193 bytes
1193 bytes
Hi Shail, Technically speaking, there is no advantage of Big-Endianness over Little-Endianness. Intel processors are predominantly Little-Endian, while Motorola processors are Big-Endian. Choosing one over the other depends primarily on the overall system. If you are designing a subsystem which will be connected to an Intel platform, it makes sense to choose Little-Endianness. It is important to note that although many bridges (e.g., PCI-to-local bus) have on the fly byte-swapping, this only maintains address invariance. If a program running on one 32-bit platform tries to access 32-bit data produced by another program running on another 32-bit platform with different endianness, you still have to perform explicit conversion. Address invariance means that, when accessing an aggregate data structure (e.g., record), the relative address of the fields are maintained. If latency isn't a problem, it doesn't matter which ever Endianness you choose. To reply to your second point, not all RISC processors are Big-Endian. The i960 family of processors are Little-Endian although some of them have the capability of Endian conversion. Dr Yves Tchapda Design Engineer Power X England
Message-ID:
<364ff418.2246316251@firewall>
Path:
rocksolid-us.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-comp.arch.fpga.mbox.zip!not-for-mail