whitchurch85
Junior Member level 2
I know we have a page table to convert virtual address to real physical address.
Now we have a CPU executing instructctions and reading and writing data into memory.
This Data can be in Caches, or in main memory.
What address does the CPU see when it writes into Caches or Main memory. Does it see the virtual address space or does it see the physical address space?
IF the CPU works with virtual addresses, then the TLB or page table has to translate to the physical address for every read or write by CPU to the Cache. So whenever there is a Cache read/ write by the CPU we have the TLB working to convert the virtual address to physical address.
IS this what is happening in the computer during reads and writes into Cache or Main memory?
Now we have a CPU executing instructctions and reading and writing data into memory.
This Data can be in Caches, or in main memory.
What address does the CPU see when it writes into Caches or Main memory. Does it see the virtual address space or does it see the physical address space?
IF the CPU works with virtual addresses, then the TLB or page table has to translate to the physical address for every read or write by CPU to the Cache. So whenever there is a Cache read/ write by the CPU we have the TLB working to convert the virtual address to physical address.
IS this what is happening in the computer during reads and writes into Cache or Main memory?