Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Logical Addressing vs Physical Addresing

Status
Not open for further replies.

impakt

Member level 4
Joined
Dec 19, 2005
Messages
68
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
1,799
Hello all,
One thing I want to ask you: can anyone explain (an "idiot-like" explanation...) what is the difference between logical addressing and physical addressing?
Thanks!
 

I've already seen that...and the explanations there are vague, nothing concrete.
How is the logical address calculated based on the physical address?
 

impakt said:
I've already seen that...and the explanations there are vague, nothing concrete.
How is the logical address calculated based on the physical address?

It's more usual to consider the other way around. The program is using a logical/virtual address and the memory management unit in the processor converts that to a physical address to be used by the memory system. The exact way in which that is done depends upon the system, but usually there will be some kind of page tables in external memory and those page tables will give the translations from virtual to physical address. Part of the OS function is to create and maintain the page table entries. Depending upon the processor, the hardware may do page table walks to read those entries and store them in a cache of address translations (called a TLB).

I have some basic details on how this works on the ARM family (and why it is sometimes necessary to use logical addressing when running a complex operating system like Linux) here

**broken link removed**

Let me know if anything is not clear.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top