Question

In reference to the hardware domain say an IP( a module for ex: UART) has some registers as alias registers to a register. [ This is just an example ]

The alias registers have different addresses compared to the original register for which they are aliased.

Can you please explain me about:

What are Alias registers ?

What is the need to have them ?

Any help is appreciated. Thanks.

No correct solution

OTHER TIPS

The answer is in your question:

The alias registers have different addresses compared to the original register for which they are aliased.

That is exactly what an alias is; literally a different name for the same thing. Specifically in this case a different address to the same physical register.

It is usually an artefact of incomplete address decoding. If you have an I/O space of say 256 registers, you only need 8 address lines, but if your address bus is 16 bits for example, it is simpler to leave the higher address lines unconnected that to explicitly decode them, so the I/O space repeats every 256 bytes (in this example). Otherwise you would have to OR the high order address lines together with the /CS line to avoid the aliasing to no particular benefit.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top